summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMATSUU Takuto <matsuu@gentoo.org>2010-11-23 10:18:45 +0900
committerMATSUU Takuto <matsuu@gentoo.org>2010-11-23 10:18:45 +0900
commit3318c44b5a34af55eb73737df8f0ddbeea14a0b3 (patch)
treec9a35475f9997cc9208b3045642bd8d324ea099b /sys-auth
parentsys-auth/ykclient: Initial import. (diff)
downloadmatsuu-3318c44b5a34af55eb73737df8f0ddbeea14a0b3.tar.gz
matsuu-3318c44b5a34af55eb73737df8f0ddbeea14a0b3.tar.bz2
matsuu-3318c44b5a34af55eb73737df8f0ddbeea14a0b3.zip
sys-auth/pam_mobile_otp: Version bumped.
(Portage version: 2.1.9.24/git/Linux x86_64, signed Manifest commit with key 05280D69)
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/pam_mobile_otp/Manifest24
-rw-r--r--sys-auth/pam_mobile_otp/files/pam_mobile_otp-0.6.1-gentoo.patch21
-rw-r--r--sys-auth/pam_mobile_otp/metadata.xml9
-rw-r--r--sys-auth/pam_mobile_otp/pam_mobile_otp-0.6.1.ebuild40
4 files changed, 94 insertions, 0 deletions
diff --git a/sys-auth/pam_mobile_otp/Manifest b/sys-auth/pam_mobile_otp/Manifest
index 806f52b..b4a6b32 100644
--- a/sys-auth/pam_mobile_otp/Manifest
+++ b/sys-auth/pam_mobile_otp/Manifest
@@ -1,2 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX pam_mobile_otp-0.6.1-gentoo.patch 736 RMD160 6008256454f4b6083b0565ad401cadd89e02102b SHA1 98f052f2ac715d1d7ec64a82b980d6bc7e115871 SHA256 c977fe4b651a7992635c50e7b9e34fc25fb5487570f1843590d34ba95dcda079
DIST pam_mobile_otp-0.5.tgz 27703 RMD160 4a956ff1f69be00a8c30c791f743585857f8284a SHA1 982419174c48007cf9e910c6c0180f9b62daeaaf SHA256 0b7d7efb66a14ed8c90997f08a6aff65dea8b2c7bafc8099ed51ab49da99b2e3
+DIST pam_mobile_otp-0.6.1.tgz 27766 RMD160 90da6107ae65e6c342a5f133b75b2f1b11c3eaf1 SHA1 d88146157f760addc90bc82315f2be34c83a4a49 SHA256 4715394558a865f501d96f89007b93c1ca348892c93b442c42b03f3951bff003
EBUILD pam_mobile_otp-0.5.ebuild 833 RMD160 82d5e521f3c039c2d76e09ad3463324e26404ae2 SHA1 69155e2327c3b31371d63fdcc69403ea61f935df SHA256 5dc68233c6645fc7e7d622cd91dc1853b3b0226d2497b19a13dd16cad0b6be1d
+EBUILD pam_mobile_otp-0.6.1.ebuild 741 RMD160 2238e47b3a257245371f495ef57d33ae465e28ab SHA1 1872846381eee0763044982991b9b19e5d25853a SHA256 b0dd2494db3848b8f258c7cb46ff937bc6c8e532f1922252c0c9b45c40597672
+MISC metadata.xml 221 RMD160 ca5e46f2e947fcae430e49859acaa4b25ab9d4b4 SHA1 b7f58eb04a9aceeb67104c0b81719e6e97da97f4 SHA256 138123f5d6199cbcc391346419b7b81d3ae9153c17670b18c540ff75a2287371
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iQIcBAEBAgAGBQJM6xZ1AAoJECaGw+YFKA1phYwQAJx52kcs3aL/XGsQxXZv3ucO
+FEmvP+PvAGZm8Kaz78X4M3k+T3pQppQZ8xkN9GCjjiX2JGZSbWojIdB/Sq4Irfma
+mqcdWTLMd+PboKrEJZwUpJmsRBUi0307CFxtkHO5HJ8K0+CIR/y2de8piimlL524
+u9OXe9QyAiAXLI9QtvacBzHIvIu4EmjSeOAQd/K6TnrW+nNUee9vSu3GSUqiFG++
+Q38NiY0Jorw0qiyUy7HC3AEajghWmUPgPaKEglDlqRxvMn8VA69E8+2ycQ7lwvmq
+i0UYMtAgRnxFhjBdn0WBmeOuMcLyWdCcdZutf4sM70qpEsQ4h45bMF7URWc681h5
+H6RpXi9QZnrL+Os/OMplryc5GsX0IWrR7o63xU+mI5jX4E0XhxEEwqAY4MlzlmwG
+ZDctqZL2ItoL6yY40R6Bx5Piiz89TVSxTiur7WHjmn2EACsXrIgJCIySapH6DO7r
+cRRUDe7L/CQz9L/i2xQrUcaiFh3d65Ky5MAt8OlZB1/Oi1gLURtpa8v2x/2//z4H
+o94IF0fi8m2dqDqHydcxT5x1elUz8NDuFbtsuf8ed2J6W2LK6IITwnkxgCZwjy3q
+GxjlOMvmn5OW3mRyYp2xkcS+fPlnGcCSkUYc6yuvh9bETleWkwUkenLnV8TSVFjj
++JYxUDHvM2HIAsT1NZ/O
+=gzRC
+-----END PGP SIGNATURE-----
diff --git a/sys-auth/pam_mobile_otp/files/pam_mobile_otp-0.6.1-gentoo.patch b/sys-auth/pam_mobile_otp/files/pam_mobile_otp-0.6.1-gentoo.patch
new file mode 100644
index 0000000..2de3c54
--- /dev/null
+++ b/sys-auth/pam_mobile_otp/files/pam_mobile_otp-0.6.1-gentoo.patch
@@ -0,0 +1,21 @@
+diff -Naur pam_mobile_otp.orig/Makefile pam_mobile_otp/Makefile
+--- pam_mobile_otp.orig/Makefile 2010-11-01 17:54:30.000000000 +0900
++++ pam_mobile_otp/Makefile 2010-11-23 10:13:38.098095114 +0900
+@@ -5,14 +5,14 @@
+ OPTS="-D_TRACE_ -Wall" make all
+
+ pam_mobile_otp.o : pam_mobile_otp.c
+- gcc -fPIC -c pam_mobile_otp.c
++ $(CC) $(CFLAGS) -fPIC -c pam_mobile_otp.c
+
+ pam_mobile_otp.so : pam_mobile_otp.o md5.o
+- ld -x --shared -o pam_mobile_otp.so pam_mobile_otp.o \
++ $(CC) -shared $(LDFLAGS) -o pam_mobile_otp.so pam_mobile_otp.o \
+ md5.o -lpam
+
+ md5.o : md5.c
+- gcc -fPIC -c md5.c -DSTDC_HEADERS
++ $(CC) $(CFLAGS) -fPIC -c md5.c -DSTDC_HEADERS
+
+ install : pam_mobile_otp.so
+ cp pam_mobile_otp.so /lib/security/pam_mobile_otp.so
diff --git a/sys-auth/pam_mobile_otp/metadata.xml b/sys-auth/pam_mobile_otp/metadata.xml
new file mode 100644
index 0000000..5b14597
--- /dev/null
+++ b/sys-auth/pam_mobile_otp/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>matsuu@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
+
diff --git a/sys-auth/pam_mobile_otp/pam_mobile_otp-0.6.1.ebuild b/sys-auth/pam_mobile_otp/pam_mobile_otp-0.6.1.ebuild
new file mode 100644
index 0000000..c4288c0
--- /dev/null
+++ b/sys-auth/pam_mobile_otp/pam_mobile_otp-0.6.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+inherit eutils pam toolchain-funcs
+
+DESCRIPTION="Mobile One Time Passwords"
+HOMEPAGE="http://motp.sourceforge.net/"
+SRC_URI="http://motp.sourceforge.net/${P}.tgz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-libs/pam"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ dopammod pam_mobile_otp.so || die
+
+ keepdir /var/cache/motp || die
+ fperms 0700 /var/cache/motp || die
+
+ dopamsecurity '' motp.conf || die
+
+ dodoc CHANGELOG README || die
+ dohtml MOTP.html || die
+}