]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
nss: Improve package / Fix dlopen issue.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 4 Mar 2012 19:26:33 +0000 (20:26 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 4 Mar 2012 19:30:07 +0000 (20:30 +0100)
* nss-libs now requires nss-softokn and nss-softokn-freebl, to
  solve a problem with dlopen.
* Add url for source downloading.
* Make myself to the package maintainer.

nss/nss.nm

index 78740359ccdabc450ef2e8ab8b1f772032544403..20acaf9b080b90755ce53ee415f4d97ad1748056 100644 (file)
@@ -4,9 +4,13 @@
 ###############################################################################
 
 name       = nss
-version    = 3.13.1
-release    = 2
+ver_major  = 3
+ver_minor  = 13
+ver_patch  = 1
+version    = %{ver_major}.%{ver_minor}.%{ver_patch}
+release    = 3
 
+maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
 groups     = System/Libraries
 url        = http://www.mozilla.org/projects/security/pki/nss/
 license    = MPLv1.1 or GPLv2+ or LGPLv2+
@@ -23,6 +27,8 @@ end
 sources += \
        %{name}-pem-20100809.tar.bz2
 
+source_dl  = ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_%{ver_major}_%{ver_minor}_%{ver_patch}_RTM/src/
+
 build
        requires
                chrpath
@@ -177,6 +183,11 @@ packages
        package %{name}-libs
                template LIBS
 
+               requires
+                       nss-softokn=%{thisver}
+                       nss-softokn-freebl=%{thisver}
+               end
+
                files
                        %{libdir}/*.so
                end