mv fds to own overlay
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@703 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
465a214c83
commit
4542d290c6
@ -1,42 +0,0 @@
|
||||
# ChangeLog for dev-libs/adminutil
|
||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
15 Sep 2008; Mario Fetka <mario.fetka@gmail.com> +adminutil-1.1.7.ebuild:
|
||||
bump
|
||||
|
||||
20 Aug 2008; Mario Fetka <mario.fetka@gmail.com> -adminutil-1.1.5.ebuild,
|
||||
adminutil-1.1.6.ebuild:
|
||||
Repoman Cleanup
|
||||
|
||||
20 Mar 2008; Mario Fetka <mario-fetka@gmx.at> +adminutil-1.1.6.ebuild:
|
||||
Bump
|
||||
|
||||
19 Jan 2008; Mario Fetka <mario-fetka@gmx.at> ++, ++,
|
||||
-adminutil-1.1.5_pre20071111.ebuild:
|
||||
Initial 1.1 FDS
|
||||
|
||||
11 Nov 2007; Mario Fetka <mario-fetka@gmx.at> ++, ++,
|
||||
-adminutil-1.1.5_pre20071017.ebuild:
|
||||
bump
|
||||
|
||||
17 Oct 2007; Mario Fetka <mario-fetka@gmx.at> ++, ++,
|
||||
-adminutil-1.1.5_pre20071014.ebuild:
|
||||
Bump to latest snapshot
|
||||
|
||||
14 Oct 2007; Mario Fetka <mario-fetka@gmx.at> ++, ++,
|
||||
files/adminutil-cvs.sh, -adminutil-1.1.4_pre20071009.ebuild:
|
||||
Bump to latest snapshot
|
||||
|
||||
09 Oct 2007; Mario Fetka <mario-fetka@gmx.at> ++, ++,
|
||||
-adminutil-1.1.4_pre20071006.ebuild:
|
||||
Bump to snapshot 20071009
|
||||
|
||||
06 Oct 2007; Mario Fetka <mario-fetka@gmx.at> ++, ++, +metadata.xml,
|
||||
-adminutil-1.1.4_pre20070818.ebuild:
|
||||
Bump to latest snapshot
|
||||
|
||||
18 Aug 2007; Mario Fetka <mario-fetka@gmx.at>
|
||||
-adminutil-1.1.4_pre20070808.ebuild, +adminutil-1.1.4_pre20070818.ebuild:
|
||||
Bump to newest snapshot
|
||||
|
@ -1,8 +0,0 @@
|
||||
AUX adminutil-1.1.4-no_icu_pc.patch 473 RMD160 de74880b54486389d97bae7344eef10e2b95acdc SHA1 8c13fb4670360b9ea1ce6fcf4c47c180b54c5189 SHA256 f2b3c6c09e622acd0604fd080b1c60aea34a2c3b6ab242e9ea50e6a1af1fdb21
|
||||
AUX adminutil-cvs.sh 332 RMD160 c97e1cfca3c7c6b08281ec4cf0ebbd13b9ce9fc0 SHA1 a7b749ecfe9bc372ea87502a9e27d985f67b7997 SHA256 0baf29340319f5eb0f52a802afee43c4cb421b7143cf7d58a8abd5a28ba4d69e
|
||||
DIST adminutil-1.1.6.tar.bz2 308979 RMD160 7ba7bbef92c6347487aadf44b4508d6bda5246c9 SHA1 16c221ab391605f169712ce6cf90fd3b2e67a90f SHA256 996e5eef52b592723abaff717d3f66c06040403e62f9c05d13379218c073dcb2
|
||||
DIST adminutil-1.1.7.tar.bz2 309089 RMD160 637dc545a59e8757ac9fd95cba00fc6228acb415 SHA1 a79387ae8515b3b694ad903d3a0a6157dfee8b92 SHA256 b5f39d73c61b97845f0889783086473c3cde4c89a3ea8727fa880a672c41bff6
|
||||
EBUILD adminutil-1.1.6.ebuild 1042 RMD160 bd6a576b166db7325e1390a515a6f2c39ee22f18 SHA1 4717c60fae8d63d8c910a7534b7565c11fd5dffa SHA256 5dc33c375e987459abaf6180497e4b104d4150d5908ec6d96e773663923d139e
|
||||
EBUILD adminutil-1.1.7.ebuild 1042 RMD160 bd6a576b166db7325e1390a515a6f2c39ee22f18 SHA1 4717c60fae8d63d8c910a7534b7565c11fd5dffa SHA256 5dc33c375e987459abaf6180497e4b104d4150d5908ec6d96e773663923d139e
|
||||
MISC ChangeLog 1302 RMD160 77a09bc98dd92e9d4cc9034b2e6fcb280f6d4fe7 SHA1 bd8faf7ae4bb80581aae56293bc366e2da10bcc2 SHA256 9053c34d6bfe129e45aa05673a830690734edc3dcb32c114efc6526b48d74520
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Fedora Directory Server (base)"
|
||||
HOMEPAGE="http://directory.fedora.redhat.com/"
|
||||
SRC_URI="http://directory.fedoraproject.org/sources/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2-with-exceptions"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND=">=dev-libs/nss-3.11.4
|
||||
>=dev-libs/nspr-4.6.4
|
||||
>=dev-libs/svrcore-4.0.3
|
||||
>=dev-libs/mozldap-6.0.2
|
||||
>=dev-libs/cyrus-sasl-2.1.19
|
||||
>=dev-libs/icu-3.4"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/adminutil-1.1.4-no_icu_pc.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf $(use_enable debug) \
|
||||
${myconf} \
|
||||
--with-fhs \
|
||||
|| die "econf failed"
|
||||
emake || die "emake failed"
|
||||
|
||||
# --with-nspr=yes \
|
||||
# --with-nss=yes \
|
||||
# --with-ldapsdk=yes \
|
||||
# --with-db=yes \
|
||||
# --with-svrcore=yes \
|
||||
# --with-icu=yes \
|
||||
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake failed"
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Fedora Directory Server (base)"
|
||||
HOMEPAGE="http://directory.fedora.redhat.com/"
|
||||
SRC_URI="http://directory.fedoraproject.org/sources/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2-with-exceptions"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND=">=dev-libs/nss-3.11.4
|
||||
>=dev-libs/nspr-4.6.4
|
||||
>=dev-libs/svrcore-4.0.3
|
||||
>=dev-libs/mozldap-6.0.2
|
||||
>=dev-libs/cyrus-sasl-2.1.19
|
||||
>=dev-libs/icu-3.4"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/adminutil-1.1.4-no_icu_pc.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf $(use_enable debug) \
|
||||
${myconf} \
|
||||
--with-fhs \
|
||||
|| die "econf failed"
|
||||
emake || die "emake failed"
|
||||
|
||||
# --with-nspr=yes \
|
||||
# --with-nss=yes \
|
||||
# --with-ldapsdk=yes \
|
||||
# --with-db=yes \
|
||||
# --with-svrcore=yes \
|
||||
# --with-icu=yes \
|
||||
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake failed"
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
diff -uNr adminutil.pc.in.orig adminutil.pc.in
|
||||
--- adminutil.pc.in.orig 2007-08-08 21:08:26.000000000 +0200
|
||||
+++ adminutil.pc.in 2007-08-08 21:08:37.000000000 +0200
|
||||
@@ -6,6 +6,6 @@
|
||||
Name: @PACKAGE_NAME@
|
||||
Description: Utility library for directory server administration
|
||||
Version: @PACKAGE_VERSION@
|
||||
-Requires: nspr, nss, svrcore, mozldap, icu
|
||||
+Requires: nspr, nss, svrcore, mozldap
|
||||
Libs: -ladmsslutil -ladminutil
|
||||
Cflags: -I${includedir}/admsslutil -I${includedir}/adminutil
|
@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
DATE=`date +%Y%m%d`
|
||||
CVSTAG=HEAD
|
||||
VERSION=1.1.5
|
||||
PKGNAME=adminutil
|
||||
export CVSROOT=:pserver:anonymous@cvs.fedora.redhat.com:/cvs/dirsec
|
||||
|
||||
cvs -d "$CVSROOT" -z3 export -r$CVSTAG -d $PKGNAME-$VERSION-pre$DATE adminutil
|
||||
|
||||
tar -cjf $PKGNAME-$VERSION-pre$DATE.tar.bz2 $PKGNAME-$VERSION-pre$DATE
|
||||
|
||||
rm -rf $PKGNAME-$VERSION-pre$DATE
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>maintainer-wanted</herd>
|
||||
</pkgmetadata>
|
@ -1,45 +0,0 @@
|
||||
# ChangeLog for dev-libs/apr-util
|
||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
07 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
-files/apr-util-1.2.10-mozldap60-2.patch,
|
||||
-files/apr-util-1.3.4-mozldap60-3.patch,
|
||||
+files/apr-util-1.3.4-mozldap60-4.patch, -apr-util-1.3.2-r100.ebuild,
|
||||
-apr-util-1.3.4-r100.ebuild, -apr-util-1.3.4-r101.ebuild,
|
||||
+apr-util-1.3.4-r102.ebuild:
|
||||
correct patch
|
||||
|
||||
07 Nov 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
+files/apr-util-1.3.4-mozldap60-3.patch, +apr-util-1.3.4-r101.ebuild:
|
||||
correct mozldap patch
|
||||
|
||||
30 Aug 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
-files/apr-util-1.2.8-mozldap60-1.patch,
|
||||
-files/apr-util-ebuild-1.2.10-mozldap.patch, -files/apr-util-1.2.12.patch,
|
||||
-apr-util-1.2.8-r99.ebuild, -apr-util-1.2.10-r99.ebuild,
|
||||
-apr-util-1.2.12-r100.ebuild, -apr-util-1.3.0-r100.ebuild:
|
||||
delete old
|
||||
|
||||
30 Aug 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
files/apr-util-1.2.12.patch, +files/apr-util-1.3.2.patch,
|
||||
+apr-util-1.3.4-r100.ebuild:
|
||||
Bump
|
||||
|
||||
25 Jun 2008; Mario Fetka <mario-fetka@gmx.at> +apr-util-1.3.2-r100.ebuild:
|
||||
Bump
|
||||
|
||||
11 Jun 2008; Mario Fetka <mario-fetka@gmx.at> -apr-util-1.2.12.patch, ++:
|
||||
Move around
|
||||
|
||||
11 Jun 2008; Mario Fetka <mario-fetka@gmx.at> +apr-util-1.2.12.patch,
|
||||
+apr-util-1.3.0-r100.ebuild:
|
||||
Bump
|
||||
|
||||
19 Jan 2008; Mario Fetka <mario-fetka@gmx.at>
|
||||
+files/apr-util-ebuild-1.2.10-mozldap.patch, +apr-util-1.2.12-r100.ebuild:
|
||||
Bump
|
||||
|
||||
05 Oct 2007; Mario Fetka <mario-fetka@gmx.at> +metadata.xml:
|
||||
add mozldap support
|
||||
|
@ -1,6 +0,0 @@
|
||||
AUX apr-util-1.3.2.patch 1534 RMD160 b4e71d704eb3d0d858391e68e196e64c9e9b76e0 SHA1 83a3b299b7517ad699e1059728d2098441f3f5f7 SHA256 fd4299a0ee259340a515a74b05383eccd80586676b050f71c1f33a84b6b3ae9b
|
||||
AUX apr-util-1.3.4-mozldap60-4.patch 2890 RMD160 7471067337cfeb093f6d0c4d6c1bc5cef4930508 SHA1 7dd504feb90a2a845f277763a3f1f5237469b865 SHA256 4839bb33cadb780e55509d831cc4de301875e99648931bd15caef2b3fd6e0e4c
|
||||
DIST apr-util-1.3.4.tar.gz 778902 RMD160 741b9b8e9449ce3cae565aeac57deaeb688071d3 SHA1 c538c566447cf38b849288a40cf81e5267d9117f SHA256 3f07ffdb18fb853290c9b83e82cd5cae66b8fbc357bd391e846c0afdd24fed7e
|
||||
EBUILD apr-util-1.3.4-r102.ebuild 2670 RMD160 91c34176c6f09b36ed125da64173c0affdf5e26f SHA1 ca762f272759b45b8bd5d8d6f5460dd5cc3ef6e9 SHA256 fcb4afed0914487043265a807b449bf241b8f2d9fc3da06c3f88252118693e52
|
||||
MISC ChangeLog 1545 RMD160 6c66940cdeb50e12ea9193fb06d99c68d7dcd87d SHA1 701022ae1e995c42d3befa04eafac7248b13fb3f SHA256 b79bf666473766089544a06375f3437025f86d00d41650648b5bf9499b4fd428
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
@ -1,102 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
# usually apr-util has the same PV as apr, but in case of security fixes, this
|
||||
# may change.
|
||||
#APR_PV=${PV}
|
||||
APR_PV="1.3.3"
|
||||
|
||||
inherit eutils flag-o-matic libtool db-use autotools
|
||||
|
||||
DESCRIPTION="Apache Portable Runtime Utility Library"
|
||||
HOMEPAGE="http://apr.apache.org/"
|
||||
SRC_URI="mirror://apache/apr/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
|
||||
IUSE="berkdb doc freetds gdbm ldap mozldap mysql odbc postgres sqlite sqlite3"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="dev-libs/expat
|
||||
>=dev-libs/apr-${APR_PV}
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
freetds? ( dev-db/freetds )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ldap? ( =net-nds/openldap-2* )
|
||||
mozldap? ( =dev-libs/mozldap-6*
|
||||
=dev-libs/nspr-4*
|
||||
=dev-libs/nss-3* )
|
||||
mysql? ( =virtual/mysql-5* )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
postgres? ( virtual/postgresql-base )
|
||||
sqlite? ( =dev-db/sqlite-2* )
|
||||
sqlite3? ( =dev-db/sqlite-3* )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}"/"${PN}"-1.3.4-mozldap60-4.patch
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=""
|
||||
|
||||
use ldap && myconf="${myconf} --with-ldap"
|
||||
|
||||
use mozldap && myconf="${myconf} --with-ldap \
|
||||
--with-ldap-include=/usr/include/mozldap/ \
|
||||
--with-ldap-lib=/usr/$(get_libdir)/mozldap"
|
||||
|
||||
if use berkdb; then
|
||||
dbver="$(db_findver sys-libs/db)" || die "Unable to find db version"
|
||||
dbver="$(db_ver_to_slot "$dbver")"
|
||||
dbver="${dbver/\./}"
|
||||
myconf="${myconf} --with-dbm=db${dbver}
|
||||
--with-berkeley-db=$(db_includedir):/usr/$(get_libdir)"
|
||||
else
|
||||
myconf="${myconf} --without-berkeley-db"
|
||||
fi
|
||||
|
||||
# use mozldap && append-ldflags "-L/usr/$(get_libdir)/nss/ -L/usr/$(get_libdir)/nspr"
|
||||
econf --datadir=/usr/share/apr-util-1 \
|
||||
--with-apr=/usr \
|
||||
--with-expat=/usr \
|
||||
$(use_with freetds) \
|
||||
$(use_with gdbm) \
|
||||
$(use_with mysql) \
|
||||
$(use_with odbc) \
|
||||
$(use_with postgres pgsql) \
|
||||
$(use_with sqlite sqlite2) \
|
||||
$(use_with sqlite3) \
|
||||
${myconf}
|
||||
|
||||
#if use mozldap; then
|
||||
# emake EXTRA_LDFLAGS="-L/usr/$(get_libdir)/nss/ -L/usr/$(get_libdir)/nspr" || die "emake failed!"
|
||||
#else
|
||||
emake || die "emake failed!"
|
||||
#fi
|
||||
|
||||
if use doc; then
|
||||
emake dox || die "emake dox failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc CHANGES NOTICE
|
||||
|
||||
if use doc; then
|
||||
dohtml docs/dox/html/* || die "dohtml failed"
|
||||
fi
|
||||
|
||||
# This file is only used on AIX systems, which gentoo is not,
|
||||
# and causes collisions between the SLOTs, so kill it
|
||||
rm "${D}"/usr/$(get_libdir)/aprutil.exp
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
--- apr-util-1.3.4.ebuild 2008-08-16 19:05:57.000000000 +0200
|
||||
+++ apr-util-1.3.4-r100.ebuild 2008-08-25 12:35:59.499004133 +0200
|
||||
@@ -10,8 +10,8 @@
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1"
|
||||
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd"
|
||||
-IUSE="berkdb doc freetds gdbm ldap mysql odbc postgres sqlite sqlite3"
|
||||
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
|
||||
+IUSE="berkdb doc freetds gdbm ldap mozldap mysql odbc postgres sqlite sqlite3"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="dev-libs/expat
|
||||
@@ -20,6 +20,9 @@
|
||||
freetds? ( dev-db/freetds )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ldap? ( =net-nds/openldap-2* )
|
||||
+ mozldap? ( =dev-libs/mozldap-6*
|
||||
+ =dev-libs/nspr-4*
|
||||
+ =dev-libs/nss-3* )
|
||||
mysql? ( =virtual/mysql-5* )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
postgres? ( virtual/postgresql-base )
|
||||
@@ -28,11 +31,25 @@
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
+src_unpack() {
|
||||
+ unpack ${A}
|
||||
+ cd "${S}"
|
||||
+
|
||||
+ epatch "${FILESDIR}"/"${PN}"-1.2.10-mozldap60-2.patch
|
||||
+ eautoconf
|
||||
+}
|
||||
+
|
||||
src_compile() {
|
||||
local myconf=""
|
||||
|
||||
use ldap && myconf="${myconf} --with-ldap"
|
||||
|
||||
+ use mozldap && myconf="${myconf} --with-ldap \
|
||||
+ --with-ldap-include=/usr/include/mozldap/ \
|
||||
+ --with-ldap-lib=/usr/$(get_libdir)/mozldap/ \
|
||||
+ --with-nss-lib=/usr/$(get_libdir)/nss/ \
|
||||
+ --with-nspr-lib=/usr/$(get_libdir)/nspr"
|
||||
+
|
||||
if use berkdb; then
|
||||
dbver="$(db_findver sys-libs/db)" || die "Unable to find db version"
|
||||
dbver="$(db_ver_to_slot "$dbver")"
|
@ -1,87 +0,0 @@
|
||||
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
|
||||
Date: 2008-11-06
|
||||
Initial Package Version: 1.2.10
|
||||
Origin: me
|
||||
Upstream Status: #43172
|
||||
Description: make apr-util find mozldap 6.x and use it
|
||||
|
||||
diff -Naur apr-util-1.3.4.orig/build/apu-conf.m4 apr-util-1.3.4/build/apu-conf.m4
|
||||
--- apr-util-1.3.4.orig/build/apu-conf.m4 2008-07-08 22:31:59.000000000 +0000
|
||||
+++ apr-util-1.3.4/build/apu-conf.m4 2008-11-06 21:24:11.025003993 +0000
|
||||
@@ -205,6 +205,25 @@
|
||||
])
|
||||
|
||||
|
||||
+dnl
|
||||
+dnl Find a particular LBER library
|
||||
+dnl
|
||||
+AC_DEFUN([APU_FIND_LBERLIB], [
|
||||
+ if test ${apu_has_lber} != "1"; then
|
||||
+ lberlib=$1
|
||||
+ extralib=$2
|
||||
+ unset ac_cv_lib_${lberlib}_ber_init
|
||||
+ unset ac_cv_lib_${lberlib}___ber_init
|
||||
+ AC_CHECK_LIB(${lberlib}, ber_init,
|
||||
+ [
|
||||
+ APR_ADDTO(APRUTIL_EXPORT_LIBS,[-l${lberlib} ${extralib}])
|
||||
+ APR_ADDTO(APRUTIL_LIBS,[-l${lberlib} ${extralib}])
|
||||
+ apu_has_lber="1";
|
||||
+ ], , ${extralib})
|
||||
+ fi
|
||||
+])
|
||||
+
|
||||
+
|
||||
dnl
|
||||
dnl APU_FIND_LDAP: figure out where LDAP is located
|
||||
dnl
|
||||
@@ -213,6 +232,7 @@
|
||||
echo $ac_n "${nl}checking for ldap support..."
|
||||
|
||||
apu_has_ldap="0";
|
||||
+apu_has_lber="0";
|
||||
apu_has_ldapssl_client_init="0"
|
||||
apu_has_ldapssl_client_deinit="0"
|
||||
apu_has_ldapssl_add_trusted_cert="0"
|
||||
@@ -250,6 +270,7 @@
|
||||
LIBLDAP="$withval"
|
||||
if test "$LIBLDAP" = "yes"; then
|
||||
dnl The iPlanet C SDK 5.0 is as yet untested...
|
||||
+ APU_FIND_LDAPLIB("ldap60", "-liutil60 -llber60 -lldif60 -lprldap60 -lssldap60")
|
||||
APU_FIND_LDAPLIB("ldap50", "-lnspr4 -lplc4 -lplds4 -liutil50 -llber50 -lldif50 -lnss3 -lprldap50 -lssl3 -lssldap50")
|
||||
APU_FIND_LDAPLIB("ldapssl41", "-lnspr3 -lplc3 -lplds3")
|
||||
APU_FIND_LDAPLIB("ldapssl40")
|
||||
@@ -269,7 +290,11 @@
|
||||
fi
|
||||
|
||||
test ${apu_has_ldap} != "1" && AC_MSG_ERROR(could not find an LDAP library)
|
||||
- AC_CHECK_LIB(lber, ber_init)
|
||||
+
|
||||
+ echo $ac_n "${nl}checking for lber support..."
|
||||
+
|
||||
+ APU_FIND_LBERLIB("ldap60", "-liutil60 -llber60 -lldif60 -lprldap60 -lssldap60")
|
||||
+ APU_FIND_LBERLIB("lber")
|
||||
|
||||
AC_CHECK_HEADERS(lber.h, lber_h=["#include <lber.h>"])
|
||||
|
||||
@@ -288,7 +313,20 @@
|
||||
AC_DEFINE([HAVE_LDAP_H], 1, [Defined if ldap.h is present])
|
||||
fi
|
||||
|
||||
- AC_CHECK_HEADERS(ldap_ssl.h, ldap_ssl_h=["#include <ldap_ssl.h>"])
|
||||
+ # Mozilla has a problem in <ldap_ssl.h> which prevents it from
|
||||
+ # being included by itself. Check for <ldap_ssl.h> manually,
|
||||
+ # including ldap.h first.
|
||||
+ AC_CACHE_CHECK([for ldap_ssl.h], [apr_cv_hdr_ldap_ssl_h],
|
||||
+ [AC_TRY_CPP(
|
||||
+ [#ifdef HAVE_LDAP_H
|
||||
+ #include <ldap.h>
|
||||
+ #endif
|
||||
+ #include <ldap_ssl.h>
|
||||
+ ], [apr_cv_hdr_ldap_ssl_h=yes], [apr_cv_hdr_ldap_ssl_h=no])])
|
||||
+ if test "$apr_cv_hdr_ldap_ssl_h" = "yes"; then
|
||||
+ ldap_ssl_h=["#include <ldap_ssl.h>"]
|
||||
+ AC_DEFINE([HAVE_LDAP_SSL_H], 1, [Defined if ldap_ssl.h is present])
|
||||
+ fi
|
||||
|
||||
if test "$apr_cv_hdr_ldap_h" = "yes"; then
|
||||
AC_CACHE_CHECK([for LDAP toolkit],
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>maintainer-wanted</herd>
|
||||
</pkgmetadata>
|
@ -1,20 +0,0 @@
|
||||
# ChangeLog for dev-libs/mozldap
|
||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
05 Nov 2008; Mario Fetka <mario.fetka@gmail.com> +mozldap-6.0.6.ebuild:
|
||||
Bump
|
||||
|
||||
20 Aug 2008; Mario Fetka <mario.fetka@gmail.com> mozldap-6.0.5.ebuild:
|
||||
Repoman Cleanup
|
||||
|
||||
19 Jan 2008; Mario Fetka <mario-fetka@gmx.at> mozldap-6.0.5.ebuild:
|
||||
correct typo
|
||||
|
||||
19 Jan 2008; Mario Fetka <mario-fetka@gmx.at> ++, ++, +metadata.xml,
|
||||
-mozldap-6.0.4.ebuild:
|
||||
Initial 1.1 FDS
|
||||
|
||||
18 Aug 2007; Mario Fetka <mario-fetka@gmx.at> mozldap-6.0.4.ebuild:
|
||||
Correct wrong usage of with sasl
|
||||
|
@ -1,7 +0,0 @@
|
||||
AUX mozldap-6.0.4-pkgconfig.patch 714 RMD160 e0380bc0d6af49924c9e599f3ce8e1512ae8105f SHA1 d427f59df496bf5eff0aa5b33918a19142bce22c SHA256 d93fc59fa49f825484d8456288d6d98aaaccf4ee729ca27f0887a9ba6d812a10
|
||||
DIST mozldap-6.0.5.tar.gz 708776 RMD160 e5843ac02181f36d3880ec22b955a0ce189ce11b SHA1 2a6c8c227d1b1f1a85dd4f7c75796f51e7c899af SHA256 b7a2faf0cdbf949890312124978b4412ddc22107f2f897bcb1d5237cfa903337
|
||||
DIST mozldap-6.0.6.tar.gz 708821 RMD160 d932813f0b6f5808c8f0b255718a413d6a6e6ba5 SHA1 db7b8d845f8917638512ae92381675fe76432eff SHA256 3a7b94c6698e2acb91a577decee5eb6103f183d6b9833abb169124818ba80d06
|
||||
EBUILD mozldap-6.0.5.ebuild 3380 RMD160 7cc85e245e863198a152e9ccbfaf75e705b76d9b SHA1 c31daa0ce15cf894ce9108e3ae9927ac31075739 SHA256 80b3fa7f0afd037d145d25845e09bc90ad19666827b2080036cb902eb82498ff
|
||||
EBUILD mozldap-6.0.6.ebuild 3380 RMD160 7cc85e245e863198a152e9ccbfaf75e705b76d9b SHA1 c31daa0ce15cf894ce9108e3ae9927ac31075739 SHA256 80b3fa7f0afd037d145d25845e09bc90ad19666827b2080036cb902eb82498ff
|
||||
MISC ChangeLog 598 RMD160 e06cfdb96f9ac459c75107e90cbf232f4543cd3a SHA1 fb83afb427cd8ca18957435de0ceb4e3e3b2ffa5 SHA256 a2580168153596e2a8ef26b003476de3942ad0f89475beea290f4e4966c20a3a
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
@ -1,12 +0,0 @@
|
||||
diff -uNr mozldap-6.0.4.orig/mozilla/directory/c-sdk/mozldap.pc.in mozldap-6.0.4/mozilla/directory/c-sdk/mozldap.pc.in
|
||||
--- mozldap-6.0.4.orig/mozilla/directory/c-sdk/mozldap.pc.in 2006-10-06 01:01:43.000000000 +0200
|
||||
+++ mozldap-6.0.4/mozilla/directory/c-sdk/mozldap.pc.in 2007-08-06 21:27:09.000000000 +0200
|
||||
@@ -11,6 +11,6 @@
|
||||
Name: mozldap
|
||||
Description: Mozilla LDAP C SDK
|
||||
Version: %MOZLDAP_VERSION%
|
||||
-Requires: nspr >= %NSPR_VERSION% , nss >= %NSS_VERSION%
|
||||
-Libs: -lssldap%libsuffix% -lprldap%libsuffix% -lldap%libsuffix%
|
||||
+Requires: nspr >= %NSPR_VERSION% , nss >= %NSS_VERSION% , svrcore >= %SVRCORE_VERSION%
|
||||
+Libs: -L${libdir} -lssldap%libsuffix% -lprldap%libsuffix% -lldap%libsuffix%
|
||||
Cflags: -I${includedir}
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>maintainer-wanted</herd>
|
||||
</pkgmetadata>
|
@ -1,106 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils multilib versionator
|
||||
|
||||
DESCRIPTION="Mozilla LDAP C SDK"
|
||||
HOMEPAGE="http://wiki.mozilla.org/LDAP_C_SDK"
|
||||
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/directory/c-sdk/releases/v${PV}/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ipv6 debug sasl"
|
||||
|
||||
DEPEND=">=dev-libs/nss-3.11.4
|
||||
>=dev-libs/nspr-4.0.1
|
||||
>=dev-libs/svrcore-4.0.0
|
||||
sasl? ( dev-libs/cyrus-sasl )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-6.0.4-pkgconfig.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd mozilla/directory/c-sdk
|
||||
|
||||
if use amd64 ; then
|
||||
myconf="${myconf} --enable-64bit"
|
||||
else
|
||||
myconf=""
|
||||
fi
|
||||
|
||||
if use ipv6; then
|
||||
myconf="${myconf} --enable-ipv6"
|
||||
fi
|
||||
|
||||
if use sals; then
|
||||
myconf="${myconf} --with-sasl"
|
||||
fi
|
||||
|
||||
myconf="${myconf} --libdir=/usr/$(get_libdir)/mozldap"
|
||||
|
||||
econf $(use_enable debug) \
|
||||
--with-svrcore-inc=/usr/include/svrcore \
|
||||
--with-svrcore-lib=/usr/$(get_libdir)/svrcore \
|
||||
--enable-clu \
|
||||
--enable-optimize \
|
||||
${myconf} || die "econf failed"
|
||||
make || die
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# Their build system is royally fucked, as usual
|
||||
cd "${S}"/mozilla/directory/c-sdk
|
||||
sed -e "s,%libdir%,\$\{exec_prefix\}/$(get_libdir)/${PN},g" \
|
||||
-e "s,%prefix%,/usr,g" \
|
||||
-e "s,%major%,$(get_major_version ${PV}),g" \
|
||||
-e "s,%minor%,$(get_version_component_range 2 ${PV}),g" \
|
||||
-e "s,%submin%,$(get_version_component_range 3 ${PV}),g" \
|
||||
-e "s,%libsuffix%,$(get_major_version ${PV})$(get_version_component_range 2 ${PV}),g" \
|
||||
-e "s,%bindir%,\$\{exec_prefix\}/$(get_libdir)/${PN},g" \
|
||||
-e "s,%exec_prefix%,\$\{prefix\},g" \
|
||||
-e "s,%includedir%,\$\{exec_prefix\}/include/${PN},g" \
|
||||
-e "s,%NSPR_VERSION%,$(pkg-config --modversion nspr),g" \
|
||||
-e "s,%NSS_VERSION%,$(pkg-config --modversion nss),g" \
|
||||
-e "s,%SVRCORE_VERSION%,$(pkg-config --modversion svrcore),g" \
|
||||
-e "s,%MOZLDAP_VERSION%,${PV},g" \
|
||||
${PN}.pc.in > ${PN}.pc
|
||||
make install
|
||||
rm -rf "${S}"/mozilla/dist/bin/lib*.so
|
||||
rm -rf "${S}"/mozilla/dist/public/ldap-private
|
||||
|
||||
exeinto /usr/$(get_libdir)/mozldap
|
||||
doexe "${S}"/mozilla/dist/lib/*so*
|
||||
doexe "${S}"/mozilla/dist/lib/*.a
|
||||
doexe "${S}"/mozilla/dist/bin/*
|
||||
# move the headers around
|
||||
insinto /usr/include/mozldap
|
||||
doins "${S}"/mozilla/dist/public/ldap/*.h
|
||||
# add sample config
|
||||
insinto /usr/share/mozldap
|
||||
doins "${S}"/mozilla/dist/etc/*.conf
|
||||
#and while at it move them to files with versions-ending
|
||||
#and link them back :)
|
||||
cd "${D}"/usr/$(get_libdir)/mozldap
|
||||
#create compatibility Link
|
||||
ln -sf libldap$(get_major_version ${PV})$(get_version_component_range 2 ${PV}).so liblber$(get_major_version ${PV})$(get_version_component_range 2 ${PV}).so
|
||||
#so lets move
|
||||
for file in *.so; do
|
||||
mv ${file} ${file}.$(get_major_version ${PV}).$(get_version_component_range 2 ${PV})
|
||||
ln -s ${file}.$(get_major_version ${PV}).$(get_version_component_range 2 ${PV}) ${file}
|
||||
ln -s ${file}.$(get_major_version ${PV}).$(get_version_component_range 2 ${PV}) ${file}.$(get_major_version ${PV})
|
||||
done
|
||||
# cope with libraries being in /usr/lib/mozldap
|
||||
dodir /etc/env.d
|
||||
echo "LDPATH=/usr/$(get_libdir)/mozldap" > "${D}"/etc/env.d/08mozldap
|
||||
|
||||
# create pkg-config file
|
||||
insinto /usr/$(get_libdir)/pkgconfig/
|
||||
doins "${S}"/mozilla/directory/c-sdk/mozldap.pc
|
||||
}
|
@ -1,106 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils multilib versionator
|
||||
|
||||
DESCRIPTION="Mozilla LDAP C SDK"
|
||||
HOMEPAGE="http://wiki.mozilla.org/LDAP_C_SDK"
|
||||
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/directory/c-sdk/releases/v${PV}/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ipv6 debug sasl"
|
||||
|
||||
DEPEND=">=dev-libs/nss-3.11.4
|
||||
>=dev-libs/nspr-4.0.1
|
||||
>=dev-libs/svrcore-4.0.0
|
||||
sasl? ( dev-libs/cyrus-sasl )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-6.0.4-pkgconfig.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd mozilla/directory/c-sdk
|
||||
|
||||
if use amd64 ; then
|
||||
myconf="${myconf} --enable-64bit"
|
||||
else
|
||||
myconf=""
|
||||
fi
|
||||
|
||||
if use ipv6; then
|
||||
myconf="${myconf} --enable-ipv6"
|
||||
fi
|
||||
|
||||
if use sals; then
|
||||
myconf="${myconf} --with-sasl"
|
||||
fi
|
||||
|
||||
myconf="${myconf} --libdir=/usr/$(get_libdir)/mozldap"
|
||||
|
||||
econf $(use_enable debug) \
|
||||
--with-svrcore-inc=/usr/include/svrcore \
|
||||
--with-svrcore-lib=/usr/$(get_libdir)/svrcore \
|
||||
--enable-clu \
|
||||
--enable-optimize \
|
||||
${myconf} || die "econf failed"
|
||||
make || die
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# Their build system is royally fucked, as usual
|
||||
cd "${S}"/mozilla/directory/c-sdk
|
||||
sed -e "s,%libdir%,\$\{exec_prefix\}/$(get_libdir)/${PN},g" \
|
||||
-e "s,%prefix%,/usr,g" \
|
||||
-e "s,%major%,$(get_major_version ${PV}),g" \
|
||||
-e "s,%minor%,$(get_version_component_range 2 ${PV}),g" \
|
||||
-e "s,%submin%,$(get_version_component_range 3 ${PV}),g" \
|
||||
-e "s,%libsuffix%,$(get_major_version ${PV})$(get_version_component_range 2 ${PV}),g" \
|
||||
-e "s,%bindir%,\$\{exec_prefix\}/$(get_libdir)/${PN},g" \
|
||||
-e "s,%exec_prefix%,\$\{prefix\},g" \
|
||||
-e "s,%includedir%,\$\{exec_prefix\}/include/${PN},g" \
|
||||
-e "s,%NSPR_VERSION%,$(pkg-config --modversion nspr),g" \
|
||||
-e "s,%NSS_VERSION%,$(pkg-config --modversion nss),g" \
|
||||
-e "s,%SVRCORE_VERSION%,$(pkg-config --modversion svrcore),g" \
|
||||
-e "s,%MOZLDAP_VERSION%,${PV},g" \
|
||||
${PN}.pc.in > ${PN}.pc
|
||||
make install
|
||||
rm -rf "${S}"/mozilla/dist/bin/lib*.so
|
||||
rm -rf "${S}"/mozilla/dist/public/ldap-private
|
||||
|
||||
exeinto /usr/$(get_libdir)/mozldap
|
||||
doexe "${S}"/mozilla/dist/lib/*so*
|
||||
doexe "${S}"/mozilla/dist/lib/*.a
|
||||
doexe "${S}"/mozilla/dist/bin/*
|
||||
# move the headers around
|
||||
insinto /usr/include/mozldap
|
||||
doins "${S}"/mozilla/dist/public/ldap/*.h
|
||||
# add sample config
|
||||
insinto /usr/share/mozldap
|
||||
doins "${S}"/mozilla/dist/etc/*.conf
|
||||
#and while at it move them to files with versions-ending
|
||||
#and link them back :)
|
||||
cd "${D}"/usr/$(get_libdir)/mozldap
|
||||
#create compatibility Link
|
||||
ln -sf libldap$(get_major_version ${PV})$(get_version_component_range 2 ${PV}).so liblber$(get_major_version ${PV})$(get_version_component_range 2 ${PV}).so
|
||||
#so lets move
|
||||
for file in *.so; do
|
||||
mv ${file} ${file}.$(get_major_version ${PV}).$(get_version_component_range 2 ${PV})
|
||||
ln -s ${file}.$(get_major_version ${PV}).$(get_version_component_range 2 ${PV}) ${file}
|
||||
ln -s ${file}.$(get_major_version ${PV}).$(get_version_component_range 2 ${PV}) ${file}.$(get_major_version ${PV})
|
||||
done
|
||||
# cope with libraries being in /usr/lib/mozldap
|
||||
dodir /etc/env.d
|
||||
echo "LDPATH=/usr/$(get_libdir)/mozldap" > "${D}"/etc/env.d/08mozldap
|
||||
|
||||
# create pkg-config file
|
||||
insinto /usr/$(get_libdir)/pkgconfig/
|
||||
doins "${S}"/mozilla/directory/c-sdk/mozldap.pc
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
# ChangeLog for dev-libs/svrcore
|
||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
20 Aug 2008; Mario Fetka <mario.fetka@gmail.com> +metadata.xml,
|
||||
svrcore-4.0.4.ebuild:
|
||||
Repoman Cleanup
|
||||
|
@ -1,5 +0,0 @@
|
||||
AUX svrcore-4.0.4-gentoo.patch 1101 RMD160 b321740e051844fa0b6d8f471a5cffae9e0bbec1 SHA1 b370fc287d1032266c6e62e6a16b337ffea6aec9 SHA256 c73c8f353df752a9124e816601b8b32216c200ce39630b8e4783362a6c4fa3c6
|
||||
DIST svrcore-4.0.4.tar.bz2 217076 RMD160 d3d6e7bfad7aa3c8f0e51b270e13b7b514f29bcd SHA1 cfd07bbffeab10c4edca331b980a3f614dac996e SHA256 4772fb4705492de11f10d3e020f0ceca2541415c009ae5444988d6becca36a58
|
||||
EBUILD svrcore-4.0.4.ebuild 962 RMD160 03468c106324e9af5b735b298af077aa65888c13 SHA1 d5c22282e5f66ebf80e6c408400c448f438a88b2 SHA256 7a8dd5f3db7aa52be29e0e4a39dd116e218a11ae1dcb9962e637318e6f4ee605
|
||||
MISC ChangeLog 226 RMD160 a8e523e30a31f93f2e9cca4b71c142651f07ee86 SHA1 0b71849104027190130392efb113c7789772fd8d SHA256 1fe1f198a8003d5a1e28aad7f992f409b26964932c11d007a2ed735e3945bf1e
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
@ -1,32 +0,0 @@
|
||||
diff -uNr svrcore-4.0.4.orig/src/Makefile.am svrcore-4.0.4/src/Makefile.am
|
||||
--- svrcore-4.0.4.orig/src/Makefile.am 2006-12-14 18:07:32.000000000 +0100
|
||||
+++ svrcore-4.0.4/src/Makefile.am 2007-08-06 17:37:17.000000000 +0200
|
||||
@@ -4,8 +4,8 @@
|
||||
Makefile.win \
|
||||
ntgetpin.rc
|
||||
|
||||
-lib_LTLIBRARIES = libsvrcore.la
|
||||
-include_HEADERS = svrcore.h
|
||||
+pkglib_LTLIBRARIES = libsvrcore.la
|
||||
+pkginclude_HEADERS = svrcore.h
|
||||
libsvrcore_la_SOURCES = alt.c \
|
||||
cache.c \
|
||||
errors.c \
|
||||
diff -uNr svrcore-4.0.4.orig/svrcore.pc.in svrcore-4.0.4/svrcore.pc.in
|
||||
--- svrcore-4.0.4.orig/svrcore.pc.in 2006-12-14 18:07:32.000000000 +0100
|
||||
+++ svrcore-4.0.4/svrcore.pc.in 2007-08-06 17:38:12.000000000 +0200
|
||||
@@ -1,11 +1,11 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
-libdir=@libdir@
|
||||
-includedir=@includedir@
|
||||
+libdir=@libdir@/@PACKAGE@
|
||||
+includedir=@includedir@/@PACKAGE@
|
||||
|
||||
Name: svrcore
|
||||
Description: Svrcore - Secure PIN handling using NSS crypto
|
||||
Version: @VERSION@
|
||||
Requires: @NSPR_NAME@ >= @NSPR_MIN_VER@ , @NSS_NAME@ >= @NSS_MIN_VER@
|
||||
-Libs: -lsvrcore
|
||||
+Libs: -L${libdir} -lsvrcore
|
||||
Cflags: -I${includedir}
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>maintainer-wanted</herd>
|
||||
</pkgmetadata>
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit eutils multilib autotools
|
||||
|
||||
DESCRIPTION="Mozilla LDAP C SDK"
|
||||
HOMEPAGE="http://wiki.mozilla.org/LDAP_C_SDK"
|
||||
SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/directory/svrcore/releases/${PV}/src/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ipv6 debug"
|
||||
|
||||
DEPEND=">=dev-libs/nss-3.11
|
||||
>=dev-libs/nspr-4.6"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
epatch "${FILESDIR}"/${P}-gentoo.patch
|
||||
cd "${S}"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use amd64 ; then
|
||||
myconf="${myconf} --enable-64bit"
|
||||
else
|
||||
myconf=""
|
||||
fi
|
||||
|
||||
econf $(use_enable debug) ${myconf} || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake failed"
|
||||
|
||||
# cope with libraries being in /usr/lib/svrcore
|
||||
dodir /etc/env.d
|
||||
echo "LDPATH=/usr/$(get_libdir)/svrcore" > "${D}"/etc/env.d/08svrcore
|
||||
}
|
Loading…
Reference in New Issue
Block a user