aboutsummaryrefslogtreecommitdiff
path: root/net/radiusd-cistron
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2013-12-01 05:42:35 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2013-12-01 05:42:35 +0000
commitbe00cf684507d29af3ccb739910a6b7c19244206 (patch)
tree5987e2fe846227ee9d9d6dd0e87164b276cc3aaf /net/radiusd-cistron
parentaf968666dc7e390ad993bd419c85fb9ce93f2ec6 (diff)
downloadports-be00cf684507d29af3ccb739910a6b7c19244206.tar.gz
ports-be00cf684507d29af3ccb739910a6b7c19244206.zip
Notes
Diffstat (limited to 'net/radiusd-cistron')
-rw-r--r--net/radiusd-cistron/files/patch-Make.inc6
-rw-r--r--net/radiusd-cistron/files/patch-dict-install.sh11
2 files changed, 12 insertions, 5 deletions
diff --git a/net/radiusd-cistron/files/patch-Make.inc b/net/radiusd-cistron/files/patch-Make.inc
index 1ebb37a62874..e6822391efd1 100644
--- a/net/radiusd-cistron/files/patch-Make.inc
+++ b/net/radiusd-cistron/files/patch-Make.inc
@@ -9,7 +9,7 @@
SERVER_OBJS = radiusd.o files.o acct.o pam.o version.o proxy.o \
exec.o auth.o timestr.o cache.o readusers.o
-@@ -115,36 +115,36 @@
+@@ -115,35 +115,35 @@
install:
# Install the binaries
@@ -62,6 +62,4 @@
+ [ ! -f $(RADIUS_DIR)/$$i ] && cp $$i $(DESTROOT)$(RADIUS_DIR)/$$i.sample; \
done; true
@# Install the dictionary files
-- @sh dict-install.sh ../raddb $(RADIUS_DIR) $(SHAREDIR)
-+ @sh dict-install.sh ../raddb $(RADIUS_DIR) $(DESTROOT)$(SHAREDIR)
-
+ @sh dict-install.sh ../raddb $(RADIUS_DIR) $(SHAREDIR)
diff --git a/net/radiusd-cistron/files/patch-dict-install.sh b/net/radiusd-cistron/files/patch-dict-install.sh
index 3426910e407d..222009106d07 100644
--- a/net/radiusd-cistron/files/patch-dict-install.sh
+++ b/net/radiusd-cistron/files/patch-dict-install.sh
@@ -1,5 +1,14 @@
--- src/dict-install.sh.orig 2003-04-10 16:17:11.000000000 +0200
-+++ src/dict-install.sh 2013-11-17 09:11:22.000000000 +0100
++++ src/dict-install.sh 2013-12-01 06:23:00.000000000 +0100
+@@ -31,7 +31,7 @@
+
+ if [ $NEWTYPE = yes ]
+ then
+- DESTDIR=$SHAREDIR
++ DESTDIR=$DESTROOT$SHAREDIR
+ else
+ DESTDIR=$RADDBDIR
+ fi
@@ -41,9 +41,9 @@
mkdir -p $DESTDIR
fi