Update cc65 & liblightscribe; start adding required libs for fedora-ds

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@149 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2007-08-07 07:35:04 +00:00
parent cb7fc5f41e
commit 42678a6883
18 changed files with 402 additions and 0 deletions

12
dev-libs/mozldap/Manifest Normal file
View File

@@ -0,0 +1,12 @@
AUX mozldap-6.0.4-pkgconfig.patch 714 RMD160 e0380bc0d6af49924c9e599f3ce8e1512ae8105f SHA1 d427f59df496bf5eff0aa5b33918a19142bce22c SHA256 d93fc59fa49f825484d8456288d6d98aaaccf4ee729ca27f0887a9ba6d812a10
MD5 ac5146836b8b1d824aed7514312c9872 files/mozldap-6.0.4-pkgconfig.patch 714
RMD160 e0380bc0d6af49924c9e599f3ce8e1512ae8105f files/mozldap-6.0.4-pkgconfig.patch 714
SHA256 d93fc59fa49f825484d8456288d6d98aaaccf4ee729ca27f0887a9ba6d812a10 files/mozldap-6.0.4-pkgconfig.patch 714
DIST mozldap-6.0.4.tar.gz 706636 RMD160 55c0dc58c0fd199aef3c986478237e96d0f1c389 SHA1 516d00f052aa9315de6506a51e12400d1707c6db SHA256 0f3710e5c69160f411b7e3622cef420378f51c2aec38e87a4f0ff47028b060db
EBUILD mozldap-6.0.4.ebuild 3088 RMD160 dbb5cabf53dc05c586cde047ff2c5269026fa7b4 SHA1 43869f61f9752f6e55f29884adbb2a01603251a5 SHA256 6028fccf27696770a2fe96bda278485591c3555fe96396ab974bb5ecb74e759b
MD5 e3a94ba75f16052abdd80463ff164005 mozldap-6.0.4.ebuild 3088
RMD160 dbb5cabf53dc05c586cde047ff2c5269026fa7b4 mozldap-6.0.4.ebuild 3088
SHA256 6028fccf27696770a2fe96bda278485591c3555fe96396ab974bb5ecb74e759b mozldap-6.0.4.ebuild 3088
MD5 359083adcc58b99c3b2d18ce1a46ecdc files/digest-mozldap-6.0.4 241
RMD160 7aa1c47c47f8dcf606222a1a0eb57667d5c4f1b7 files/digest-mozldap-6.0.4 241
SHA256 50d3334d916996d5b499a13698e332de230b28bbe4366bf216a88abadbfbe841 files/digest-mozldap-6.0.4 241

View File

@@ -0,0 +1,3 @@
MD5 f08dcb93dc64ae1c661d91125cd7ec3b mozldap-6.0.4.tar.gz 706636
RMD160 55c0dc58c0fd199aef3c986478237e96d0f1c389 mozldap-6.0.4.tar.gz 706636
SHA256 0f3710e5c69160f411b7e3622cef420378f51c2aec38e87a4f0ff47028b060db mozldap-6.0.4.tar.gz 706636

View File

@@ -0,0 +1,12 @@
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}

View File

@@ -0,0 +1,98 @@
# Copyright 1999-2007 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"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch ${FILESDIR}/${P}-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
myconf="${myconf} --libdir=/usr/$(get_libdir)/mozldap"
econf $(use_enable debug) $(use_with sasl) \
--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
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
}

12
dev-libs/svrcore/Manifest Normal file
View File

@@ -0,0 +1,12 @@
AUX svrcore-4.0.4-gentoo.patch 1101 RMD160 b321740e051844fa0b6d8f471a5cffae9e0bbec1 SHA1 b370fc287d1032266c6e62e6a16b337ffea6aec9 SHA256 c73c8f353df752a9124e816601b8b32216c200ce39630b8e4783362a6c4fa3c6
MD5 a5004351e824f9cf362bc7f14803a1dd files/svrcore-4.0.4-gentoo.patch 1101
RMD160 b321740e051844fa0b6d8f471a5cffae9e0bbec1 files/svrcore-4.0.4-gentoo.patch 1101
SHA256 c73c8f353df752a9124e816601b8b32216c200ce39630b8e4783362a6c4fa3c6 files/svrcore-4.0.4-gentoo.patch 1101
DIST svrcore-4.0.4.tar.bz2 217076 RMD160 d3d6e7bfad7aa3c8f0e51b270e13b7b514f29bcd SHA1 cfd07bbffeab10c4edca331b980a3f614dac996e SHA256 4772fb4705492de11f10d3e020f0ceca2541415c009ae5444988d6becca36a58
EBUILD svrcore-4.0.4.ebuild 970 RMD160 c1ddf1fe2b717986f3b603367bb28443dc0b0483 SHA1 59afab1ae2b072aa84b3b06bcc50d2955a4d27d0 SHA256 99a481d41ec321d44651737e83aa567923b7c822117deb6b701bb3a08cfbca29
MD5 0c4cacba3b245d59d1648554b1eb40c0 svrcore-4.0.4.ebuild 970
RMD160 c1ddf1fe2b717986f3b603367bb28443dc0b0483 svrcore-4.0.4.ebuild 970
SHA256 99a481d41ec321d44651737e83aa567923b7c822117deb6b701bb3a08cfbca29 svrcore-4.0.4.ebuild 970
MD5 493997b0e0502539f2ed1881f4e0d1a0 files/digest-svrcore-4.0.4 244
RMD160 bf33d47ce6ae032af92ceb99ba3a23aa352af3d2 files/digest-svrcore-4.0.4 244
SHA256 00e494c7b98566cff6f94105f5d375c53b175b0f9bd6cb7e30b740b1846a94f9 files/digest-svrcore-4.0.4 244

View File

@@ -0,0 +1,3 @@
MD5 46bcdc82624d11c1bb168cf9f15e066c svrcore-4.0.4.tar.bz2 217076
RMD160 d3d6e7bfad7aa3c8f0e51b270e13b7b514f29bcd svrcore-4.0.4.tar.bz2 217076
SHA256 4772fb4705492de11f10d3e020f0ceca2541415c009ae5444988d6becca36a58 svrcore-4.0.4.tar.bz2 217076

View File

@@ -0,0 +1,32 @@
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}

View File

@@ -0,0 +1,44 @@
# Copyright 1999-2007 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
}