1 |
robbat2 08/02/27 03:55:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: cvm-0.82.ebuild |
5 |
Log: |
6 |
Version bump, go manual install since the upstream one sucks so much. |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.19 net-libs/cvm/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/cvm/ChangeLog?rev=1.19&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/cvm/ChangeLog?rev=1.19&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/cvm/ChangeLog?r1=1.18&r2=1.19 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/cvm/ChangeLog,v |
19 |
retrieving revision 1.18 |
20 |
retrieving revision 1.19 |
21 |
diff -p -w -b -B -u -u -r1.18 -r1.19 |
22 |
--- ChangeLog 23 Nov 2006 20:01:22 -0000 1.18 |
23 |
+++ ChangeLog 27 Feb 2008 03:55:08 -0000 1.19 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for net-libs/cvm |
26 |
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/cvm/ChangeLog,v 1.18 2006/11/23 20:01:22 vivo Exp $ |
28 |
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/cvm/ChangeLog,v 1.19 2008/02/27 03:55:08 robbat2 Exp $ |
30 |
+ |
31 |
+ 27 Feb 2008; Robin H. Johnson <robbat2@g.o> +cvm-0.82.ebuild: |
32 |
+ Version bump, go manual install since the upstream one sucks so much. |
33 |
+ |
34 |
+*cvm-0.82 (27 Feb 2008) |
35 |
+ |
36 |
+ 27 Feb 2008; Robin H. Johnson <robbat2@g.o> +cvm-0.82.ebuild: |
37 |
+ Version bump. |
38 |
|
39 |
23 Nov 2006; Francesco Riosa <vivo@g.o> cvm-0.32-r1.ebuild, |
40 |
cvm-0.76.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 net-libs/cvm/cvm-0.82.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/cvm/cvm-0.82.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-libs/cvm/cvm-0.82.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: cvm-0.82.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2008 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/cvm/cvm-0.82.ebuild,v 1.1 2008/02/27 03:55:08 robbat2 Exp $ |
54 |
|
55 |
inherit toolchain-funcs eutils |
56 |
|
57 |
DESCRIPTION="Credential Validation Modules by Bruce Guenter" |
58 |
HOMEPAGE="http://untroubled.org/cvm/" |
59 |
SRC_URI="${HOMEPAGE}archive/${P}.tar.gz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~ppc ~sparc ~x86 ~amd64" |
64 |
IUSE="mysql postgres test vpopmail" |
65 |
|
66 |
RDEPEND="virtual/libc |
67 |
dev-db/cdb" |
68 |
DEPEND="${RDEPEND} |
69 |
>=dev-libs/bglibs-1.041 |
70 |
mysql? ( virtual/mysql ) |
71 |
postgres? ( dev-db/postgresql ) |
72 |
vpopmail? ( net-mail/vpopmail ) |
73 |
test? ( app-editors/vim )" |
74 |
# some of the testcases use ex/vi/xxd |
75 |
|
76 |
src_unpack() { |
77 |
unpack ${A} |
78 |
# disable this test, as it breaks under Portage |
79 |
# and there is no easy fix |
80 |
sed -i.orig \ |
81 |
-e '/qmail-lookup-nodomain/,/^END_OF_TEST_RESULTS/d' \ |
82 |
"${S}"/tests.sh || die "sed failed" |
83 |
# Fix the vpopmail build |
84 |
sed -i.orig \ |
85 |
-e '/.\/ltload cvm-vchkpw/s,-lmysqlclient,,g' \ |
86 |
-e '/.\/ltload cvm-vchkpw/s,-L/usr/local/vpopmail/lib,,g' \ |
87 |
-e '/.\/ltload cvm-vchkpw/s,-L/var/vpopmail/lib,,g' \ |
88 |
-e '/.\/ltload cvm-vchkpw/s,-L/usr/local/lib/mysql,,g' \ |
89 |
-e '/.\/ltload cvm-vchkpw/s,\.la,.la `cat /var/vpopmail/etc/lib_deps`,g' \ |
90 |
"${S}"/Makefile \ |
91 |
|| die "Failed to fix vpopmail linking parts of Makefile" |
92 |
sed -i.orig \ |
93 |
-e '/.\/compile cvm-vchkpw/s,$, `cat /var/vpopmail/etc/inc_deps`,g' \ |
94 |
"${S}"/Makefile \ |
95 |
|| die "Failed to fix vpopmail compiling parts of Makefile" |
96 |
} |
97 |
|
98 |
src_compile() { |
99 |
echo "/usr/include/bglibs" > conf-bgincs |
100 |
echo "/usr/lib/bglibs" > conf-bglibs |
101 |
echo "/usr/include" > conf-include |
102 |
echo "/usr/lib" > conf-lib |
103 |
echo "/usr/bin" > conf-bin |
104 |
echo "$(tc-getCC) ${CFLAGS}" > conf-cc |
105 |
echo "$(tc-getCC) ${LDFLAGS} -lcrypt" > conf-ld |
106 |
emake || die |
107 |
|
108 |
if use mysql; then |
109 |
einfo "Building MySQL support" |
110 |
emake mysql || die "making mysql support failed" |
111 |
fi |
112 |
|
113 |
if use postgres; then |
114 |
einfo "Building Postgresql support" |
115 |
emake pgsql || die "making postgres support failed" |
116 |
fi |
117 |
|
118 |
if use vpopmail; then |
119 |
einfo "Building vpopmail support" |
120 |
emake cvm-vchkpw || die "making vpopmail support failed" |
121 |
fi |
122 |
} |
123 |
|
124 |
src_install() { |
125 |
# Upstreams installer is incredibly broken |
126 |
dolib .libs/*.a .libs/*.so.* |
127 |
for i in a so ; do |
128 |
dosym libcvm-v2client.${i} /usr/$(get_libdir)/libcvm-client.${i} |
129 |
done |
130 |
|
131 |
for i in {bench,test}client chain checkpassword pwfile qmail unix \ |
132 |
vmailmgr{,-local,-udp} v1{benchclient,checkpassword,testclient} \ |
133 |
; do |
134 |
dobin .libs/cvm-${i} |
135 |
done |
136 |
use mysql && dobin .libs/cvm-mysql{,-local,-udp} |
137 |
use postgres && dobin .libs/cvm-pgsql{,-local,-udp} |
138 |
use vpopmail && dobin .libs/cvm-vchkpw |
139 |
|
140 |
insinto /usr/include/cvm |
141 |
doins {credentials,errors,facts,module,protocol,sasl,v1client,v2client}.h |
142 |
dosym v1client.h /usr/include/cvm/client.h |
143 |
dosym cvm/sasl.h /usr/include/cvm-sasl.h |
144 |
|
145 |
dodoc ANNOUNCEMENT NEWS{,.sql,.vmailmgr} |
146 |
dodoc README{,.vchkpw,.vmailmgr} |
147 |
dodoc TODO VERSION ChangeLog* |
148 |
dohtml *.html |
149 |
} |
150 |
|
151 |
src_test() { |
152 |
sh tests.sh || die "Testing Failed" |
153 |
} |
154 |
|
155 |
|
156 |
|
157 |
-- |
158 |
gentoo-commits@l.g.o mailing list |