Portage is a package management system used by Gentoo Linux
# ChangeLog for net-libs/cvm
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/cvm/ChangeLog,v 1.21 2008/05/21 18:56:43 dev-zero Exp $
21 May 2008; Tiziano Müller
cvm-0.82.ebuild:
Changed dependency for postgresql from dev-db/postgresql to
virtual/postgresql-server
27 Feb 2008; Robin H. Johnson
-cvm-0.32.ebuild, -cvm-0.32-r1.ebuild, cvm-0.76.ebuild:
Clean up old ebuilds.
27 Feb 2008; Robin H. Johnson
Version bump, go manual install since the upstream one sucks so much.
*cvm-0.82 (27 Feb 2008)
27 Feb 2008; Robin H. Johnson
Version bump.
23 Nov 2006; Francesco Riosa
cvm-0.76.ebuild:
dev-db/mysql => virtual/mysql
30 Jun 2006; Robin H. Johnson
Add USE=test.
13 May 2006; Jason Wever
Stable on SPARC wrt bug #123462.
29 Apr 2006; Mark Loeser
Stable on x86; bug #123462
22 Apr 2006;
Stable on ppc. bug #123462
22 Apr 2006; Robin H. Johnson
Add another item to DEPEND for the testcases. cvm-0.76.ebuild
22 Apr 2006; Robin H. Johnson
Missed one other dep that the package actually requires.
22 Apr 2006; Robin H. Johnson
Support LDFLAGS, and required a newer bglibs that include big-endian fixes.
20 Feb 2006; Robin H. Johnson
Add src_test functionality.
*cvm-0.76 (12 Dec 2005)
12 Dec 2005; Robin H. Johnson
Bug #91720 - version bump.
26 Sep 2005; Robin H. Johnson
Stable on x86, 150 days in ~x86.
30 May 2005; Sven Wegener
Moved from gcc.eclass to toolchain-funcs.eclass, bug #92745.
*cvm-0.32-r1 (29 Apr 2005)
29 Apr 2005; Robin H. Johnson
Bug #90077 - better ebuild.
*cvm-0.32 (06 Apr 2005)
06 Apr 2005; Robin H. Johnson
+cvm-0.32.ebuild:
Version bump, bug #79653.
17 Oct 2004; David Holm
Added to ~ppc.
01 Jul 2004; Jeremy Huddleston
virtual/glibc -> virtual/libc
*cvm-0.18 (05 Jan 2004)
05 Jan 2004; Robin H. Johnson
initial commit, bug #33481, ebuild submitted by Thilo Bangert
DIST cvm-0.76.tar.gz 91957 RMD160 d25f579ecbbb378099ca0375a50c176273c26a80 SHA1 652aec4ff9f7e7a66c50c6ea71494d5c1c43ca3f SHA256 0b0bbc21ad7bbe6acab66a85369502c2907e522fa2fd5c33c6f584ad1ccc000e
DIST cvm-0.82.tar.gz 93615 RMD160 3c46e49514bebd3d89a557f95cbaf45884d1376e SHA1 ee66c6b987655fc9c43fe303cf339dd7d4a7dfae SHA256 5c209c2ac911ba5473b1ef1b78407afa6821eca26de476291a7362fee616d0fe
EBUILD cvm-0.76.ebuild 1564 RMD160 22b163a86d7e7c5e79e0dbb9e22a02678e1033bd SHA1 357ea6dcc0ff14093457250dc3d789c618a71965 SHA256 3263ccb095a1b1e4cf026ee928c538081333c826ce48c42cb3602ca71bec49e5
EBUILD cvm-0.82.ebuild 3062 RMD160 27fd9b4cac918d3b8e58e8a1cda0ad103307c18c SHA1 a10483ad9febb5d5da3368a8869d889596c85f51 SHA256 e4971a4ac001824b1996a67c1653c916989822f00150bff569a0916d57e5fe46
MISC ChangeLog 2807 RMD160 9a2d739937a1241e4d66515fcd019e0bd5abba6b SHA1 4aeacc463af7772ab227a4930a8d0df183dece7c SHA256 810004f6a64726680370421f561959c195848b7f2a51e62843fcd82be257c6a2
MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/cvm/cvm-0.76.ebuild,v 1.13 2008/05/21 18:56:43 dev-zero Exp $
inherit toolchain-funcs eutils
DESCRIPTION="Credential Validation Modules by Bruce Guenter"
HOMEPAGE="http://untroubled.org/cvm/"
SRC_URI="${HOMEPAGE}archive/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="ppc sparc x86"
IUSE="mysql postgres test"
RDEPEND="virtual/libc
dev-db/cdb"
DEPEND="${RDEPEND}
>=dev-libs/bglibs-1.041
mysql? ( virtual/mysql )
postgres? ( virtual/postgresql-server )
test? ( app-editors/vim )"
# some of the testcases use ex/vi/xxd
src_unpack() {
unpack ${A}
# disable this test, as it breaks under Portage
# and there is no easy fix
sed -i.orig -e '/qmail-lookup-nodomain/,/^END_OF_TEST_RESULTS/d' "${S}"/tests.sh || die "sed failed"
}
src_compile() {
echo "/usr/include/bglibs" > conf-bgincs
echo "/usr/lib/bglibs" > conf-bglibs
echo "${D}/usr/include" > conf-include
echo "${D}/usr/lib" > conf-lib
echo "${D}/usr/bin" > conf-bin
echo "$(tc-getCC) ${CFLAGS}" > conf-cc
echo "$(tc-getCC) ${LDFLAGS} -lcrypt" > conf-ld
emake || die
if use mysql; then
make mysql || die "making mysql support failed"
fi
if use postgres; then
make pgsql || die "making postgres support failed"
fi
}
src_install() {
einstall || die
dodoc ANNOUNCEMENT NEWS NEWS.sql NEWS.vmailmgr README README.vchkpw
dodoc README.vmailmgr TODO VERSION
dohtml *.html
}
src_test() {
sh tests.sh || die "Testing Failed"
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/cvm/cvm-0.82.ebuild,v 1.2 2008/05/21 18:56:43 dev-zero Exp $
inherit toolchain-funcs eutils
DESCRIPTION="Credential Validation Modules by Bruce Guenter"
HOMEPAGE="http://untroubled.org/cvm/"
SRC_URI="${HOMEPAGE}archive/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~sparc ~x86 ~amd64"
IUSE="mysql postgres test vpopmail"
RDEPEND="virtual/libc
dev-db/cdb"
DEPEND="${RDEPEND}
>=dev-libs/bglibs-1.041
mysql? ( virtual/mysql )
postgres? ( virtual/postgresql-server )
vpopmail? ( net-mail/vpopmail )
test? ( app-editors/vim )"
# some of the testcases use ex/vi/xxd
src_unpack() {
unpack ${A}
# disable this test, as it breaks under Portage
# and there is no easy fix
sed -i.orig \
-e '/qmail-lookup-nodomain/,/^END_OF_TEST_RESULTS/d' \
"${S}"/tests.sh || die "sed failed"
# Fix the vpopmail build
sed -i.orig \
-e '/.\/ltload cvm-vchkpw/s,-lmysqlclient,,g' \
-e '/.\/ltload cvm-vchkpw/s,-L/usr/local/vpopmail/lib,,g' \
-e '/.\/ltload cvm-vchkpw/s,-L/var/vpopmail/lib,,g' \
-e '/.\/ltload cvm-vchkpw/s,-L/usr/local/lib/mysql,,g' \
-e '/.\/ltload cvm-vchkpw/s,\.la,.la `cat /var/vpopmail/etc/lib_deps`,g' \
"${S}"/Makefile \
|| die "Failed to fix vpopmail linking parts of Makefile"
sed -i.orig \
-e '/.\/compile cvm-vchkpw/s,$, `cat /var/vpopmail/etc/inc_deps`,g' \
"${S}"/Makefile \
|| die "Failed to fix vpopmail compiling parts of Makefile"
}
src_compile() {
echo "/usr/include/bglibs" > conf-bgincs
echo "/usr/lib/bglibs" > conf-bglibs
echo "/usr/include" > conf-include
echo "/usr/lib" > conf-lib
echo "/usr/bin" > conf-bin
echo "$(tc-getCC) ${CFLAGS}" > conf-cc
echo "$(tc-getCC) ${LDFLAGS} -lcrypt" > conf-ld
emake || die
if use mysql; then
einfo "Building MySQL support"
emake mysql || die "making mysql support failed"
fi
if use postgres; then
einfo "Building Postgresql support"
emake pgsql || die "making postgres support failed"
fi
if use vpopmail; then
einfo "Building vpopmail support"
emake cvm-vchkpw || die "making vpopmail support failed"
fi
}
src_install() {
# Upstreams installer is incredibly broken
dolib .libs/*.a .libs/*.so.*
for i in a so ; do
dosym libcvm-v2client.${i} /usr/$(get_libdir)/libcvm-client.${i}
done
for i in {bench,test}client chain checkpassword pwfile qmail unix \
vmailmgr{,-local,-udp} v1{benchclient,checkpassword,testclient} \
; do
dobin .libs/cvm-${i}
done
use mysql && dobin .libs/cvm-mysql{,-local,-udp}
use postgres && dobin .libs/cvm-pgsql{,-local,-udp}
use vpopmail && dobin .libs/cvm-vchkpw
insinto /usr/include/cvm
doins {credentials,errors,facts,module,protocol,sasl,v1client,v2client}.h
dosym v1client.h /usr/include/cvm/client.h
dosym cvm/sasl.h /usr/include/cvm-sasl.h
dodoc ANNOUNCEMENT NEWS{,.sql,.vmailmgr}
dodoc README{,.vchkpw,.vmailmgr}
dodoc TODO VERSION ChangeLog*
dohtml *.html
}
src_test() {
sh tests.sh || die "Testing Failed"
}