summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metadata/md5-cache/sys-auth/pam_pwdfile-1.02
-rw-r--r--sys-auth/pam_pwdfile/ChangeLog5
-rw-r--r--sys-auth/pam_pwdfile/Manifest5
-rw-r--r--sys-auth/pam_pwdfile/files/auth-pwdfile.pamd3
-rw-r--r--sys-auth/pam_pwdfile/pam_pwdfile-1.0.ebuild5
5 files changed, 15 insertions, 5 deletions
diff --git a/metadata/md5-cache/sys-auth/pam_pwdfile-1.0 b/metadata/md5-cache/sys-auth/pam_pwdfile-1.0
index 57864d9a..d1fbf20f 100644
--- a/metadata/md5-cache/sys-auth/pam_pwdfile-1.0
+++ b/metadata/md5-cache/sys-auth/pam_pwdfile-1.0
@@ -9,4 +9,4 @@ RDEPEND=virtual/pam
SLOT=0
SRC_URI=https://github.com/tiwe-de/libpam-pwdfile/archive/v1.0.tar.gz -> pam_pwdfile-1.0.tar.gz
_eclasses_=eutils 9fb270e417e0e83d64ca52586c4a79de flag-o-matic 5d5921a298e95441da2f85be419894c0 multilib 3bf24e6abb9b76d9f6c20600f0b716bf pam aa1ebb3ab720ea04dbbdd6eaaf9554ed toolchain-funcs c961250d50160cd37d6b7fd9e8429c92
-_md5_=13dffd7bcc21d8a81231c0fe4c125ba7
+_md5_=c927f0281ca50df634c06008a8866318
diff --git a/sys-auth/pam_pwdfile/ChangeLog b/sys-auth/pam_pwdfile/ChangeLog
index 77e58dcc..3507027b 100644
--- a/sys-auth/pam_pwdfile/ChangeLog
+++ b/sys-auth/pam_pwdfile/ChangeLog
@@ -1,3 +1,8 @@
+ 24 May 2015; Bertrand Jacquin <bertrand@jacquin.bzh> +files/auth-pwdfile.pamd,
+ pam_pwdfile-1.0.ebuild:
+ sys-auth/pam_pwdfile: use append-cppflags, add /etc/pam.d file, install .so in
+ the correct place with dopammod
+
*pam_pwdfile-1.0 (24 May 2015)
24 May 2015; Bertrand Jacquin <bertrand@jacquin.bzh> +metadata.xml,
diff --git a/sys-auth/pam_pwdfile/Manifest b/sys-auth/pam_pwdfile/Manifest
index 73d255d6..a41e3b43 100644
--- a/sys-auth/pam_pwdfile/Manifest
+++ b/sys-auth/pam_pwdfile/Manifest
@@ -1,4 +1,5 @@
+AUX auth-pwdfile.pamd 162 SHA256 ca1741e070aefd8bc4d009d18e9a136433a845d1c1c25593385b26c77b128ff7 WHIRLPOOL b9c46f43f779625cec978bf3ff51accedceb962f3c0f8770bc612a8a0954e880f97b84b95fd8b147c6ec65a21592727e74842929eb11f2ab632b55b5b9c42af8
DIST pam_pwdfile-1.0.tar.gz 13418 SHA256 5b8db1397cff9cadfd1bb96f53c134b787ab0e6a0fbedb71040541d340313ba2 WHIRLPOOL 7e01a851afd2386ec47b2d974e1076d1ad7a546e86d6b4ae38ec32021129947be7696a658a1c18dad79817d50168da2e9a6f563bdbb8a92b7655b800b6d5a9dc
-EBUILD pam_pwdfile-1.0.ebuild 645 SHA256 d69434563190deb7ed07c17223957f957719ba891ba1428ea2a5542f5094c6f9 WHIRLPOOL d27ac3c7e2379de4f1fffedeb4fd9628df3df210e78c75fa5b6fa99ec9d63037592d37e1f93dbac6df0b76562f6acfa20a5dd6f282293e2bedbcabe6069c0884
-MISC ChangeLog 209 SHA256 8e44ddb11ecfaaa786b4a2df903137400acd44dfb7a707db4b6b28adfd0d37ee WHIRLPOOL 6b096ffd2632aca176319b3af1bb1e48632647c0bc64716c35e9ece58a2f11d9c5a60a2137c75e1b730251ae93f798d910c80b3a69b1af8f1956eb54905eeb5a
+EBUILD pam_pwdfile-1.0.ebuild 714 SHA256 a121e8b3cbb924e119943ad47370f90263417242c8527f123bc73171cdbda66a WHIRLPOOL 158e67f2287800fa00efa12356fe539b1dcdf23550a0afba5784567d8f55c2a900ac489c35b247a36f933b1b36b95ec61150cdbbbcedd9e55c97e65b9bad2bb7
+MISC ChangeLog 432 SHA256 e0b16362442ba73e61e94523dec7e889c4bc7c8b9de348c39fceb9ac62245aaa WHIRLPOOL c3453c26d28f93fd2a66ccfc9910ecc9fd50498305f582be1ec507e3aaaf9a3647011cc2168880e742ff37da8dfae4408957ef0e398515716af2643dc8a2d47c
MISC metadata.xml 256 SHA256 6ca43960767ca28661abf97c85263db77fe7643902be2ce777c61aa688d8ea2d WHIRLPOOL cef8582829111be09e651eb819e6d1ea59c9c4386b842169ccd46a14c8e3ccb090486fecd61c5fd4aa47998cacc69cdc1fb5ca6bb6325a4da1ebfd0b6eebda7b
diff --git a/sys-auth/pam_pwdfile/files/auth-pwdfile.pamd b/sys-auth/pam_pwdfile/files/auth-pwdfile.pamd
new file mode 100644
index 00000000..8ab4449c
--- /dev/null
+++ b/sys-auth/pam_pwdfile/files/auth-pwdfile.pamd
@@ -0,0 +1,3 @@
+# See https://github.com/tiwe-de/libpam-pwdfile/blob/master/README
+auth required pam_pwdfile.so pwdfile=/etc/passwd-pam_pwdfile
+account required pam_permit.so
diff --git a/sys-auth/pam_pwdfile/pam_pwdfile-1.0.ebuild b/sys-auth/pam_pwdfile/pam_pwdfile-1.0.ebuild
index bb06075f..51d2a350 100644
--- a/sys-auth/pam_pwdfile/pam_pwdfile-1.0.ebuild
+++ b/sys-auth/pam_pwdfile/pam_pwdfile-1.0.ebuild
@@ -21,11 +21,12 @@ S="${WORKDIR}/${P/pam_/libpam-}"
src_prepare() {
tc-export CC
- append-flags -Wall -Wformat-security -D_DEFAULT_SOURCE
+ append-cppflags -Wall -Wformat-security -D_DEFAULT_SOURCE
}
src_install() {
- default
+ newpamd "${FILESDIR}/auth-pwdfile.pamd" auth-pwdfile
+ dopammod "${PN}.so"
dodoc README changelog
}