summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2012-05-31 07:55:38 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2012-05-31 07:55:38 +0000
commit5ab02e0e2eb3d6e9399718b1fd41b621d2241041 (patch)
treea7c067172565e7596b0cefa5d5417a3060aee4c1 /sys-auth
parentVersion bump redis to 2.4.14. (diff)
downloadhistorical-5ab02e0e2eb3d6e9399718b1fd41b621d2241041.tar.gz
historical-5ab02e0e2eb3d6e9399718b1fd41b621d2241041.tar.bz2
historical-5ab02e0e2eb3d6e9399718b1fd41b621d2241041.zip
sys-auth/tcb removal, bugs: #371167, #408647
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/tcb/ChangeLog112
-rw-r--r--sys-auth/tcb/Manifest28
-rw-r--r--sys-auth/tcb/files/tcb-gentoo.patch80
-rw-r--r--sys-auth/tcb/metadata.xml9
-rw-r--r--sys-auth/tcb/tcb-1.0.5.ebuild53
-rw-r--r--sys-auth/tcb/tcb-1.0.6-r1.ebuild54
-rw-r--r--sys-auth/tcb/tcb-1.0.6.ebuild53
7 files changed, 0 insertions, 389 deletions
diff --git a/sys-auth/tcb/ChangeLog b/sys-auth/tcb/ChangeLog
deleted file mode 100644
index 5989d3f9d495..000000000000
--- a/sys-auth/tcb/ChangeLog
+++ /dev/null
@@ -1,112 +0,0 @@
-# ChangeLog for sys-auth/tcb
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/tcb/ChangeLog,v 1.11 2012/05/24 05:09:54 vapier Exp $
-
- 24 May 2012; Mike Frysinger <vapier@gentoo.org> tcb-1.0.5.ebuild,
- tcb-1.0.6-r1.ebuild, tcb-1.0.6.ebuild:
- Inherit user for enewuser/etc...
-
-*tcb-1.0.6-r1 (13 Feb 2012)
-
- 13 Feb 2012; Mike Frysinger <vapier@gentoo.org> +tcb-1.0.6-r1.ebuild:
- Add KEYWORD love, and move group install to pkg_preinst since we only need
- these at runtime, not build.
-
-*tcb-1.0.6 (07 Jul 2010)
-
- 07 Jul 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> -tcb-1.0.4.ebuild,
- +tcb-1.0.6.ebuild:
- Version bump. Removed old version.
-
-*tcb-1.0.5 (19 Mar 2010)
-
- 19 Mar 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> +tcb-1.0.5.ebuild:
- Version bump.
-
-*tcb-1.0.4 (12 Feb 2010)
-
- 12 Feb 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
- -files/tcb-1.0.2-build.patch, -tcb-1.0.3-r1.ebuild, -tcb-1.0.3-r2.ebuild,
- +tcb-1.0.4.ebuild, files/tcb-gentoo.patch, -files/tcb-xcrypt.patch:
- Version bump. Remove old. Update the compatibility patch. Drop old
- patches.
-
- 19 Jan 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org>
- files/tcb-1.0.2-build.patch:
- Do not pass CFLAGS to make link rules. Thanks to Dmitry V. Levin <ldv at
- altlinux org>.
-
-*tcb-1.0.3-r2 (17 Jan 2010)
-
- 17 Jan 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> +tcb-1.0.3-r2.ebuild,
- +files/tcb-gentoo.patch:
- Drop dependency on libxcrypt, provide better upgrade path by supporting
- hash functions present in unpatched glibc.
-
-*tcb-1.0.3-r1 (12 Jan 2010)
-
- 12 Jan 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> -tcb-1.0-r1.ebuild,
- -tcb-1.0.2.ebuild, -tcb-1.0.3.ebuild, +tcb-1.0.3-r1.ebuild,
- -files/tcb-1.0-build.patch, +files/tcb-xcrypt.patch, metadata.xml:
- Link with libxcrypt to satisfy runtime dependency (bug #298539). Remove
- old, broken versions. Add myself as the maintainer.
-
-*tcb-1.0.3 (29 Dec 2009)
-
- 29 Dec 2009; Pawel Hajdan jr <phajdan.jr@gentoo.org> +tcb-1.0.3.ebuild:
- Version bump, bug #298509.
-
- 27 Mar 2008; Diego Pettenò <flameeyes@gentoo.org>
- +files/tcb-1.0.2-build.patch, +files/tcb-1.0-build.patch, +metadata.xml,
- +tcb-1.0-r1.ebuild, +tcb-1.0.2.ebuild:
- Move sys-apps/tcb to sys-auth/tcb instead.
-
-*tcb-1.0.2 (27 Mar 2008)
-
- 27 Mar 2008; Diego Pettenò <flameeyes@gentoo.org>
- +files/tcb-1.0.2-build.patch, +tcb-1.0.2.ebuild:
- Version bump, avoid one chunk of patch by replacing the variables at make
- commandline instead.
-
-*tcb-1.0-r1 (12 Jan 2007)
-
- 12 Jan 2007; Mike Frysinger <vapier@gentoo.org>
- +files/tcb-1.0-build.patch, +tcb-1.0-r1.ebuild:
- Cleanup build #161554 and #161556 by ph.
-
- 27 Apr 2006; Alec Warner <antarus@gentoo.org> files/digest-tcb-0.9.8.7,
- Manifest:
- Fixing SHA256 digest, pass four
-
-*tcb-1.0 (25 Apr 2006)
-
- 25 Apr 2006; Mike Frysinger <vapier@gentoo.org> +tcb-1.0.ebuild:
- Version bump #131021 by Magnus Granberg.
-
- 18 Jul 2005; David Holm <dholm@gentoo.org> tcb-0.9.8.8.ebuild:
- Added to ~ppc.
-
-*tcb-0.9.8.8 (17 Jul 2005)
-
- 17 Jul 2005; Mike Frysinger <vapier@gentoo.org> +tcb-0.9.8.8.ebuild:
- Version bump.
-
-*tcb-0.9.8.7 (08 Jan 2004)
-
- 08 Jan 2004; Joshua Brindle <method@gentoo.org> tcb-0.9.7.4.ebuild,
- tcb-0.9.7.4.ebuild, tcb-0.9.8.3.ebuild, tcb-0.9.8.3.ebuild,
- tcb-0.9.8.7.ebuild:
- This one should actually work, and is an upstream bump also
-
-*tcb-0.9.8.3 (18 Dec 2002)
-
- 18 Dec 2002; Joachim Blaabjerg <styx@gentoo.org> tcb-0.9.8.3.ebuild :
-
- New version, ~x86 masked.
-
-*tcb-0.9.7.4 (13 Aug 2002)
-
- 13 Aug 2002; Joachim Blaabjerg <styx@gentoo.org> tcb-0.9.7.4.ebuild :
-
- Initial ebuild release. Wrote this on 19 Apr 2002, but didn't get it
- committed until now. Talk about lazyness :P
diff --git a/sys-auth/tcb/Manifest b/sys-auth/tcb/Manifest
deleted file mode 100644
index 4ab05bff4866..000000000000
--- a/sys-auth/tcb/Manifest
+++ /dev/null
@@ -1,28 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX tcb-gentoo.patch 2430 RMD160 e1f1b37c6fdbdab22cfb12470d9fdf9f4cfd8221 SHA1 f37fbde0c7de7827398cbb8dbda0554d1b1c23f0 SHA256 083e44898573d295995ac68f5d49c61c28a1b14a4566168a573993760e750bf5
-DIST tcb-1.0.5.tar.gz 41374 RMD160 b8a97a36452bdaccdc2b3a6c7a75fdf111420084 SHA1 c4b8da8fbd3f31602a6c4bbf18e9bec6cc30c69a SHA256 df2b3d32c1f1b767d5777589695fb8947404f6068101ad147c6b58305da0c6d1
-DIST tcb-1.0.6.tar.gz 41715 RMD160 da374fbd7d6bc39a939d170e69af203337bcaf81 SHA1 280fd2eb4ae53dcff17492c2d9539b335cb20324 SHA256 b53c9e1e10947f8b68cb35733944da53e6d18de3dd429167c8331e65ad463e56
-EBUILD tcb-1.0.5.ebuild 1407 RMD160 b8cbb875564fca598922265bca09b1c128b3f08c SHA1 dc1dd800cf0753588fc70b8fe2337e48bf989e3d SHA256 dc8b123d832933cb01d83fb81e8c2c2b8bc1d0d0828c04833dd80ac962ea2c98
-EBUILD tcb-1.0.6-r1.ebuild 1472 RMD160 f268de097f548d133fb49d207019af40b1da9dc9 SHA1 31bdd0370a033c24dce277c5e430cd23c0673ed5 SHA256 0f754d6aabe82bdc6a847e0cae6e418cf0ed51ee79d3d5412346d39793574792
-EBUILD tcb-1.0.6.ebuild 1407 RMD160 c97cd3ba1161e14b43e7e4a223ffbf0190e8f84d SHA1 2f97187fff545116d0a3839375ed6a67e7a1e74d SHA256 dff818de18c020ee5f840e6b83579dfce8d0c1d139324e2d2e82e2342743549c
-MISC ChangeLog 3727 RMD160 56dcaf718e510ef18c233b54f7506f1f57a5377a SHA1 855022169173464e85b25c9445746f0aefed9bed SHA256 616eb3c865cf590b7715ae5be2ee0a61751f4c4e168f0f727b6e49258687b9c2
-MISC metadata.xml 264 RMD160 810ddb750010a91dd4396d8026577db947322856 SHA1 149b97dabb0453fff291f29c02f067b2677e19aa SHA256 28d63d15fc99d3fa478f0e1e43398d35be201ca9b56db207687631a02a315652
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
-
-iQIcBAEBAgAGBQJPvcL1AAoJELEHsLL7fEFWuhgP/icn+yYaqv/+h5ZFSTT4Yknn
-NKkHQziB/sg7w287kzelqf8+FSLXeuzYqxro41DhKonYo408ITYVxSRDJUdEmk8L
-NucDssQT2mUtRIElC9LZEKutYs+Ab5HSh/IxlfNEMRw6/lDTkPBI2wt7OJ100cbH
-kTNDHVRMy1bG1nfHxngfGHSrbolCQeSgONMjuXWYlSU1y3OPWksECkTJUMP4CAc6
-d5AXllEmggACAY+Y0LTYQvgIhZgHvYmf+szEoAwsUFFZg8OhDRt4OKvX/S9lzDLh
-39H/2BKxvZ/pX62JKZvROmidOmpv0Kbcwrbl1CnrGQkE5ptDvqKcNNDk018caxiO
-eFFEfMA9tDZxuD7r09DdhFocFNFgTTTHvsE/XWdOxa9S+ie8pRpI9wnjMNCFYrJq
-15QcCML5QQe+JlX7I9CFwBlvczaeyp1UoBSsPniBj2x6rmONFu5Vb1+YNOUS3d+b
-TW5Y9MX6LtQ0oMZcQrCatA2JTIJrubBJ+s5s1ULDMp35Cex5fYA1eNQexKS+/d7r
-EPtojMLyCVkWpEt3bx2/A3vOjj6OIuZB79bgj6Leg7M3F1Wz8Lhru3VrDlGov3Vr
-+zdvSbOvWXWxkMVMpHJkOgtyxvNR/yRA12nV1S2nFEYkmE56Mt5g3Ea75ZeovhSW
-qdhJP2N1lD4jsrkj+L2d
-=Bom7
------END PGP SIGNATURE-----
diff --git a/sys-auth/tcb/files/tcb-gentoo.patch b/sys-auth/tcb/files/tcb-gentoo.patch
deleted file mode 100644
index 3cdab6e25879..000000000000
--- a/sys-auth/tcb/files/tcb-gentoo.patch
+++ /dev/null
@@ -1,80 +0,0 @@
---- pam_tcb/support.c.orig 2010-01-17 12:22:29.000000000 +0100
-+++ pam_tcb/support.c 2010-02-12 10:47:37.000000000 +0100
-@@ -466,6 +466,44 @@
- return retval;
- }
-
-+static unsigned char _crypt_itoa64[64 + 1] =
-+ "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
-+
-+static char *crypt_gensalt_ra(const char *prefix, unsigned long count,
-+ const char *entropy, int entropy_size)
-+{
-+ if (count != 0)
-+ return NULL;
-+ if (entropy_size < 3)
-+ return NULL;
-+ char* salt = malloc(strlen(prefix) + entropy_size/3*4 + 1);
-+ if (!salt)
-+ return NULL;
-+ char *sp = stpcpy(salt, prefix);
-+ int i;
-+ for (i = 0; entropy_size >= 3 * (i + 1); i++) {
-+ unsigned long value =
-+ ((unsigned long)(unsigned char)entropy[3 * i]) |
-+ ((unsigned long)(unsigned char)entropy[3 * i + 1] << 8) |
-+ ((unsigned long)(unsigned char)entropy[3 * i + 2] << 16);
-+ *sp++ = _crypt_itoa64[value & 0x3f];
-+ *sp++ = _crypt_itoa64[(value >> 6) & 0x3f];
-+ *sp++ = _crypt_itoa64[(value >> 12) & 0x3f];
-+ *sp++ = _crypt_itoa64[(value >> 18) & 0x3f];
-+ }
-+ *sp = '\0';
-+ return salt;
-+}
-+
-+static char *crypt_ra(const char *key, const char *salt,
-+ void **data, int *size)
-+{
-+ *size = sizeof(struct crypt_data);
-+ if (!(*data = calloc(1, *size)))
-+ return NULL;
-+ return crypt_r(key, salt, *data);
-+}
-+
- static int check_crypt(pam_handle_t *pamh, const char *pass,
- const char *stored_hash)
- {
-@@ -1019,28 +1057,16 @@
- if (!parse_opt(pamh, *argv, the_cmdline_opts))
- return 0;
- param = get_optval("prefix=", the_cmdline_opts);
-- pam_unix_param.crypt_prefix = param ?: "$2a$";
-+ pam_unix_param.crypt_prefix = param ?: "$6$";
-
- param = get_optval("helper=", the_cmdline_opts);
- pam_unix_param.helper = param ?: CHKPWD_HELPER;
-
- param = get_optval("count=", the_cmdline_opts);
- if (param) {
-- char *end;
-- /*
-- * SUSv2 says:
-- * Because 0 and ULONG_MAX are returned on error and
-- * are also valid returns on success, an application
-- * wishing to check for error situations should set
-- * errno to 0, then call strtoul(), then check errno.
-- */
-- errno = 0;
-- pam_unix_param.count = strtoul(param, &end, 10);
-- if (errno || !*param || *end) {
-- pam_syslog(pamh, LOG_ERR,
-- "Invalid count= argument: %s", param);
-- return 0;
-- }
-+ pam_syslog(pamh, LOG_ERR,
-+ "count= parameter is not supported without Openwall libcrypt extensions");
-+ return 0;
- } else
- pam_unix_param.count = 0;
-
diff --git a/sys-auth/tcb/metadata.xml b/sys-auth/tcb/metadata.xml
deleted file mode 100644
index fd8833aba702..000000000000
--- a/sys-auth/tcb/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>base-system</herd>
- <maintainer>
- <email>phajdan.jr@gentoo.org</email>
- <name>Pawel Hajdan jr</name>
- </maintainer>
-</pkgmetadata>
diff --git a/sys-auth/tcb/tcb-1.0.5.ebuild b/sys-auth/tcb/tcb-1.0.5.ebuild
deleted file mode 100644
index aba93b208003..000000000000
--- a/sys-auth/tcb/tcb-1.0.5.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/tcb/tcb-1.0.5.ebuild,v 1.2 2012/05/24 05:09:54 vapier Exp $
-
-EAPI="2"
-
-inherit eutils multilib user
-
-DESCRIPTION="Libraries and tools implementing the tcb password shadowing scheme"
-HOMEPAGE="http://www.openwall.com/tcb/"
-SRC_URI="ftp://ftp.openwall.com/pub/projects/tcb/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=">=sys-libs/pam-0.75"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- for group in auth chkpwd shadow ; do
- enewgroup ${group}
- done
-
- mymakeopts="
- SLIBDIR=/$(get_libdir)
- LIBDIR=/usr/$(get_libdir)
- MANDIR=/usr/share/man
- DESTDIR='${D}'"
-}
-
-src_prepare() {
- # We don't have Openwall glibc extensions. The patch makes it possible
- # to run tcb with normal glibc. It has been reviewed by upstream, but
- # is not going to be accepted. The plan is to add support for sha hashes
- # to Openwall's crypto routines and use them when that's available.
- epatch "${FILESDIR}"/${PN}-gentoo.patch
-}
-
-src_compile() {
- emake $mymakeopts || die "emake failed"
-}
-
-src_install() {
- emake $mymakeopts install || die "emake install failed"
- dodoc ChangeLog
-}
-
-pkg_postinst() {
- einfo "You must now run /sbin/tcb_convert to convert your shadow to tcb"
- einfo "To remove this you must first run /sbin/tcp_unconvert and then unmerge"
-}
diff --git a/sys-auth/tcb/tcb-1.0.6-r1.ebuild b/sys-auth/tcb/tcb-1.0.6-r1.ebuild
deleted file mode 100644
index 607263fb63c5..000000000000
--- a/sys-auth/tcb/tcb-1.0.6-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/tcb/tcb-1.0.6-r1.ebuild,v 1.2 2012/05/24 05:09:54 vapier Exp $
-
-EAPI="2"
-
-inherit eutils user multilib user
-
-DESCRIPTION="Libraries and tools implementing the tcb password shadowing scheme"
-HOMEPAGE="http://www.openwall.com/tcb/"
-SRC_URI="ftp://ftp.openwall.com/pub/projects/tcb/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE=""
-
-DEPEND=">=sys-libs/pam-0.75"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- # We don't have Openwall glibc extensions. The patch makes it possible
- # to run tcb with normal glibc. It has been reviewed by upstream, but
- # is not going to be accepted. The plan is to add support for sha hashes
- # to Openwall's crypto routines and use them when that's available.
- epatch "${FILESDIR}"/${PN}-gentoo.patch
-}
-
-src_compile() {
- mymakeopts=(
- SLIBDIR=/$(get_libdir)
- LIBDIR=/usr/$(get_libdir)
- MANDIR=/usr/share/man
- DESTDIR="${D}"
- )
- emake "${mymakeopts[@]}" || die
-}
-
-src_install() {
- emake "${mymakeopts[@]}" install || die
- dodoc ChangeLog
-}
-
-pkg_preinst() {
- local group
- for group in auth chkpwd shadow ; do
- enewgroup ${group}
- done
-}
-
-pkg_postinst() {
- einfo "You must now run /sbin/tcb_convert to convert your shadow to tcb"
- einfo "To remove this you must first run /sbin/tcp_unconvert and then unmerge"
-}
diff --git a/sys-auth/tcb/tcb-1.0.6.ebuild b/sys-auth/tcb/tcb-1.0.6.ebuild
deleted file mode 100644
index bb46185486d4..000000000000
--- a/sys-auth/tcb/tcb-1.0.6.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/tcb/tcb-1.0.6.ebuild,v 1.2 2012/05/24 05:09:54 vapier Exp $
-
-EAPI="2"
-
-inherit eutils multilib user
-
-DESCRIPTION="Libraries and tools implementing the tcb password shadowing scheme"
-HOMEPAGE="http://www.openwall.com/tcb/"
-SRC_URI="ftp://ftp.openwall.com/pub/projects/tcb/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=">=sys-libs/pam-0.75"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- for group in auth chkpwd shadow ; do
- enewgroup ${group}
- done
-
- mymakeopts="
- SLIBDIR=/$(get_libdir)
- LIBDIR=/usr/$(get_libdir)
- MANDIR=/usr/share/man
- DESTDIR='${D}'"
-}
-
-src_prepare() {
- # We don't have Openwall glibc extensions. The patch makes it possible
- # to run tcb with normal glibc. It has been reviewed by upstream, but
- # is not going to be accepted. The plan is to add support for sha hashes
- # to Openwall's crypto routines and use them when that's available.
- epatch "${FILESDIR}"/${PN}-gentoo.patch
-}
-
-src_compile() {
- emake $mymakeopts || die "emake failed"
-}
-
-src_install() {
- emake $mymakeopts install || die "emake install failed"
- dodoc ChangeLog
-}
-
-pkg_postinst() {
- einfo "You must now run /sbin/tcb_convert to convert your shadow to tcb"
- einfo "To remove this you must first run /sbin/tcp_unconvert and then unmerge"
-}