summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-07-24 16:58:09 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-07-24 16:58:09 +0000
commit98e5bcda2505cd1f59a6c55d5cc5e5fbcabc0967 (patch)
tree94b6f48c6f8f7b195d504163d504c63f3d417bb9 /dev-libs/nss
parentVersion bump to 2.9.9 for hardware testing (Manifest recommit) (diff)
downloadgentoo-2-98e5bcda2505cd1f59a6c55d5cc5e5fbcabc0967.tar.gz
gentoo-2-98e5bcda2505cd1f59a6c55d5cc5e5fbcabc0967.tar.bz2
gentoo-2-98e5bcda2505cd1f59a6c55d5cc5e5fbcabc0967.zip
version bump. add ppc64 patch (#58169). thanks to Markus Rothe <markus@unixforces.net>
Diffstat (limited to 'dev-libs/nss')
-rw-r--r--dev-libs/nss/ChangeLog9
-rw-r--r--dev-libs/nss/Manifest4
-rw-r--r--dev-libs/nss/files/digest-nss-3.9.21
-rw-r--r--dev-libs/nss/files/nss-3.9.2-ppc64.patch23
-rw-r--r--dev-libs/nss/nss-3.9.2.ebuild67
5 files changed, 103 insertions, 1 deletions
diff --git a/dev-libs/nss/ChangeLog b/dev-libs/nss/ChangeLog
index 4ce5a6a98381..04ec3c96a458 100644
--- a/dev-libs/nss/ChangeLog
+++ b/dev-libs/nss/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/nss
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/ChangeLog,v 1.24 2004/07/24 07:04:14 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/ChangeLog,v 1.25 2004/07/24 16:58:09 liquidx Exp $
+
+*nss-3.9.2 (24 Jul 2004)
+
+ 24 Jul 2004; Alastair Tse <liquidx@gentoo.org> +files/nss-3.9.2-ppc64.patch,
+ +nss-3.9.2.ebuild:
+ version bump. add ppc64 patch (#58169). thanks to Markus Rothe
+ <markus@unixforces.net>
24 Jul 2004; Alastair Tse <liquidx@gentoo.org> nss-3.8.ebuild:
added provisions for alternative ROOT (#55350)
diff --git a/dev-libs/nss/Manifest b/dev-libs/nss/Manifest
index 83cc52b6972d..9f8b1847064f 100644
--- a/dev-libs/nss/Manifest
+++ b/dev-libs/nss/Manifest
@@ -1,7 +1,11 @@
+MD5 e396547f60e2e2e0301e41f4cd6d48be nss-3.9.2.ebuild~ 2126
MD5 b8be63185753b397cc66544df4b5b1ba nss-3.8.ebuild 2548
+MD5 fb4dc8c480cad540edb45a6efb422114 nss-3.9.2.ebuild 2143
MD5 53e99307be0915f1447ccb0893451d03 ChangeLog 2759
MD5 8f906ffe0aa837e5e26fe03af3043461 metadata.xml 219
MD5 2bba753992f9510d4a440a2ca18858c4 files/nss-3.8-mips.patch 503
MD5 ef044b71f9a324137ddae80c970ea246 files/nss-3.8-hppa.patch 4758
+MD5 31208c12f404d120fb880b0e8300c175 files/nss-3.9.2-ppc64.patch 526
+MD5 5b40cac4fbb267e83bdf04c269a7c665 files/digest-nss-3.9.2 62
MD5 d5948dfd93b61198742855ec3d2a254d files/nss-3.8-amd64.patch 8306
MD5 80da1f67cfbd587017f411109c5ca57b files/digest-nss-3.8 60
diff --git a/dev-libs/nss/files/digest-nss-3.9.2 b/dev-libs/nss/files/digest-nss-3.9.2
new file mode 100644
index 000000000000..c8fd29d3966d
--- /dev/null
+++ b/dev-libs/nss/files/digest-nss-3.9.2
@@ -0,0 +1 @@
+MD5 c10b5100510dab1e3c94b76a4d7b1f23 nss-3.9.2.tar.gz 4734817
diff --git a/dev-libs/nss/files/nss-3.9.2-ppc64.patch b/dev-libs/nss/files/nss-3.9.2-ppc64.patch
new file mode 100644
index 000000000000..5c9c3181ca97
--- /dev/null
+++ b/dev-libs/nss/files/nss-3.9.2-ppc64.patch
@@ -0,0 +1,23 @@
+--- mozilla/security/coreconf/Linux.mk.foo 2003-10-01 13:06:30.000000000 -0400
++++ mozilla/security/coreconf/Linux.mk 2003-10-01 13:07:22.000000000 -0400
+@@ -53,7 +53,11 @@
+ ifeq ($(OS_TEST),m68k)
+ OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
+ CPU_ARCH = m68k
+-else
++else
++ifeq ($(OS_TEST),ppc64)
++ OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
++ CPU_ARCH = ppc64
++else
+ ifeq ($(OS_TEST),ppc)
+ OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
+ CPU_ARCH = ppc
+@@ -112,6 +116,7 @@
+ endif
+ endif
+ endif
++endif
+
+
+ LIBC_TAG = _glibc
diff --git a/dev-libs/nss/nss-3.9.2.ebuild b/dev-libs/nss/nss-3.9.2.ebuild
new file mode 100644
index 000000000000..4b71282cd0f5
--- /dev/null
+++ b/dev-libs/nss/nss-3.9.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/nss-3.9.2.ebuild,v 1.1 2004/07/24 16:58:09 liquidx Exp $
+
+inherit eutils
+
+RTM_NAME="NSS_$(echo $PV|sed 's/\./_/g')_RTM"
+DESCRIPTION="Mozilla's Netscape Security Services Library that implements PKI support"
+HOMEPAGE="http://www.mozilla.org/projects/security/pki/nss/"
+SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/${RTM_NAME}/src/${P}.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~ia64 ~mips ~hppa"
+IUSE=""
+
+DEPEND="virtual/libc
+ app-arch/zip
+ >=dev-libs/nspr-4.3"
+
+src_unpack() {
+ unpack ${A}
+
+ # hack nspr paths
+ echo 'INCLUDES += -I${ROOT}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:${ROOT}usr/lib/$(LIB_PREFIX)plc4:' \
+ -e 's:$(DIST)/lib/$(LIB_PREFIX)plds4:${ROOT}usr/lib/$(LIB_PREFIX)plds4:' \
+ -i ${S}/mozilla/security/nss/lib/ckfw/builtins/Makefile
+ sed -e 's:$(DIST)/lib/$(LIB_PREFIX)plc4:${ROOT}usr/lib/$(LIB_PREFIX)plc4:' \
+ -e 's:$(DIST)/lib/$(LIB_PREFIX)plds4:${ROOT}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
+
+ cd ${S}; epatch ${FILESDIR}/${PN}-${PV}-ppc64.patch
+}
+
+src_compile() {
+ cd ${S}/mozilla/security/coreconf
+
+ emake -j1 BUILD_OPT=1 || die "coreconf make failed"
+ cd ${S}/mozilla/security/dbm
+ emake -j1 BUILD_OPT=1 || die "dbm make failed"
+ cd ${S}/mozilla/security/nss
+ emake -j1 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 */lib/*.a ${D}/usr/lib/nss || die "copying libs failed"
+ dolib */lib/*.so
+
+ # all the include files
+ insinto /usr/include/nss
+ doins private/nss/*.h
+ doins public/nss/*.h
+
+ # NOTE: we ignore the binary files
+}