From d320cbb9de1f8a1154f3825af5d3ec35fff76f1b Mon Sep 17 00:00:00 2001 From: Christian Andreetta Date: Thu, 27 Apr 2006 11:33:46 +0000 Subject: bash>=3.1 compatibility (thanks to Beech Horn: bug #126539) (Portage version: 2.1_pre7-r4) --- sys-auth/pam_smb/ChangeLog | 13 ++++- sys-auth/pam_smb/Manifest | 57 ++++++++++++++++------ sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch | 12 +++++ sys-auth/pam_smb/files/digest-pam_smb-1.9.9-r1 | 2 + sys-auth/pam_smb/files/digest-pam_smb-1.9.9-r2 | 3 ++ sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc5 | 2 + sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc5-r1 | 3 ++ sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc6 | 2 + sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc6-r1 | 3 ++ sys-auth/pam_smb/pam_smb-1.9.9-r2.ebuild | 50 +++++++++++++++++++ sys-auth/pam_smb/pam_smb-2.0.0_rc5-r1.ebuild | 53 ++++++++++++++++++++ sys-auth/pam_smb/pam_smb-2.0.0_rc6-r1.ebuild | 53 ++++++++++++++++++++ 12 files changed, 237 insertions(+), 16 deletions(-) create mode 100644 sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch create mode 100644 sys-auth/pam_smb/files/digest-pam_smb-1.9.9-r2 create mode 100644 sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc5-r1 create mode 100644 sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc6-r1 create mode 100644 sys-auth/pam_smb/pam_smb-1.9.9-r2.ebuild create mode 100644 sys-auth/pam_smb/pam_smb-2.0.0_rc5-r1.ebuild create mode 100644 sys-auth/pam_smb/pam_smb-2.0.0_rc6-r1.ebuild (limited to 'sys-auth/pam_smb') diff --git a/sys-auth/pam_smb/ChangeLog b/sys-auth/pam_smb/ChangeLog index 75e9a6b4f3d2..dfbf09eb553f 100644 --- a/sys-auth/pam_smb/ChangeLog +++ b/sys-auth/pam_smb/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for sys-auth/pam_smb -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_smb/ChangeLog,v 1.1 2005/07/02 14:17:41 flameeyes Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_smb/ChangeLog,v 1.2 2006/04/27 11:33:46 satya Exp $ + +*pam_smb-2.0.0_rc6-r1 (27 Apr 2006) +*pam_smb-2.0.0_rc5-r1 (27 Apr 2006) +*pam_smb-1.9.9-r2 (27 Apr 2006) + + 27 Apr 2006; Christian Andreetta + +files/10-pam_smb-bash-3.1.patch, +pam_smb-1.9.9-r2.ebuild, + +pam_smb-2.0.0_rc5-r1.ebuild, +pam_smb-2.0.0_rc6-r1.ebuild: + bash>=3.1 compatibility (thanks to Beech Horn: bug #126539) 02 Jul 2005; Diego Pettenò +files/pamsmbd-init, +metadata.xml, +pam_smb-1.9.9-r1.ebuild, +pam_smb-2.0.0_rc5.ebuild, diff --git a/sys-auth/pam_smb/Manifest b/sys-auth/pam_smb/Manifest index effa34e85841..10ac6d513555 100644 --- a/sys-auth/pam_smb/Manifest +++ b/sys-auth/pam_smb/Manifest @@ -1,19 +1,48 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 81d46bda2ce20955fda2889c5434aeae ChangeLog 1093 +RMD160 ac38c41002e3d7ca47d37a5086fa705b3f60b7d6 ChangeLog 1093 +SHA256 aad50b511116c02f111d2a593eeea3f9833f13163973618bfd2c61b5ad3990b5 ChangeLog 1093 +MD5 40ef5a91968ea8d55f072db26fba0b0c files/10-pam_smb-bash-3.1.patch 559 +RMD160 dbc05ac8ba57f63d0aaf06616c244e429fed8e52 files/10-pam_smb-bash-3.1.patch 559 +SHA256 ebc731df2e247e38f8084b81596cb13a957696bf60c1cc5f05a8259f14de9e8c files/10-pam_smb-bash-3.1.patch 559 +MD5 1b2744bbe4146e25e061efe4756aeb99 files/digest-pam_smb-1.9.9-r1 241 +RMD160 2e36ea1023f0a02bb643805827eaf7abf6004094 files/digest-pam_smb-1.9.9-r1 241 +SHA256 50365044fb4045f3f2b497c469f0a41971d570c3254eabd978ac7edd78ce0ce1 files/digest-pam_smb-1.9.9-r1 241 +MD5 1b2744bbe4146e25e061efe4756aeb99 files/digest-pam_smb-1.9.9-r2 241 +RMD160 2e36ea1023f0a02bb643805827eaf7abf6004094 files/digest-pam_smb-1.9.9-r2 241 +SHA256 50365044fb4045f3f2b497c469f0a41971d570c3254eabd978ac7edd78ce0ce1 files/digest-pam_smb-1.9.9-r2 241 +MD5 9795721c9a6273a6e983953ef53f40a8 files/digest-pam_smb-2.0.0_rc5 253 +RMD160 a91cc32cbe428104e9fe8f0eaa49f45399e9c543 files/digest-pam_smb-2.0.0_rc5 253 +SHA256 2d513ecaef77b79c84fcce45257c2c2219d27d6800766daf1c0477f03cd23c82 files/digest-pam_smb-2.0.0_rc5 253 +MD5 9795721c9a6273a6e983953ef53f40a8 files/digest-pam_smb-2.0.0_rc5-r1 253 +RMD160 a91cc32cbe428104e9fe8f0eaa49f45399e9c543 files/digest-pam_smb-2.0.0_rc5-r1 253 +SHA256 2d513ecaef77b79c84fcce45257c2c2219d27d6800766daf1c0477f03cd23c82 files/digest-pam_smb-2.0.0_rc5-r1 253 +MD5 3d0690f0ea8c1d25554a4d1bcdc44bda files/digest-pam_smb-2.0.0_rc6 253 +RMD160 e49540036989f1de49b05f68e8ee0bc40c9068ef files/digest-pam_smb-2.0.0_rc6 253 +SHA256 85932ede42862076378e1f23cb1a205f05ebb3c79faabf313c4e300374d8184e files/digest-pam_smb-2.0.0_rc6 253 +MD5 3d0690f0ea8c1d25554a4d1bcdc44bda files/digest-pam_smb-2.0.0_rc6-r1 253 +RMD160 e49540036989f1de49b05f68e8ee0bc40c9068ef files/digest-pam_smb-2.0.0_rc6-r1 253 +SHA256 85932ede42862076378e1f23cb1a205f05ebb3c79faabf313c4e300374d8184e files/digest-pam_smb-2.0.0_rc6-r1 253 +MD5 1e43479dbe172fe3e449c6c137be0f24 files/pamsmbd-init 468 +RMD160 e3db72480ab94beb47040307fc8d9da84eda6b2b files/pamsmbd-init 468 +SHA256 d7da1dba2d1b898431cf63f92c14a2bb77edce839e3b7c264b73da6e916aafdc files/pamsmbd-init 468 MD5 e5b710cc0aa8547232aa1709aba632b3 metadata.xml 381 +RMD160 286fe960be6b248dae4d7b0352f9db0b918afe03 metadata.xml 381 +SHA256 467210993fff72bf97c4705b123779cdd516ccb65204857ea381b70cac8a78f8 metadata.xml 381 MD5 d7f17ed984b8f6c22a89d3e9fdf6a482 pam_smb-1.9.9-r1.ebuild 1047 +RMD160 36df3a5953b3e9bb4d51131ba9c0f3de8e80537c pam_smb-1.9.9-r1.ebuild 1047 +SHA256 05e29aa0b8703a1daf6e6f214a9f58508abb77780cf06249059c96710a9c4b67 pam_smb-1.9.9-r1.ebuild 1047 +MD5 95929f1a1ffe949330699f87956d238d pam_smb-1.9.9-r2.ebuild 1150 +RMD160 804c580ba157f44d6682adb6c21dda56b60b415b pam_smb-1.9.9-r2.ebuild 1150 +SHA256 11b45c0edfe395708aff236906bed7ecd463171123682f6c5dcdb3edaf010fbe pam_smb-1.9.9-r2.ebuild 1150 +MD5 14548322dca3cf5383315ceb97f13ea4 pam_smb-2.0.0_rc5-r1.ebuild 1239 +RMD160 15623f3d3d0f879d1341d0364f78b0d996a7fe3e pam_smb-2.0.0_rc5-r1.ebuild 1239 +SHA256 f828f8e7de6053bf13905cf267cb591f212aa67556a9a01b49239fcac116892c pam_smb-2.0.0_rc5-r1.ebuild 1239 MD5 da62e0af3d3a2f9cd9cd5122feb0bbb7 pam_smb-2.0.0_rc5.ebuild 1136 +RMD160 f79dc5da41ab5b20e22df508c0868941cbe1c0bd pam_smb-2.0.0_rc5.ebuild 1136 +SHA256 66db11aac389b0d4502723dea85f03ac4433cb4c86ec7cbc9bd91814439a09e2 pam_smb-2.0.0_rc5.ebuild 1136 +MD5 5dd97c0264675e767d51fcb76b7f36d6 pam_smb-2.0.0_rc6-r1.ebuild 1263 +RMD160 3f8f6fd73696aa047505fc64319490db14f8c992 pam_smb-2.0.0_rc6-r1.ebuild 1263 +SHA256 5bff205ced1e84732f818a0ed2b2e13410931f7b514f54799fe3382d12d9360f pam_smb-2.0.0_rc6-r1.ebuild 1263 MD5 0f2003f537a1578685cd42a6d63cf38a pam_smb-2.0.0_rc6.ebuild 1161 -MD5 758307bf5853c461dd0d18ea60991fe1 files/digest-pam_smb-1.9.9-r1 65 -MD5 9fe6e35bc7a3bb09b54d5adb0821082a files/digest-pam_smb-2.0.0_rc5 69 -MD5 1aac798708053c2d12cf913f1ddbf8e0 files/digest-pam_smb-2.0.0_rc6 69 -MD5 1e43479dbe172fe3e449c6c137be0f24 files/pamsmbd-init 468 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCxqIaj5H05b2HAEkRAsdCAJ9y+qk2UYM2DwqEfmrmPh0AuorBmgCfYoYW -fIkeC2cpCrZJjQU9j0KUsOA= -=uchI ------END PGP SIGNATURE----- +RMD160 3fe53087bf78423121b37af1850bfcc28506d1f0 pam_smb-2.0.0_rc6.ebuild 1161 +SHA256 4a6862e5fd18c3ac6ef6da733fe413e99006d49e9fa043adc3a59c70de869d12 pam_smb-2.0.0_rc6.ebuild 1161 diff --git a/sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch b/sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch new file mode 100644 index 000000000000..570655d82462 --- /dev/null +++ b/sys-auth/pam_smb/files/10-pam_smb-bash-3.1.patch @@ -0,0 +1,12 @@ +diff -Nurp pam_smb-2.0.0_rc6.orig/configure pam_smb-2.0.0_rc6/configure +--- configure 2006-03-17 15:02:01.000000000 +0000 ++++ configure 2006-03-17 15:02:01.000000000 +0000 +@@ -1486,7 +1486,7 @@ else + # results, and the version is kept in special file). + + if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then +- system=MP-RAS-`awk '{print $3}' /etc/.relid'` ++ system=MP-RAS-`awk '{print $3}' /etc/.relid` + fi + if test "`uname -s`" = "AIX" ; then + system=AIX-`uname -v`.`uname -r` diff --git a/sys-auth/pam_smb/files/digest-pam_smb-1.9.9-r1 b/sys-auth/pam_smb/files/digest-pam_smb-1.9.9-r1 index eb25a4c506e1..d059b7633f58 100644 --- a/sys-auth/pam_smb/files/digest-pam_smb-1.9.9-r1 +++ b/sys-auth/pam_smb/files/digest-pam_smb-1.9.9-r1 @@ -1 +1,3 @@ MD5 571ea74593c80a723331e207cbd09cb4 pam_smb-1.9.9.tar.gz 106341 +RMD160 93cd9bebea2d001117ca34bafc91278a919a9065 pam_smb-1.9.9.tar.gz 106341 +SHA256 63c5271c41e6648235b8c76c4fba4aabc3bc76e229ca4a18abdd50ebdaea028a pam_smb-1.9.9.tar.gz 106341 diff --git a/sys-auth/pam_smb/files/digest-pam_smb-1.9.9-r2 b/sys-auth/pam_smb/files/digest-pam_smb-1.9.9-r2 new file mode 100644 index 000000000000..d059b7633f58 --- /dev/null +++ b/sys-auth/pam_smb/files/digest-pam_smb-1.9.9-r2 @@ -0,0 +1,3 @@ +MD5 571ea74593c80a723331e207cbd09cb4 pam_smb-1.9.9.tar.gz 106341 +RMD160 93cd9bebea2d001117ca34bafc91278a919a9065 pam_smb-1.9.9.tar.gz 106341 +SHA256 63c5271c41e6648235b8c76c4fba4aabc3bc76e229ca4a18abdd50ebdaea028a pam_smb-1.9.9.tar.gz 106341 diff --git a/sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc5 b/sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc5 index a252b345c38d..d357aed1b964 100644 --- a/sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc5 +++ b/sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc5 @@ -1 +1,3 @@ MD5 48cd4986cdf2cc36f668fe177d932d9f pam_smb-2.0.0-rc5.tar.gz 114456 +RMD160 cc3a834cc8266dd544aeb038bd2836bd8c386903 pam_smb-2.0.0-rc5.tar.gz 114456 +SHA256 b7868772af29604847dcef2ca8e015b315e75a52ad3f193d0d68d1498097473a pam_smb-2.0.0-rc5.tar.gz 114456 diff --git a/sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc5-r1 b/sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc5-r1 new file mode 100644 index 000000000000..d357aed1b964 --- /dev/null +++ b/sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc5-r1 @@ -0,0 +1,3 @@ +MD5 48cd4986cdf2cc36f668fe177d932d9f pam_smb-2.0.0-rc5.tar.gz 114456 +RMD160 cc3a834cc8266dd544aeb038bd2836bd8c386903 pam_smb-2.0.0-rc5.tar.gz 114456 +SHA256 b7868772af29604847dcef2ca8e015b315e75a52ad3f193d0d68d1498097473a pam_smb-2.0.0-rc5.tar.gz 114456 diff --git a/sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc6 b/sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc6 index a101f307415a..7896d5862a1a 100644 --- a/sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc6 +++ b/sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc6 @@ -1 +1,3 @@ MD5 69e5473d01169296412dca4238c49566 pam_smb-2.0.0-rc6.tar.gz 115069 +RMD160 7fa3c34d6d67fcf5d109cdf4a9508a7a16b6a737 pam_smb-2.0.0-rc6.tar.gz 115069 +SHA256 b787b11dade66b1078553fc0662843f3aa9f69629542ff5fd6802d62555295c5 pam_smb-2.0.0-rc6.tar.gz 115069 diff --git a/sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc6-r1 b/sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc6-r1 new file mode 100644 index 000000000000..7896d5862a1a --- /dev/null +++ b/sys-auth/pam_smb/files/digest-pam_smb-2.0.0_rc6-r1 @@ -0,0 +1,3 @@ +MD5 69e5473d01169296412dca4238c49566 pam_smb-2.0.0-rc6.tar.gz 115069 +RMD160 7fa3c34d6d67fcf5d109cdf4a9508a7a16b6a737 pam_smb-2.0.0-rc6.tar.gz 115069 +SHA256 b787b11dade66b1078553fc0662843f3aa9f69629542ff5fd6802d62555295c5 pam_smb-2.0.0-rc6.tar.gz 115069 diff --git a/sys-auth/pam_smb/pam_smb-1.9.9-r2.ebuild b/sys-auth/pam_smb/pam_smb-1.9.9-r2.ebuild new file mode 100644 index 000000000000..9282bea01f72 --- /dev/null +++ b/sys-auth/pam_smb/pam_smb-1.9.9-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_smb/pam_smb-1.9.9-r2.ebuild,v 1.1 2006/04/27 11:33:46 satya Exp $ + +inherit eutils + +DESCRIPTION="The PAM SMB module, which allows authentication against an NT server." +HOMEPAGE="http://www.csn.ul.ie/~airlied/pam_smb/" + +S=${WORKDIR}/${PN} +SRC_URI="mirror://samba/pam_smb/devel/${P}.tar.gz" + +DEPEND=">=sys-libs/pam-0.75" +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="" +SLOT="0" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/10-pam_smb-bash-3.1.patch +} + +src_compile() { + econf --disable-root-only || die + emake || die +} + +src_install() { + exeinto /lib/security + doexe pamsmbm/pam_smb_auth.so + exeinto /usr/sbin + doexe pamsmbd/pamsmbd + + dodoc BUGS CHANGES COPYING README TODO INSTALL \ + faq/{pam_smb_faq.sgml,additions.txt} + docinto pam.d + dodoc pam_smb.conf* + + exeinto /etc/init.d + newexe ${FILESDIR}/pamsmbd-init pamsmbd +} + +pkg_postinst() { + einfo + einfo "You must create /etc/pam_smb.conf yourself, containing" + einfo "your domainname, PDC and BDC. See example files in docdir." + einfo +} diff --git a/sys-auth/pam_smb/pam_smb-2.0.0_rc5-r1.ebuild b/sys-auth/pam_smb/pam_smb-2.0.0_rc5-r1.ebuild new file mode 100644 index 000000000000..510d4c0d53df --- /dev/null +++ b/sys-auth/pam_smb/pam_smb-2.0.0_rc5-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_smb/pam_smb-2.0.0_rc5-r1.ebuild,v 1.1 2006/04/27 11:33:46 satya Exp $ + +inherit eutils + +DESCRIPTION="The PAM SMB module, which allows authentication against an NT server." +HOMEPAGE="http://www.csn.ul.ie/~airlied/pam_smb/" + +MY_P=${P/_rc/-rc} + +S=${WORKDIR}/${MY_P} +SRC_URI="mirror://samba/pam_smb/v2/${MY_P}.tar.gz + http://www.csn.ul.ie/~airlied/pam_smb/v2/pam_smb-2.0.0-rc5.tar.gz" + +DEPEND=">=sys-libs/pam-0.75" +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="" +SLOT="0" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/10-pam_smb-bash-3.1.patch +} + +src_compile() { + econf --disable-root-only || die + emake || die +} + +src_install() { + exeinto /lib/security + doexe pamsmbm/pam_smb_auth.so + exeinto /usr/sbin + doexe pamsmbd/pamsmbd + + dodoc BUGS CHANGES COPYING README TODO INSTALL \ + faq/{pam_smb_faq.sgml,additions.txt} + docinto pam.d + dodoc pam_smb.conf* + + exeinto /etc/init.d + newexe ${FILESDIR}/pamsmbd-init pamsmbd +} + +pkg_postinst() { + einfo + einfo "You must create /etc/pam_smb.conf yourself, containing" + einfo "your domainname, PDC and BDC. See example files in docdir." + einfo +} diff --git a/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r1.ebuild b/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r1.ebuild new file mode 100644 index 000000000000..bb516ade0838 --- /dev/null +++ b/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_smb/pam_smb-2.0.0_rc6-r1.ebuild,v 1.1 2006/04/27 11:33:46 satya Exp $ + +inherit eutils + +DESCRIPTION="The PAM SMB module, which allows authentication against a SMB (such as the Win_x families) server." +HOMEPAGE="http://www.csn.ul.ie/~airlied/pam_smb/" + +MY_P=${P/_rc/-rc} + +S=${WORKDIR}/${MY_P} +SRC_URI="mirror://samba/pam_smb/v2/${MY_P}.tar.gz + http://www.csn.ul.ie/~airlied/pam_smb/v2/${MY_P}.tar.gz" + +DEPEND=">=sys-libs/pam-0.75" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc" +IUSE="" +SLOT="0" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/10-pam_smb-bash-3.1.patch +} + +src_compile() { + econf --disable-root-only || die + emake || die +} + +src_install() { + exeinto /lib/security + doexe pamsmbm/pam_smb_auth.so + exeinto /usr/sbin + doexe pamsmbd/pamsmbd + + dodoc BUGS CHANGES COPYING README TODO INSTALL \ + faq/{pam_smb_faq.sgml,additions.txt} + docinto pam.d + dodoc pam_smb.conf* + + exeinto /etc/init.d + newexe ${FILESDIR}/pamsmbd-init pamsmbd +} + +pkg_postinst() { + einfo + einfo "You must create /etc/pam_smb.conf yourself, containing" + einfo "your domainname, PDC and BDC. See example files in docdir." + einfo +} -- cgit v1.2.3-65-gdbad