Sophie

Sophie

distrib > Mandriva > current > i586 > by-pkgid > 548159b30bf8bd694a674734d268c61c > files > 2

radiusd-cistron-1.6.8-1mdv2009.0.src.rpm

diff -Naur radiusd-cistron-1.6.6/src/Make.inc radiusd-cistron-1.6.6.oden/src/Make.inc
--- radiusd-cistron-1.6.6/src/Make.inc	2001-07-24 20:52:43.000000000 +0200
+++ radiusd-cistron-1.6.6.oden/src/Make.inc	2002-05-04 13:59:44.000000000 +0200
@@ -5,6 +5,7 @@
 #
 
 RADIUS_DIR    = /etc/raddb
+PAM_DIR        = /etc/pam.d
 
 SERVER_OBJS   = radiusd.o files.o acct.o pam.o version.o proxy.o \
 			exec.o auth.o timestr.o cache.o readusers.o
@@ -140,8 +141,8 @@
 		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;\
+	@if [ -d $(PAM_DIR) ] && [ ! -f $(PAM_DIR)/radius ]; then \
+		$(INSTALL) -m 644 ../redhat/radiusd-pam $(PAM_DIR)/radius;\
 	fi
 	# Install the config files
 	@echo; echo "Creating/updating files in $(RADIUS_DIR)"; \