diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-auth/pam_yubico | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-auth/pam_yubico')
-rw-r--r-- | sys-auth/pam_yubico/Manifest | 2 | ||||
-rw-r--r-- | sys-auth/pam_yubico/files/2.11-drop_privs.patch | 14 | ||||
-rw-r--r-- | sys-auth/pam_yubico/metadata.xml | 13 | ||||
-rw-r--r-- | sys-auth/pam_yubico/pam_yubico-2.17-r1.ebuild | 45 | ||||
-rw-r--r-- | sys-auth/pam_yubico/pam_yubico-2.19-r1.ebuild | 41 |
5 files changed, 115 insertions, 0 deletions
diff --git a/sys-auth/pam_yubico/Manifest b/sys-auth/pam_yubico/Manifest new file mode 100644 index 00000000000..535cc4c7194 --- /dev/null +++ b/sys-auth/pam_yubico/Manifest @@ -0,0 +1,2 @@ +DIST pam_yubico-2.17.tar.gz 391559 SHA256 974a827ad960c1e7ce7b90338c319587aa878cf44d43c954e4af7cd843bbf571 SHA512 ee2a1527c2f2b29ca601588700cc76edc688e58d305ef44d311db3c5f184513a5bdc3d9052cefd85b11de96c6999daeca3d22986e93f588c9d64e5c301c37ee8 WHIRLPOOL 61b6974350869b38b3cd56ce3ff9d3d85600126dc1dd82111a6b605720b27e4dee35d53c7d9dc9436fc94b8440858ae7ce5a26ece0e076ef8381e55424999859 +DIST pam_yubico-2.19.tar.gz 410136 SHA256 ed6e5841bb5104528a2155cb4b35bea18ebf3ddd8a4faf59eca3b1e2ac9c50ef SHA512 26e5246d99b5d8d5afbed4ba459f431635327512a29f6c29b547a1a0553f8d2ee79740f167c18266cf925df25df9ab962ee0180ca3a30bc553a7f9f7801a1ed7 WHIRLPOOL f6ca4678487c965d1a9c10e8e9c679b162e5ad690c1fec46a6498c2354300dc31f1c2e88faa6574f267798feb171ecb3a19801e9c1c0b866d2b57154036bc001 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 00000000000..f4b29bac83b --- /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 00000000000..65df64f7f46 --- /dev/null +++ b/sys-auth/pam_yubico/metadata.xml @@ -0,0 +1,13 @@ +<?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> + <longdescription lang="en"> +</longdescription> + <upstream> + <remote-id type="github">Yubico/yubico-pam</remote-id> + </upstream> +</pkgmetadata> diff --git a/sys-auth/pam_yubico/pam_yubico-2.17-r1.ebuild b/sys-auth/pam_yubico/pam_yubico-2.17-r1.ebuild new file mode 100644 index 00000000000..53178deff1d --- /dev/null +++ b/sys-auth/pam_yubico/pam_yubico-2.17-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib + +DESCRIPTION="Library for authenticating against PAM with a Yubikey" +HOMEPAGE="https://github.com/Yubico/yubico-pam" +SRC_URI="http://opensource.yubico.com/yubico-pam/releases/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ldap" + +RDEPEND=" + virtual/pam + sys-auth/libyubikey + >=sys-auth/ykclient-2.12 + >=sys-auth/ykpers-1.6 + ldap? ( net-nds/openldap )" +DEPEND="${RDEPEND} + app-text/asciidoc" + +#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() { + default + dodoc doc/* + #prune_libtool_files #why doesn't this work? + find "${D}" -name '*.la' -delete || die +} diff --git a/sys-auth/pam_yubico/pam_yubico-2.19-r1.ebuild b/sys-auth/pam_yubico/pam_yubico-2.19-r1.ebuild new file mode 100644 index 00000000000..497b4da392d --- /dev/null +++ b/sys-auth/pam_yubico/pam_yubico-2.19-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib + +DESCRIPTION="Library for authenticating against PAM with a Yubikey" +HOMEPAGE="https://github.com/Yubico/yubico-pam" +SRC_URI="http://opensource.yubico.com/yubico-pam/releases/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ldap test" + +RDEPEND=" + virtual/pam + sys-auth/libyubikey + >=sys-auth/ykclient-2.12 + >=sys-auth/ykpers-1.6 + ldap? ( net-nds/openldap )" +DEPEND="${RDEPEND} + app-text/asciidoc + test? ( dev-perl/Net-LDAP-Server )" + +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() { + default + dodoc doc/* + #prune_libtool_files #why doesn't this work? + find "${D}" -name '*.la' -delete || die +} |