summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-03-27 14:45:01 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-03-27 14:45:01 +0000
commit81b217c7e2ee881cd5a078c5bdcb8472df28b65e (patch)
tree8cae6f0185adde30bb3683f795684c29d25e086b /sys-auth
parentMove sys-apps/tcb to sys-auth/tcb. (diff)
downloadhistorical-81b217c7e2ee881cd5a078c5bdcb8472df28b65e.tar.gz
historical-81b217c7e2ee881cd5a078c5bdcb8472df28b65e.tar.bz2
historical-81b217c7e2ee881cd5a078c5bdcb8472df28b65e.zip
Move sys-apps/tcb to sys-auth/tcb instead.
Package-Manager: portage-2.1.4.4 RepoMan-Options: --force
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/tcb/ChangeLog58
-rw-r--r--sys-auth/tcb/Manifest18
-rw-r--r--sys-auth/tcb/files/tcb-1.0-build.patch53
-rw-r--r--sys-auth/tcb/files/tcb-1.0.2-build.patch37
-rw-r--r--sys-auth/tcb/metadata.xml5
-rw-r--r--sys-auth/tcb/tcb-1.0-r1.ebuild40
-rw-r--r--sys-auth/tcb/tcb-1.0.2.ebuild50
7 files changed, 261 insertions, 0 deletions
diff --git a/sys-auth/tcb/ChangeLog b/sys-auth/tcb/ChangeLog
new file mode 100644
index 000000000000..18c1649856e8
--- /dev/null
+++ b/sys-auth/tcb/ChangeLog
@@ -0,0 +1,58 @@
+# ChangeLog for sys-apps/tcb
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/tcb/ChangeLog,v 1.1 2008/03/27 14:45:01 flameeyes Exp $
+
+ 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
new file mode 100644
index 000000000000..7fd9da188246
--- /dev/null
+++ b/sys-auth/tcb/Manifest
@@ -0,0 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX tcb-1.0-build.patch 1406 RMD160 9179ad188825ca433e5cd954b14f9a515ed36138 SHA1 a80d6d8aabdd1406424081820c3518d40edeb36c SHA256 3b798990692de9574bfce53fd99e4ccb521e76af0ceaaf7237a7d27168d7d0aa
+AUX tcb-1.0.2-build.patch 1081 RMD160 917878dd969089e7a02bb445ff738a2cf8394ef2 SHA1 1b17e86931f86a093a70073011606ebf20602966 SHA256 6cc786725d46dc83a041249d958e31f57ebffe38f84ff9b75c0143bcb8e6ccd5
+DIST tcb-1.0.2.tar.gz 40531 RMD160 e5abb7bedc7ebd8ef36363b07be98f92444fea5d SHA1 3d3cc47c1a0da732bea3c6e9189ac3e3c632f37e SHA256 6e19a1b68dcb34653f09fb514b43dfad76df487f5ce0089656d1b334cd37c30e
+DIST tcb-1.0.tar.gz 40355 RMD160 1dbe92cbc583f66b687526ced87c6ab03d8dadbf SHA1 aba4b0e8e4d437798550ba33c29abaef7006e930 SHA256 6565f076f72bc709b5eece037e9c45f0a0f60530e9213dda3ddbb14416bdfbaa
+EBUILD tcb-1.0-r1.ebuild 1025 RMD160 60fafce4c273c0e3ee9e5c9149d4cd93fc624369 SHA1 3c8f39e1df4aa99e4142bb6602887250d4380a92 SHA256 10e566617be7e03a80d7d744e5524292f979b51c105852d0fd8b144e46647c69
+EBUILD tcb-1.0.2.ebuild 1165 RMD160 3285ba477083827167e99e1737755e0447c24732 SHA1 5a1a8697ac73d4a8b563e3c7caeda913569533fb SHA256 6792eba37d63fdd28a56a0d31013341c395035c8d1244cab48e6efc5257bec1d
+MISC ChangeLog 1864 RMD160 bc786e60784e9db04852fa3b66bbd9ca3b9b20fc SHA1 8fdafa4342bd03f8742f8dfbd1f07f36e2b4bb6d SHA256 6067cdc803f1ee26c8f9cf5c4451d1d4281f00d86dcc041e1bb11dc30c41b7a0
+MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFH67L9AiZjviIA2XgRAqZVAKCog+6KrY4A1A7A+xJegWCMXZc6+ACffiDe
+XZf1g3f79qehi0zFTEK6w0Y=
+=itWE
+-----END PGP SIGNATURE-----
diff --git a/sys-auth/tcb/files/tcb-1.0-build.patch b/sys-auth/tcb/files/tcb-1.0-build.patch
new file mode 100644
index 000000000000..07082f6022dd
--- /dev/null
+++ b/sys-auth/tcb/files/tcb-1.0-build.patch
@@ -0,0 +1,53 @@
+--- tcb-1.0/libs/Makefile
++++ tcb-1.0/libs/Makefile
+@@ -17,13 +17,13 @@
+ $(CC) $(CFLAGS) $(DBGFLAG) -c $< -o $@
+
+ $(LIBTCB_LONG): libtcb.o $(LIB_MAP)
+- $(CC) $(DBGFLAG) -shared -o $@ -Wl,-soname,$(LIBTCB) \
++ $(CC) $(CFLAGS) $(LDFLAGS) $(DBGFLAG) -shared -o $@ -Wl,-soname,$(LIBTCB) \
+ -Wl,--version-script=$(LIB_MAP) $< -lc
+ ln -sf $@ $(LIBTCB)
+ ln -sf $(LIBTCB) libtcb.so
+
+ $(LIBNSS): nss.o $(NSS_MAP) $(LIBTCB_LONG)
+- $(CC) $(DBGFLAG) -shared -o $@ -Wl,--version-script=$(NSS_MAP) \
++ $(CC) $(CFLAGS) $(LDFLAGS) $(DBGFLAG) -shared -o $@ -Wl,-soname,$@ -Wl,--version-script=$(NSS_MAP) \
+ $< -L. $(LIBNSL) -ltcb
+
+ .c.o:
+--- tcb-1.0/Make.defs
++++ tcb-1.0/Make.defs
+@@ -8,9 +8,9 @@
+ LDFLAGS += $(DBGFLAG) -L../libs
+
+ SBINDIR = /sbin
+-SLIBDIR = /lib
+-LIBDIR = /usr/lib
+-LIBEXECDIR = /usr/libexec
+-MANDIR = /usr/man
++SLIBDIR = /@GENTOO_LIBDIR@
++LIBDIR = /usr/@GENTOO_LIBDIR@
++LIBEXECDIR = $(LIBDIR)/misc
++MANDIR = /usr/share/man
+
+ SHLIBMODE = 755
+--- tcb-1.0/progs/Makefile
++++ tcb-1.0/progs/Makefile
+@@ -7,13 +7,13 @@
+ all: $(CONVERT) $(UNCONVERT) $(CHKPWD)
+
+ $(CONVERT): $(CONVERT).o
+- $(CC) -o $@ $<
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+
+ $(UNCONVERT): $(UNCONVERT).o
+- $(CC) -o $@ $< -L../libs -ltcb
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L../libs -ltcb
+
+ $(CHKPWD): $(CHKPWD).o
+- $(CC) -o $@ $< -lcrypt
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lcrypt
+
+ .c.o:
+ $(CC) $(CFLAGS) -c $< -o $@
diff --git a/sys-auth/tcb/files/tcb-1.0.2-build.patch b/sys-auth/tcb/files/tcb-1.0.2-build.patch
new file mode 100644
index 000000000000..fe4220b787f0
--- /dev/null
+++ b/sys-auth/tcb/files/tcb-1.0.2-build.patch
@@ -0,0 +1,37 @@
+--- tcb-1.0/libs/Makefile
++++ tcb-1.0/libs/Makefile
+@@ -17,13 +17,13 @@
+ $(CC) $(CFLAGS) $(DBGFLAG) -c $< -o $@
+
+ $(LIBTCB_LONG): libtcb.o $(LIB_MAP)
+- $(CC) $(DBGFLAG) -shared -o $@ -Wl,-soname,$(LIBTCB) \
++ $(CC) $(CFLAGS) $(LDFLAGS) $(DBGFLAG) -shared -o $@ -Wl,-soname,$(LIBTCB) \
+ -Wl,--version-script=$(LIB_MAP) $< -lc
+ ln -sf $@ $(LIBTCB)
+ ln -sf $(LIBTCB) libtcb.so
+
+ $(LIBNSS): nss.o $(NSS_MAP) $(LIBTCB_LONG)
+- $(CC) $(DBGFLAG) -shared -o $@ -Wl,--version-script=$(NSS_MAP) \
++ $(CC) $(CFLAGS) $(LDFLAGS) $(DBGFLAG) -shared -o $@ -Wl,-soname,$@ -Wl,--version-script=$(NSS_MAP) \
+ $< -L. $(LIBNSL) -ltcb
+
+ .c.o:
+--- tcb-1.0/progs/Makefile
++++ tcb-1.0/progs/Makefile
+@@ -7,13 +7,13 @@
+ all: $(CONVERT) $(UNCONVERT) $(CHKPWD)
+
+ $(CONVERT): $(CONVERT).o
+- $(CC) -o $@ $<
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
+
+ $(UNCONVERT): $(UNCONVERT).o
+- $(CC) -o $@ $< -L../libs -ltcb
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -L../libs -ltcb
+
+ $(CHKPWD): $(CHKPWD).o
+- $(CC) -o $@ $< -lcrypt
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lcrypt
+
+ .c.o:
+ $(CC) $(CFLAGS) -c $< -o $@
diff --git a/sys-auth/tcb/metadata.xml b/sys-auth/tcb/metadata.xml
new file mode 100644
index 000000000000..96a2d586367d
--- /dev/null
+++ b/sys-auth/tcb/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>base-system</herd>
+</pkgmetadata>
diff --git a/sys-auth/tcb/tcb-1.0-r1.ebuild b/sys-auth/tcb/tcb-1.0-r1.ebuild
new file mode 100644
index 000000000000..b94b70448e80
--- /dev/null
+++ b/sys-auth/tcb/tcb-1.0-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/tcb/tcb-1.0-r1.ebuild,v 1.1 2008/03/27 14:45:01 flameeyes Exp $
+
+inherit eutils multilib
+
+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 ppc x86"
+IUSE="pam"
+
+DEPEND="pam? ( >=sys-libs/pam-0.75 )"
+
+pkg_setup() {
+ for group in auth chkpwd shadow ; do
+ enewgroup ${group}
+ done
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-build.patch
+ sed -i "s:@GENTOO_LIBDIR@:$(get_libdir):" Make.defs
+ use pam || sed -i '/pam/d' Makefile
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ 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.2.ebuild b/sys-auth/tcb/tcb-1.0.2.ebuild
new file mode 100644
index 000000000000..39879980ddf4
--- /dev/null
+++ b/sys-auth/tcb/tcb-1.0.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/tcb/tcb-1.0.2.ebuild,v 1.1 2008/03/27 14:45:01 flameeyes Exp $
+
+inherit eutils multilib
+
+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 ~ppc ~x86"
+IUSE="pam"
+
+DEPEND="pam? ( >=sys-libs/pam-0.75 )"
+
+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_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-build.patch
+ use pam || sed -i '/pam/d' Makefile
+}
+
+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"
+}