From bfd33af5db33dcbc82424397a9f2d2398ab5af6419aac97bd609bf34973daa6b Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Thu, 26 May 2011 14:17:43 +0000 Subject: [PATCH 1/2] Updating link to change in openSUSE:Factory/pam revision 46.0 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=103286a3bed4d3cad097bab011dddcfa --- pam.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pam.spec b/pam.spec index a3972ee..6fffb68 100644 --- a/pam.spec +++ b/pam.spec @@ -38,7 +38,7 @@ Obsoletes: pam-64bit %endif # Version: 1.1.3 -Release: 6 +Release: 7 Summary: A Security Tool that Provides Authentication for Applications Source: Linux-PAM-%{version}.tar.bz2 Source1: Linux-PAM-%{version}-docs.tar.bz2 From a9c0827316b4516d3ab7f4e6c088b3c068c0c86eaf327005e4931b951f525d05 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Mon, 27 Jun 2011 13:45:48 +0000 Subject: [PATCH 2/2] - Update to version 1.1.4 * pam_securetty: Honour console= kernel option, add noconsole option * pam_limits: Add %group syntax, drop change_uid option, add set_all option * Lot of small bug fixes * Add support for libtirpc - Build against libtirpc OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=81 --- Linux-PAM-1.1.3-docs.tar.bz2 | 3 --- Linux-PAM-1.1.3.tar.bz2 | 3 --- Linux-PAM-1.1.4-docs.tar.bz2 | 3 +++ Linux-PAM-1.1.4.tar.bz2 | 3 +++ pam.changes | 10 ++++++++++ pam.spec | 8 +++----- pam_listfile-quiet.patch | 38 ------------------------------------ 7 files changed, 19 insertions(+), 49 deletions(-) delete mode 100644 Linux-PAM-1.1.3-docs.tar.bz2 delete mode 100644 Linux-PAM-1.1.3.tar.bz2 create mode 100644 Linux-PAM-1.1.4-docs.tar.bz2 create mode 100644 Linux-PAM-1.1.4.tar.bz2 delete mode 100644 pam_listfile-quiet.patch diff --git a/Linux-PAM-1.1.3-docs.tar.bz2 b/Linux-PAM-1.1.3-docs.tar.bz2 deleted file mode 100644 index 02a0600..0000000 --- a/Linux-PAM-1.1.3-docs.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4afc3c02f295ed1a3e09876da7eb8738ce48a3c8ea1bc0861e4999730489df12 -size 495577 diff --git a/Linux-PAM-1.1.3.tar.bz2 b/Linux-PAM-1.1.3.tar.bz2 deleted file mode 100644 index 223e3aa..0000000 --- a/Linux-PAM-1.1.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ab4e684846e3a1cdacc516d0626df81568ae2eded557a03c958080293ac587b8 -size 1132897 diff --git a/Linux-PAM-1.1.4-docs.tar.bz2 b/Linux-PAM-1.1.4-docs.tar.bz2 new file mode 100644 index 0000000..e0d6375 --- /dev/null +++ b/Linux-PAM-1.1.4-docs.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a3bcdbcede0865f0ce40aa1c1363afc2c51a878334a31689f959b0bdcf53cc6e +size 498363 diff --git a/Linux-PAM-1.1.4.tar.bz2 b/Linux-PAM-1.1.4.tar.bz2 new file mode 100644 index 0000000..013f369 --- /dev/null +++ b/Linux-PAM-1.1.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13cf4775ffd4fdd8c79a88610d569ebacef738eb2be729eaf8655c942bcd9e50 +size 1123198 diff --git a/pam.changes b/pam.changes index 2d8e0ca..121210d 100644 --- a/pam.changes +++ b/pam.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Jun 27 15:29:11 CEST 2011 - kukuk@suse.de + +- Update to version 1.1.4 + * pam_securetty: Honour console= kernel option, add noconsole option + * pam_limits: Add %group syntax, drop change_uid option, add set_all option + * Lot of small bug fixes + * Add support for libtirpc +- Build against libtirpc + ------------------------------------------------------------------- Thu May 26 09:37:34 UTC 2011 - cfarrell@novell.com diff --git a/pam.spec b/pam.spec index 6fffb68..99aaed3 100644 --- a/pam.spec +++ b/pam.spec @@ -23,10 +23,11 @@ Name: pam Url: http://www.kernel.org/pub/linux/libs/pam/ BuildRequires: bison cracklib-devel db-devel flex BuildRequires: audit-devel +BuildRequires: libtirpc-devel %if %{enable_selinux} BuildRequires: libselinux-devel %endif -%define libpam_so_version 0.83.0 +%define libpam_so_version 0.83.1 %define libpam_misc_so_version 0.82.0 %define libpamc_so_version 0.82.1 License: GPL-2.0+ or BSD-3-Clause @@ -37,7 +38,7 @@ AutoReqProv: on Obsoletes: pam-64bit %endif # -Version: 1.1.3 +Version: 1.1.4 Release: 7 Summary: A Security Tool that Provides Authentication for Applications Source: Linux-PAM-%{version}.tar.bz2 @@ -51,8 +52,6 @@ Source7: common-session.pamd Source8: etc.environment Source9: baselibs.conf Patch0: pam_tally-deprecated.diff -# fix for bnc#673826 (pam_listfile logging) -Patch1: pam_listfile-quiet.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -102,7 +101,6 @@ building both PAM-aware applications and modules for use with PAM. %prep %setup -q -n Linux-PAM-%{version} -b 1 %patch0 -p0 -%patch1 -p1 %build CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" \ diff --git a/pam_listfile-quiet.patch b/pam_listfile-quiet.patch deleted file mode 100644 index edd1391..0000000 --- a/pam_listfile-quiet.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff -u -r Linux-PAM-1.1.3.orig/modules/pam_listfile/pam_listfile.c Linux-PAM-1.1.3/modules/pam_listfile/pam_listfile.c ---- Linux-PAM-1.1.3.orig/modules/pam_listfile/pam_listfile.c 2009-12-08 15:41:41.000000000 +0100 -+++ Linux-PAM-1.1.3/modules/pam_listfile/pam_listfile.c 2011-02-23 13:27:04.356265509 +0100 -@@ -78,8 +78,14 @@ - { - const char *junk; - -+ /* option quiet has no value */ -+ if(!strcmp(argv[i],"quiet")) { -+ quiet = 1; -+ continue; -+ } -+ - memset(mybuf,'\0',sizeof(mybuf)); -- memset(myval,'\0',sizeof(mybuf)); -+ memset(myval,'\0',sizeof(myval)); - junk = strchr(argv[i], '='); - if((junk == NULL) || (junk - argv[i]) >= (int) sizeof(mybuf)) { - pam_syslog(pamh,LOG_ERR, "Bad option: \"%s\"", -@@ -142,8 +148,6 @@ - apply_type=APPLY_TYPE_USER; - strncpy(apply_val,myval,sizeof(apply_val)-1); - } -- } else if (!strcmp(mybuf,"quiet")) { -- quiet = 1; - } else { - free(ifname); - pam_syslog(pamh,LOG_ERR, "Unknown option: %s",mybuf); -@@ -283,7 +287,8 @@ - ifname, citem, citemp, sense); - #endif - if(lstat(ifname,&fileinfo)) { -- pam_syslog(pamh,LOG_ERR, "Couldn't open %s",ifname); -+ if(!quiet) -+ pam_syslog(pamh,LOG_ERR, "Couldn't open %s",ifname); - free(ifname); - return onerr; - }