openbsd-ports/net/radiusd-cistron/patches/patch-src_Make_inc
2004-07-12 13:32:11 +00:00

38 lines
1.3 KiB
Plaintext

$OpenBSD: patch-src_Make_inc,v 1.3 2004/07/12 13:32:11 danh Exp $
--- src/Make.inc.orig Thu Apr 10 06:51:47 2003
+++ src/Make.inc Mon Jul 12 09:03:02 2004
@@ -115,15 +115,13 @@ clean:
install:
# Install the binaries
- $(DINSTALL) $(SBINDIR)
- $(DINSTALL) $(BINDIR)
$(DINSTALL) $(RADIUS_DIR)
$(INSTALL) -m 755 -s radiusd $(SBINDIR)/radiusd
$(INSTALL) -m 755 -s radrelay $(SBINDIR)/radrelay
$(INSTALL) -m 755 -s radwho $(BINDIR)
$(INSTALL) -m 755 -s radzap $(BINDIR)
$(INSTALL) -m 755 -s radclient $(BINDIR)
- test -z "$(DBM)" || $(INSTALL) -m 755 -s builddbm $(BINDIR)
+ $(INSTALL) -m 755 -s builddbm $(BINDIR)
$(INSTALL) -m 755 checkrad.pl $(SBINDIR)/checkrad
$(INSTALL) -m 755 radlast $(BINDIR)
$(INSTALL) -m 755 radtest $(BINDIR)
@@ -135,16 +133,3 @@ install:
$(INSTALL) -m 644 $$manfile $(MANDIR)/man$$section; \
done ; \
done
- test -n "$(DBM)" || rm -f $(MANDIR)/man8/builddbm.8rad
- @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
- @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; \
- done; true
- @# Install the dictionary files
- @sh dict-install.sh ../raddb $(RADIUS_DIR) $(SHAREDIR)
-