[svn] r5390 - trunk/rpms/pam_shield

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Sat May 12 03:32:15 CEST 2007


Author: dag
Date: 2007-05-12 03:32:14 +0200 (Sat, 12 May 2007)
New Revision: 5390

Added:
   trunk/rpms/pam_shield/pam_shield-0.9.1-makefile.patch
Log:
Added missing patch.

Added: trunk/rpms/pam_shield/pam_shield-0.9.1-makefile.patch
===================================================================
--- trunk/rpms/pam_shield/pam_shield-0.9.1-makefile.patch	                        (rev 0)
+++ trunk/rpms/pam_shield/pam_shield-0.9.1-makefile.patch	2007-05-12 01:32:14 UTC (rev 5390)
@@ -0,0 +1,54 @@
+--- Makefile.orig	2007-05-12 03:04:13.000000000 +0200
++++ Makefile	2007-05-12 03:06:58.000000000 +0200
+@@ -2,10 +2,15 @@
+ #	pam_shield	WJ106
+ #
+ 
+-bindir=/usr/sbin
+-confdir=/etc/security
+-pamdir=/lib/security
+-crondir=/etc/cron.daily
++prefix=/usr
++bindir=$(prefix)/sbin
++sysconfdir=/etc
++confdir=$(sysconfdir)/security
++libdir=/lib
++pamdir=$(libdir)/security
++crondir=$(sysconfdir)/cron.daily
++
++DESTDIR=
+ 
+ CC = gcc
+ LD = ld
+@@ -43,19 +48,19 @@
+ 	$(CC) -M pam_shield.c shield_purge.c > .depend
+ 
+ install: all
+-	$(INSTALL) -s -o root -g root -m 644 pam_shield.so ${pamdir}
+-	$(INSTALL) -o root -g root -m 755 -T pam_shield.cron ${crondir}/pam-shield
+-	$(INSTALL) -o root -g root -m 755 shield-trigger.sh ${bindir}
+-	$(INSTALL) -s -o root -g root -m 755 shield-purge ${bindir}
+-	$(INSTALL) -o root -g root -m 644 shield.conf ${confdir}
+-	$(MKDIR) -p -m 700 /var/lib/pam_shield
++	$(INSTALL) -Dp -m0644 pam_shield.so $(DESTDIR)$(pamdir)/pam_shield.so
++	$(INSTALL) -Dp -m0755 pam_shield.cron $(DESTDIR)$(crondir)/pam-shield
++	$(INSTALL) -Dp -m0755 shield-trigger.sh $(DESTDIR)$(bindir)/shield-trigger.sh
++	$(INSTALL) -Dp -m0755 shield-purge $(DESTDIR)$(bindir)/shield-purge
++	$(INSTALL) -Dp -m0644 shield.conf $(DESTDIR)$(confdir)/shield.conf
++	$(INSTALL) -dp -m0700 $(DESTDIR)$(localstatedir)/lib/pam_shield/
+ 
+ uninstall:
+-	$(RM) ${pamdir}/pam_shield.so
+-	$(RM) ${crondir}/pam-shield
+-	$(RM) ${bindir}/shield-trigger.sh
+-	$(RM) ${bindir}/shield-purge
+-	$(RM) ${confdir}/shield.conf
+-	$(RM) -r /var/lib/pam_shield
++	$(RM) $(pamdir)/pam_shield.so
++	$(RM) $(crondir)/pam-shield
++	$(RM) $(bindir)/shield-trigger.sh
++	$(RM) $(bindir)/shield-purge
++	$(RM) $(confdir)/shield.conf
++	$(RM) -r $(localstatedir)/lib/pam_shield/
+ 
+ # EOB




More information about the commits mailing list