Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/cracklib: ChangeLog cracklib-2.8.12.ebuild
Date: Tue, 02 Oct 2007 06:55:06
Message-Id: E1IcbW5-00064n-4X@stork.gentoo.org
1 vapier 07/10/02 06:46:01
2
3 Modified: ChangeLog
4 Added: cracklib-2.8.12.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.3.11)
8
9 Revision Changes Path
10 1.108 sys-libs/cracklib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/cracklib/ChangeLog?rev=1.108&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/cracklib/ChangeLog?rev=1.108&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/cracklib/ChangeLog?r1=1.107&r2=1.108
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v
19 retrieving revision 1.107
20 retrieving revision 1.108
21 diff -u -r1.107 -r1.108
22 --- ChangeLog 2 Oct 2007 05:29:14 -0000 1.107
23 +++ ChangeLog 2 Oct 2007 06:46:00 -0000 1.108
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-libs/cracklib
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.107 2007/10/02 05:29:14 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.108 2007/10/02 06:46:00 vapier Exp $
29 +
30 +*cracklib-2.8.12 (02 Oct 2007)
31 +
32 + 02 Oct 2007; Mike Frysinger <vapier@g.o> +cracklib-2.8.12.ebuild:
33 + Version bump.
34
35 02 Oct 2007; Jeroen Roovers <jer@g.o> cracklib-2.8.10.ebuild:
36 Stable for HPPA (bug #194466).
37
38
39
40 1.1 sys-libs/cracklib/cracklib-2.8.12.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/cracklib/cracklib-2.8.12.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/cracklib/cracklib-2.8.12.ebuild?rev=1.1&content-type=text/plain
44
45 Index: cracklib-2.8.12.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.8.12.ebuild,v 1.1 2007/10/02 06:46:00 vapier Exp $
50
51 inherit toolchain-funcs multilib
52
53 MY_P=${P/_}
54 DESCRIPTION="Password Checking Library"
55 HOMEPAGE="http://sourceforge.net/projects/cracklib"
56 SRC_URI="mirror://sourceforge/cracklib/${MY_P}.tar.gz"
57
58 LICENSE="CRACKLIB"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
61 IUSE="nls python"
62
63 DEPEND="python? ( dev-lang/python )"
64
65 S=${WORKDIR}/${MY_P}
66
67 src_compile() {
68 econf \
69 --with-default-dict='$(libdir)/cracklib_dict' \
70 $(use_enable nls) \
71 $(use_with python) \
72 || die
73 emake || die
74 }
75
76 src_install() {
77 emake DESTDIR="${D}" install || die "make install failed"
78 rm -r "${D}"/usr/share/cracklib
79
80 # move shared libs to /
81 dodir /$(get_libdir)
82 mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)/ || die "could not move shared"
83 gen_usr_ldscript libcrack.so
84
85 insinto /usr/share/dict
86 doins dicts/cracklib-small || die "word dict"
87
88 dodoc AUTHORS ChangeLog NEWS README*
89 }
90
91 pkg_postinst() {
92 if [[ ${ROOT} == "/" ]] ; then
93 ebegin "Regenerating cracklib dictionary"
94 create-cracklib-dict /usr/share/dict/* > /dev/null
95 eend $?
96 fi
97 }
98
99
100
101 --
102 gentoo-commits@g.o mailing list