diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2007-09-08 17:44:00 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2007-09-08 17:44:00 +0000 |
commit | 7fd37aee48fe9d984c0b0de382e8b984e74a6079 (patch) | |
tree | 688a0efb54351a34eb3b5464a3bc5cd8ecc7c60f /www-apache/pwauth | |
parent | depend on apache 2.0; see mod_authnz_external for apache 2.2 (diff) | |
download | historical-7fd37aee48fe9d984c0b0de382e8b984e74a6079.tar.gz historical-7fd37aee48fe9d984c0b0de382e8b984e74a6079.tar.bz2 historical-7fd37aee48fe9d984c0b0de382e8b984e74a6079.zip |
version bump; #187739
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'www-apache/pwauth')
-rw-r--r-- | www-apache/pwauth/ChangeLog | 7 | ||||
-rw-r--r-- | www-apache/pwauth/files/digest-pwauth-2.3.2 | 3 | ||||
-rw-r--r-- | www-apache/pwauth/pwauth-2.3.2.ebuild | 76 |
3 files changed, 85 insertions, 1 deletions
diff --git a/www-apache/pwauth/ChangeLog b/www-apache/pwauth/ChangeLog index d86c65fec52e..6150be0e5c9c 100644 --- a/www-apache/pwauth/ChangeLog +++ b/www-apache/pwauth/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-apache/pwauth # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/pwauth/ChangeLog,v 1.3 2007/08/04 17:30:13 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/pwauth/ChangeLog,v 1.4 2007/09/08 17:43:59 hollow Exp $ + +*pwauth-2.3.2 (08 Sep 2007) + + 08 Sep 2007; Benedikt Böhm <hollow@gentoo.org> +pwauth-2.3.2.ebuild: + version bump; #187739 29 Jul 2007; Benedikt Böhm <hollow@gentoo.org> Manifest: move net-www/pwauth to www-apache/pwauth (with repoman) diff --git a/www-apache/pwauth/files/digest-pwauth-2.3.2 b/www-apache/pwauth/files/digest-pwauth-2.3.2 new file mode 100644 index 000000000000..0814e710230b --- /dev/null +++ b/www-apache/pwauth/files/digest-pwauth-2.3.2 @@ -0,0 +1,3 @@ +MD5 782856fa30ce2630dd57df3ad554e43a pwauth-2.3.2.tar.gz 20581 +RMD160 d775b7aeac8fe44f2a9f3abddd8ee47b565fc1f4 pwauth-2.3.2.tar.gz 20581 +SHA256 eff9a8020292891e892ee5aee369a7c4c2a5c6e2953c9e513f555777252bca91 pwauth-2.3.2.tar.gz 20581 diff --git a/www-apache/pwauth/pwauth-2.3.2.ebuild b/www-apache/pwauth/pwauth-2.3.2.ebuild new file mode 100644 index 000000000000..2130a32349af --- /dev/null +++ b/www-apache/pwauth/pwauth-2.3.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/pwauth/pwauth-2.3.2.ebuild,v 1.1 2007/09/08 17:43:59 hollow 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" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="faillog pam ignore-case domain-aware" + +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 use faillog; then + OPTS="${OPTS} -DFAILLOG_PWAUTH" + OPTS="${OPTS} -DPATH_FAILLOG=\"\\\"${PWAUTH_FAILLOG}\\\"\"" + fi + + if use pam; then + OPTS="${OPTS} -DPAM" + LDFLAGS="-lpam" + else + OPTS="${OPTS} -DSHADOW_SUN" + LDFLAGS="-lcrypt" + fi + + if use ignore-case; then + OPTS="${OPTS} -DIGNORE_CASE" + fi + + if use domain-aware; then + OPTS="${OPTS} -DOMAIN_AWARE" + fi + + CC=$(tc-getCC) + CFLAGS="${CFLAGS} ${OPTS}" +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/pwauth-gentoo.patch +} + +src_install() { + dosbin pwauth unixgroup + fperms 4755 /usr/sbin/pwauth + + use pam && newpamd "${FILESDIR}"/pwauth.pam-include pwauth + + dodoc CHANGES FORM_AUTH INSTALL README +} |