diff options
author | 2012-06-07 10:44:33 -0400 | |
---|---|---|
committer | 2012-06-07 10:44:33 -0400 | |
commit | be49e7040f6b6f770187f70f324e81349b1fdfc7 (patch) | |
tree | 40b336183f0e01c0944dd96f50767909ebad55c4 /sys-auth/libpam-google-authenticator/files | |
parent | google-authenticator PAM module. (diff) | |
download | c1pher-be49e7040f6b6f770187f70f324e81349b1fdfc7.tar.gz c1pher-be49e7040f6b6f770187f70f324e81349b1fdfc7.tar.bz2 c1pher-be49e7040f6b6f770187f70f324e81349b1fdfc7.zip |
drop unneded patch.
Diffstat (limited to 'sys-auth/libpam-google-authenticator/files')
-rw-r--r-- | sys-auth/libpam-google-authenticator/files/makefile.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/sys-auth/libpam-google-authenticator/files/makefile.patch b/sys-auth/libpam-google-authenticator/files/makefile.patch deleted file mode 100644 index 2792456..0000000 --- a/sys-auth/libpam-google-authenticator/files/makefile.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- Makefile 2012-06-06 14:39:56.000000000 -0400 -+++ Makefile.new 2012-06-06 14:40:05.000000000 -0400 -@@ -28,6 +28,7 @@ - DEF_LDFLAGS := $(shell [ `uname` = SunOS ] && echo ' -mimpure-text') $(LDFLAGS) - LDL_LDFLAGS := $(shell $(CC) -shared -ldl -xc -o /dev/null /dev/null \ - >/dev/null 2>&1 && echo ' -ldl') -+DESTDIR := - - all: google-authenticator pam_google_authenticator.so demo \ - pam_google_authenticator_unittest -@@ -43,26 +44,11 @@ - *.c *.h *.html Makefile FILEFORMAT README utc-time - - install: all -- @dst="`find /lib*/security /lib*/*/security -maxdepth 1 \ -- -name pam_unix.so -printf '%H' -quit 2>/dev/null`"; \ -- [ -d "$${dst}" ] || dst=/lib/security; \ -- [ -d "$${dst}" ] || dst=/usr/lib; \ -- sudo=; if [ $$(id -u) -ne 0 ]; then \ -- echo "You need to be root to install this module."; \ -- if [ -x /usr/bin/sudo ]; then \ -- echo "Invoking sudo:"; \ -- sudo=sudo; \ -- else \ -- exit 1; \ -- fi; \ -- fi; \ -- echo cp pam_google_authenticator.so $${dst}; \ -- tar fc - pam_google_authenticator.so | $${sudo} tar ofxC - $${dst}; \ -+ echo install -m 755 pam_google_authenticator.so ${DESTDIR}; \ -+ install -m 755 pam_google_authenticator.so ${DESTDIR}; \ - \ -- echo cp google-authenticator /usr/local/bin; \ -- tar fc - google-authenticator | $${sudo} tar ofxC - /usr/local/bin; \ -- $${sudo} chmod 755 $${dst}/pam_google_authenticator.so \ -- /usr/local/bin/google-authenticator -+ echo install -m 755 google-authenticator ${DESTDIR}; \ -+ install -m 755 google-authenticator ${DESTDIR}; \ - - clean: - $(RM) *.o *.so core google-authenticator demo \ |