summaryrefslogtreecommitdiff
path: root/net-libs/cvm
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-20 14:27:17 +0000
commit5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch)
tree66e860a5099bcad013f1cf667255dc372a7c11b3 /net-libs/cvm
parent7218e1b46bceac05841e90472501742d905fb3fc (diff)
gentoo resync : 20.03.2021
Diffstat (limited to 'net-libs/cvm')
-rw-r--r--net-libs/cvm/Manifest2
-rw-r--r--net-libs/cvm/cvm-0.96-r1.ebuild123
2 files changed, 0 insertions, 125 deletions
diff --git a/net-libs/cvm/Manifest b/net-libs/cvm/Manifest
index 9a990fc30e1c..e35b71d283ef 100644
--- a/net-libs/cvm/Manifest
+++ b/net-libs/cvm/Manifest
@@ -1,6 +1,4 @@
AUX cvm-0.96-fix-test-padding.patch 971 BLAKE2B a0a6dbd617427347a4b93b436f326d2cda5bd123adb6410a29f4b5955f014d078935cbf7178a1857941fa09ace013a5800f615cc0a5067dbfca10b228ec0e758 SHA512 18fa658e70030709fb83b81311a13358b09cc872ea8bb9db91ab78ea56dea13459f0bdf8e02bf8c6045c8838d7ea1941f73d0c405fe3b38f2edcb29a9cc200fb
-DIST cvm-0.96.tar.gz 127999 BLAKE2B bf6a0f26538f4f10dafe9d021e6f3ef22ee57230f64cf50cba95be3cb5ddf54a0479d033936d26ee9526745ead61fc6af7bfd1fdc3da10a6915108b2d873772c SHA512 23adf39571bf414fa61084ac824a54b3cb37ef32a46c72ad50734743fb66bb923168eb866d72fba7f88397b37831e2ce7603c7d543996b28761ed1d5b053d73d
DIST cvm-0.97.tar.gz 127759 BLAKE2B 857a30ae52e7edc5e8bc66dfbe7e2ada6ba7763260b073eabbca6ee289b68ceece92442dffc5aa1d358faec24f90993d88d3555dd9399837f25e9f689ab6d66b SHA512 b04ca9edb8c84e06628ed1a827d28bf7d787c3853bec1e064fc1eb7e3082ad81998e7c902e029c0f01c346a52a4419e3c9890e2a7a75ab38625e0078dc4e9891
-EBUILD cvm-0.96-r1.ebuild 3208 BLAKE2B 0ad53487cbaa52ca349b1e12abfced27584808a5d0c8e02ee56fc90bd091b79e413d435dd4a719237a5a2e945a6f1edae663fa14f007aee7badd65b3ed90cbb1 SHA512 b761512901a1a10b4d9c1f1952a3e63ef09a1257dacba6afec9588389c4967fc49b056a314a05c1b1fb7c644e0bd4f32b8cfd4767c62f09f4f46b5ccd7571705
EBUILD cvm-0.97.ebuild 3237 BLAKE2B e4c0d2bf498717fbd4aba72e42367822310f5f4e34d498b7f55381e259f2ceb28d60b0cc7237cda14f52e3a55e0bbaba86a1e6063f8e3d207dc3386b54ec51a6 SHA512 e736a653e6f85dbf1efa5b6af80852bd3e7263006792c4232ef5c41edb950f722576d0e4f00042206cf2665d49525cff688900ceb02637b804e605dc014b7a49
MISC metadata.xml 237 BLAKE2B 0c8ef45b6f0e15404fc767ceb7b133a844621199b4b5a5f8906c6e9ffb186572a46fd6871021bb4fe3e3b1f76ba75f38bddcaaf8eddeef43568074a54dea0c9e SHA512 34de058bcfc91edc8aa792fa3a20d0bb0318166634113402f22da57d97a4d54f8710c922c38fdd810aeb3bdcb9591494d5b20f63441ff77d242ab83f764126f3
diff --git a/net-libs/cvm/cvm-0.96-r1.ebuild b/net-libs/cvm/cvm-0.96-r1.ebuild
deleted file mode 100644
index 4f150585b773..000000000000
--- a/net-libs/cvm/cvm-0.96-r1.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="Credential Validation Modules by Bruce Guenter"
-HOMEPAGE="http://untroubled.org/cvm/"
-SRC_URI="http://untroubled.org/cvm/archive/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ppc ~sparc ~x86"
-IUSE="mysql postgres test vpopmail"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-db/cdb:=
- >=dev-libs/bglibs-1.041:="
-DEPEND="${RDEPEND}
- mysql? ( dev-db/mysql-connector-c:0= )
- postgres? ( dev-db/postgresql[server] )
- vpopmail? ( net-mail/vpopmail )
- test? (
- app-editors/vim
- dev-db/sqlite
- )"
-# some of the testcases use
-# - ex/vi/xxd
-# - cdbmake
-# - sqlite
-
-PATCHES=( "${FILESDIR}"/${PN}-0.96-fix-test-padding.patch )
-
-src_prepare() {
- default
- # 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_configure() {
- echo "/usr/include/bglibs" > conf-bgincs || die
- echo "/usr/$(get_libdir)/bglibs" > conf-bglibs || die
- echo "/usr/include" > conf-include || die
- echo "/usr/$(get_libdir)" > conf-lib || die
- echo "/usr/bin" > conf-bin || die
- echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die
- echo "$(tc-getCC) ${LDFLAGS} -lcrypt" > conf-ld || die
-}
-
-src_compile() {
- emake -j1
-
- if use mysql; then
- einfo "Building MySQL support"
- emake -j1 mysql
- fi
-
- if use postgres; then
- einfo "Building Postgresql support"
- emake -j1 pgsql
- fi
-
- if use vpopmail; then
- einfo "Building vpopmail support"
- emake -j1 cvm-vchkpw
- fi
-}
-
-src_test() {
- # bug 624384
- # the test suite tests stuff that isn't potentially enabled
- emake -j1 sqlite
- sh tests.sh || die "Testing Failed"
-}
-
-src_install() {
- # Upstreams installer is incredibly broken
- dolib.a .libs/*.a
- dolib.so .libs/*.so.*
-
- local i
- 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*
- docinto html
- dodoc *.html
-}