diff options
author | Dane Smith <c1pher@gentoo.org> | 2012-06-07 10:44:33 -0400 |
---|---|---|
committer | Dane Smith <c1pher@gentoo.org> | 2012-06-07 10:44:33 -0400 |
commit | be49e7040f6b6f770187f70f324e81349b1fdfc7 (patch) | |
tree | 40b336183f0e01c0944dd96f50767909ebad55c4 | |
parent | google-authenticator PAM module. (diff) | |
download | c1pher-be49e7040f6b6f770187f70f324e81349b1fdfc7.tar.gz c1pher-be49e7040f6b6f770187f70f324e81349b1fdfc7.tar.bz2 c1pher-be49e7040f6b6f770187f70f324e81349b1fdfc7.zip |
drop unneded patch.
3 files changed, 1 insertions, 47 deletions
diff --git a/sys-auth/libpam-google-authenticator/Manifest b/sys-auth/libpam-google-authenticator/Manifest index d892652..bd20b65 100644 --- a/sys-auth/libpam-google-authenticator/Manifest +++ b/sys-auth/libpam-google-authenticator/Manifest @@ -1,3 +1,2 @@ -AUX makefile.patch 2387 RMD160 0b70faa355d224525a428f465e7b9642f531823b SHA1 736e82dabf41b0deb58bc7725cc990abe1246864 SHA256 71c866cad836492f35bbc2fde24e6fc2430181de31421af8a97305eec3b82842 DIST libpam-google-authenticator-1.0-source.tar.bz2 32708 RMD160 ce26a2f805f36a82a7ab3d930116a73fb444e037 SHA1 017b7d89989f1624e360abe02d6b27a6298d285d SHA256 80426045d13ce7a2bf56c692ccfb1751cef3c7484752ad40738facf729264d4b -EBUILD libpam-google-authenticator-1.0.ebuild 682 RMD160 e73b10b6b01e92569cafc0904f3b94cee53a2afa SHA1 9e47403d126dc7c48ee6d367c3b4483b34292f6a SHA256 238d96809743c8f3a1e58f5838e95f617af12ff604c6b0b89a2d79bd927bcca0 +EBUILD libpam-google-authenticator-1.0.ebuild 627 RMD160 95b8b8c213930976e5a47d624ae7ad0aaa852582 SHA1 63048eeef57535f1079e7596b72797fa91545bad SHA256 859bd5f93cc36c154b8bddaa7ccc9788da8bec0d329986be1108ae729d201b7c 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 \ diff --git a/sys-auth/libpam-google-authenticator/libpam-google-authenticator-1.0.ebuild b/sys-auth/libpam-google-authenticator/libpam-google-authenticator-1.0.ebuild index 2c67ddf..e716524 100644 --- a/sys-auth/libpam-google-authenticator/libpam-google-authenticator-1.0.ebuild +++ b/sys-auth/libpam-google-authenticator/libpam-google-authenticator-1.0.ebuild @@ -17,10 +17,6 @@ IUSE="" DEPEND="sys-libs/pam" RDEPEND="${DEPEND}" -src_prepare(){ - epatch "${FILESDIR}/makefile.patch" -} - src_install(){ insinto $(getpam_mod_dir) doins pam_google_authenticator.so |