Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/tcb: ChangeLog tcb-1.0.2.ebuild
Date: Thu, 27 Mar 2008 14:38:55
Message-Id: E1JetFk-0000Pm-GN@stork.gentoo.org
1 flameeyes 08/03/27 14:38:52
2
3 Modified: ChangeLog
4 Added: tcb-1.0.2.ebuild
5 Log:
6 Version bump, avoid one chunk of patch by replacing the variables at make commandline instead.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.12 sys-apps/tcb/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/tcb/ChangeLog?rev=1.12&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/tcb/ChangeLog?rev=1.12&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/tcb/ChangeLog?r1=1.11&r2=1.12
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/tcb/ChangeLog,v
19 retrieving revision 1.11
20 retrieving revision 1.12
21 diff -u -r1.11 -r1.12
22 --- ChangeLog 12 Jan 2007 03:13:39 -0000 1.11
23 +++ ChangeLog 27 Mar 2008 14:38:51 -0000 1.12
24 @@ -1,6 +1,13 @@
25 # ChangeLog for sys-apps/tcb
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcb/ChangeLog,v 1.11 2007/01/12 03:13:39 vapier Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/tcb/ChangeLog,v 1.12 2008/03/27 14:38:51 flameeyes Exp $
30 +
31 +*tcb-1.0.2 (27 Mar 2008)
32 +
33 + 27 Mar 2008; Diego Pettenò <flameeyes@g.o>
34 + +files/tcb-1.0.2-build.patch, +tcb-1.0.2.ebuild:
35 + Version bump, avoid one chunk of patch by replacing the variables at make
36 + commandline instead.
37
38 *tcb-1.0-r1 (12 Jan 2007)
39
40
41
42
43 1.1 sys-apps/tcb/tcb-1.0.2.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/tcb/tcb-1.0.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/tcb/tcb-1.0.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: tcb-1.0.2.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-apps/tcb/tcb-1.0.2.ebuild,v 1.1 2008/03/27 14:38:51 flameeyes Exp $
53
54 inherit eutils multilib
55
56 DESCRIPTION="Libraries and tools implementing the tcb password shadowing scheme"
57 HOMEPAGE="http://www.openwall.com/tcb/"
58 SRC_URI="ftp://ftp.openwall.com/pub/projects/tcb/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE="pam"
64
65 DEPEND="pam? ( >=sys-libs/pam-0.75 )"
66
67 pkg_setup() {
68 for group in auth chkpwd shadow ; do
69 enewgroup ${group}
70 done
71
72 mymakeopts="
73 SLIBDIR=/$(get_libdir)
74 LIBDIR=/usr/$(get_libdir)
75 MANDIR=/usr/share/man
76 DESTDIR='${D}'"
77 }
78
79 src_unpack() {
80 unpack ${A}
81 cd "${S}"
82
83 epatch "${FILESDIR}"/${P}-build.patch
84 use pam || sed -i '/pam/d' Makefile
85 }
86
87 src_compile() {
88 emake $mymakeopts || die "emake failed"
89 }
90
91 src_install() {
92 emake $mymakeopts install || die "emake install failed"
93 dodoc ChangeLog
94 }
95
96 pkg_postinst() {
97 einfo "You must now run /sbin/tcb_convert to convert your shadow to tcb"
98 einfo "To remove this you must first run /sbin/tcp_unconvert and then unmerge"
99 }
100
101
102
103 --
104 gentoo-commits@l.g.o mailing list