summaryrefslogtreecommitdiff
path: root/net/radiusd-cistron/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/radiusd-cistron/patches/patch-ab')
-rw-r--r--net/radiusd-cistron/patches/patch-ab32
1 files changed, 9 insertions, 23 deletions
diff --git a/net/radiusd-cistron/patches/patch-ab b/net/radiusd-cistron/patches/patch-ab
index 7e0ea7e4313..84b53cfcae7 100644
--- a/net/radiusd-cistron/patches/patch-ab
+++ b/net/radiusd-cistron/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.3 2003/05/01 18:35:47 jmmv Exp $
+$NetBSD: patch-ab,v 1.4 2003/12/16 19:19:41 martti Exp $
---- src/Make.inc.orig Thu Dec 20 10:52:00 2001
-+++ src/Make.inc Thu Dec 20 10:52:06 2001
+--- src/Make.inc.orig Thu Apr 10 13:51:47 2003
++++ src/Make.inc Tue Dec 16 20:10:28 2003
@@ -4,7 +4,7 @@
#
#
@@ -11,7 +11,7 @@ $NetBSD: patch-ab,v 1.3 2003/05/01 18:35:47 jmmv Exp $
SERVER_OBJS = radiusd.o files.o acct.o pam.o version.o proxy.o \
exec.o auth.o timestr.o cache.o readusers.o
-@@ -118,8 +118,6 @@
+@@ -115,8 +115,6 @@
install:
# Install the binaries
@@ -20,7 +20,7 @@ $NetBSD: patch-ab,v 1.3 2003/05/01 18:35:47 jmmv Exp $
$(DINSTALL) $(RADIUS_DIR)
$(INSTALL) -m 755 -s radiusd $(SBINDIR)/radiusd
$(INSTALL) -m 755 -s radrelay $(SBINDIR)/radrelay
-@@ -131,35 +129,12 @@
+@@ -127,23 +125,11 @@
$(INSTALL) -m 755 checkrad.pl $(SBINDIR)/checkrad
$(INSTALL) -m 755 radlast $(BINDIR)
$(INSTALL) -m 755 radtest $(BINDIR)
@@ -36,26 +36,12 @@ $NetBSD: patch-ab,v 1.3 2003/05/01 18:35:47 jmmv Exp $
- @if [ -d /etc/pam.d/ ] && [ ! -f /etc/pam.d/radius ]; then \
- $(INSTALL) -m 644 ../redhat/radiusd-pam /etc/pam.d/radius;\
- fi
- # Install the config files
+ @# Install the config files
@echo; echo "Creating/updating files in $(RADIUS_DIR)"; \
cd ../raddb; \
for i in [a-c]* [e-z]*; do \
- [ ! -f $(RADIUS_DIR)/$$i ] && cp $$i $(RADIUS_DIR)/$$i; \
+ $(INSTALL) -m 444 $$i $(RADIUS_DIR)/$$i.sample; \
- done; \
- for i in dictionary*; do \
-- [ ! -f $(RADIUS_DIR)/$$i ] && cp $$i $(RADIUS_DIR)/$$i; \
-- if [ "`find $$i -newer $(RADIUS_DIR)/$$i`" ]; then \
-- echo "** $(RADIUS_DIR)/$$i"; \
-- nt=1; \
-- fi; \
-- done; \
-- if [ "$$nt" ]; then \
-- echo "** The samples in ../raddb are newer than these files";\
-- echo "** Please investigate and copy manually if appropriate";\
-- echo ;\
-- fi
--
--
-+ $(INSTALL) -m 444 $$i $(RADIUS_DIR)/$$i; \
-+ done
+ done; true
+ @# Install the dictionary files
+ @sh dict-install.sh ../raddb $(RADIUS_DIR) $(SHAREDIR)