summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Farina <zerochaos@gentoo.org>2013-04-22 13:57:31 +0000
committerRichard Farina <zerochaos@gentoo.org>2013-04-22 13:57:31 +0000
commit016885c011f23ba50d79c3bd3862705940e379f3 (patch)
treead2934a67595c14ddc47945e5c6aaedf03358f47 /sys-auth
parenttested on ~x86 (diff)
downloadhistorical-016885c011f23ba50d79c3bd3862705940e379f3.tar.gz
historical-016885c011f23ba50d79c3bd3862705940e379f3.tar.bz2
historical-016885c011f23ba50d79c3bd3862705940e379f3.zip
initial commit, deps are likely a bit more complex than this
Package-Manager: portage-2.1.11.55/cvs/Linux x86_64 Manifest-Sign-Key: 0xDD11F94A
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/pam_yubico/ChangeLog9
-rw-r--r--sys-auth/pam_yubico/Manifest25
-rw-r--r--sys-auth/pam_yubico/files/2.11-drop_privs.patch14
-rw-r--r--sys-auth/pam_yubico/metadata.xml14
-rw-r--r--sys-auth/pam_yubico/pam_yubico-2.13.ebuild40
5 files changed, 102 insertions, 0 deletions
diff --git a/sys-auth/pam_yubico/ChangeLog b/sys-auth/pam_yubico/ChangeLog
new file mode 100644
index 000000000000..422cc02b5e16
--- /dev/null
+++ b/sys-auth/pam_yubico/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sys-auth/pam_yubico
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_yubico/ChangeLog,v 1.1 2013/04/22 13:57:20 zerochaos Exp $
+
+*pam_yubico-2.13 (22 Apr 2013)
+
+ 22 Apr 2013; Rick Farina <zerochaos@gentoo.org> +files/2.11-drop_privs.patch,
+ +metadata.xml, +pam_yubico-2.13.ebuild:
+ initial commit, deps are likely a bit more complex than this
diff --git a/sys-auth/pam_yubico/Manifest b/sys-auth/pam_yubico/Manifest
new file mode 100644
index 000000000000..ebcab8af6189
--- /dev/null
+++ b/sys-auth/pam_yubico/Manifest
@@ -0,0 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
+AUX 2.11-drop_privs.patch 427 SHA256 9ef850b639a255a9e372cfc8be8920f6ba64b1f042fcf1b678358e304bccb51e SHA512 69df5feeb84136b968fca098d5ab2356bf98be542b820984b45a501859c023ffe33988144adb45f55f34848e743f2ed5510921ce701d4582637c62b12b88b204 WHIRLPOOL 7529b601c4208b91d98864eaffbd21fe2b033ebe8e9e0cd52d9b2e17d4cf365664e7ed78b7036b428630a75a1b85abbb4180c8eb84ae7bf7747a3943c57ccc53
+DIST pam_yubico-2.13.tar.gz 375151 SHA256 0d06294f82c3286397fe52044d4b9b8d96045c3f9939fc7bbf0b45c4463e89c0 SHA512 e5c3f5fc3b8e0cfa8f9d2d1d7337bb2148e1f07a18d38e7f97dce1766fedcb263e3def3c2db4e2ba6d5a9f37185fe35f0e04bb16ec110ab02162cd41b330a380 WHIRLPOOL fe40a771d7c5138bf97f77e0b3cca07530381f1c0fa3001c5ce0512d4019f335f18bff5da16a6d67ff3a724b7ccd0ab0c341a78c2c9360cb84d1229349d7eb72
+EBUILD pam_yubico-2.13.ebuild 963 SHA256 f6ef9f90cf3011d0e93a6c69bbe9ce3d45d186fe9707e888384bb4abc1e4abd8 SHA512 aeea749066d945f7bac37d1b41325a947fa81622d7de8ee96da4b93aa29ec28bfdefc4d6cfb49549267191187d75e490f2ca02ccc66b2627b72434f87aee9a50 WHIRLPOOL 438431ee64b784051dba552df882a031029ef2cdfdd708f2605e6393fbd1efed98ec99e9f8425de80a6d1a88e5ec75d8c260c8852a9714acf6c8da4dbec0c8a9
+MISC ChangeLog 431 SHA256 e6aba1afbdf7435dfb34b71fc72ed5d37b9786baa3f0ee6361f9b5c7c031b5f7 SHA512 77dc7086dba865fcd20ae47330fecc37d4115b510e9e0c22ec7842f57e249fd764d71e6d12ee03337756d9f5eeb1e1d178a3573f430fe500b14719183f5e0c1c WHIRLPOOL d93e40b1b8a503e9fa0a815e78aeac58518f85eb749ecc6362b10fd861d1ce6d8b28161ef8c31f0882b8baed7cfecead1e79df04cc0460fb20115146579f5248
+MISC metadata.xml 339 SHA256 8df2945b9373a88dd1f0bd7e7d0fad6df3ac040a151dd8ba9857b957cc40b82f SHA512 e1e5109868fc4c65669e4ca5f1208f57044dc95bc7d1a0e451b11851c2652698d7052819aaa7f858cf8a3b1d880f0a3ad498b57ccb6a38ab2fa35dc7dcc87f14 WHIRLPOOL 7451281d4c1d1d6f852fb1294ea8d7f315fc2554f7279d992ea8e90d86e4d988ab52708a6ad7088ed13c1e17f338c59a33037c9805f5ddb71c88dbbe0e143523
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBCgAGBQJRdUJcAAoJEKXdFCfdEflKPo4P/RHv8nsQyc2eXq+ezgrxJg/c
+PWLcUOBuXcsKO5k+ajq+cNqHj6ocA13s1n3tXfd8UP5Q5cSmIEw0Fl39fgWhTe5H
+zezpolzs7BcgEBjSCpB+gFq4wIyjFs4pLP9cMVUiP0e5AfMYJJGMmkbGaOWjkEs3
+2cdLlJ2XLFshzZ9bBHwWIBtX2+UPu3E6Lb5aOLcuN2/oz6lfZ8TM2SpRXWXkOvW9
+Y3wYnxOI1FZEDue9MDFEi9jHk7zkZ7XLj2fEkVwF5YJtTOzORB6HcZ+ZKRsnOESL
+W7UfCFYU3gDsH+zejgx7FIC4Sfk1JSsWdY87P1b3NwmqcMr1MZqwzfETrBw5uKer
+oR9FYbICZCbEbh+UwgX8yJOJq+3y5jnehywTkUsa0MYD/gsaHIn6iSNHcKQxIp2+
+6tOJeux2WPQavKnNOVj8xC+vaYTWh6NiHZQT0fqmO/ZaCESbYI5p+dvuQa+3dtVU
+HT7OgC4lY5qN676ANErUJ2zNWlGclvbvjxdZfpNGjLSAKZxzWhw+dWxqrGbCUIFq
+XBi4yw6l9V/xSPT5qrUCz8dpUj1k0VjnIwn/TJv91USkl2XCLh3rM8hEs25RcmNN
+KaexsNeAWr+d0lxFn1bqavCEAouCM2PLKM2rlzAhQhYk9L+R1JANpkZKlN+/x+XP
+thI7Mezc+Md37C1amMzB
+=Vu8h
+-----END PGP SIGNATURE-----
diff --git a/sys-auth/pam_yubico/files/2.11-drop_privs.patch b/sys-auth/pam_yubico/files/2.11-drop_privs.patch
new file mode 100644
index 000000000000..f4b29bac83b1
--- /dev/null
+++ b/sys-auth/pam_yubico/files/2.11-drop_privs.patch
@@ -0,0 +1,14 @@
+--- drop_privs.c 2012-03-09 12:36:04.792191180 -0500
++++ drop_privs.c.new 2012-03-09 12:36:00.827333242 -0500
+@@ -47,9 +47,9 @@
+ #endif
+
+ #ifdef HAVE_PAM_MODUTIL_DROP_PRIV
+-#ifdef HAVE_SECURITY_PAM_MODUTIL_H
++//#ifdef HAVE_SECURITY_PAM_MODUTIL_H
+ #include <security/pam_modutil.h>
+-#endif /* HAVE_SECURITY_PAM_MODUTIL_H */
++//#endif /* HAVE_SECURITY_PAM_MODUTIL_H */
+ #else
+ static uid_t saved_euid;
+ static gid_t saved_egid;
diff --git a/sys-auth/pam_yubico/metadata.xml b/sys-auth/pam_yubico/metadata.xml
new file mode 100644
index 000000000000..6cbb2f1f5ddf
--- /dev/null
+++ b/sys-auth/pam_yubico/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>zerochaos@gentoo.org</email>
+<name>Rick Farina</name>
+</maintainer>
+<maintainer>
+<email>anyone@whowantsto.com</email>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+
diff --git a/sys-auth/pam_yubico/pam_yubico-2.13.ebuild b/sys-auth/pam_yubico/pam_yubico-2.13.ebuild
new file mode 100644
index 000000000000..66963deefdbc
--- /dev/null
+++ b/sys-auth/pam_yubico/pam_yubico-2.13.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_yubico/pam_yubico-2.13.ebuild,v 1.1 2013/04/22 13:57:20 zerochaos Exp $
+
+EAPI=5
+inherit eutils autotools
+
+DESCRIPTION="Library for authenticating against PAM with a Yubikey"
+HOMEPAGE="https://code.google.com/p/yubico-pam/"
+SRC_URI="http://yubico-pam.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ldap"
+
+DEPEND="virtual/pam
+ >=sys-auth/ykclient-2.4
+ >=sys-auth/ykpers-1.6"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}/2.11-drop_privs.patch"
+ eautoreconf
+}
+
+src_configure() {
+ #challenge response could be optional but that seems horribly dangerous to me
+ econf \
+ --with-cr \
+ $(use_with ldap) \
+ --with-pam-dir=/$(get_libdir)/security
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS ChangeLog NEWS README doc/*
+ prune_libtool_files
+}
+