summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-06-28 02:22:20 +0000
committerAron Griffis <agriffis@gentoo.org>2004-06-28 02:22:20 +0000
commit3c3525f9a67b9978264e38613d29d8d8383f5c45 (patch)
treecc2d759a2f1de8063a38c6c3f45a6a02cd28caee /sys-libs
parent~mips (diff)
downloadhistorical-3c3525f9a67b9978264e38613d29d8d8383f5c45.tar.gz
historical-3c3525f9a67b9978264e38613d29d8d8383f5c45.tar.bz2
historical-3c3525f9a67b9978264e38613d29d8d8383f5c45.zip
QA - fix use invocation
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/pam/ChangeLog7
-rw-r--r--sys-libs/pam/Manifest16
-rw-r--r--sys-libs/pam/pam-0.75-r10.ebuild6
-rw-r--r--sys-libs/pam/pam-0.75-r11.ebuild6
-rw-r--r--sys-libs/pam/pam-0.75-r7.ebuild6
-rw-r--r--sys-libs/pam/pam-0.75-r8.ebuild6
-rw-r--r--sys-libs/pam/pam-0.75-r9.ebuild6
-rw-r--r--sys-libs/pam/pam-0.77-r1.ebuild35
-rw-r--r--sys-libs/pam/pam-0.77.ebuild35
9 files changed, 63 insertions, 60 deletions
diff --git a/sys-libs/pam/ChangeLog b/sys-libs/pam/ChangeLog
index 415af3de3dc9..2472ffe56e73 100644
--- a/sys-libs/pam/ChangeLog
+++ b/sys-libs/pam/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/pam
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.52 2004/06/24 23:08:12 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.53 2004/06/28 02:22:20 agriffis Exp $
+
+ 27 Jun 2004; Aron Griffis <agriffis@gentoo.org> pam-0.75-r10.ebuild,
+ pam-0.75-r11.ebuild, pam-0.75-r7.ebuild, pam-0.75-r8.ebuild,
+ pam-0.75-r9.ebuild, pam-0.77-r1.ebuild, pam-0.77.ebuild:
+ QA - fix use invocation
02 Jun 2004; Travis Tilley <lv@gentoo.org> pam-0.77-r1.ebuild:
stable on amd64
diff --git a/sys-libs/pam/Manifest b/sys-libs/pam/Manifest
index b1d770d4887c..96edb0f1999e 100644
--- a/sys-libs/pam/Manifest
+++ b/sys-libs/pam/Manifest
@@ -1,12 +1,12 @@
-MD5 cc0bd45d8025c8b55fac625b6907dd59 pam-0.75-r8.ebuild 3658
-MD5 a0df6ca444b97c445458c8efe7b0e548 pam-0.75-r11.ebuild 4628
-MD5 f6e155bff514881788484a976030e6ce pam-0.77-r1.ebuild 7904
-MD5 8aeafc9fc710afc80b38785e22f08476 pam-0.75-r7.ebuild 4125
-MD5 4fd54c9a392d3af4e022ba6702bf6a98 pam-0.77.ebuild 7299
-MD5 72782b97b8a29ef2a6a075e33baa365c ChangeLog 7504
+MD5 5a3b8812bdc05441bc111328d4ef532c pam-0.75-r8.ebuild 3642
+MD5 4892168863088fde282fe93f0631a1ef pam-0.75-r11.ebuild 4612
+MD5 35b00282321d23ed0c940a7debcdc26c pam-0.77-r1.ebuild 7844
+MD5 e526c9cd3928ad7abe8cc1f172600296 pam-0.75-r7.ebuild 4107
+MD5 21709378e42caee8f4061f9aef37de9e pam-0.77.ebuild 7239
+MD5 0bd9831daa0c6e4d1d20ea71013d91db ChangeLog 7724
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-MD5 6627e67e44bdef1f52d6a161cf9a5eb3 pam-0.75-r9.ebuild 4112
-MD5 05be2d0460fb063e92406b997a626c2e pam-0.75-r10.ebuild 4238
+MD5 5e2d38e566747b562aa183395eba9721 pam-0.75-r9.ebuild 4096
+MD5 717af9b22f169bd5cf8a51916c1201c6 pam-0.75-r10.ebuild 4222
MD5 4d5ecc1712e4049e98db0efd1e474b89 files/digest-pam-0.75-r7 66
MD5 3fb178824771809622dba0425d744143 files/digest-pam-0.75-r8 136
MD5 31d4fe7f6f41d6523aaef448ac68e10c files/digest-pam-0.75-r9 134
diff --git a/sys-libs/pam/pam-0.75-r10.ebuild b/sys-libs/pam/pam-0.75-r10.ebuild
index 7857c5e97066..3d8a0defedc1 100644
--- a/sys-libs/pam/pam-0.75-r10.ebuild
+++ b/sys-libs/pam/pam-0.75-r10.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r10.ebuild,v 1.15 2004/06/24 23:08:12 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r10.ebuild,v 1.16 2004/06/28 02:22:20 agriffis Exp $
IUSE="berkdb"
@@ -103,7 +103,7 @@ src_compile() {
rm -f Make.Rules.orig
fi
- if [ -z "$(use berkdb)" ]
+ if ! use berkdb
then
cp Make.Rules Make.Rules.orig
sed -e "s:^HAVE_LIBNDBM=yes:HAVE_LIBNDBM=no:" \
@@ -129,7 +129,7 @@ src_install() {
then
if ! ls -1 ${D}/lib/security/$(basename ${x})*.so &> /dev/null
then
- if [ -z "$(use berkdb)" -a "$(basename ${x})" = "pam_userdb" ]
+ if ! use berkdb && [ "$(basename ${x})" = "pam_userdb" ]
then
continue
fi
diff --git a/sys-libs/pam/pam-0.75-r11.ebuild b/sys-libs/pam/pam-0.75-r11.ebuild
index c2433dd69c14..dc4fbf0024af 100644
--- a/sys-libs/pam/pam-0.75-r11.ebuild
+++ b/sys-libs/pam/pam-0.75-r11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r11.ebuild,v 1.27 2004/06/24 23:08:12 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r11.ebuild,v 1.28 2004/06/28 02:22:20 agriffis Exp $
inherit gcc eutils flag-o-matic
@@ -108,7 +108,7 @@ src_compile() {
rm -f Make.Rules.orig
fi
- if [ -z "$(use berkdb)" ]
+ if ! use berkdb
then
cp Make.Rules Make.Rules.orig
sed -e "s:^HAVE_LIBNDBM=yes:HAVE_LIBNDBM=no:" \
@@ -140,7 +140,7 @@ src_install() {
then
if ! ls -1 ${D}/lib/security/$(basename ${x})*.so &> /dev/null
then
- if [ -z "$(use berkdb)" -a "$(basename ${x})" = "pam_userdb" ]
+ if ! use berkdb && [ "$(basename ${x})" = "pam_userdb" ]
then
continue
fi
diff --git a/sys-libs/pam/pam-0.75-r7.ebuild b/sys-libs/pam/pam-0.75-r7.ebuild
index e63add56bc17..c85adfa0d041 100644
--- a/sys-libs/pam/pam-0.75-r7.ebuild
+++ b/sys-libs/pam/pam-0.75-r7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r7.ebuild,v 1.18 2004/06/24 23:08:12 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r7.ebuild,v 1.19 2004/06/28 02:22:20 agriffis Exp $
IUSE="berkdb"
@@ -100,7 +100,7 @@ src_compile() {
sed -e "s:-lpwdb:-lpwdb -lcrypt -lnsl:g" \
modules/pam_pwdb/Makefile_orig > modules/pam_pwdb/Makefile
- if [ -z "`use berkdb`" ]
+ if ! use berkdb
then
cp Make.Rules Make.orig
sed -e "s:^HAVE_LIBNDBM=yes:HAVE_LIBNDBM=no:" \
@@ -128,7 +128,7 @@ src_install() {
then
if ! ls -1 ${D}/lib/security/`basename ${x}`*.so
then
- if [ -z "`use berkdb`" ] && \
+ if ! use berkdb && \
[ "`basename ${x}`" = "pam_userdb" ]
then
continue
diff --git a/sys-libs/pam/pam-0.75-r8.ebuild b/sys-libs/pam/pam-0.75-r8.ebuild
index fe6d1e47e5d6..2c3f1efb234d 100644
--- a/sys-libs/pam/pam-0.75-r8.ebuild
+++ b/sys-libs/pam/pam-0.75-r8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r8.ebuild,v 1.14 2004/06/24 23:08:12 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r8.ebuild,v 1.15 2004/06/28 02:22:20 agriffis Exp $
IUSE="berkdb"
@@ -91,7 +91,7 @@ src_compile() {
rm -f Make.Rules.orig
fi
- if [ -z "$(use berkdb)" ]
+ if ! use berkdb
then
cp Make.Rules Make.Rules.orig
sed -e "s:^HAVE_LIBNDBM=yes:HAVE_LIBNDBM=no:" \
@@ -116,7 +116,7 @@ src_install() {
then
if ! ls -1 ${D}/lib/security/$(basename ${x})*.so &> /dev/null
then
- if [ -z "$(use berkdb)" -a "$(basename ${x})" = "pam_userdb" ]
+ if ! use berkdb && [ "$(basename ${x})" = "pam_userdb" ]
then
continue
fi
diff --git a/sys-libs/pam/pam-0.75-r9.ebuild b/sys-libs/pam/pam-0.75-r9.ebuild
index ac586a799ff0..dd72b11900ce 100644
--- a/sys-libs/pam/pam-0.75-r9.ebuild
+++ b/sys-libs/pam/pam-0.75-r9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r9.ebuild,v 1.14 2004/06/24 23:08:12 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r9.ebuild,v 1.15 2004/06/28 02:22:20 agriffis Exp $
IUSE="berkdb"
@@ -91,7 +91,7 @@ src_compile() {
rm -f Make.Rules.orig
fi
- if [ -z "$(use berkdb)" ]
+ if ! use berkdb
then
cp Make.Rules Make.Rules.orig
sed -e "s:^HAVE_LIBNDBM=yes:HAVE_LIBNDBM=no:" \
@@ -116,7 +116,7 @@ src_install() {
then
if ! ls -1 ${D}/lib/security/$(basename ${x})*.so &> /dev/null
then
- if [ -z "$(use berkdb)" -a "$(basename ${x})" = "pam_userdb" ]
+ if ! use berkdb && [ "$(basename ${x})" = "pam_userdb" ]
then
continue
fi
diff --git a/sys-libs/pam/pam-0.77-r1.ebuild b/sys-libs/pam/pam-0.77-r1.ebuild
index 923acf47a350..f032c7ad0fe4 100644
--- a/sys-libs/pam/pam-0.77-r1.ebuild
+++ b/sys-libs/pam/pam-0.77-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.77-r1.ebuild,v 1.6 2004/06/24 23:08:12 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.77-r1.ebuild,v 1.7 2004/06/28 02:22:20 agriffis Exp $
PATCH_LEVEL="1.2"
BDB_VER="4.1.25"
@@ -72,15 +72,14 @@ apply_pam_patches() {
pkg_setup() {
local x=
- for x in libpwdb.a libcrack.a
- do
- [ -z "$(use pwdb)" ] && continue
-
- [ ! -f "${ROOT}/usr/lib/${x}" ] && {
- eerror "Could not find /usr/lib/${x} needed to build Linux-PAM!"
- die "Could not find /usr/lib/${x} needed to build Linux-PAM!"
- }
- done
+ if use pwdb; then
+ for x in libpwdb.a libcrack.a; do
+ if [ ! -f "${ROOT}/usr/lib/${x}" ]; then
+ eerror "Could not find /usr/lib/${x} needed to build Linux-PAM!"
+ die "Could not find /usr/lib/${x} needed to build Linux-PAM!"
+ fi
+ done
+ fi
return 0
}
@@ -109,7 +108,7 @@ src_unpack() {
src_compile() {
export CFLAGS="${CFLAGS} -fPIC"
- if [ -n "$(use berkdb)" ]
+ if use berkdb
then
einfo "Building Berkley DB ${BDB_VER}..."
cd ${WORKDIR}
@@ -186,7 +185,7 @@ src_compile() {
sed -i -e "s:-Wpointer-arith::" Make.Rules
fi
- if [ -z "$(use berkdb)" ]
+ if ! use berkdb
then
# Do not build pam_userdb.so ...
sed -i -e "s:^HAVE_NDBM_H=yes:HAVE_NDBM_H=no:" \
@@ -233,15 +232,15 @@ src_install() {
# Its OK if the module failed when we didnt ask for it anyway
if ! ls -1 ${D}/lib/security/$(basename ${x})*.so &> /dev/null
then
- if [ -z "$(use berkdb)" -a "$(basename ${x})" = "pam_userdb" ]
+ if ! use berkdb && [ "$(basename ${x})" = "pam_userdb" ]
then
continue
fi
- if [ -z "$(use pwdb)" -a "$(basename ${x})" = "pam_pwdb" ]
+ if ! use pwdb && [ "$(basename ${x})" = "pam_pwdb" ]
then
continue
fi
- if [ -z "$(use pwdb)" -a "$(basename ${x})" = "pam_radius" ]
+ if ! use pwdb && [ "$(basename ${x})" = "pam_radius" ]
then
continue
fi
@@ -249,15 +248,15 @@ src_install() {
exit 1
else
# Remove the ones we didnt want if it ended up building ok anyways
- if [ -z "$(use berkdb)" -a "$(basename ${x})" = "pam_userdb" ]
+ if ! use berkdb && [ "$(basename ${x})" = "pam_userdb" ]
then
rm -f ${D}/lib/security/pam_userdb*
fi
- if [ -z "$(use pwdb)" -a "$(basename ${x})" = "pam_pwdb" ]
+ if ! use pwdb && [ "$(basename ${x})" = "pam_pwdb" ]
then
rm -f ${D}/lib/security/pam_pwdb*
fi
- if [ -z "$(use pwdb)" -a "$(basename ${x})" = "pam_radius" ]
+ if ! use pwdb && [ "$(basename ${x})" = "pam_radius" ]
then
rm -f ${D}/lib/security/pam_radius*
fi
diff --git a/sys-libs/pam/pam-0.77.ebuild b/sys-libs/pam/pam-0.77.ebuild
index 3e68a8b03df9..14bf89a41eea 100644
--- a/sys-libs/pam/pam-0.77.ebuild
+++ b/sys-libs/pam/pam-0.77.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.77.ebuild,v 1.21 2004/06/24 23:08:12 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.77.ebuild,v 1.22 2004/06/28 02:22:20 agriffis Exp $
PATCH_LEVEL="1.2"
BDB_VER="4.1.25"
@@ -68,15 +68,14 @@ apply_pam_patches() {
pkg_setup() {
local x=
- for x in libpwdb.a libcrack.a
- do
- [ -z "$(use pwdb)" ] && continue
-
- [ ! -f "${ROOT}/usr/lib/${x}" ] && {
- eerror "Could not find /usr/lib/${x} needed to build Linux-PAM!"
- die "Could not find /usr/lib/${x} needed to build Linux-PAM!"
- }
- done
+ if use pwdb; then
+ for x in libpwdb.a libcrack.a; do
+ if [ ! -f "${ROOT}/usr/lib/${x}" ]; then
+ eerror "Could not find /usr/lib/${x} needed to build Linux-PAM!"
+ die "Could not find /usr/lib/${x} needed to build Linux-PAM!"
+ fi
+ done
+ fi
return 0
}
@@ -105,7 +104,7 @@ src_unpack() {
src_compile() {
export CFLAGS="${CFLAGS} -fPIC"
- if [ -n "$(use berkdb)" ]
+ if use berkdb
then
einfo "Building Berkley DB ${BDB_VER}..."
cd ${WORKDIR}
@@ -182,7 +181,7 @@ src_compile() {
sed -i -e "s:-Wpointer-arith::" Make.Rules
fi
- if [ -z "$(use berkdb)" ]
+ if ! use berkdb
then
# Do not build pam_userdb.so ...
sed -i -e "s:^HAVE_NDBM_H=yes:HAVE_NDBM_H=no:" \
@@ -218,15 +217,15 @@ src_install() {
# Its OK if the module failed when we didnt ask for it anyway
if ! ls -1 ${D}/lib/security/$(basename ${x})*.so &> /dev/null
then
- if [ -z "$(use berkdb)" -a "$(basename ${x})" = "pam_userdb" ]
+ if ! use berkdb && [ "$(basename ${x})" = "pam_userdb" ]
then
continue
fi
- if [ -z "$(use pwdb)" -a "$(basename ${x})" = "pam_pwdb" ]
+ if ! use pwdb && [ "$(basename ${x})" = "pam_pwdb" ]
then
continue
fi
- if [ -z "$(use pwdb)" -a "$(basename ${x})" = "pam_radius" ]
+ if ! use pwdb && [ "$(basename ${x})" = "pam_radius" ]
then
continue
fi
@@ -234,15 +233,15 @@ src_install() {
exit 1
else
# Remove the ones we didnt want if it ended up building ok anyways
- if [ -z "$(use berkdb)" -a "$(basename ${x})" = "pam_userdb" ]
+ if ! use berkdb && [ "$(basename ${x})" = "pam_userdb" ]
then
rm -f ${D}/lib/security/pam_userdb*
fi
- if [ -z "$(use pwdb)" -a "$(basename ${x})" = "pam_pwdb" ]
+ if ! use pwdb && [ "$(basename ${x})" = "pam_pwdb" ]
then
rm -f ${D}/lib/security/pam_pwdb*
fi
- if [ -z "$(use pwdb)" -a "$(basename ${x})" = "pam_radius" ]
+ if ! use pwdb && [ "$(basename ${x})" = "pam_radius" ]
then
rm -f ${D}/lib/security/pam_radius*
fi