summaryrefslogtreecommitdiff
path: root/main/freeradius
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2020-02-17 18:02:18 +0100
committerJakub Jirutka <jakub@jirutka.cz>2020-02-17 18:39:15 +0100
commitc180bb111bd48fa934d1ed376270f503669e7191 (patch)
treedecc78dc70bc55b4b7176c8a16c2d34adef5856e /main/freeradius
parentaf89ffd87bb57a96c6770c4ef7bd10dcbf038ed4 (diff)
downloadaports-c180bb111bd48fa934d1ed376270f503669e7191.zip
main/freeradius: remove testing tools (radattr, map_unit) from package
Diffstat (limited to 'main/freeradius')
-rw-r--r--main/freeradius/APKBUILD6
-rw-r--r--main/freeradius/dont-install-test-tools.patch18
2 files changed, 22 insertions, 2 deletions
diff --git a/main/freeradius/APKBUILD b/main/freeradius/APKBUILD
index 59c8ce5a711..7736535077c 100644
--- a/main/freeradius/APKBUILD
+++ b/main/freeradius/APKBUILD
@@ -5,7 +5,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=freeradius
pkgver=3.0.20
-pkgrel=8
+pkgrel=9
pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server"
url="https://freeradius.org/"
arch="all"
@@ -78,6 +78,7 @@ source="ftp://ftp.freeradius.org/pub/freeradius/$pkgname-server-$pkgver.tar.gz
readme-setup-script.patch
Fix-permissions-of-certs-in-bootstrap-fallback.patch
fix-request_running-segfault.patch
+ dont-install-test-tools.patch
"
builddir="$srcdir/$pkgname-server-$pkgver"
@@ -402,4 +403,5 @@ c266718d830076423c19a31c608a925ec664156ef2da87c97166d376b16f4582e7f8adebd9c8e3ef
f96b7b2e0fc614cb8b70bd500933538e98e05b58718af931a62bc7ba2307600cf8c2a8a99de856ad2e18101dd5bfe95c50ee34de20eef21ba0ad795577a6619b remove-eap-from-default-mods.patch
55e179d5e6b31d289c2da7f907e494a6a6f5900483fdff8d3bb25ee15a583b8705942eca1f0d5390e91376966e66e457dce9b2cf1a1f61c8eac6d8fb825404dd readme-setup-script.patch
f88cb4ae335d67211c8563b6df88e20ee3729e57aa56423f99b518f83b190479b38bb189a0ab53c70ef9709a6229ccaa506ea6b79844cbfd4f2a7f0c7c292045 Fix-permissions-of-certs-in-bootstrap-fallback.patch
-7ddf75901f635216b0d972c14631334a8138e0dbb021685bb6b3a996f38d232b84146c621dae541b00f6149fa401e835d1579bbacd27fad72a80bacd4391b404 fix-request_running-segfault.patch"
+7ddf75901f635216b0d972c14631334a8138e0dbb021685bb6b3a996f38d232b84146c621dae541b00f6149fa401e835d1579bbacd27fad72a80bacd4391b404 fix-request_running-segfault.patch
+908c4408ab6538ddd96577e47d5e509b19e227e144655eaa0fd7569ddadbe5b2298e6599b8370847b3bcb5e788067b163b0cb66e1b3afa4d83dc3f724e058674 dont-install-test-tools.patch"
diff --git a/main/freeradius/dont-install-test-tools.patch b/main/freeradius/dont-install-test-tools.patch
new file mode 100644
index 00000000000..ec7f1864812
--- /dev/null
+++ b/main/freeradius/dont-install-test-tools.patch
@@ -0,0 +1,18 @@
+Ported from https://sources.debian.org/src/freeradius/3.0.20+dfsg-3/debian/patches/dont-install-tests.diff/
+
+See Also:
+* https://bugzilla.redhat.com/show_bug.cgi?id=1146966#c2
+--- a/src/tests/map/map_unit.mk
++++ b/src/tests/map/map_unit.mk
+@@ -3,3 +3,4 @@
+
+ TGT_PREREQS := libfreeradius-server.a libfreeradius-radius.a
+ TGT_LDLIBS := $(LIBS)
++TGT_INSTALLDIR :=
+--- a/src/main/radattr.mk
++++ b/src/main/radattr.mk
+@@ -8,3 +8,4 @@
+ endif
+
+ TGT_LDLIBS := $(LIBS)
++TGT_INSTALLDIR :=