Page MenuHomeSolus

D1499.diff
No OneTemporary

D1499.diff

diff --git a/actions.py b/actions.py
deleted file mode 100644
--- a/actions.py
+++ /dev/null
@@ -1,51 +0,0 @@
-
-#!/usr/bin/python
-
-
-from pisi.actionsapi import shelltools, get, autotools, pisitools
-
-BuildDir = "nss"
-InstallDir = "dist"
-
-WorkDir="%s-%s/" % (get.srcNAME().replace("lib",""), get.srcVERSION())
-
-def build():
- if get.buildTYPE() == "emul32":
- shelltools.export("CC", "gcc -m32")
- shelltools.export("CXX", "g++ -m32")
- else:
- shelltools.export ("USE_64", "1")
-
- shelltools.cd (BuildDir)
- shelltools.export ("BUILD_OPT", "1")
- shelltools.export ("NSPR_INCLUDE_DIR", "/usr/include/nspr")
- shelltools.export ("USE_SYSTEM_ZLIB", "1")
- shelltools.export ("NSS_USE_SYSTEM_SQLITE", "1")
-
- autotools.make ("nss_build_all -j1")
-
-def install():
- libdir = "/usr/lib"
- if get.buildTYPE() != "emul32":
- for binary in ["certutil", "modutil", "pk12util", "signtool", "ssltap", "nss-config"]:
- pisitools.insinto("/usr/bin","dist/Linux*/bin/%s" % binary, sym=False)
-
- # Headers
- for header in ["dist/private/nss/*.h","dist/public/nss/*.h"]:
- pisitools.insinto("/usr/include/nss", header, sym=False)
-
- # Drop executable bits from headers
- shelltools.chmod("%s/usr/include/nss/*.h" % get.installDIR(), mode=0644)
- else:
- libdir = "/usr/lib32"
-
- for lib in ["*.a","*.chk","*.so"]:
- pisitools.insinto("%s/nss" % libdir,"dist/Linux*/lib/%s" % lib, sym=False)
-
- # Install nss-config and nss.pc
- pisitools.insinto("%s/pkgconfig" % libdir, "dist/Linux*/lib/pkgconfig/nss.pc", sym=False)
-
- for lib in ["libcrmf.a", "libfreebl3.so", "libnssutil3.so", "libnss3.so", "libsmime3.so", "libnssckbi.so", \
- "libsoftokn3.so", "libnssdbm3.so", "libssl3.so", "libnsssysinit.so"]:
- pisitools.dosym ("%s/nss/%s" % (libdir, lib), "%s/%s" % (libdir, lib))
-
diff --git a/component.xml b/component.xml
deleted file mode 100644
--- a/component.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<PISI>
- <Name>system.base</Name>
-</PISI>
-
diff --git a/files/nss-3.33-standalone-1.patch b/files/nss-3.34.1-standalone-1.patch
rename from files/nss-3.33-standalone-1.patch
rename to files/nss-3.34.1-standalone-1.patch
diff --git a/package.yml b/package.yml
new file mode 100644
--- /dev/null
+++ b/package.yml
@@ -0,0 +1,67 @@
+name : libnss
+version : 3.34.1
+release : 21
+source :
+ - https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_34_1_RTM/src/nss-3.34.1.tar.gz : a3c15d367caf784f33d96dbafbdffc16a8e42fb8c8aedfce97bf92a9f918dda0
+license :
+ - GPL-2.0
+ - LGPL-2.1
+ - MPL-2.0
+component : system.base
+emul32 : yes
+libsplit : no
+summary : Network Security Services
+description: |
+ The Network Security Services (NSS) package is a set of libraries designed to support cross-platform development of security-enabled client and server applications. Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards. This is useful for implementing SSL and S/MIME or other Internet security standards into an application.
+builddeps :
+ - pkgconfig32(nspr)
+ - pkgconfig32(sqlite3)
+ - pkgconfig32(zlib)
+patterns :
+ - 32bit-devel:
+ - /usr/lib32/nss/lib*.a
+ - /usr/lib32/*.a
+ - devel:
+ - /usr/lib64/nss/lib*.a
+ - /usr/lib64/*.a
+setup : |
+ %patch -p1 < $pkgfiles/nss-3.34.1-standalone-1.patch
+build : |
+ export BUILD_OPT=1
+ export NSPR_INCLUDE_DIR="/usr/include/nspr"
+ export USE_SYSTEM_ZLIB=1
+ export NSS_USE_SYSTEM_SQLITE=1
+
+ if [[ -z "${EMUL32BUILD}" ]]; then
+ export USE_64=1
+ fi
+
+ pushd nss
+ make nss_build_all -j1
+ popd
+install : |
+ if [[ -z "${EMUL32BUILD}" ]]; then
+ mkdir -p $installdir/usr/bin
+ for f in certutil modutil pk12util signtool ssltap nss-config; do
+ install -m00755 dist/Linux*/bin/${f} $installdir/usr/bin
+ done
+ fi
+
+ # Headers
+ install -d -m00755 $installdir/usr/include/nss
+ for f in dist/public/nss/*.h dist/private/nss/*.h; do
+ install -m00644 ${f} $installdir/usr/include/nss
+ done
+
+ install -d -m00755 $installdir/%libdir%/nss
+ for f in *.a *.chk *.so; do
+ install dist/Linux*/lib/${f} $installdir/%libdir%/nss
+ done
+
+ # Install nss.pc
+ install -D -m00644 dist/Linux*/lib/pkgconfig/nss.pc $installdir/%libdir%/pkgconfig/nss.pc
+
+ for f in libcrmf.a libfreebl3.so libnssutil3.so libnss3.so libsmime3.so libnssckbi.so \
+ libsoftokn3.so libnssdbm3.so libssl3.so libnsssysinit.so; do
+ ln -s %libdir%/nss/${f} $installdir/%libdir%/${f}
+ done
diff --git a/pspec.xml b/pspec.xml
deleted file mode 100644
--- a/pspec.xml
+++ /dev/null
@@ -1,253 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE PISI SYSTEM "https://solus-project.com/standard/pisi-spec.dtd">
-<PISI>
- <Source>
- <Name>libnss</Name>
- <Homepage>http://www.mozilla.org/projects/security/pki/nss/</Homepage>
- <Packager>
- <Name>Ikey Doherty</Name>
- <Email>ikey@evolve-os.com</Email>
- </Packager>
- <Summary>Network Security Services</Summary>
- <Description>The Network Security Services (NSS) package is a set of libraries designed to support cross-platform development of security-enabled client and server applications. Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards. This is useful for implementing SSL and S/MIME or other Internet security standards into an application.</Description>
- <License>GPLv2+</License>
- <Archive sha1sum="4e47a59bf9bf032e177a552dd74ba22f272d8324" type="targz">https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_34_RTM/src/nss-3.34.tar.gz</Archive>
-
- <Patches>
- <Patch level="1">nss-3.33-standalone-1.patch</Patch>
- </Patches>
- <BuildDependencies>
- <Dependency type="pkgconfig">nspr</Dependency>
- <Dependency type="pkgconfig32">nspr</Dependency>
- <Dependency type="pkgconfig">sqlite3</Dependency>
- <Dependency type="pkgconfig32">sqlite3</Dependency>
- <Dependency type="pkgconfig32">zlib</Dependency>
- <Dependency>glibc-32bit-devel</Dependency>
- <Dependency>libgcc-32bit</Dependency>
- <Dependency>libstdc++-32bit</Dependency>
- </BuildDependencies>
- </Source>
-
- <Package>
- <Name>libnss</Name>
- <PartOf>system.base</PartOf>
- <Files>
- <Path fileType="executable">/usr/bin</Path>
- <Path fileType="library">/usr/lib/nss/lib*.so*</Path>
- <Path fileType="library">/usr/lib/*.so*</Path>
- <Path fileType="library">/usr/lib/nss/*.chk</Path>
- </Files>
- </Package>
-
- <Package>
- <Name>libnss-32bit</Name>
- <Summary>32-bit files for libnss</Summary>
- <Description>32-bit files for libnss</Description>
- <BuildType>emul32</BuildType>
- <PartOf>emul32</PartOf>
- <Files>
- <Path fileType="library">/usr/lib32/nss/lib*.so*</Path>
- <Path fileType="library">/usr/lib32/*.so*</Path>
- <Path fileType="library">/usr/lib32/nss/*.chk</Path>
- </Files>
- <RuntimeDependencies>
- <Dependency release="current">libnss</Dependency>
- </RuntimeDependencies>
- </Package>
-
- <Package>
- <Name>libnss-devel</Name>
- <PartOf>programming.library</PartOf>
- <Summary>Development files for libnss</Summary>
- <Description>Development files for libnss</Description>
- <Files>
- <Path fileType="library">/usr/lib/nss/lib*.a</Path>
- <Path fileType="library">/usr/lib/*.a</Path>
- <Path fileType="header">/usr/include</Path>
- <Path fileType="data">/usr/lib/pkgconfig</Path>
- </Files>
- <RuntimeDependencies>
- <Dependency release="current">libnss</Dependency>
- </RuntimeDependencies>
- </Package>
-
- <Package>
- <Name>libnss-32bit-devel</Name>
- <PartOf>programming.library</PartOf>
- <BuildType>emul32</BuildType>
- <Summary>32-bit Development files for libnss</Summary>
- <Description>32b-bit Development files for libnss</Description>
- <Files>
- <Path fileType="library">/usr/lib32/nss/lib*.a</Path>
- <Path fileType="library">/usr/lib32/*.a</Path>
- <Path fileType="data">/usr/lib32/pkgconfig</Path>
- </Files>
- <RuntimeDependencies>
- <Dependency release="current">libnss-32bit</Dependency>
- <Dependency release="current">libnss-devel</Dependency>
- </RuntimeDependencies>
- </Package>
-
- <History>
- <Update release="20" type="security">
- <Date>11-14-2017</Date>
- <Version>3.34</Version>
- <Comment>Update to 3.34</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey@solus-project.com</Email>
- </Update>
-
- <Update release="19">
- <Date>09-28-2017</Date>
- <Version>3.33</Version>
- <Comment>Update to 3.33</Comment>
- <Name>Pierre-Yves</Name>
- <Email>pyu@riseup.net</Email>
- </Update>
-
- <Update release="18">
- <Date>06-14-2017</Date>
- <Version>3.31</Version>
- <Comment>Update to 3.31</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey@solus-project.com</Email>
- </Update>
-
- <Update release="17">
- <Date>04-22-2017</Date>
- <Version>3.30.2</Version>
- <Comment>Update to 3.30.2</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey@solus-project.com</Email>
- </Update>
-
- <Update release="16">
- <Date>04-13-2017</Date>
- <Version>3.30.1</Version>
- <Comment>Update to 3.30.1</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey@solus-project.com</Email>
- </Update>
-
- <Update release="15">
- <Date>03-10-2017</Date>
- <Version>3.28.3</Version>
- <Comment>Update to 3.28.3</Comment>
- <Name>Joshua Strobl</Name>
- <Email>joshua@stroblindustries.com</Email>
- </Update>
-
- <Update release="14">
- <Date>01-28-2017</Date>
- <Version>3.28.1</Version>
- <Comment>Update to 3.28.1</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey@solus-project.com</Email>
- </Update>
-
- <Update release="13">
- <Date>10-20-2016</Date>
- <Version>3.27.1</Version>
- <Comment>Update to 3.27.1</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey@solus-project.com</Email>
- </Update>
-
- <Update release="12">
- <Date>10-11-2016</Date>
- <Version>3.16.2.1</Version>
- <Comment>Package bump</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey@solus-project.com</Email>
- </Update>
-
- <Update release="11">
- <Date>06-04-2016</Date>
- <Version>3.16.2.1</Version>
- <Comment>Package bump</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey@solus-project.com</Email>
- </Update>
-
- <Update release="10" type="security">
- <Date>10-18-2014</Date>
- <Version>3.16.2.1</Version>
- <Comment>CVE-2014-1568:
-Mozilla Network Security Services (NSS) before 3.16.2.1, 3.16.x before 3.16.5, and 3.17.x before 3.17.1, as used in Mozilla Firefox before 32.0.3, Mozilla Firefox ESR 24.x before 24.8.1 and 31.x before 31.1.1, Mozilla Thunderbird before 24.8.1 and 31.x before 31.1.2, Mozilla SeaMonkey before 2.29.1, Google Chrome before 37.0.2062.124 on Windows and OS X, and Google Chrome OS before 37.0.2062.120, does not properly parse ASN.1 values in X.509 certificates, which makes it easier for remote attackers to spoof RSA signatures via a crafted certificate, aka a "signature malleability" issue.</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey@evolve-os.com</Email>
- </Update>
-
- <Update release="9">
- <Date>09-19-2014</Date>
- <Version>3.16.2</Version>
- <Comment>Update to enable Netflix</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey.doherty@gmail.com</Email>
- </Update>
-
- <Update release="8">
- <Date>07-22-2014</Date>
- <Version>3.16.1</Version>
- <Comment>Fix ridiculous error with symlink</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey.doherty@gmail.com</Email>
- </Update>
-
- <Update release="7">
- <Date>07-05-2014</Date>
- <Version>3.16.1</Version>
- <Comment>Fix splitting, update to 3.16.1 for Firefox</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey.doherty@gmail.com</Email>
- </Update>
-
- <Update release="6">
- <Date>03-23-2014</Date>
- <Version>3.14.3</Version>
- <Comment>Explicitly enable 64-bit</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey.doherty@gmail.com</Email>
- </Update>
-
- <Update release="5">
- <Date>05-25-2013</Date>
- <Version>3.14.3</Version>
- <Comment>Correct dependencies</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey@solusos.com</Email>
- </Update>
-
- <Update release="4">
- <Date>04-22-2013</Date>
- <Version>3.14.3</Version>
- <Comment>Fix dependency for libnss-devel</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey@solusos.com</Email>
- </Update>
-
- <Update release="3">
- <Date>03-19-2013</Date>
- <Version>3.14.3</Version>
- <Comment>Add compat symlinks in /usr/lib</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey@solusos.com</Email>
- </Update>
-
- <Update release="2">
- <Date>03-19-2013</Date>
- <Version>3.14.3</Version>
- <Comment>Split -devel package</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey@solusos.com</Email>
- </Update>
-
- <Update release="1">
- <Date>03-19-2013</Date>
- <Version>3.14.3</Version>
- <Comment>Add libnss to repositories</Comment>
- <Name>Ikey Doherty</Name>
- <Email>ikey@solusos.com</Email>
- </Update>
- </History>
-</PISI>
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
new file mode 100644
--- /dev/null
+++ b/pspec_x86_64.xml
@@ -0,0 +1,99 @@
+<PISI>
+ <Source>
+ <Name>libnss</Name>
+ <Packager>
+ <Name>Pierre-Yves</Name>
+ <Email>pyu@riseup.net</Email>
+ </Packager>
+ <License>GPL-2.0</License>
+ <License>LGPL-2.1</License>
+ <License>MPL-2.0</License>
+ <PartOf>system.base</PartOf>
+ <Summary xml:lang="en">Network Security Services</Summary>
+ <Description xml:lang="en">The Network Security Services (NSS) package is a set of libraries designed to support cross-platform development of security-enabled client and server applications. Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards. This is useful for implementing SSL and S/MIME or other Internet security standards into an application.
+</Description>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
+ </Source>
+ <Package>
+ <Name>libnss</Name>
+ <Summary xml:lang="en">Network Security Services</Summary>
+ <Description xml:lang="en">The Network Security Services (NSS) package is a set of libraries designed to support cross-platform development of security-enabled client and server applications. Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards. This is useful for implementing SSL and S/MIME or other Internet security standards into an application.
+</Description>
+ <PartOf>system.base</PartOf>
+ <Files>
+ <Path fileType="executable">/usr/bin</Path>
+ <Path fileType="library">/usr/lib64/lib*.so</Path>
+ <Path fileType="library">/usr/lib64/nss/libfreebl3.chk</Path>
+ <Path fileType="library">/usr/lib64/nss/libfreebl3.so</Path>
+ <Path fileType="library">/usr/lib64/nss/libfreeblpriv3.chk</Path>
+ <Path fileType="library">/usr/lib64/nss/libfreeblpriv3.so</Path>
+ <Path fileType="library">/usr/lib64/nss/libgtest1.so</Path>
+ <Path fileType="library">/usr/lib64/nss/libgtestutil.so</Path>
+ <Path fileType="library">/usr/lib64/nss/libnss3.so</Path>
+ <Path fileType="library">/usr/lib64/nss/libnssckbi.so</Path>
+ <Path fileType="library">/usr/lib64/nss/libnssdbm3.chk</Path>
+ <Path fileType="library">/usr/lib64/nss/libnssdbm3.so</Path>
+ <Path fileType="library">/usr/lib64/nss/libnsssysinit.so</Path>
+ <Path fileType="library">/usr/lib64/nss/libnssutil3.so</Path>
+ <Path fileType="library">/usr/lib64/nss/libsmime3.so</Path>
+ <Path fileType="library">/usr/lib64/nss/libsoftokn3.chk</Path>
+ <Path fileType="library">/usr/lib64/nss/libsoftokn3.so</Path>
+ <Path fileType="library">/usr/lib64/nss/libssl3.so</Path>
+ </Files>
+ </Package>
+ <Package>
+ <Name>libnss-32bit</Name>
+ <Summary xml:lang="en">32-bit libraries for libnss</Summary>
+ <Description xml:lang="en">The Network Security Services (NSS) package is a set of libraries designed to support cross-platform development of security-enabled client and server applications. Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards. This is useful for implementing SSL and S/MIME or other Internet security standards into an application.
+</Description>
+ <PartOf>emul32</PartOf>
+ <RuntimeDependencies>
+ <Dependency release="21">libnss</Dependency>
+ </RuntimeDependencies>
+ <Files>
+ <Path fileType="library">/usr/lib32/</Path>
+ <Path fileType="library">/usr/lib32/lib*.so</Path>
+ </Files>
+ </Package>
+ <Package>
+ <Name>libnss-32bit-devel</Name>
+ <Summary xml:lang="en">Development files for 32-bit libnss</Summary>
+ <Description xml:lang="en">The Network Security Services (NSS) package is a set of libraries designed to support cross-platform development of security-enabled client and server applications. Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards. This is useful for implementing SSL and S/MIME or other Internet security standards into an application.
+</Description>
+ <PartOf>programming.devel</PartOf>
+ <RuntimeDependencies>
+ <Dependency release="21">libnss-devel</Dependency>
+ <Dependency release="21">libnss-32bit</Dependency>
+ </RuntimeDependencies>
+ <Files>
+ <Path fileType="library">/usr/lib32/*.a</Path>
+ <Path fileType="library">/usr/lib32/nss/lib*.a</Path>
+ <Path fileType="data">/usr/lib32/pkgconfig/*.pc</Path>
+ </Files>
+ </Package>
+ <Package>
+ <Name>libnss-devel</Name>
+ <Summary xml:lang="en">Development files for libnss</Summary>
+ <Description xml:lang="en">The Network Security Services (NSS) package is a set of libraries designed to support cross-platform development of security-enabled client and server applications. Applications built with NSS can support SSL v2 and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates, and other security standards. This is useful for implementing SSL and S/MIME or other Internet security standards into an application.
+</Description>
+ <PartOf>programming.devel</PartOf>
+ <RuntimeDependencies>
+ <Dependency release="21">libnss</Dependency>
+ </RuntimeDependencies>
+ <Files>
+ <Path fileType="header">/usr/include/</Path>
+ <Path fileType="library">/usr/lib64/*.a</Path>
+ <Path fileType="library">/usr/lib64/nss/lib*.a</Path>
+ <Path fileType="data">/usr/lib64/pkgconfig/*.pc</Path>
+ </Files>
+ </Package>
+ <History>
+ <Update release="21">
+ <Date>2017-12-13</Date>
+ <Version>3.34.1</Version>
+ <Comment>Packaging update</Comment>
+ <Name>Pierre-Yves</Name>
+ <Email>pyu@riseup.net</Email>
+ </Update>
+ </History>
+</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
Mon, Jul 24, 11:39 PM (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5815673
Default Alt Text
D1499.diff (21 KB)

Event Timeline