summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-07-02 10:19:20 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-07-02 10:19:20 +0000
commit69d38ef1dbc44291f61a90210ef1214c13c3ede1 (patch)
tree76f9b18e3cd5f0ebd77104a11f8e4839c33b2ff5 /net-www
parent(Remember to save before committing). (diff)
downloadhistorical-69d38ef1dbc44291f61a90210ef1214c13c3ede1.tar.gz
historical-69d38ef1dbc44291f61a90210ef1214c13c3ede1.tar.bz2
historical-69d38ef1dbc44291f61a90210ef1214c13c3ede1.zip
Revision bump to fix the pam.d file.
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'net-www')
-rw-r--r--net-www/pwauth/ChangeLog8
-rw-r--r--net-www/pwauth/Manifest27
-rw-r--r--net-www/pwauth/files/digest-pwauth-2.3.1-r43
-rw-r--r--net-www/pwauth/files/pwauth.pam-include.16
-rw-r--r--net-www/pwauth/pwauth-2.3.1-r4.ebuild77
5 files changed, 112 insertions, 9 deletions
diff --git a/net-www/pwauth/ChangeLog b/net-www/pwauth/ChangeLog
index 1bd6d9040519..abb2b61ed01a 100644
--- a/net-www/pwauth/ChangeLog
+++ b/net-www/pwauth/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-www/pwauth
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/pwauth/ChangeLog,v 1.9 2007/01/08 15:33:56 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/pwauth/ChangeLog,v 1.10 2007/07/02 10:19:20 flameeyes Exp $
+
+*pwauth-2.3.1-r4 (02 Jul 2007)
+
+ 02 Jul 2007; Diego Pettenò <flameeyes@gentoo.org>
+ +files/pwauth.pam-include.1, +pwauth-2.3.1-r4.ebuild:
+ Revision bump to fix the pam.d file.
08 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> pwauth-2.3.1-r2.ebuild,
pwauth-2.3.1-r3.ebuild:
diff --git a/net-www/pwauth/Manifest b/net-www/pwauth/Manifest
index e323f2e35976..bfd0ca0f55e4 100644
--- a/net-www/pwauth/Manifest
+++ b/net-www/pwauth/Manifest
@@ -9,6 +9,10 @@ AUX pwauth.pam-include 174 RMD160 e96c92b0ad462cf92e5bca0b97a41aaa41b9ac2f SHA1
MD5 380f50919d1a20a1a26cd8c18dfc54fc files/pwauth.pam-include 174
RMD160 e96c92b0ad462cf92e5bca0b97a41aaa41b9ac2f files/pwauth.pam-include 174
SHA256 5fef4f1719b6b43a2707c89abedd3fe256ecb26ae0cdca81ba4361a9a5b10db6 files/pwauth.pam-include 174
+AUX pwauth.pam-include.1 174 RMD160 f41b0e3d4cc295212fd70863ffaec1a1d34768d8 SHA1 beb89e9116aafe81165b1f46dc1c2a0ee2aa6f31 SHA256 351e55f39d90a4b25369b99fe0444fc6e9eb607fabedf70c8c43cd6192f75067
+MD5 2f8e2a04aaa83894371f674f9c48f563 files/pwauth.pam-include.1 174
+RMD160 f41b0e3d4cc295212fd70863ffaec1a1d34768d8 files/pwauth.pam-include.1 174
+SHA256 351e55f39d90a4b25369b99fe0444fc6e9eb607fabedf70c8c43cd6192f75067 files/pwauth.pam-include.1 174
DIST pwauth-2.3.1.tar.gz 20329 RMD160 60ed7aeca033054fbc28f397e822120de53d617b SHA1 75c467cdb3229c2f6086a51289bab01550b7f6ce SHA256 8d0162836998a040351d16163b03dabd7824b23d5d4fc1207fec5e0245f091ac
EBUILD pwauth-2.3.1-r2.ebuild 744 RMD160 08c6f9a1435f4112280ec644e2cf280c3e13efd4 SHA1 32c39d5b62188e10bed3cc04c1d63e7886848113 SHA256 f89600f43ff75418f1489b7b7603a3cb461e8689a2957589825a9577d2febb13
MD5 5c802e2c0a9f793811a3c03879cc128b pwauth-2.3.1-r2.ebuild 744
@@ -18,10 +22,14 @@ EBUILD pwauth-2.3.1-r3.ebuild 2010 RMD160 bf7ff80fc420427a5d21156e9a63118631a302
MD5 d574a8f31597092ff3f05d2391504d87 pwauth-2.3.1-r3.ebuild 2010
RMD160 bf7ff80fc420427a5d21156e9a63118631a30219 pwauth-2.3.1-r3.ebuild 2010
SHA256 92593a3abe2bbd25da823dda9f4932c62351b67114b37d7a9d5da398f94b4c81 pwauth-2.3.1-r3.ebuild 2010
-MISC ChangeLog 1491 RMD160 882a3fa257fa8083ca955f9ad240fd30358841ae SHA1 c6517fcf111be25ae5b7e78428324edaca546bc8 SHA256 8b1f040764b68c97fad25a36b371389ab47f23ba1eb1d6f8aa837c9235675467
-MD5 05cb920008b80aba210195240efd505a ChangeLog 1491
-RMD160 882a3fa257fa8083ca955f9ad240fd30358841ae ChangeLog 1491
-SHA256 8b1f040764b68c97fad25a36b371389ab47f23ba1eb1d6f8aa837c9235675467 ChangeLog 1491
+EBUILD pwauth-2.3.1-r4.ebuild 2012 RMD160 fc2d592e505fe87c4a119216edfb9cf7545f81e4 SHA1 4662e150272cb682d0ab9763c7d688c02550a9d1 SHA256 27dbbe9f2a09f55104de89eab9a860091cd9590d808f161e94f1e5c76d04d52c
+MD5 65c01658b0704731915b650d4030d21d pwauth-2.3.1-r4.ebuild 2012
+RMD160 fc2d592e505fe87c4a119216edfb9cf7545f81e4 pwauth-2.3.1-r4.ebuild 2012
+SHA256 27dbbe9f2a09f55104de89eab9a860091cd9590d808f161e94f1e5c76d04d52c pwauth-2.3.1-r4.ebuild 2012
+MISC ChangeLog 1673 RMD160 e4aebb6c95d28a594aca5b015027486f8c80af6d SHA1 d4bcbb487de7e930408f9e6650d7c661260dfb9f SHA256 e57ac9c45c3b4f3aa810ace890ca7fd2c9cc80395e17712859e96f2dd34b3721
+MD5 bbca3160ae6e988bcc32dd93a30cb14b ChangeLog 1673
+RMD160 e4aebb6c95d28a594aca5b015027486f8c80af6d ChangeLog 1673
+SHA256 e57ac9c45c3b4f3aa810ace890ca7fd2c9cc80395e17712859e96f2dd34b3721 ChangeLog 1673
MISC metadata.xml 226 RMD160 d11ce73e47adf4b3d91309ec6489fded2f4d4e0e SHA1 fe9f7ce6f2281683065abb3255c8b731665c82ac SHA256 376a327f91f69eb96f0c1b05cc1481dd7017a0570f631a03b1f6d14d58215ca8
MD5 7272d8b6d09e3e301b6a08aa9c912eb0 metadata.xml 226
RMD160 d11ce73e47adf4b3d91309ec6489fded2f4d4e0e metadata.xml 226
@@ -32,10 +40,13 @@ SHA256 1cc2571435bdd377dd9ba32b93e209528a44cdcd09c02b4c7aa22b356b47115a files/di
MD5 e5119e4878c12f2238b8cfb9d8a5a62f files/digest-pwauth-2.3.1-r3 235
RMD160 dc0337c6870b1ae2c3bd5222a40e9a67f0035c64 files/digest-pwauth-2.3.1-r3 235
SHA256 1cc2571435bdd377dd9ba32b93e209528a44cdcd09c02b4c7aa22b356b47115a files/digest-pwauth-2.3.1-r3 235
+MD5 e5119e4878c12f2238b8cfb9d8a5a62f files/digest-pwauth-2.3.1-r4 235
+RMD160 dc0337c6870b1ae2c3bd5222a40e9a67f0035c64 files/digest-pwauth-2.3.1-r4 235
+SHA256 1cc2571435bdd377dd9ba32b93e209528a44cdcd09c02b4c7aa22b356b47115a files/digest-pwauth-2.3.1-r4 235
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
+Version: GnuPG v2.0.4 (GNU/Linux)
-iD8DBQFFomRrAiZjviIA2XgRAjvtAJ9E13wXQZRTK/JM/yva+g9lmintsQCghDLy
-BNfTVKfy1wz7wR1fBvrocjU=
-=jIvt
+iD8DBQFGiNFcAiZjviIA2XgRAnpPAJ4jX68/nFOvnbTQ1ELJN2nORO1nfACg8I9J
+Nyopi+fNPVlynLYhWIX1BoQ=
+=hcWz
-----END PGP SIGNATURE-----
diff --git a/net-www/pwauth/files/digest-pwauth-2.3.1-r4 b/net-www/pwauth/files/digest-pwauth-2.3.1-r4
new file mode 100644
index 000000000000..1d7783888469
--- /dev/null
+++ b/net-www/pwauth/files/digest-pwauth-2.3.1-r4
@@ -0,0 +1,3 @@
+MD5 9fbb03fe024b51a02fd7a15ae04a35cb pwauth-2.3.1.tar.gz 20329
+RMD160 60ed7aeca033054fbc28f397e822120de53d617b pwauth-2.3.1.tar.gz 20329
+SHA256 8d0162836998a040351d16163b03dabd7824b23d5d4fc1207fec5e0245f091ac pwauth-2.3.1.tar.gz 20329
diff --git a/net-www/pwauth/files/pwauth.pam-include.1 b/net-www/pwauth/files/pwauth.pam-include.1
new file mode 100644
index 000000000000..7f4f041b28ac
--- /dev/null
+++ b/net-www/pwauth/files/pwauth.pam-include.1
@@ -0,0 +1,6 @@
+#%PAM-1.0
+auth required pam_nologin.so
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/net-www/pwauth/pwauth-2.3.1-r4.ebuild b/net-www/pwauth/pwauth-2.3.1-r4.ebuild
new file mode 100644
index 000000000000..96656cfe8adc
--- /dev/null
+++ b/net-www/pwauth/pwauth-2.3.1-r4.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/pwauth/pwauth-2.3.1-r4.ebuild,v 1.1 2007/07/02 10:19:20 flameeyes Exp $
+
+inherit eutils toolchain-funcs pam
+
+DESCRIPTION="A Unix Web Authenticator"
+HOMEPAGE="http://www.unixpapa.com/pwauth/"
+SRC_URI="http://www.unixpapa.com/software/${P}.tar.gz"
+
+LICENSE="Apache-1.1"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="faillog pam ignore-case domain-aware"
+SLOT="0"
+
+DEPEND="pam? ( virtual/pam )"
+
+pkg_setup() {
+ local OPTS
+
+ einfo "You can configure various build time options with ENV variables:"
+ einfo
+ einfo " PWAUTH_FAILLOG Path to logfile for login failures"
+ einfo " (default: /var/log/pwauth.log)"
+ einfo " PWAUTH_SERVERUIDS Comma seperated list of UIDs allowed to run pwauth"
+ einfo " (default: 81)"
+ einfo " PWAUTH_MINUID Minimum UID for which authentication will succeed"
+ einfo " (default: 1000)"
+ einfo
+
+ PWAUTH_FAILLOG="${PWAUTH_FAILLOG:-/var/log/pwauth.log}"
+ PWAUTH_SERVERUIDS="${PWAUTH_SERVERUIDS:-81}"
+ PWAUTH_MINUID="${PWAUTH_MINUID:-1000}"
+
+ OPTS="${OPTS} -DSERVER_UIDS=${PWAUTH_SERVERUIDS}"
+ OPTS="${OPTS} -DMIN_UNIX_UID=${PWAUTH_MINUID}"
+
+ if useq faillog; then
+ OPTS="${OPTS} -DFAILLOG_PWAUTH"
+ OPTS="${OPTS} -DPATH_FAILLOG=\"\\\"${PWAUTH_FAILLOG}\\\"\""
+ fi
+
+ if useq pam; then
+ OPTS="${OPTS} -DPAM"
+ LDFLAGS="-lpam"
+ else
+ OPTS="${OPTS} -DSHADOW_SUN"
+ LDFLAGS="-lcrypt"
+ fi
+
+ if useq ignore-case; then
+ OPTS="${OPTS} -DIGNORE_CASE"
+ fi
+
+ if useq domain-aware; then
+ OPTS="${OPTS} -DOMAIN_AWARE"
+ fi
+
+ CC=$(tc-getCC)
+ CFLAGS="${CFLAGS} ${OPTS}"
+}
+
+src_unpack() {
+ unpack ${A} || die "unpack failed"
+ cd ${S} || die "cd to $s failed"
+
+ epatch "${FILESDIR}"/pwauth-gentoo.patch
+}
+
+src_install() {
+ dosbin pwauth unixgroup
+ fperms 4755 /usr/sbin/pwauth
+
+ useq pam && newpamd ${FILESDIR}/pwauth.pam-include.1 pwauth
+
+ dodoc CHANGES FORM_AUTH INSTALL README
+}