diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-07-11 12:57:56 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-07-11 12:57:56 +0000 |
commit | 38b968553b03ddb017cb2700adec7e236a37d10f (patch) | |
tree | 7d9a0e5d5adeea2b0a2abad7b364409163c8283e /dev-libs/nss | |
parent | new nss library from mozilla (diff) | |
download | gentoo-2-38b968553b03ddb017cb2700adec7e236a37d10f.tar.gz gentoo-2-38b968553b03ddb017cb2700adec7e236a37d10f.tar.bz2 gentoo-2-38b968553b03ddb017cb2700adec7e236a37d10f.zip |
new nss library from mozilla
Diffstat (limited to 'dev-libs/nss')
-rw-r--r-- | dev-libs/nss/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/nss/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/nss/files/digest-nss-3.8 | 1 | ||||
-rw-r--r-- | dev-libs/nss/nss-3.8.ebuild | 63 |
4 files changed, 76 insertions, 1 deletions
diff --git a/dev-libs/nss/ChangeLog b/dev-libs/nss/ChangeLog new file mode 100644 index 000000000000..9d2dcd938da7 --- /dev/null +++ b/dev-libs/nss/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/nss +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/ChangeLog,v 1.1 2003/07/11 12:57:48 liquidx Exp $ + +*nss-3.8 (11 Jul 2003) + + 11 Jul 2003; Alastair Tse <liquidx@gentoo.org> nss-3.8.ebuild: + intial ebuild for NSS. this will be used by evolution to avoid the mozilla + dependency + diff --git a/dev-libs/nss/Manifest b/dev-libs/nss/Manifest index 8aead83d1087..299758e8f48d 100644 --- a/dev-libs/nss/Manifest +++ b/dev-libs/nss/Manifest @@ -1,2 +1,3 @@ -MD5 019729ee6f6aa0eeaa742542be9d700f nss-3.8.ebuild 967 +MD5 bc28aa8c46ccd8afaf1bf80f1cf51b43 nss-3.8.ebuild 2029 +MD5 9c3522f6ecbd8ffbd52e5a1ee722de6c ChangeLog 387 MD5 80da1f67cfbd587017f411109c5ca57b files/digest-nss-3.8 60 diff --git a/dev-libs/nss/files/digest-nss-3.8 b/dev-libs/nss/files/digest-nss-3.8 new file mode 100644 index 000000000000..e728e0bb89b4 --- /dev/null +++ b/dev-libs/nss/files/digest-nss-3.8 @@ -0,0 +1 @@ +MD5 6a186160159d51eebe636358f584d6b5 nss-3.8.tar.gz 4860543 diff --git a/dev-libs/nss/nss-3.8.ebuild b/dev-libs/nss/nss-3.8.ebuild new file mode 100644 index 000000000000..3fad860c8aa8 --- /dev/null +++ b/dev-libs/nss/nss-3.8.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/nss-3.8.ebuild,v 1.1 2003/07/11 12:57:48 liquidx Exp $ + +S=${WORKDIR}/${P} + +RTM_NAME="NSS_${PV/./_}_RTM" +DESCRIPTION="Mozilla's Netscape Security Services Library that implements PKI support" +SRC_URI="ftp://ftp.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/${P}.tar.gz" +HOMEPAGE="http://www.mozilla.org/projects/nss/" + +SLOT="0" +LICENSE="MPL-1.1" +KEYWORDS="~x86" + +DEPEND="virtual/glibc + >=dev-libs/nspr-4.3" + +src_unpack() { + unpack ${A} + + # hack nspr paths + echo 'INCLUDES += -I/usr/include/nspr -I$(DIST)/include/dbm' \ + >> ${S}/mozilla/security/coreconf/headers.mk || die "failed to append include" + + sed -e 's:$(DIST)/lib/$(LIB_PREFIX)plc4:/usr/lib/$(LIB_PREFIX)plc4:' \ + -e 's:$(DIST)/lib/$(LIB_PREFIX)plds4:/usr/lib/$(LIB_PREFIX)plds4:' \ + -i ${S}/mozilla/security/nss/lib/ckfw/builtins/Makefile + sed -e 's:$(DIST)/lib/$(LIB_PREFIX)plc4:/usr/lib/$(LIB_PREFIX)plc4:' \ + -e 's:$(DIST)/lib/$(LIB_PREFIX)plds4:/usr/lib/$(LIB_PREFIX)plds4:' \ + -i ${S}/mozilla/security/nss/lib/fortcrypt/swfort/pkcs11/Makefile + + # modify install path + sed -e 's:SOURCE_PREFIX = $(CORE_DEPTH)/\.\./dist:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' \ + -i ${S}/mozilla/security/coreconf/source.mk +} + +src_compile() { + cd ${S}/mozilla/security/coreconf + emake BUILD_OPT=1 || die "coreconf make failed" + cd ${S}/mozilla/security/dbm + emake BUILD_OPT=1 || die "dbm make failed" + cd ${S}/mozilla/security/nss + emake BUILD_OPT=1 || die "nss make failed" +} + +src_install () { + cd ${S}/mozilla/security/dist + + # put all *.a files in /usr/lib/nss (because some have conflicting names + # with existing libraries) + dodir /usr/lib/nss + cp -L Linux2.4_${ARCH}_glibc_PTH_DBG.OBJ/lib/*.a ${D}/usr/lib/nss + dolib Linux2.4_${ARCH}_glibc_PTH_DBG.OBJ/lib/*.so + + # all the include files + insinto /usr/include/nss + doins private/nss/*.h + doins public/nss/*.h + + # NOTE: we ignore the binary files + +} |