diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2007-07-29 21:34:17 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2007-07-29 21:34:17 +0000 |
commit | 8f73f14a2e9a786d0b6b53bcfd136fd2e446dc0b (patch) | |
tree | 2fb0d3f5ff3d88d58e1a916aefaeb4120ab12974 /www-apache | |
parent | Clean up of vulnerable versions and weeklies. (diff) | |
download | historical-8f73f14a2e9a786d0b6b53bcfd136fd2e446dc0b.tar.gz historical-8f73f14a2e9a786d0b6b53bcfd136fd2e446dc0b.tar.bz2 historical-8f73f14a2e9a786d0b6b53bcfd136fd2e446dc0b.zip |
moving net-www/pwauth to www-apache/pwauth
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/pwauth/ChangeLog | 51 | ||||
-rw-r--r-- | www-apache/pwauth/Manifest | 24 | ||||
-rw-r--r-- | www-apache/pwauth/files/digest-pwauth-2.3.1-r4 | 3 | ||||
-rw-r--r-- | www-apache/pwauth/files/pwauth-gentoo.patch | 78 | ||||
-rw-r--r-- | www-apache/pwauth/files/pwauth.pam-include | 6 | ||||
-rw-r--r-- | www-apache/pwauth/metadata.xml | 8 | ||||
-rw-r--r-- | www-apache/pwauth/pwauth-2.3.1-r4.ebuild | 76 |
7 files changed, 246 insertions, 0 deletions
diff --git a/www-apache/pwauth/ChangeLog b/www-apache/pwauth/ChangeLog new file mode 100644 index 000000000000..59c171e8546d --- /dev/null +++ b/www-apache/pwauth/ChangeLog @@ -0,0 +1,51 @@ +# ChangeLog for net-www/pwauth +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/pwauth/ChangeLog,v 1.1 2007/07/29 21:34:17 hollow 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: + Add inherit pam. + +*pwauth-2.3.1-r3 (06 Jun 2006) + + 06 Jun 2006; Benedikt Böhm <hollow@gentoo.org> + +files/pwauth-gentoo.patch, +pwauth-2.3.1-r3.ebuild: + reflect various build time options, fixes #121125 + + 05 Jun 2006; Benedikt Böhm <hollow@gentoo.org> -files/pwauth.pam, + -pwauth-2.3.1.ebuild, -pwauth-2.3.1-r1.ebuild: + remove old ebuilds + + 08 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> files/pwauth.pam, + files/pwauth.pam-include: + Remove pam_console reference, bug 98454. + + 27 Jun 2005; Simon Stelling <blubb@gentoo.org> pwauth-2.3.1-r2.ebuild: + added ~amd64 keyword + + 12 Jun 2005; David Holm <dholm@gentoo.org> pwauth-2.3.1-r2.ebuild: + Added to ~ppc. + +*pwauth-2.3.1-r2 (11 Jun 2005) + + 11 Jun 2005; Bryan Østergaard <kloeri@gentoo.org> + +files/pwauth.pam-include, +pwauth-2.3.1-r2.ebuild: + Fix openpam compatibility, bug 93203. + +*pwauth-2.3.1-r1 (03 Mar 2005) + + 03 Mar 2005; Benedikt Boehm <hollow@gentoo.org> +pwauth-2.3.1-r1.ebuild: + changed SERVER_UIDS to 81 (user apache). fixes 83957 + +*pwauth-2.3.1 (17 Feb 2005) + + 17 Feb 2005; Benedikt Boehm <hollow@gentoo.org> +metadata.xml, + +files/pwauth.pam, +pwauth-2.3.1.ebuild: + initial ebuild revision + diff --git a/www-apache/pwauth/Manifest b/www-apache/pwauth/Manifest new file mode 100644 index 000000000000..db38f8fe3c3b --- /dev/null +++ b/www-apache/pwauth/Manifest @@ -0,0 +1,24 @@ +AUX pwauth-gentoo.patch 2658 RMD160 f864529a23da0ee77524e0d8f55521eb7a798eaa SHA1 3c158d4f9770622636d6dff4dbc4fd4b3f7affbc SHA256 9a0f24988ea1453af2f5fa961ed810b0ecab88ebb166fa0993f38081ec4b1b1a +MD5 9927c753366d73b236dfe41cb4ee8841 files/pwauth-gentoo.patch 2658 +RMD160 f864529a23da0ee77524e0d8f55521eb7a798eaa files/pwauth-gentoo.patch 2658 +SHA256 9a0f24988ea1453af2f5fa961ed810b0ecab88ebb166fa0993f38081ec4b1b1a files/pwauth-gentoo.patch 2658 +AUX pwauth.pam-include 174 RMD160 f41b0e3d4cc295212fd70863ffaec1a1d34768d8 SHA1 beb89e9116aafe81165b1f46dc1c2a0ee2aa6f31 SHA256 351e55f39d90a4b25369b99fe0444fc6e9eb607fabedf70c8c43cd6192f75067 +MD5 2f8e2a04aaa83894371f674f9c48f563 files/pwauth.pam-include 174 +RMD160 f41b0e3d4cc295212fd70863ffaec1a1d34768d8 files/pwauth.pam-include 174 +SHA256 351e55f39d90a4b25369b99fe0444fc6e9eb607fabedf70c8c43cd6192f75067 files/pwauth.pam-include 174 +DIST pwauth-2.3.1.tar.gz 20329 RMD160 60ed7aeca033054fbc28f397e822120de53d617b SHA1 75c467cdb3229c2f6086a51289bab01550b7f6ce SHA256 8d0162836998a040351d16163b03dabd7824b23d5d4fc1207fec5e0245f091ac +EBUILD pwauth-2.3.1-r4.ebuild 1960 RMD160 6bb0bc7123f141d541fe6d35ff72748fefbaa132 SHA1 9cb06f37b0886fea5a9eaba425428a9ec7383c5a SHA256 c7d478c39e107f15bdb3fafb2ab96be17ec971721f9bdd0c315a1b23dad50f45 +MD5 4b8256aec097927acd87933e5511686a pwauth-2.3.1-r4.ebuild 1960 +RMD160 6bb0bc7123f141d541fe6d35ff72748fefbaa132 pwauth-2.3.1-r4.ebuild 1960 +SHA256 c7d478c39e107f15bdb3fafb2ab96be17ec971721f9bdd0c315a1b23dad50f45 pwauth-2.3.1-r4.ebuild 1960 +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 +SHA256 376a327f91f69eb96f0c1b05cc1481dd7017a0570f631a03b1f6d14d58215ca8 metadata.xml 226 +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 diff --git a/www-apache/pwauth/files/digest-pwauth-2.3.1-r4 b/www-apache/pwauth/files/digest-pwauth-2.3.1-r4 new file mode 100644 index 000000000000..1d7783888469 --- /dev/null +++ b/www-apache/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/www-apache/pwauth/files/pwauth-gentoo.patch b/www-apache/pwauth/files/pwauth-gentoo.patch new file mode 100644 index 000000000000..2f3a183d3ebd --- /dev/null +++ b/www-apache/pwauth/files/pwauth-gentoo.patch @@ -0,0 +1,78 @@ +diff -Nurp pwauth-2.3.1.orig/config.h pwauth-2.3.1/config.h +--- pwauth-2.3.1.orig/config.h 2004-09-29 03:07:18.000000000 +0200 ++++ pwauth-2.3.1/config.h 2006-06-06 09:01:37.044516000 +0200 +@@ -106,7 +106,7 @@ + + /* #define SHADOW_NONE /**/ + /* #define SHADOW_BSD /* FreeBSD, NetBSD, OpenBSD, BSDI */ +-#define SHADOW_SUN /* Linux, Solaris, IRIX */ ++/* #define SHADOW_SUN /* Linux, Solaris, IRIX */ + /* #define SHADOW_JFH /**/ + /* #define SHADOW_MDW /**/ + /* #define SHADOW_AIX /* AIX */ +@@ -238,7 +238,7 @@ + * last). + */ + +-#define SERVER_UIDS 72 /* user "nobody" */ ++/* #define SERVER_UIDS 81 /* user "nobody" */ + + + /* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than +@@ -250,7 +250,7 @@ + * given value will be accepted). + */ + +-#define MIN_UNIX_UID 500 /**/ ++/* #define MIN_UNIX_UID 500 /**/ + + + /* If IGNORE_CASE is defined, the login given is checked in two different +@@ -278,7 +278,7 @@ + * SLEEP_LOCK. SLEEP_TIME defaults to 2 seconds if not defined. + */ + +-#define SLEEP_LOCK "/var/run/pwauth.lock" ++#define SLEEP_LOCK "/var/lock/pwauth" + + + /* If ENV_METHOD is defined, pwauth expects mod_auth_external to be configured +diff -Nurp pwauth-2.3.1.orig/Makefile pwauth-2.3.1/Makefile +--- pwauth-2.3.1.orig/Makefile 2004-09-28 15:40:19.000000000 +0200 ++++ pwauth-2.3.1/Makefile 2006-06-06 09:26:14.620858750 +0200 +@@ -2,32 +2,18 @@ + # system. Most of the configurable stuff is in config.h + # + # CC= an ansi-C compiler. If "cc" doesn't work, try "gcc". +-# LIB= libraries to link in. -lcrypt, -lshadow, -lpam sometimes needed. +-# LOCALFLAGS= compiler flags. Usually -g, -O, and stuff like that. +- +-# Settings for author's system (Redhat 6.1) +-CC=gcc +-LIB= -lcrypt +-LOCALFLAGS= -g +- +-# For PAM on Redhat Linux +-# LIB=-lpam -ldl +- +-# For PAM on Solaris +-# LIB=-lpam ++# LDFLAGS= libraries to link in. -lcrypt, -lshadow, -lpam sometimes needed. + + # -------------------- No User Servicable Parts Below ----------------------- + +-CFLAGS= $(LOCALFLAGS) +- + pwauth: main.o auth_aix.o auth_bsd.o auth_hpux.o auth_mdw.o auth_openbsd.o \ + auth_pam.o auth_sun.o fail_log.o lastlog.o nologin.o snooze.o + $(CC) -o pwauth $(CFLAGS) main.o auth_aix.o auth_bsd.o auth_hpux.o \ + auth_mdw.o auth_openbsd.o auth_pam.o auth_sun.o fail_log.o \ +- lastlog.o nologin.o snooze.o $(LIB) ++ lastlog.o nologin.o snooze.o $(LDFLAGS) + + checkfaillog: checkfaillog.o fail_check.o +- $(CC) -o checkfaillog $(CFLAGS) checkfaillog.o fail_check.o $(LIB) ++ $(CC) -o checkfaillog $(CFLAGS) checkfaillog.o fail_check.o $(LDFLAGS) + + main.o: main.c config.h pwauth.h fail_log.h + auth_aix.o: auth_aix.c config.h pwauth.h diff --git a/www-apache/pwauth/files/pwauth.pam-include b/www-apache/pwauth/files/pwauth.pam-include new file mode 100644 index 000000000000..7f4f041b28ac --- /dev/null +++ b/www-apache/pwauth/files/pwauth.pam-include @@ -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/www-apache/pwauth/metadata.xml b/www-apache/pwauth/metadata.xml new file mode 100644 index 000000000000..ff5b6490402e --- /dev/null +++ b/www-apache/pwauth/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>apache</herd> +<maintainer> + <email>apache-bugs@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/www-apache/pwauth/pwauth-2.3.1-r4.ebuild b/www-apache/pwauth/pwauth-2.3.1-r4.ebuild new file mode 100644 index 000000000000..6d42390695aa --- /dev/null +++ b/www-apache/pwauth/pwauth-2.3.1-r4.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.1-r4.ebuild,v 1.1 2007/07/29 21:34:17 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 +} |