1 |
tetromino 12/12/29 19:29:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libpwquality-1.2.0-r2.ebuild |
5 |
Removed: libpwquality-1.2.0.ebuild |
6 |
Log: |
7 |
Do not install static library in /lib (bug #449224, thanks to BillWho). Update to python-r1.eclass. |
8 |
|
9 |
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61) |
10 |
|
11 |
Revision Changes Path |
12 |
1.4 dev-libs/libpwquality/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpwquality/ChangeLog?rev=1.4&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpwquality/ChangeLog?rev=1.4&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpwquality/ChangeLog?r1=1.3&r2=1.4 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libpwquality/ChangeLog,v |
21 |
retrieving revision 1.3 |
22 |
retrieving revision 1.4 |
23 |
diff -u -r1.3 -r1.4 |
24 |
--- ChangeLog 5 Dec 2012 08:54:27 -0000 1.3 |
25 |
+++ ChangeLog 29 Dec 2012 19:29:15 -0000 1.4 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for dev-libs/libpwquality |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpwquality/ChangeLog,v 1.3 2012/12/05 08:54:27 tetromino Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpwquality/ChangeLog,v 1.4 2012/12/29 19:29:15 tetromino Exp $ |
31 |
+ |
32 |
+*libpwquality-1.2.0-r2 (29 Dec 2012) |
33 |
+ |
34 |
+ 29 Dec 2012; Alexandre Rostovtsev <tetromino@g.o> |
35 |
+ -libpwquality-1.2.0.ebuild, +libpwquality-1.2.0-r2.ebuild: |
36 |
+ Do not install static library in /lib (bug #449224, thanks to BillWho). |
37 |
+ Update to python-r1.eclass. Drop old. |
38 |
|
39 |
*libpwquality-1.2.0-r1 (05 Dec 2012) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-libs/libpwquality/libpwquality-1.2.0-r2.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpwquality/libpwquality-1.2.0-r2.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libpwquality/libpwquality-1.2.0-r2.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: libpwquality-1.2.0-r2.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2012 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpwquality/libpwquality-1.2.0-r2.ebuild,v 1.1 2012/12/29 19:29:15 tetromino Exp $ |
54 |
|
55 |
EAPI="5" |
56 |
PYTHON_COMPAT=( python2_7 ) |
57 |
|
58 |
inherit eutils multilib pam python-r1 toolchain-funcs |
59 |
|
60 |
DESCRIPTION="Library for password quality checking and generating random passwords" |
61 |
HOMEPAGE="https://fedorahosted.org/libpwquality/" |
62 |
SRC_URI="https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.bz2" |
63 |
|
64 |
LICENSE="|| ( BSD GPL-2 )" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~x86" |
67 |
IUSE="pam python static-libs" |
68 |
|
69 |
RDEPEND=">=sys-libs/cracklib-2.8:= |
70 |
pam? ( virtual/pam ) |
71 |
python? ( ${PYTHON_DEPS} )" |
72 |
DEPEND="${RDEPEND} |
73 |
sys-devel/libtool |
74 |
virtual/pkgconfig" |
75 |
|
76 |
src_prepare() { |
77 |
# ensure pkgconfig files go in /usr |
78 |
sed -e 's:\(pkgconfigdir *=\).*:\1 '${EPREFIX}/usr/$(get_libdir)'/pkgconfig:' \ |
79 |
-i src/Makefile.{am,in} || die "sed failed" |
80 |
use python && python_copy_sources |
81 |
} |
82 |
|
83 |
src_configure() { |
84 |
# Install library in /lib for pam |
85 |
configuring() { |
86 |
local sitedir |
87 |
econf \ |
88 |
--libdir="${EPREFIX}/$(get_libdir)" \ |
89 |
$(use_enable pam) \ |
90 |
--with-securedir="${EPREFIX}/$(getpam_mod_dir)" \ |
91 |
$(use_enable python python-bindings) \ |
92 |
$(usex python "--with-pythonsitedir=$(use python && python_get_sitedir)" "") \ |
93 |
$(use_enable static-libs static) |
94 |
} |
95 |
if_use_python_python_foreach_impl configuring |
96 |
} |
97 |
|
98 |
src_compile() { |
99 |
if_use_python_python_foreach_impl default |
100 |
} |
101 |
|
102 |
src_test() { |
103 |
if_use_python_python_foreach_impl default |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
if_use_python_python_foreach_impl default |
108 |
if use static-libs; then |
109 |
# Do not install static libs in /lib |
110 |
mkdir -p "${ED}usr/$(get_libdir)" |
111 |
mv "${ED}$(get_libdir)/libpwquality.a" "${ED}/usr/$(get_libdir)/" || die |
112 |
gen_usr_ldscript libpwquality.so |
113 |
fi |
114 |
prune_libtool_files --modules |
115 |
} |
116 |
|
117 |
if_use_python_python_foreach_impl() { |
118 |
run_in_build_dir() { |
119 |
pushd "${BUILD_DIR}" > /dev/null || die |
120 |
"$@" |
121 |
popd > /dev/null |
122 |
} |
123 |
|
124 |
if use python; then |
125 |
python_foreach_impl run_in_build_dir "$@" |
126 |
else |
127 |
"$@" |
128 |
fi |
129 |
} |