summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-09-02 17:20:34 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-09-02 17:20:34 +0000
commit6c60029b5eece03c4e87b485388c578f602c5f07 (patch)
tree68a021b65ea27a753c69e413eebdbe43b0249aed /sys-libs/pam
parentStable for HPPA (bug #380601). (diff)
downloadhistorical-6c60029b5eece03c4e87b485388c578f602c5f07.tar.gz
historical-6c60029b5eece03c4e87b485388c578f602c5f07.tar.bz2
historical-6c60029b5eece03c4e87b485388c578f602c5f07.zip
Version bump; remove 1.1.3-r1 since the patch is integrated with .4 and that is going to be the stable candidate. Closes bug #381485.
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'sys-libs/pam')
-rw-r--r--sys-libs/pam/ChangeLog9
-rw-r--r--sys-libs/pam/Manifest15
-rw-r--r--sys-libs/pam/files/Linux-PAM-1.1.3-nis.patch254
-rw-r--r--sys-libs/pam/pam-1.1.4.ebuild (renamed from sys-libs/pam/pam-1.1.3-r1.ebuild)9
4 files changed, 18 insertions, 269 deletions
diff --git a/sys-libs/pam/ChangeLog b/sys-libs/pam/ChangeLog
index c6335fbae6b8..88f6986f7e9a 100644
--- a/sys-libs/pam/ChangeLog
+++ b/sys-libs/pam/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-libs/pam
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.295 2011/06/14 18:32:30 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.296 2011/09/02 17:20:34 flameeyes Exp $
+
+*pam-1.1.4 (02 Sep 2011)
+
+ 02 Sep 2011; Diego E. Pettenò <flameeyes@gentoo.org> -pam-1.1.3-r1.ebuild,
+ -files/Linux-PAM-1.1.3-nis.patch, +pam-1.1.4.ebuild:
+ Version bump; remove 1.1.3-r1 since the patch is integrated with .4 and that
+ is going to be the stable candidate. Closes bug #381485.
14 Jun 2011; Diego E. Pettenò <flameeyes@gentoo.org> pam-1.1.3-r1.ebuild:
Drop REQUIRED_USE as selinux support is still built fine without nis.
diff --git a/sys-libs/pam/Manifest b/sys-libs/pam/Manifest
index db95b25bfda3..b80c12c8c62f 100644
--- a/sys-libs/pam/Manifest
+++ b/sys-libs/pam/Manifest
@@ -1,17 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX Linux-PAM-1.1.3-nis.patch 8071 RMD160 ee63b3d6f0e8ac5984e9eed794ae9349ba0b8677 SHA1 db4adb205b97e092b45233a1fdb9e57a4517a8c8 SHA256 3ed5a2113d024f4fe1ed4430638af5a6ca45bb3d229d11dc79f69ce976a9cdc0
DIST Linux-PAM-1.1.3-docs.tar.bz2 495577 RMD160 d080055e8b2e2c213293e42d42d64082cd112915 SHA1 88024b6c99f1d5e9da1d12f7c04ca97779125d56 SHA256 4afc3c02f295ed1a3e09876da7eb8738ce48a3c8ea1bc0861e4999730489df12
DIST Linux-PAM-1.1.3.tar.bz2 1132898 RMD160 626d8deabe5fb8fcc333b3b52fe5653e901bf352 SHA1 97d36d2b9af3211b4818ea8e6fcc6893ca1b6722 SHA256 17b268789b935a76e736a1150210dd12f156972973e79347668f828d43632652
-EBUILD pam-1.1.3-r1.ebuild 5857 RMD160 3fa0ced5991a96ea14a19878162ae1008c47bf5c SHA1 31f21fa893eeb71520adba267771b6438c6bcad0 SHA256 777fb1f71ab231b03dd8f0fb7b0a2b643401b941a59d637fcaba7d18338057be
+DIST Linux-PAM-1.1.4-docs.tar.bz2 498363 RMD160 7291cd3c79b3e704f2bf42f89450dc5b846e9dad SHA1 644c329849c7e18edf1706742b4685977c773187 SHA256 a3bcdbcede0865f0ce40aa1c1363afc2c51a878334a31689f959b0bdcf53cc6e
+DIST Linux-PAM-1.1.4.tar.bz2 1123186 RMD160 5cd6eef753e2b650cf8e85d3a93a0d3145cdfe1d SHA1 4634b09f9e059f384ce69dbaa4a67f88bef5cf7b SHA256 ccd89331914390b1e9e99c954471d65f19b660d81e15a46eeb96cee125d44056
EBUILD pam-1.1.3.ebuild 5622 RMD160 8304a160cd029a730960cfb66b57ea6d8b6cedcf SHA1 4c7fd78d51bd5b0b3dfc851db4ebc01c31176ed5 SHA256 cdb43130a75c0ba779e98272a23435ef283d6037a58bcb8bc62698037e0a6041
-MISC ChangeLog 47602 RMD160 78c0b3ff39f80cc3c4272b950fbd9e8f6391dedf SHA1 2972dda9b8fa5e4ce1387e26a625144914972b37 SHA256 dceef305b38fe4b4fa71cf01b083959e89ff1182300733c574d4b413fe081bac
+EBUILD pam-1.1.4.ebuild 5743 RMD160 a14adce67c8c616b2c0e566008c2a1175002bb70 SHA1 5d1cb3c435de2773deab259bb59e743d4b5c1ab3 SHA256 722c0b2c244ba3728ad5ac79860cab1a5a2e995e6ba143b3235f202c4c70c1d7
+MISC ChangeLog 47900 RMD160 6377407e320abe381bd76b51db03e0c5e82f5406 SHA1 fae6dd3bfd51a3e0fa3ef74df9f025ca36a4e2f2 SHA256 51f10e1d078d5a13dbafcad5a4448bc83d10f5033f2f51fcced391dce4e763e1
MISC metadata.xml 1129 RMD160 a800f5ac4255ca20c26791ff0b57c3c923666623 SHA1 99e58550271cf1c3e23c4547387469a0d211ae55 SHA256 e160643aca26e0418b31429836ae1b4c673474cd6130b7e2ac0d0bf41380df0b
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk33qSIACgkQAiZjviIA2Xj+PQCgjvDDggNuzV03T01tkTkJOA0w
-iwQAoK2kHB+FbRqLimptBvGEGFXb1fd3
-=p986
+iEYEARECAAYFAk5hEE0ACgkQAiZjviIA2XgQYQCgoG6L7vgF2c//56TiX4CYUZxJ
+p04An1QkaAHjN+TbPEwrsPDfCuD/kmjH
+=/vYZ
-----END PGP SIGNATURE-----
diff --git a/sys-libs/pam/files/Linux-PAM-1.1.3-nis.patch b/sys-libs/pam/files/Linux-PAM-1.1.3-nis.patch
deleted file mode 100644
index fdb8b96d9f0d..000000000000
--- a/sys-libs/pam/files/Linux-PAM-1.1.3-nis.patch
+++ /dev/null
@@ -1,254 +0,0 @@
-Index: Linux-PAM-1.1.3/configure.in
-===================================================================
---- Linux-PAM-1.1.3.orig/configure.in
-+++ Linux-PAM-1.1.3/configure.in
-@@ -441,12 +441,39 @@ fi
- AC_SUBST(LIBDB)
- AM_CONDITIONAL([HAVE_LIBDB], [test ! -z "$LIBDB"])
-
--AC_CHECK_LIB([nsl],[yp_get_default_domain], LIBNSL="-lnsl", LIBNSL="")
--BACKUP_LIBS=$LIBS
--LIBS="$LIBS $LIBNSL"
--AC_CHECK_FUNCS(yp_get_default_domain getdomainname innetgr yperr_string yp_master yp_bind yp_match yp_unbind)
--LIBS=$BACKUP_LIBS
--AC_SUBST(LIBNSL)
-+AC_ARG_ENABLE([nis],
-+ AS_HELP_STRING([-disable-nis], [Disable building NIS/YP support in pam_unix and pam_access]))
-+
-+AS_IF([test "x$enable_nis" != "xno"], [
-+ CFLAGS=$old_CFLAGS
-+ LIBS=$old_LIBS
-+
-+ dnl if there's libtirpc available, prefer that over the system
-+ dnl implementation.
-+ PKG_CHECK_MODULES([libtirpc], [libtirpc], [
-+ CFLAGS="$CFLAGS $libtirpc_CFLAGS"
-+ LIBS="$LIBS $libtirpc_LIBS"
-+ ], [:;])
-+
-+ AC_SEARCH_LIBS([yp_get_default_domain], [nsl])
-+
-+ AC_CHECK_FUNCS([yp_get_default_domain yperr_string yp_master yp_bind yp_match yp_unbind])
-+ AC_CHECK_HEADERS([rpc/rpc.h rpcsvc/ypclnt.h rpcsvc/yp_prot.h])
-+ AC_CHECK_DECLS([getrpcport], , , [
-+ #if HAVE_RPC_RPC_H
-+ # include <rpc/rpc.h>
-+ #endif
-+ ])
-+
-+ NIS_CFLAGS="${CFLAGS%${old_CFLAGS}}"
-+ NIS_LIBS="${LIBS%${old_LIBS}}"
-+
-+ CFLAGS="$old_CFLAGS"
-+ LIBS="$old_LIBS"
-+])
-+
-+AC_SUBST([NIS_CFLAGS])
-+AC_SUBST([NIS_LIBS])
-
- AC_ARG_ENABLE([selinux],
- AS_HELP_STRING([--disable-selinux],[do not use SELinux]),
-@@ -471,7 +498,7 @@ dnl Checks for header files.
- AC_HEADER_DIRENT
- AC_HEADER_STDC
- AC_HEADER_SYS_WAIT
--AC_CHECK_HEADERS(fcntl.h limits.h malloc.h sys/file.h sys/ioctl.h sys/time.h syslog.h net/if.h termio.h unistd.h sys/fsuid.h inittypes.h rpcsvc/ypclnt.h rpcsvc/yp_prot.h)
-+AC_CHECK_HEADERS(fcntl.h limits.h malloc.h sys/file.h sys/ioctl.h sys/time.h syslog.h net/if.h termio.h unistd.h sys/fsuid.h inittypes.h)
-
- dnl For module/pam_lastlog
- AC_CHECK_HEADERS(lastlog.h utmp.h utmpx.h)
-@@ -491,11 +518,11 @@ AC_TYPE_GETGROUPS
- AC_PROG_GCC_TRADITIONAL
- AC_FUNC_MEMCMP
- AC_FUNC_VPRINTF
--AC_CHECK_FUNCS(fseeko gethostname gettimeofday lckpwdf mkdir select)
-+AC_CHECK_FUNCS(fseeko getdomainname gethostname gettimeofday lckpwdf mkdir select)
- AC_CHECK_FUNCS(strcspn strdup strspn strstr strtol uname)
- AC_CHECK_FUNCS(getutent_r getpwnam_r getpwuid_r getgrnam_r getgrgid_r getspnam_r)
- AC_CHECK_FUNCS(getgrouplist getline getdelim)
--AC_CHECK_FUNCS(inet_ntop inet_pton ruserok_af)
-+AC_CHECK_FUNCS(inet_ntop inet_pton innetgr ruserok_af)
-
- AC_CHECK_FUNCS(unshare, [UNSHARE=yes], [UNSHARE=no])
- AM_CONDITIONAL([HAVE_UNSHARE], [test "$UNSHARE" = yes])
-Index: Linux-PAM-1.1.3/modules/pam_unix/pam_unix_passwd.c
-===================================================================
---- Linux-PAM-1.1.3.orig/modules/pam_unix/pam_unix_passwd.c
-+++ Linux-PAM-1.1.3/modules/pam_unix/pam_unix_passwd.c
-@@ -54,13 +54,6 @@
- #include <ctype.h>
- #include <sys/time.h>
- #include <sys/stat.h>
--#include <rpc/rpc.h>
--#ifdef HAVE_RPCSVC_YP_PROT_H
--#include <rpcsvc/yp_prot.h>
--#endif
--#ifdef HAVE_RPCSVC_YPCLNT_H
--#include <rpcsvc/ypclnt.h>
--#endif
-
- #include <signal.h>
- #include <errno.h>
-@@ -76,16 +69,33 @@
- #include <security/pam_ext.h>
- #include <security/pam_modutil.h>
-
--#include "yppasswd.h"
- #include "md5.h"
- #include "support.h"
- #include "passverify.h"
- #include "bigcrypt.h"
-
--#if !((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 1))
-+#if (HAVE_YP_GET_DEFAULT_DOMAIN || HAVE_GETDOMAINNAME) && HAVE_YP_MASTER
-+# define HAVE_NIS 1
-+#endif
-+
-+#ifdef HAVE_NIS
-+# include <rpc/rpc.h>
-+
-+# if HAVE_RPCSVC_YP_PROT_H
-+# include <rpcsvc/yp_prot.h>
-+# endif
-+
-+# if HAVE_RPCSVC_YPCLNT_H
-+# include <rpcsvc/ypclnt.h>
-+# endif
-+
-+# if !HAVE_DECL_GETRPCPORT
- extern int getrpcport(const char *host, unsigned long prognum,
- unsigned long versnum, unsigned int proto);
--#endif /* GNU libc 2.1 */
-+# endif /* GNU libc 2.1 */
-+
-+# include "yppasswd.h"
-+#endif
-
- /*
- How it works:
-@@ -102,9 +112,9 @@ extern int getrpcport(const char *host,
-
- #define MAX_PASSWD_TRIES 3
-
-+#if HAVE_NIS
- static char *getNISserver(pam_handle_t *pamh, unsigned int ctrl)
- {
--#if (defined(HAVE_YP_GET_DEFAULT_DOMAIN) || defined(HAVE_GETDOMAINNAME)) && defined(HAVE_YP_MASTER)
- char *master;
- char *domainname;
- int port, err;
-@@ -151,14 +161,8 @@ static char *getNISserver(pam_handle_t *
- master, port);
- }
- return master;
--#else
-- if (on(UNIX_DEBUG, ctrl)) {
-- pam_syslog(pamh, LOG_DEBUG, "getNISserver: No NIS support available");
-- }
--
-- return NULL;
--#endif
- }
-+#endif
-
- #ifdef WITH_SELINUX
-
-@@ -326,6 +330,7 @@ static int _do_setpass(pam_handle_t* pam
- }
-
- if (on(UNIX_NIS, ctrl) && _unix_comesfromsource(pamh, forwho, 0, 1)) {
-+#if HAVE_NIS
- if ((master=getNISserver(pamh, ctrl)) != NULL) {
- struct timeval timeout;
- struct yppasswd yppwd;
-@@ -391,6 +396,13 @@ static int _do_setpass(pam_handle_t* pam
- } else {
- retval = PAM_TRY_AGAIN;
- }
-+#else
-+ if (on(UNIX_DEBUG, ctrl)) {
-+ pam_syslog(pamh, LOG_DEBUG, "No NIS support available");
-+ }
-+
-+ retval = PAM_TRY_AGAIN;
-+#endif
- }
-
- if (_unix_comesfromsource(pamh, forwho, 1, 0)) {
-Index: Linux-PAM-1.1.3/modules/pam_unix/yppasswd_xdr.c
-===================================================================
---- Linux-PAM-1.1.3.orig/modules/pam_unix/yppasswd_xdr.c
-+++ Linux-PAM-1.1.3/modules/pam_unix/yppasswd_xdr.c
-@@ -12,6 +12,8 @@
-
- #include "config.h"
-
-+#ifdef HAVE_RPC_RPC_H
-+
- #include <rpc/rpc.h>
- #include "yppasswd.h"
-
-@@ -34,3 +36,5 @@ xdr_yppasswd(XDR * xdrs, yppasswd * objp
- return xdr_string(xdrs, &objp->oldpass, ~0)
- && xdr_xpasswd(xdrs, &objp->newpw);
- }
-+
-+#endif
-Index: Linux-PAM-1.1.3/libpam/Makefile.am
-===================================================================
---- Linux-PAM-1.1.3.orig/libpam/Makefile.am
-+++ Linux-PAM-1.1.3/libpam/Makefile.am
-@@ -25,7 +25,8 @@ libpam_la_LIBADD = @LIBAUDIT@ $(LIBPRELU
-
- if STATIC_MODULES
- libpam_la_LIBADD += $(shell ls ../modules/pam_*/*.lo) \
-- @LIBDB@ @LIBCRYPT@ @LIBNSL@ @LIBCRACK@ -lutil
-+ @LIBDB@ @LIBCRYPT@ $(NIS_LIBS) @LIBCRACK@ -lutil
-+ AM_CFLAGS += $(NIS_CFLAGS)
- endif
- if HAVE_VERSIONING
- libpam_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libpam.map
-Index: Linux-PAM-1.1.3/modules/pam_access/Makefile.am
-===================================================================
---- Linux-PAM-1.1.3.orig/modules/pam_access/Makefile.am
-+++ Linux-PAM-1.1.3/modules/pam_access/Makefile.am
-@@ -15,14 +15,14 @@ securelibdir = $(SECUREDIR)
- secureconfdir = $(SCONFIGDIR)
-
- AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \
-- -DPAM_ACCESS_CONFIG=\"$(SCONFIGDIR)/access.conf\"
-+ -DPAM_ACCESS_CONFIG=\"$(SCONFIGDIR)/access.conf\" $(NIS_CFLAGS)
- AM_LDFLAGS = -no-undefined -avoid-version -module
- if HAVE_VERSIONING
- AM_LDFLAGS += -Wl,--version-script=$(srcdir)/../modules.map
- endif
-
- securelib_LTLIBRARIES = pam_access.la
--pam_access_la_LIBADD = -L$(top_builddir)/libpam -lpam @LIBNSL@
-+pam_access_la_LIBADD = -L$(top_builddir)/libpam -lpam $(NIS_LIBS)
-
- secureconf_DATA = access.conf
-
-Index: Linux-PAM-1.1.3/modules/pam_unix/Makefile.am
-===================================================================
---- Linux-PAM-1.1.3.orig/modules/pam_unix/Makefile.am
-+++ Linux-PAM-1.1.3/modules/pam_unix/Makefile.am
-@@ -18,7 +18,8 @@ secureconfdir = $(SCONFIGDIR)
-
- AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \
- -DCHKPWD_HELPER=\"$(sbindir)/unix_chkpwd\" \
-- -DUPDATE_HELPER=\"$(sbindir)/unix_update\"
-+ -DUPDATE_HELPER=\"$(sbindir)/unix_update\" \
-+ $(NIS_CFLAGS)
-
- if HAVE_LIBSELINUX
- AM_CFLAGS += -D"WITH_SELINUX"
-@@ -28,7 +29,7 @@ pam_unix_la_LDFLAGS = -no-undefined -avo
- if HAVE_VERSIONING
- pam_unix_la_LDFLAGS += -Wl,--version-script=$(srcdir)/../modules.map
- endif
--pam_unix_la_LIBADD = @LIBNSL@ -L$(top_builddir)/libpam -lpam \
-+pam_unix_la_LIBADD = $(NIS_LIBS) -L$(top_builddir)/libpam -lpam \
- @LIBCRYPT@ @LIBSELINUX@
-
- securelib_LTLIBRARIES = pam_unix.la
diff --git a/sys-libs/pam/pam-1.1.3-r1.ebuild b/sys-libs/pam/pam-1.1.4.ebuild
index 98cf927a106d..18fe8bfafe38 100644
--- a/sys-libs/pam/pam-1.1.3-r1.ebuild
+++ b/sys-libs/pam/pam-1.1.4.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-1.1.3-r1.ebuild,v 1.2 2011/06/14 18:32:30 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-1.1.4.ebuild,v 1.1 2011/09/02 17:20:34 flameeyes Exp $
EAPI="4"
-inherit libtool multilib eutils pam toolchain-funcs flag-o-matic db-use autotools
+inherit libtool multilib eutils pam toolchain-funcs flag-o-matic db-use
MY_PN="Linux-PAM"
MY_P="${MY_PN}-${PV}"
@@ -83,11 +83,6 @@ pkg_setup() {
}
src_prepare() {
- epatch "${FILESDIR}"/Linux-PAM-1.1.3-nis.patch
-
- rm -rf m4/libtool.m4 # old libtool-1
-
- eautoreconf
elibtoolize
}