summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2018-07-26 04:46:24 +0300
committerMikle Kolyada <zlogene@gentoo.org>2018-07-26 04:46:24 +0300
commit4864903fbe09a0db76f2e12adf4636a6f3ab6ddf (patch)
tree60c8e2fba5ec8428f385e35a6e3f09e2f18c630e /net-libs/cvm
parentapp-emulation/ganeti-instance-debootstrap: Drop old (EAPI=2) (diff)
downloadgentoo-4864903fbe09a0db76f2e12adf4636a6f3ab6ddf.tar.gz
gentoo-4864903fbe09a0db76f2e12adf4636a6f3ab6ddf.tar.bz2
gentoo-4864903fbe09a0db76f2e12adf4636a6f3ab6ddf.zip
net-libs/cvm: Drop old (EAPI=2)
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'net-libs/cvm')
-rw-r--r--net-libs/cvm/Manifest1
-rw-r--r--net-libs/cvm/cvm-0.82.ebuild103
2 files changed, 0 insertions, 104 deletions
diff --git a/net-libs/cvm/Manifest b/net-libs/cvm/Manifest
index 16e7b06de0f0..20d601ec49f2 100644
--- a/net-libs/cvm/Manifest
+++ b/net-libs/cvm/Manifest
@@ -1,3 +1,2 @@
DIST cvm-0.76.tar.gz 91957 BLAKE2B 4b1ff780fa0842f2dba7afafe98479b76b95c3dc71ea3fe0321c92039697fde1fa69a99ee78450cadae6b23941344c48f4d4c845f9c3fcc8a69a5f8f208fbee6 SHA512 f3634be766e1381a95c09514547679f458e92b5f4de468b5d3b4e5f7e8f1eb8d1aa7eb5e2b15a374cbf51cc5f6e6269e7f5e7d9daf8d2adfaed37d2e11f472fa
-DIST cvm-0.82.tar.gz 93615 BLAKE2B 0d2dd8d19fed2587806bcbb314241c7d9c2ea9d17e09f7201a516667861c5b8652d460a60b9546dfb2d99e579d315e9e2115440beb7b690cfa209eb2300327cb SHA512 a9d94d993f91395a3a1c5dd16570ddf05d725b799754d4fd7d76959774fabc6f73356dbcd61a4ff28cca8551bd7d7c55249009da5d801a0d883e63aaf778c013
DIST cvm-0.96.tar.gz 127999 BLAKE2B bf6a0f26538f4f10dafe9d021e6f3ef22ee57230f64cf50cba95be3cb5ddf54a0479d033936d26ee9526745ead61fc6af7bfd1fdc3da10a6915108b2d873772c SHA512 23adf39571bf414fa61084ac824a54b3cb37ef32a46c72ad50734743fb66bb923168eb866d72fba7f88397b37831e2ce7603c7d543996b28761ed1d5b053d73d
diff --git a/net-libs/cvm/cvm-0.82.ebuild b/net-libs/cvm/cvm-0.82.ebuild
deleted file mode 100644
index 089b8e086f77..000000000000
--- a/net-libs/cvm/cvm-0.82.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-
-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="dev-db/cdb"
-DEPEND="${RDEPEND}
- >=dev-libs/bglibs-1.041
- mysql? ( virtual/mysql )
- postgres? ( dev-db/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"
-}