diff options
Diffstat (limited to 'sys-auth/pam_u2f')
-rw-r--r-- | sys-auth/pam_u2f/Manifest | 5 | ||||
-rw-r--r-- | sys-auth/pam_u2f/files/pam_u2f-1.0.2-fix-Makefile.patch | 13 | ||||
-rw-r--r-- | sys-auth/pam_u2f/metadata.xml | 22 | ||||
-rw-r--r-- | sys-auth/pam_u2f/pam_u2f-1.0.4.ebuild | 35 |
4 files changed, 75 insertions, 0 deletions
diff --git a/sys-auth/pam_u2f/Manifest b/sys-auth/pam_u2f/Manifest new file mode 100644 index 000000000000..2e1c8e76acfb --- /dev/null +++ b/sys-auth/pam_u2f/Manifest @@ -0,0 +1,5 @@ +AUX pam_u2f-1.0.2-fix-Makefile.patch 324 SHA256 538bf36cdb4afef6454834b9ec40d0a76639395af51288bd6436eba3717e19f3 SHA512 eddf3c607e953b952ba91acb7d7bb1b8a43d6b70da86faece994011eb3eac43476c6ad9721be0a76805688dc9f9bab02ee5e13f58ce556bb68b8d574135ca44d WHIRLPOOL bc69564f02e24e223e9c28a6790b840024bbb0d2bb8ff03a32a41104ef550b2e8566451b684ab42c7bd338d118476e595a4fb673f4f7b7002f6f3a74cd9bba53 +DIST pam_u2f-1.0.4.tar.gz 349114 SHA256 71542e4568e6d2acaa50810a93c67297ba402f960da1ebb621413bd31f0732a1 SHA512 324d1a1172eae567372f95971d9ee6bb237b47758b89c083f3cfb11275c4b0c22c4cf02a51380451f88d372dd6aaa415bdb671a43a7444062fbf8f50b658f087 WHIRLPOOL a4aeb74cb551d2c22de7cd1ab5cddf1ccff7d5d660017b0569c83478f33902dd8641325fef1f76033b7df2c4919c0def892208e1451a673f0c21b518f66dcd83 +EBUILD pam_u2f-1.0.4.ebuild 723 SHA256 0067b359d5c8fa92f5ccd63aba93ca093b0a5c3fd80bb1ba7477c22f5348ad05 SHA512 c676790a38f771e79dd410645a5be6fab70119c25c4c3bddea557702ea596c825ed939317c31d7002b84e45220847f8522970ea815631429cabd134b8febdfdf WHIRLPOOL faab08cf2589be27248f06d10e4c98a9f60ab6894ac3ec49f6e996048ec09fd16827af55183a535808d2ac0b9a29b6261819ae66054054f2b6239f3d5a901072 +MISC ChangeLog 374 SHA256 086f233f954062c6627ddf7d055361553b8eb289b0fde5e1ab0ef538f3838cef SHA512 ed5634878a51cf047e9f4bbbdb67d8eb992191fbff0922adb533c08a100b24b210d5347c8c17a30b36664a435c12dd51e81c77c21a854aa1264fb1763ab7a182 WHIRLPOOL 6b5e0a34cc72b5afc6e9733c8d259ea43ab46ca6478bc402746722d3999fdf23401cfe3bf9a3ac5da8991fdcd41cdaf2303ab5f8d27ff89d7d27f38af91a2f38 +MISC metadata.xml 702 SHA256 d5baa6d5a61adefeb06e8e4375d953e9cac078e8b14271ad2907c777e71ccc0c SHA512 b0ef72e1a2f8f34345492a6d9b4eda2e427fec504bb0e2b5ae2adc07d79d9e0fdfdf72dd8cdc2e222025e3beb8b2ff7596ccff4daaa18213584428e163244940 WHIRLPOOL 68e935030cb699e12cc8d1e0affec4101bcb218c3e98ccfdeeaa5ab341b97e2983833161f9670dd22f1271be90e3e48454b61e538d29d1bcfb7880711d1cb2bd diff --git a/sys-auth/pam_u2f/files/pam_u2f-1.0.2-fix-Makefile.patch b/sys-auth/pam_u2f/files/pam_u2f-1.0.2-fix-Makefile.patch new file mode 100644 index 000000000000..a83597602d45 --- /dev/null +++ b/sys-auth/pam_u2f/files/pam_u2f-1.0.2-fix-Makefile.patch @@ -0,0 +1,13 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -34,8 +34,8 @@ + # Release + + install-exec-hook: +- rm -f $(PAMDIR)/pam_u2f.la +- chmod -f 644 $(PAMDIR)/pam_u2f.so || true ++ rm -f $(DESTDIR)/$(PAMDIR)/pam_u2f.la ++ chmod -f 644 $(DESTDIR)/$(PAMDIR)/pam_u2f.so || true + + indent: + indent -kr -nut -i2 *.c *.h pamu2fcfg/*.c pamu2fcfg/*.h diff --git a/sys-auth/pam_u2f/metadata.xml b/sys-auth/pam_u2f/metadata.xml new file mode 100644 index 000000000000..11ec7f2c19e3 --- /dev/null +++ b/sys-auth/pam_u2f/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>shirk+gentoo@bitspin.org</email> + <name>René Köcher</name> + </maintainer> + <maintainer type="person"> + <email>gokturk@gentoo.org</email> + <name>Göktürk Yüksek</name> + </maintainer> + <use> + <flag name="debug"> + Enable debug messages using the pam logging macros. + (Note: these will be visible on stdout for terminal logins). + </flag> + </use> + <upstream> + <remote-id type="github">Yubico/pam-u2f</remote-id> + <bugs-to>https://github.com/Yubico/pam-u2f/issues</bugs-to> + </upstream> +</pkgmetadata> diff --git a/sys-auth/pam_u2f/pam_u2f-1.0.4.ebuild b/sys-auth/pam_u2f/pam_u2f-1.0.4.ebuild new file mode 100644 index 000000000000..49c2d94d66be --- /dev/null +++ b/sys-auth/pam_u2f/pam_u2f-1.0.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools flag-o-matic pam + +DESCRIPTION="Library for authenticating against PAM with a Yubikey" +HOMEPAGE="https://github.com/Yubico/pam-u2f" +SRC_URI="https://developers.yubico.com/${PN/_/-}/Releases/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=" + app-crypt/libu2f-host + app-crypt/libu2f-server + virtual/pam" + +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}/${PN}-1.0.2-fix-Makefile.patch" ) + +src_prepare() { + default + use debug || append-cppflags -UDEBUG_PAM -UPAM_DEBUG + eautoreconf +} + +src_configure() { + econf --with-pam-dir=$(getpam_mod_dir) +} |