summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 17:29:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 17:29:33 +0000
commit6789f01ae8f464e0514ad3276a9ba9c21279f00d (patch)
treee7c7f2c1e0718ff54ffb51b838ba14803f0a0431 /debian
parentAdding upstream version 2:4.35. (diff)
downloadnspr-debian.tar.xz
nspr-debian.zip
Adding debian version 2:4.35-1.debian/2%4.35-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/changelog716
-rw-r--r--debian/control44
-rw-r--r--debian/copyright9
-rw-r--r--debian/libnspr4-dev.install.in5
-rw-r--r--debian/libnspr4.install.in1
-rw-r--r--debian/libnspr4.lintian-overrides.in11
-rw-r--r--debian/libnspr4.symbols488
-rw-r--r--debian/make.mk13
-rw-r--r--debian/not-installed2
-rwxr-xr-xdebian/rules90
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata3
-rw-r--r--debian/watch2
13 files changed, 1385 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..8e1519e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,716 @@
+nspr (2:4.35-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Sun, 18 Sep 2022 06:29:06 +0900
+
+nspr (2:4.34.1-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Wed, 24 Aug 2022 06:54:43 +0900
+
+nspr (2:4.34-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ * debian/libnspr4.symbols: Add PR_GetPrefLoopbackAddrInfo to symbols file.
+
+ -- Mike Hommey <glandium@debian.org> Wed, 01 Jun 2022 06:21:09 +0900
+
+nspr (2:4.33-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Wed, 06 Apr 2022 09:13:06 +0900
+
+nspr (2:4.32-3) unstable; urgency=medium
+
+ * nspr/configure.in: Fix AC_CONFIG_AUX_DIR.
+
+ -- Mike Hommey <glandium@debian.org> Sun, 21 Nov 2021 09:06:33 +0900
+
+nspr (2:4.32-2) unstable; urgency=medium
+
+ * debian/libnspr4-dev.links.in, debian/control: Remove xulrunner-nspr.pc,
+ which breaks libxmlsec1-dev (<= 1.2.33-1).
+ * debian/copyright: Use secure copyright file specification URI.
+ * debian/compat, debian/control:
+ - Bump debhelper from deprecated 9 to 13.
+ - Set debhelper-compat version in Build-Depends.
+ * debian/rules: Drop transition for old debug package migration.
+ * debian/*lintian-overrides*:
+ - Remove unused copyright-refers-to-versionless-license-file.
+ - s/shlib-without-versioned-soname/shared-library-lacks-version/
+ - s/dev-pkg-without-shlib-symlink/lacks-unversioned-link-to-shared-library/
+ * debian/watch: Upgrade watch file to version 4.
+ * debian/rules:
+ - Build with `make -s` when DEB_BUILD_OPTIONS contains terse.
+ - Enable all hardnening options.
+ * debian/control:
+ - Add Rules-Requires-Root: no.
+ - Upgrade Standards-Version to 4.6.0.
+ - Remove conflict with libnspr3-0d. The last Debian version with
+ libnspr3-0d was jessie, and it had a newer version anyways.
+ - Remove now unnecessary autotools-dev build dependency.
+ * debian/libnspr4.symbols: Add Build-Depends-Package in symbols file.
+ * debian/control, debian/rules: Always set Multi-Arch: same.
+ * debian/upstream/metadata: Add upstream bug tracking metadata.
+ * debian/libnspr4.triggers: Remove ldconfig trigger, dh_makeshlibs adds
+ it automatically.
+ * debian/not-installed: Don't install compile-et.pl and prerr.properties.
+
+ -- Mike Hommey <glandium@debian.org> Sun, 21 Nov 2021 07:09:06 +0900
+
+nspr (2:4.32-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #991234.
+
+ -- Mike Hommey <glandium@debian.org> Mon, 19 Jul 2021 06:13:28 +0900
+
+nspr (2:4.29-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Wed, 21 Oct 2020 07:58:38 +0900
+
+nspr (2:4.28-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Thu, 03 Sep 2020 10:45:34 +0900
+
+nspr (2:4.27-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Wed, 29 Jul 2020 16:47:26 +0900
+
+nspr (2:4.25-1) unstable; urgency=medium
+
+ * New upstream release.
+ * debian/rules: Adapt to changes to runtests.sh.
+
+ -- Mike Hommey <glandium@debian.org> Wed, 11 Mar 2020 08:00:04 +0900
+
+nspr (2:4.24-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 28 Dec 2019 07:59:11 +0900
+
+nspr (2:4.23-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Wed, 23 Oct 2019 11:12:53 +0900
+
+nspr (2:4.21-2) unstable; urgency=medium
+
+ * debian/rules: Set LD_LIBRARY_PATH when running tests. Closes: #925790.
+
+ -- Mike Hommey <glandium@debian.org> Sun, 18 Aug 2019 22:19:08 +0900
+
+nspr (2:4.21-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Wed, 22 May 2019 09:21:06 +0900
+
+nspr (2:4.20-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Sun, 09 Sep 2018 07:54:05 +0900
+
+nspr (2:4.19-3) unstable; urgency=medium
+
+ * debian/rules: Add missing epoch in dbgsym migration version.
+
+ -- Mike Hommey <glandium@debian.org> Mon, 28 May 2018 08:25:40 +0900
+
+nspr (2:4.19-2) unstable; urgency=medium
+
+ * debian/control: Update Maintainer and Vcs fields, moving off alioth.
+ * debian/control, debian/rules: Generate dbgsym package.
+ * debian/copyright: Switch to machine-readable format.
+ * debian/control: Bump Standards-Version to 4.1.4.
+
+ -- Mike Hommey <glandium@debian.org> Mon, 14 May 2018 06:46:21 +0900
+
+nspr (2:4.19-1) unstable; urgency=medium
+
+ * New upstream release. Closes: #894982.
+
+ -- Mike Hommey <glandium@debian.org> Sun, 08 Apr 2018 06:49:27 +0900
+
+nspr (2:4.18-1) unstable; urgency=medium
+
+ * New upstream release.
+ * nspr/pr/tests/prfz.c: Add missing include for SIZE_MAX. bz#1432638.
+ Closes: #887738. Thanks Jason Duerstock.
+
+ -- Mike Hommey <glandium@debian.org> Mon, 29 Jan 2018 10:39:52 +0900
+
+nspr (2:4.16-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Thu, 10 Aug 2017 15:19:59 +0900
+
+nspr (2:4.15-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 17 Jun 2017 06:34:23 +0900
+
+nspr (2:4.14-1) experimental; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Wed, 19 Apr 2017 20:07:34 +0900
+
+nspr (2:4.13.1-1) experimental; urgency=medium
+
+ * New upstream release.
+ * debian/control:
+ - Change Vcs-{Git,Browser} URLs.
+ - Bump Standards-Version to 3.9.8. No changes required.
+ * debian/rules:
+ - Avoid ignoring make clean errors.
+ - Move the --sourcedirectory option after dh target.
+ * debian/compat, debian/control: Bump debian/compat to 9.
+ * debian/libnspr4.lintian-overrides.in: Add a lintian override for
+ dev-pkg-without-shlib-symlink for the same reason there is a lintian
+ override for shlib-without-versioned-soname.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 19 Nov 2016 08:07:09 +0900
+
+nspr (2:4.12-6) unstable; urgency=medium
+
+ * nspr/lib/libc/src/strcase.c, nspr/lib/tests/string.c: Fix PL_str*casecmp
+ similarly to PL_str*cmp.
+
+ -- Mike Hommey <glandium@debian.org> Tue, 16 Aug 2016 07:22:46 +0900
+
+nspr (2:4.12-5) unstable; urgency=medium
+
+ * debian/rules: Set LD_LIBRARY_PATH when running base64t and string.
+
+ -- Mike Hommey <glandium@debian.org> Mon, 15 Aug 2016 19:14:12 +0900
+
+nspr (2:4.12-4) unstable; urgency=medium
+
+ * debian/rules:
+ - Honour DEB_BUILD_OPTIONS=nocheck. Thanks Helmut Grohne/ Closes: #833771.
+ - Skip some tests that fail on buildds
+
+ * nspr/lib/libc/src/strcmp.c, nspr/lib/tests/string.c: Return consistent
+ results for PL_str*cmp when one of the pointers is NULL. bz#1295056.
+ This should fix tests on s390x.
+
+ -- Mike Hommey <glandium@debian.org> Mon, 15 Aug 2016 10:26:46 +0900
+
+nspr (2:4.12-3) unstable; urgency=medium
+
+ * debian/control, debian/libnspr4.symbols, debian/libnspr4-0d*: Remove the
+ libnspr4-0d* transitional packages.
+ * debian/rules: Enable tests. Thanks Guido Günther. Closes: #809723.
+ * debian/libnspr4.symbols: Bump symbol version for PR_*printf.
+ Closes #820565.
+
+ -- Mike Hommey <glandium@debian.org> Mon, 08 Aug 2016 11:04:39 +0900
+
+nspr (2:4.12-2) unstable; urgency=medium
+
+ * debian/rules, debian/libnspr4.triggers. Replace makeshlibs scripts that
+ don't exist anymore with ldconfig triggers. Closes: #811118.
+
+ -- Mike Hommey <glandium@debian.org> Sun, 03 Apr 2016 17:36:49 +0900
+
+nspr (2:4.12-1) unstable; urgency=medium
+
+ * New upstream release.
+ * debian/libnspr4.symbols: Updated.
+
+ -- Mike Hommey <glandium@debian.org> Wed, 09 Mar 2016 09:28:19 +0900
+
+nspr (2:4.11-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Wed, 25 Nov 2015 09:02:00 +0900
+
+nspr (2:4.10.10-1) unstable; urgency=high
+
+ * New upstream release.
+ * Fixes mfsa-2015-133, aka CVE-2015-7183.
+
+ -- Mike Hommey <glandium@debian.org> Wed, 04 Nov 2015 08:25:04 +0900
+
+nspr (2:4.10.9-2) unstable; urgency=medium
+
+ * nspr/pr/include/md/_linux.cfg: Fix mips64 condition testing, avoiding
+ e.g. wrong types being picked up on mips/mipsel.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 29 Aug 2015 10:22:50 +0900
+
+nspr (2:4.10.9-1) unstable; urgency=medium
+
+ * New upstream release.
+ * debian/libnspr4.symbols: Updated.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 22 Aug 2015 08:59:00 +0900
+
+nspr (2:4.10.8-2) unstable; urgency=medium
+
+ * debian/rules:
+ - Do not pretend nspr's configure can be run through dh_auto_configure.
+ The architecture flags are different than "standard" autoconf.
+ Closes: #782983.
+ - Use changelog date to feed nspr build system.
+ - Pass --enable-x32 for x32 builds.
+ * debian/libnspr4.symbols:
+ - Updated for x32-specific symbols. Thanks to Daniel Schepler
+ <dschepler@gmail.com>.
+ - Reordered symbols.
+
+ -- Mike Hommey <glandium@debian.org> Thu, 28 May 2015 15:02:05 +0900
+
+nspr (2:4.10.8-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Wed, 01 Apr 2015 16:43:15 +0900
+
+nspr (2:4.10.7-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Sun, 24 Aug 2014 08:25:26 +0900
+
+nspr (2:4.10.6-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 07 Jun 2014 17:10:25 +0900
+
+nspr (2:4.10.4-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Fri, 21 Mar 2014 07:51:39 +0900
+
+nspr (2:4.10.3-1) unstable; urgency=medium
+
+ * New upstream release.
+ * debian/libnspr4.symbols: Updated.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 08 Feb 2014 10:51:24 +0900
+
+nspr (2:4.10.2-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 16 Nov 2013 08:11:38 +0900
+
+nspr (2:4.10.1-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Mon, 21 Oct 2013 08:19:05 +0900
+
+nspr (2:4.10-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/rules: Adjusted to new source layout.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 15 Jun 2013 18:37:30 +0900
+
+nspr (2:4.9.6-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/libnspr4.symbols: Updated.
+
+ -- Mike Hommey <glandium@debian.org> Thu, 04 Apr 2013 23:43:12 +0200
+
+nspr (2:4.9.5-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Fri, 15 Feb 2013 09:11:59 +0100
+
+nspr (2:4.9.4-2) unstable; urgency=low
+
+ * pr/src/Makefile.in: Use -lrt appropriately (or not) on Android, GNU/Hurd
+ and GNU/kFreeBSD. bz#824742.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 29 Dec 2012 09:50:20 +0100
+
+nspr (2:4.9.4-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Sun, 23 Dec 2012 17:36:15 +0100
+
+nspr (2:4.9.3-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Thu, 01 Nov 2012 10:04:17 +0100
+
+nspr (2:4.9.2-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/libnspr4.symbols: Add new symbols.
+
+ -- Mike Hommey <glandium@debian.org> Fri, 20 Jul 2012 08:40:44 +0200
+
+nspr (2:4.9.1-1) unstable; urgency=low
+
+ * New upstream release. Now patch-free!
+ * debian/copyright: Upstream upgraded to MPL 2.0.
+
+ -- Mike Hommey <glandium@debian.org> Fri, 15 Jun 2012 09:25:54 +0200
+
+nspr (2:4.9-3) unstable; urgency=low
+
+ * debian/rules: Re-enable read-only relocations. Closes: #673090.
+
+ -- Mike Hommey <glandium@debian.org> Thu, 17 May 2012 08:43:32 +0200
+
+nspr (2:4.9-2) unstable; urgency=low
+
+ * debian/control, debian/libnspr4*, debian/rules,
+ mozilla/nsprpub/config/rules.mk, mozilla/nsprpub/configure.in,
+ mozilla/nsprpub/lib/ds/Makefile.in,
+ mozilla/nsprpub/lib/libc/src/Makefile.in,
+ mozilla/nsprpub/pr/src/Makefile.in: Move to unversioned library.
+ ABI compatibility is ensured upstream, and the SO version, if it needed
+ a change at any time, would be a change in the library name. There is
+ no reason to keep making compatibility more difficult with other distros
+ and upstream binary releases. While previous versions were one-way
+ compatible (binaries built against other distros or upstream nspr could
+ work on Debian), this approach works both ways.
+ * debian/make.mk: Makefile utilities imported from Iceweasel.
+ * debian/rules, mozilla/nsprpub/configure.in: Use dpkg-buildflags for
+ hardening.
+ * debian/rules: Limit the number of times dpkg-architecture is called.
+ * debian/control: Bump Standards-Version to 3.9.3.0. No changes required.
+ * Adding an epoch to match the old libnspr4 package that used to be in
+ the Debian archive.
+
+ -- Mike Hommey <glandium@debian.org> Sun, 13 May 2012 10:39:16 +0200
+
+nspr (4.9-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Mike Hommey <glandium@debian.org> Fri, 24 Feb 2012 09:15:53 +0100
+
+nspr (4.9~beta5-2) unstable; urgency=low
+
+ * debian/rules, debian/libnspr4-0d.lintian-overrides.in: Use wildcards for
+ multiarch in lintian overrides. Closes: #658843.
+ * mozilla/nsprpub/configure.*: Allow to enable a set of hardening flags.
+ bz#725941.
+ * debian/rules: Enable hardening. Closes: #657522.
+
+ -- Mike Hommey <glandium@debian.org> Fri, 10 Feb 2012 10:14:50 +0100
+
+nspr (4.9~beta5-1) experimental; urgency=low
+
+ * New upstream beta release.
+ * mozilla/nsprpub/configure.*, mozilla/nsprpub/config/rules.mk: Refreshed.
+
+ -- Mike Hommey <glandium@debian.org> Fri, 23 Dec 2011 17:06:55 +0100
+
+nspr (4.8.9-1) unstable; urgency=low
+
+ * New upstream release.
+ * mozilla/nsprpub/configure.*: Refreshed.
+ * debian/libnspr4-0d.symbols: Add PR_GetVersion to the symbols file.
+ * debian/rules: Bump shlibs.
+
+ -- Mike Hommey <glandium@debian.org> Fri, 12 Aug 2011 12:11:27 +0200
+
+nspr (4.8.8-2) unstable; urgency=low
+
+ * debian/libnspr4-0d.install.in, debian/libnspr4-0d.lintian-overrides.in,
+ debian/libnspr4-dev.install.in, debian/libnspr4-dev.links.in,
+ debian/control, debian/rules: Switch to multi-arch while keeping
+ backports easy. Closes: #497087.
+ * debian/control: Bump Standards-Version to 3.9.2.0. No changes required.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 18 Jun 2011 18:45:29 +0900
+
+nspr (4.8.8-1) unstable; urgency=low
+
+ * New upstream release.
+ * mozilla/nsprpub/configure: Refreshed.
+ * debian/libnspr4-0d.symbols*:
+ - Use symbols tags instead of individual symbols files for each
+ architecture.
+ - Add symbols tags for powerpcspe. Closes: #614228
+
+ -- Mike Hommey <glandium@debian.org> Tue, 24 May 2011 20:11:53 +0200
+
+nspr (4.8.7-2) unstable; urgency=low
+
+ * Upload to unstable.
+ * debian/rules: Merge OPTFLAGS and DEBUGFLAGS in one variable.
+ * debian/control, debian/patches/30_config_64bits.patch,
+ debian/patches/99_configure.patch, debian/patches/series,
+ debian/rules: Use dpkg-architecture to enable 64-bits build on 64 bits
+ architectures, instead of relying on a patch to configure.in.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 19 Feb 2011 14:21:52 +0100
+
+nspr (4.8.7-1) experimental; urgency=low
+
+ * New upstream release.
+ * mozilla/nsprpub/configure.in: Don't use -march=armv5te -mthumb-interwork
+ on non-android arm platforms. bz#626035.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 15 Jan 2011 12:07:25 +0100
+
+nspr (4.8.6-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/patches/*: Refresh patches.
+ * debian/patches/90_Move_PR_STATIC_ASSERT_from_prlog.h_to_prtypes.h.patch:
+ Removed, as applied upstream.
+ * debian/libnspr4-0d.symbols: Add new symbol.
+ * debian/rules:
+ - Bump shlibs.
+ - Let nspr use its own optimization options.
+ - Use the --enable-debug-symbols configure option instead of forcing -g
+ into compiler flags.
+ * debian/control: Bump Standards-Version to 3.9.1.0.
+
+ -- Mike Hommey <glandium@debian.org> Fri, 06 Aug 2010 08:21:33 +0200
+
+nspr (4.8.4-2) unstable; urgency=low
+
+ * debian/patches/90_Move_PR_STATIC_ASSERT_from_prlog.h_to_prtypes.h.patch:
+ Move PR_STATIC_ASSERT from prlog.h to prtypes.h. bz#551782.
+ * debian/control:
+ - Remove conflicts with very old packages.
+ - Bump Standards-Version to 3.9.0.0.
+
+ -- Mike Hommey <glandium@debian.org> Thu, 08 Jul 2010 13:52:39 +0200
+
+nspr (4.8.4-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/patches/99_configure.dpatch: Updated.
+ * debian/control:
+ - Remove old dependency from libnspr4-dev on libnspr4-0d (>> 4.7.1-1).
+ It was only necessary when Upstream-Version was 4.7.1.
+ - Bump Standards-Version to 3.8.4.0.
+
+ -- Mike Hommey <glandium@debian.org> Mon, 08 Mar 2010 09:33:17 +0100
+
+nspr (4.8.3-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/rules, debian/patches/00list, debian/patches/80_config.dpatch:
+ Move what debian/patches/80_config.dpatch does into debian/rules.
+ * debian/patches/*: Refresh patches.
+ * debian/rules: Remove the rule to refresh 99_configure.dpatch.
+ * debian/patches/*, debian/rules, debian/control, debian/source/format:
+ Switch to 3.0 (quilt) format.
+ * debian/control: Bump Standards-Version to 3.8.3.0.
+ * debian/compat, debian/control, debian/rules: Simplify debian/rules
+ with the use of dh. This has the side effect of calling make distclean
+ properly and Closes: #552027.
+ * debian/control: Add ${misc:Depends} to libnspr4-0d-dbg dependencies.
+
+ -- Mike Hommey <glandium@debian.org> Mon, 25 Jan 2010 12:42:30 +0100
+
+nspr (4.8.2-1) unstable; urgency=low
+
+ * New upstream release.
+ * Fixes overflow related to mfsa-2009-34, aka CVE-2009-2463.
+ * debian/patches/82_CVE-2009-1563.dpatch: Removed, as applied upstream.
+ * debian/patches/99_configure.dpatch: Updated.
+ * debian/patches/00list: Remove 82_CVE-2009-1563.
+
+ -- Mike Hommey <glandium@debian.org> Wed, 04 Nov 2009 15:46:48 +0100
+
+nspr (4.8-2) unstable; urgency=low
+
+ * debian/patches/82_CVE-2009-1563.dpatch: Fix for CVE-2009-1563 aka
+ mfsa-2009-59.
+ * debian/patches/00list: Add 82_CVE-2009-1563.
+
+ -- Mike Hommey <glandium@debian.org> Wed, 28 Oct 2009 16:46:28 +0100
+
+nspr (4.8-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/patches/30_reinit.dpatch: Remove, as applied upstream.
+ * debian/patches/00list: Remove 30_reinit.
+ * debian/patches/81_sonames.dpatch,
+ debian/patches/99_configure.dpatch: Adapted to upstream changes.
+ * debian/libnspr4-0d.symbols: Add new symbols.
+ * debian/rules: Bump shlibs version.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 13 Jun 2009 21:27:09 +0200
+
+nspr (4.7.4-3) unstable; urgency=low
+
+ * debian/libnspr4-0d.symbols.kfreebsd*: Add symbols files for kfreebsd
+ i386 and amd64. Closes: #528781.
+ * debian/patches/30_reinit.dpatch: Apply another path from bz#485318 to
+ allow proper reinitialization of the library. Closes: #520689.
+ * debian/patches/00list: Add 30_reinit.
+
+ -- Mike Hommey <glandium@debian.org> Wed, 20 May 2009 08:36:20 +0200
+
+nspr (4.7.4-2) unstable; urgency=low
+
+ * debian/libnspr4-0d.symbols.hurd_i386: Renamed to
+ debian/libnspr4-0d.symbols.hurd-i386. Closes: #524580.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 18 Apr 2009 22:24:46 +0200
+
+nspr (4.7.4-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/patches/30_dev_urandom.dpatch: Drop, as applied upstream.
+ * debian/patches/00list: Updated accordingly.
+ * debian/patches/38_hurd.dpatch, debian/patches/81_sonames.dpatch,
+ debian/patches/99_configure.dpatch: Adapted to upstream changes.
+ * debian/rules: Force dpkg-gensymbols to fail when symbols are missing.
+ * debian/control:
+ + Bumped Standards-Version to 3.8.1.0. No changes needed.
+ + Put the libnspr4-0d-dbg package in the "debug" section.
+ + Correct libnspr4-0d-dbg short description.
+ + Remove redundant section on libnspr4-0d.
+ + Build-depend on proper version of debhelper for dh_lintian.
+ * debian/*.lintian-overrides, debian/rules: Install some Lintian
+ overrides with dh_lintian.
+ * debian/patches/30_reinit.dpatch: Apply patch from bz#485318 to allow
+ proper reinitialization of the library. Closes: #520689.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 18 Apr 2009 01:28:48 +0200
+
+nspr (4.7.1-4) unstable; urgency=low
+
+ * debian/patches/30_dev_urandom.dpath: Use /dev/urandom instead of
+ /dev/random to avoid freezing at iceweasel startup when there is
+ not enough entropy. Closes: #499146.
+ * debian/patches/00list: Updated accordingly.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 20 Sep 2008 09:50:13 +0200
+
+nspr (4.7.1-3) unstable; urgency=low
+
+ * debian/control: Make libnspr4-0d conflict with old libnspr4, which can
+ still be installed on some systems, though it hasn't been in the archive
+ since sarge. Closes: #485079.
+
+ -- Mike Hommey <glandium@debian.org> Sun, 08 Jun 2008 14:09:34 +0200
+
+nspr (4.7.1-2) unstable; urgency=low
+
+ * debian/libnspr4-dev.install, debian/libnspr4-0d.install: Don't install so
+ files in the -dev package but in the library package. It will allow
+ external applications linked against upstream nspr to work on Debian with
+ system nspr libraries, and will avoid all browsers to have to implement
+ symlinks themselves to allow some external plugins to work properly.
+ * debian/control: Make libnspr4-0d conflict with older versions of
+ libnspr4-dev and libnspr4-dev need newer libnspr4-0d accordingly.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 07 Jun 2008 11:36:46 +0200
+
+nspr (4.7.1-1) unstable; urgency=low
+
+ * New upstream release, picked from NSPR_4_7_1_RTM cvs tag.
+ * debian/patches/99_configure.dpatch: Updated.
+
+ -- Mike Hommey <glandium@debian.org> Sun, 11 May 2008 17:05:28 +0200
+
+nspr (4.7.0-2) unstable; urgency=low
+
+ * debian/libnspr4-0d.symbols.powerpc: Add new powerpc specific symbols.
+ * debian/control: Turn Homepage indications in descriptions into a
+ control field.
+ * debian/rules:
+ + Don't ignore $(MAKE) distclean errors.
+ + Bump shlibs, but only for ppc.
+ * debian/patches/38_hurd.dpatch: Fix FTBFS on Hurd. Closes: #457573.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 08 Mar 2008 08:01:47 +0100
+
+nspr (4.7.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/patches/99_configure.dpatch: Updated.
+
+ -- Mike Hommey <glandium@debian.org> Fri, 07 Mar 2008 19:32:28 +0100
+
+nspr (4.7.0~1.9b1-2) unstable; urgency=low
+
+ * debian/*.symbols.*: Remove "../../" workaround now that dh_makeshlibs
+ supports symbols files includes properly.
+ * debian/control:
+ + Build depend on debhelper (>= 5.0.62), where this happened. Remove
+ dpkg-dev versioned build-dependency, as debhelper already depends
+ on the proper one, and this dependency is obviously not going to be
+ dropped.
+ + Bumped Standards-Version to 3.7.3.0. No changes needed.
+
+ -- Mike Hommey <glandium@debian.org> Thu, 13 Dec 2007 21:22:50 +0100
+
+nspr (4.7.0~1.9b1-1) unstable; urgency=low
+
+ * New upstream snapshot, picked from FIREFOX_3_0b1_RELEASE cvs tag.
+ * debian/patches/81_sonames.dpatch: Updated to fit upstream changes.
+ * debian/patches/18_kbsd_nspr.dpatch,
+ debian/patches/30_nspr_m4.dpatch: Removed, as applied upstream.
+ * debian/patches/00list: Updated accordingly.
+ * debian/patches/99_configure.dpatch: Updated.
+ * debian/rules, debian/patches/30_pkgconfig.dpatch: The real_install rule
+ has been replaced by install, upstream, so we now use it.
+ * debian/libnspr4-0d.symbols, debian/libnspr4-0d.symbols.amd64,
+ debian/libnspr4-0d.symbols.hurd_i386, debian/libnspr4-0d.symbols.i386,
+ debian/libnspr4-0d.symbols.ia64: Add symbols files to benefit from the
+ new features in dpkg-shlibdeps. Workaround debhelper lack of handling of
+ symbols files include with "../../" in the included file name.
+ * debian/control: Build depend on debhelper (>= 5.0.61) and dpkg-dev (>=
+ 1.14.9), accordingly.
+ * debian/rules: Bump shlibs to current version, since new symbols were
+ added.
+
+ -- Mike Hommey <glandium@debian.org> Sat, 24 Nov 2007 19:12:48 +0100
+
+nspr (4.6.7-1) unstable; urgency=low
+
+ * New upstream release, picked from NSPR_4_6_7_RTM cvs tag.
+ * debian/patches/18_kbsd_nspr.dpatch: Also add support for the Hurd.
+ Closes: #419528.
+
+ -- Mike Hommey <glandium@debian.org> Sun, 01 Jul 2007 09:49:23 +0200
+
+nspr (4.6.6-3) unstable; urgency=low
+
+ * debian/rules: replace libnss3-0d (!) with libnspr4-0d in shlib
+ creation. Closes: #420069. Thanks Alexander Sack.
+
+ -- Mike Hommey <glandium@debian.org> Fri, 20 Apr 2007 07:05:04 +0200
+
+nspr (4.6.6-2) unstable; urgency=low
+
+ * debian/control: Fixed section.
+ * debian/copyright: Fixed typo.
+ * debian/rules: Removed unused variables and replaced some = with :=.
+
+ -- Mike Hommey <glandium@debian.org> Mon, 09 Apr 2007 20:29:27 +0200
+
+nspr (4.6.6-1) experimental; urgency=low
+
+ * Initial release. (Closes: #416150)
+
+ -- Mike Hommey <glandium@debian.org> Sun, 25 Mar 2007 16:32:41 +0200
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d61e656
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,44 @@
+Source: nspr
+Section: libs
+Priority: optional
+Maintainer: Maintainers of Mozilla-related packages <team+pkg-mozilla@tracker.debian.org>
+Uploaders: Mike Hommey <glandium@debian.org>
+Build-Depends: debhelper-compat (= 13), dpkg-dev (>= 1.15.4)
+Standards-Version: 4.6.0
+Homepage: http://www.mozilla.org/projects/nspr/
+Rules-Requires-Root: no
+Vcs-Git: https://salsa.debian.org/mozilla-team/nspr.git
+Vcs-Browser: https://salsa.debian.org/mozilla-team/nspr
+
+Package: libnspr4
+Architecture: any
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Multi-Arch: same
+Description: NetScape Portable Runtime Library
+ This library provides platform independent non-GUI operating system
+ facilities including:
+ * threads,
+ * thread synchronisation,
+ * normal file I/O and network I/O,
+ * interval timing and calendar time,
+ * basic memory management (malloc and free),
+ * shared library linking.
+
+Package: libnspr4-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}, libnspr4 (>= ${source:Upstream-Version}), libnspr4 (<= ${source:Version}.1~)
+Breaks: libxmlsec1-dev (<= 1.2.33-1)
+Description: Development files for the NetScape Portable Runtime library
+ This library provides platform independent non-GUI operating system
+ facilities including:
+ * threads,
+ * thread synchronisation,
+ * normal file I/O and network I/O,
+ * interval timing and calendar time,
+ * basic memory management (malloc and free),
+ * shared library linking.
+ .
+ Install this package if you wish to develop your own programs using the
+ NetScape Portable Runtime library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0b70fde
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,9 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: NSPR
+Source: http://ftp.mozilla.org/pub/nspr/releases/
+
+Files: *
+Copyright: 1998-2000 Netscape Communications Corporation.
+License: MPL-2.0
+ On Debian systems the full text of the MPL-2.0 can be found in
+ /usr/share/common-licenses/MPL-2.0.
diff --git a/debian/libnspr4-dev.install.in b/debian/libnspr4-dev.install.in
new file mode 100644
index 0000000..b52775c
--- /dev/null
+++ b/debian/libnspr4-dev.install.in
@@ -0,0 +1,5 @@
+usr/bin/nspr-config
+usr/include
+usr/lib/@DEB_HOST_MULTIARCH@/*.a
+usr/lib/@DEB_HOST_MULTIARCH@/pkgconfig
+usr/share/aclocal
diff --git a/debian/libnspr4.install.in b/debian/libnspr4.install.in
new file mode 100644
index 0000000..b0280fa
--- /dev/null
+++ b/debian/libnspr4.install.in
@@ -0,0 +1 @@
+usr/lib/@DEB_HOST_MULTIARCH@/*.so
diff --git a/debian/libnspr4.lintian-overrides.in b/debian/libnspr4.lintian-overrides.in
new file mode 100644
index 0000000..1414f7d
--- /dev/null
+++ b/debian/libnspr4.lintian-overrides.in
@@ -0,0 +1,11 @@
+# ABI compatibility is ensured upstream, and the SO version, if it needed
+# a change at any time, would be a change in the library name. There is
+# no reason to make compatibility more difficult with other distros and
+# upstream binary releases.
+libnspr4: shared-library-lacks-version usr/lib/@MULTIARCH_WILDCARD@/libnspr4.so libnspr4.so
+libnspr4: shared-library-lacks-version usr/lib/@MULTIARCH_WILDCARD@/libplc4.so libplc4.so
+libnspr4: shared-library-lacks-version usr/lib/@MULTIARCH_WILDCARD@/libplds4.so libplds4.so
+# Extra lintian warning due to the Same as above
+libnspr4: lacks-unversioned-link-to-shared-library usr/lib/@MULTIARCH_WILDCARD@/libnspr4.so usr/lib/@MULTIARCH_WILDCARD@/libnspr4.so
+libnspr4: lacks-unversioned-link-to-shared-library usr/lib/@MULTIARCH_WILDCARD@/libplc4.so usr/lib/@MULTIARCH_WILDCARD@/libplc4.so
+libnspr4: lacks-unversioned-link-to-shared-library usr/lib/@MULTIARCH_WILDCARD@/libplds4.so usr/lib/@MULTIARCH_WILDCARD@/libplds4.so
diff --git a/debian/libnspr4.symbols b/debian/libnspr4.symbols
new file mode 100644
index 0000000..c00060a
--- /dev/null
+++ b/debian/libnspr4.symbols
@@ -0,0 +1,488 @@
+libnspr4.so libnspr4 #MINVER#
+* Build-Depends-Package: libnspr4-dev
+ GetExecutionEnvironment@Base 2:4.9-2~
+ LL_MaxInt@Base 2:4.9-2~
+ LL_MaxUint@Base 2:4.9-2~
+ LL_MinInt@Base 2:4.9-2~
+ LL_Zero@Base 2:4.9-2~
+ PRP_DestroyNakedCondVar@Base 2:4.9-2~
+ PRP_NakedBroadcast@Base 2:4.9-2~
+ PRP_NakedNotify@Base 2:4.9-2~
+ PRP_NakedWait@Base 2:4.9-2~
+ PRP_NewNakedCondVar@Base 2:4.9-2~
+ PRP_TryLock@Base 2:4.9-2~
+ PR_Abort@Base 2:4.9-2~
+ PR_Accept@Base 2:4.9-2~
+ PR_AcceptRead@Base 2:4.9-2~
+ PR_Access@Base 2:4.9-2~
+ PR_AddToCounter@Base 2:4.9-2~
+ PR_AddWaitFileDesc@Base 2:4.9-2~
+ PR_AllocFileDesc@Base 2:4.9-2~
+ PR_Assert@Base 2:4.9-2~
+ PR_AssertCurrentThreadInMonitor@Base 2:4.9-2~
+ PR_AssertCurrentThreadOwnsLock@Base 2:4.9-2~
+ PR_AtomicAdd@Base 2:4.9-2~
+ PR_AtomicDecrement@Base 2:4.9-2~
+ PR_AtomicIncrement@Base 2:4.9-2~
+ PR_AtomicSet@Base 2:4.9-2~
+ PR_AttachSharedMemory@Base 2:4.9-2~
+ PR_AttachThread@Base 2:4.9-2~
+ PR_Available64@Base 2:4.9-2~
+ PR_Available@Base 2:4.9-2~
+ PR_Bind@Base 2:4.9-2~
+ PR_BlockClockInterrupts@Base 2:4.9-2~
+ PR_BlockInterrupt@Base 2:4.9-2~
+ PR_CEnterMonitor@Base 2:4.9-2~
+ PR_CExitMonitor@Base 2:4.9-2~
+ PR_CNotify@Base 2:4.9-2~
+ PR_CNotifyAll@Base 2:4.9-2~
+ PR_CSetOnMonitorRecycle@Base 2:4.9-2~
+ PR_CWait@Base 2:4.9-2~
+ PR_CallOnce@Base 2:4.9-2~
+ PR_CallOnceWithArg@Base 2:4.9-2~
+ PR_Calloc@Base 2:4.9-2~
+ PR_CancelJob@Base 2:4.9-2~
+ PR_CancelWaitFileDesc@Base 2:4.9-2~
+ PR_CancelWaitGroup@Base 2:4.9-2~
+ PR_CeilingLog2@Base 2:4.9-2~
+ PR_ChangeFileDescNativeHandle@Base 2:4.9-2~
+ PR_Cleanup@Base 2:4.9-2~
+ PR_ClearInterrupt@Base 2:4.9-2~
+ PR_ClearThreadGCAble@Base 2:4.9-2~
+ PR_Close@Base 2:4.9-2~
+ PR_CloseDir@Base 2:4.9-2~
+ PR_CloseFileMap@Base 2:4.9-2~
+ PR_CloseSemaphore@Base 2:4.9-2~
+ PR_CloseSharedMemory@Base 2:4.9-2~
+ PR_Connect@Base 2:4.9-2~
+ PR_ConnectContinue@Base 2:4.9-2~
+ PR_ConvertIPv4AddrToIPv6@Base 2:4.9-2~
+ PR_CreateAlarm@Base 2:4.9-2~
+ PR_CreateCounter@Base 2:4.9-2~
+ PR_CreateFileMap@Base 2:4.9-2~
+ PR_CreateIOLayer@Base 2:4.9-2~
+ PR_CreateIOLayerStub@Base 2:4.9-2~
+ PR_CreateMWaitEnumerator@Base 2:4.9-2~
+ PR_CreateOrderedLock@Base 2:4.9-2~
+ PR_CreatePipe@Base 2:4.9-2~
+ PR_CreateProcess@Base 2:4.9-2~
+ PR_CreateProcessDetached@Base 2:4.9-2~
+ PR_CreateSocketPollFd@Base 2:4.9-2~
+ PR_CreateStack@Base 2:4.9-2~
+ PR_CreateThread@Base 2:4.9-2~
+ PR_CreateThreadGCAble@Base 2:4.9-2~
+ PR_CreateThreadPool@Base 2:4.9-2~
+ PR_CreateTrace@Base 2:4.9-2~
+ PR_CreateWaitGroup@Base 2:4.9-2~
+ PR_DecrementCounter@Base 2:4.9-2~
+ PR_Delete@Base 2:4.9-2~
+ PR_DeleteSemaphore@Base 2:4.9-2~
+ PR_DeleteSharedMemory@Base 2:4.9-2~
+ PR_DestroyAlarm@Base 2:4.9-2~
+ PR_DestroyCondVar@Base 2:4.9-2~
+ PR_DestroyCounter@Base 2:4.9-2~
+ PR_DestroyLock@Base 2:4.9-2~
+ PR_DestroyMWaitEnumerator@Base 2:4.9-2~
+ PR_DestroyMonitor@Base 2:4.9-2~
+ PR_DestroyOrderedLock@Base 2:4.9-2~
+ PR_DestroyPollableEvent@Base 2:4.9-2~
+ PR_DestroyProcessAttr@Base 2:4.9-2~
+ PR_DestroyRWLock@Base 2:4.9-2~
+ PR_DestroySem@Base 2:4.9-2~
+ PR_DestroySocketPollFd@Base 2:4.9-2~
+ PR_DestroyStack@Base 2:4.9-2~
+ PR_DestroyTrace@Base 2:4.9-2~
+ PR_DestroyWaitGroup@Base 2:4.9-2~
+ PR_DetachProcess@Base 2:4.9-2~
+ PR_DetachSharedMemory@Base 2:4.9-2~
+ PR_DetachThread@Base 2:4.9-2~
+ PR_DisableClockInterrupts@Base 2:4.9-2~
+ PR_DuplicateEnvironment@Base 2:4.10.9
+ PR_EmulateAcceptRead@Base 2:4.9-2~
+ PR_EmulateSendFile@Base 2:4.9-2~
+ PR_EnableClockInterrupts@Base 2:4.9-2~
+ PR_EnterMonitor@Base 2:4.9-2~
+ PR_EnumerateAddrInfo@Base 2:4.9-2~
+ PR_EnumerateHostEnt@Base 2:4.9-2~
+ PR_EnumerateThreads@Base 2:4.9-2~
+ PR_EnumerateWaitGroup@Base 2:4.9-2~
+ PR_ErrorInstallCallback@Base 2:4.9-2~
+ PR_ErrorInstallTable@Base 2:4.9-2~
+ PR_ErrorLanguages@Base 2:4.9-2~
+ PR_ErrorToName@Base 2:4.9-2~
+ PR_ErrorToString@Base 2:4.9-2~
+ PR_ExitMonitor@Base 2:4.9-2~
+ PR_ExplodeTime@Base 2:4.9-2~
+ PR_ExportFileMapAsString@Base 2:4.9-2~
+ PR_FD_CLR@Base 2:4.9-2~
+ PR_FD_ISSET@Base 2:4.9-2~
+ PR_FD_NCLR@Base 2:4.9-2~
+ PR_FD_NISSET@Base 2:4.9-2~
+ PR_FD_NSET@Base 2:4.9-2~
+ PR_FD_SET@Base 2:4.9-2~
+ PR_FD_ZERO@Base 2:4.9-2~
+ PR_FPrintZoneStats@Base 2:4.9-2~
+ PR_FileDesc2NativeHandle@Base 2:4.9-2~
+ PR_FindFunctionSymbol@Base 2:4.9-2~
+ PR_FindFunctionSymbolAndLibrary@Base 2:4.9-2~
+ PR_FindNextCounterQname@Base 2:4.9-2~
+ PR_FindNextCounterRname@Base 2:4.9-2~
+ PR_FindNextTraceQname@Base 2:4.9-2~
+ PR_FindNextTraceRname@Base 2:4.9-2~
+ PR_FindSymbol@Base 2:4.9-2~
+ PR_FindSymbolAndLibrary@Base 2:4.9-2~
+ PR_FloorLog2@Base 2:4.9-2~
+ PR_FormatTime@Base 2:4.9-2~
+ PR_FormatTimeUSEnglish@Base 2:4.9-2~
+ PR_Free@Base 2:4.9-2~
+ PR_FreeAddrInfo@Base 2:4.9-2~
+ PR_FreeLibraryName@Base 2:4.9-2~
+ PR_GMTParameters@Base 2:4.9-2~
+ PR_GetAddrInfoByName@Base 2:4.9-2~
+ PR_GetCanonNameFromAddrInfo@Base 2:4.9-2~
+ PR_GetConnectStatus@Base 2:4.9-2~
+ PR_GetCounter@Base 2:4.9-2~
+ PR_GetCounterHandleFromName@Base 2:4.9-2~
+ PR_GetCounterNameFromHandle@Base 2:4.9-2~
+ PR_GetCurrentThread@Base 2:4.9-2~
+ PR_GetDefaultIOMethods@Base 2:4.9-2~
+ PR_GetDescType@Base 2:4.9-2~
+ PR_GetDirectorySeparator@Base 2:4.9-2~
+ PR_GetDirectorySepartor@Base 2:4.9-2~
+ PR_GetEnv@Base 2:4.9-2~
+ PR_GetEnvSecure@Base 2:4.12
+ PR_GetError@Base 2:4.9-2~
+ PR_GetErrorText@Base 2:4.9-2~
+ PR_GetErrorTextLength@Base 2:4.9-2~
+ PR_GetFileInfo64@Base 2:4.9-2~
+ PR_GetFileInfo@Base 2:4.9-2~
+ PR_GetFileMethods@Base 2:4.9-2~
+ PR_GetGCRegisters@Base 2:4.9-2~
+ PR_GetHostByAddr@Base 2:4.9-2~
+ PR_GetHostByName@Base 2:4.9-2~
+ PR_GetIPNodeByName@Base 2:4.9-2~
+ PR_GetIdentitiesLayer@Base 2:4.9-2~
+ PR_GetInheritedFD@Base 2:4.9-2~
+ PR_GetInheritedFileMap@Base 2:4.9-2~
+ PR_GetLayersIdentity@Base 2:4.9-2~
+ PR_GetLibraryFilePathname@Base 2:4.9-2~
+ PR_GetLibraryName@Base 2:4.9-2~
+ PR_GetLibraryPath@Base 2:4.9-2~
+ PR_GetPrefLoopbackAddrInfo@Base 2:4.34
+ PR_GetMemMapAlignment@Base 2:4.9-2~
+ PR_GetMonitorEntryCount@Base 2:4.9-2~
+ PR_GetNameForIdentity@Base 2:4.9-2~
+ PR_GetNumberOfProcessors@Base 2:4.9-2~
+ PR_GetOSError@Base 2:4.9-2~
+ PR_GetOpenFileInfo64@Base 2:4.9-2~
+ PR_GetOpenFileInfo@Base 2:4.9-2~
+ PR_GetPageShift@Base 2:4.9-2~
+ PR_GetPageSize@Base 2:4.9-2~
+ PR_GetPathSeparator@Base 2:4.9-2~
+ PR_GetPeerName@Base 2:4.9-2~
+ PR_GetPhysicalMemorySize@Base 2:4.9-2~
+ PR_GetPipeMethods@Base 2:4.9-2~
+ PR_GetProtoByName@Base 2:4.9-2~
+ PR_GetProtoByNumber@Base 2:4.9-2~
+ PR_GetRandomNoise@Base 2:4.9-2~
+ PR_GetSP@Base 2:4.9-2~
+ PR_GetSockName@Base 2:4.9-2~
+ PR_GetSocketOption@Base 2:4.9-2~
+ PR_GetSpecialFD@Base 2:4.9-2~
+ PR_GetStackSpaceLeft@Base 2:4.9-2~
+ PR_GetSysfdTableMax@Base 2:4.9-2~
+ PR_GetSystemInfo@Base 2:4.9-2~
+ PR_GetTCPMethods@Base 2:4.9-2~
+ PR_GetThreadAffinityMask@Base 2:4.9-2~
+ PR_GetThreadID@Base 2:4.9-2~
+ PR_GetThreadName@Base 2:4.9.2
+ PR_GetThreadPriority@Base 2:4.9-2~
+ PR_GetThreadPrivate@Base 2:4.9-2~
+ PR_GetThreadScope@Base 2:4.9-2~
+ PR_GetThreadState@Base 2:4.9-2~
+ PR_GetThreadType@Base 2:4.9-2~
+ PR_GetTraceEntries@Base 2:4.9-2~
+ PR_GetTraceHandleFromName@Base 2:4.9-2~
+ PR_GetTraceNameFromHandle@Base 2:4.9-2~
+ PR_GetTraceOption@Base 2:4.9-2~
+ PR_GetUDPMethods@Base 2:4.9-2~
+ PR_GetUniqueIdentity@Base 2:4.9-2~
+ PR_GetVersion@Base 2:4.9-2~
+ PR_ImplodeTime@Base 2:4.9-2~
+ PR_ImportFile@Base 2:4.9-2~
+ PR_ImportFileMapFromString@Base 2:4.9-2~
+ PR_ImportPipe@Base 2:4.9-2~
+ PR_ImportTCPSocket@Base 2:4.9-2~
+ PR_ImportUDPSocket@Base 2:4.9-2~
+ PR_IncrementCounter@Base 2:4.9-2~
+ PR_Init@Base 2:4.9-2~
+ PR_Initialize@Base 2:4.9-2~
+ PR_InitializeNetAddr@Base 2:4.9-2~
+ PR_Initialized@Base 2:4.9-2~
+ PR_Interrupt@Base 2:4.9-2~
+ PR_IntervalNow@Base 2:4.9-2~
+ PR_IntervalToMicroseconds@Base 2:4.9-2~
+ PR_IntervalToMilliseconds@Base 2:4.9-2~
+ PR_IntervalToSeconds@Base 2:4.9-2~
+ PR_IsNetAddrType@Base 2:4.9-2~
+ PR_JoinJob@Base 2:4.9-2~
+ PR_JoinThread@Base 2:4.9-2~
+ PR_JoinThreadPool@Base 2:4.9-2~
+ PR_KillProcess@Base 2:4.9-2~
+ PR_Listen@Base 2:4.9-2~
+ PR_LoadLibrary@Base 2:4.9-2~
+ PR_LoadLibraryWithFlags@Base 2:4.9-2~
+ PR_LoadStaticLibrary@Base 2:4.9-2~
+ PR_LocalTimeParameters@Base 2:4.9-2~
+ PR_Lock@Base 2:4.9-2~
+ PR_LockFile@Base 2:4.9-2~
+ PR_LockOrderedLock@Base 2:4.9-2~
+ PR_LogFlush@Base 2:4.9-2~
+ PR_LogPrint@Base 2:4.10.9
+ PR_MakeDir@Base 2:4.9-2~
+ PR_Malloc@Base 2:4.9-2~
+ PR_MemMap@Base 2:4.9-2~
+ PR_MemUnmap@Base 2:4.9-2~
+ PR_MicrosecondsToInterval@Base 2:4.9-2~
+ PR_MillisecondsToInterval@Base 2:4.9-2~
+ PR_MkDir@Base 2:4.9-2~
+ PR_NetAddrToString@Base 2:4.9-2~
+ PR_NewCondVar@Base 2:4.9-2~
+ PR_NewLock@Base 2:4.9-2~
+ PR_NewLogModule@Base 2:4.9-2~
+ PR_NewMonitor@Base 2:4.9-2~
+ PR_NewNamedMonitor@Base 2:4.9-2~
+ PR_NewPollableEvent@Base 2:4.9-2~
+ PR_NewProcessAttr@Base 2:4.9-2~
+ PR_NewRWLock@Base 2:4.9-2~
+ PR_NewSem@Base 2:4.9-2~
+ PR_NewTCPSocket@Base 2:4.9-2~
+ PR_NewTCPSocketPair@Base 2:4.9-2~
+ PR_NewThreadPrivateIndex@Base 2:4.9-2~
+ PR_NewUDPSocket@Base 2:4.9-2~
+ PR_NormalizeTime@Base 2:4.9-2~
+ PR_Notify@Base 2:4.9-2~
+ PR_NotifyAll@Base 2:4.9-2~
+ PR_NotifyAllCondVar@Base 2:4.9-2~
+ PR_NotifyCondVar@Base 2:4.9-2~
+ PR_Now@Base 2:4.9-2~
+ PR_Open@Base 2:4.9-2~
+ PR_OpenAnonFileMap@Base 2:4.9-2~
+ PR_OpenDir@Base 2:4.9-2~
+ PR_OpenFile@Base 2:4.9-2~
+ PR_OpenSemaphore@Base 2:4.9-2~
+ PR_OpenSharedMemory@Base 2:4.9-2~
+ PR_OpenTCPSocket@Base 2:4.9-2~
+ PR_OpenUDPSocket@Base 2:4.9-2~
+ PR_ParseTimeString@Base 2:4.9-2~
+ PR_ParseTimeStringToExplodedTime@Base 2:4.9-2~
+ PR_Poll@Base 2:4.9-2~
+ PR_PopIOLayer@Base 2:4.9-2~
+ PR_PostSem@Base 2:4.9-2~
+ PR_PostSemaphore@Base 2:4.9-2~
+ PR_ProcessAttrSetCurrentDirectory@Base 2:4.9-2~
+ PR_ProcessAttrSetInheritableFD@Base 2:4.9-2~
+ PR_ProcessAttrSetInheritableFileMap@Base 2:4.9-2~
+ PR_ProcessAttrSetStdioRedirect@Base 2:4.9-2~
+ PR_ProcessExit@Base 2:4.9-2~
+ PR_PushIOLayer@Base 2:4.9-2~
+ PR_QueueJob@Base 2:4.9-2~
+ PR_QueueJob_Accept@Base 2:4.9-2~
+ PR_QueueJob_Connect@Base 2:4.9-2~
+ PR_QueueJob_Read@Base 2:4.9-2~
+ PR_QueueJob_Timer@Base 2:4.9-2~
+ PR_QueueJob_Write@Base 2:4.9-2~
+ PR_RWLock_Rlock@Base 2:4.9-2~
+ PR_RWLock_Unlock@Base 2:4.9-2~
+ PR_RWLock_Wlock@Base 2:4.9-2~
+ PR_Read@Base 2:4.9-2~
+ PR_ReadDir@Base 2:4.9-2~
+ PR_Realloc@Base 2:4.9-2~
+ PR_RecordTraceEntries@Base 2:4.9-2~
+ PR_Recv@Base 2:4.9-2~
+ PR_RecvFrom@Base 2:4.9-2~
+ PR_Rename@Base 2:4.9-2~
+ PR_ResetAlarm@Base 2:4.9-2~
+ PR_ResetProcessAttr@Base 2:4.9-2~
+ PR_ResumeAll@Base 2:4.9-2~
+ PR_RmDir@Base 2:4.9-2~
+ PR_ScanStackPointers@Base 2:4.9-2~
+ PR_SecondsToInterval@Base 2:4.9-2~
+ PR_Seek64@Base 2:4.9-2~
+ PR_Seek@Base 2:4.9-2~
+ PR_Select@Base 2:4.9-2~
+ PR_Send@Base 2:4.9-2~
+ PR_SendFile@Base 2:4.9-2~
+ PR_SendTo@Base 2:4.9-2~
+ PR_SetAlarm@Base 2:4.9-2~
+ PR_SetConcurrency@Base 2:4.9-2~
+ PR_SetCounter@Base 2:4.9-2~
+ PR_SetCurrentThreadName@Base 2:4.9.2
+ PR_SetEnv@Base 2:4.9-2~
+ PR_SetError@Base 2:4.9-2~
+ PR_SetErrorText@Base 2:4.9-2~
+ PR_SetFDCacheSize@Base 2:4.9-2~
+ PR_SetFDInheritable@Base 2:4.9-2~
+ PR_SetLibraryPath@Base 2:4.9-2~
+ PR_SetLogBuffering@Base 2:4.9-2~
+ PR_SetLogFile@Base 2:4.9-2~
+ PR_SetNetAddr@Base 2:4.9-2~
+ PR_SetPollableEvent@Base 2:4.9-2~
+ PR_SetSocketOption@Base 2:4.9-2~
+ PR_SetStdioRedirect@Base 2:4.9-2~
+ PR_SetSysfdTableSize@Base 2:4.9-2~
+ PR_SetThreadAffinityMask@Base 2:4.9-2~
+ PR_SetThreadDumpProc@Base 2:4.9-2~
+ PR_SetThreadGCAble@Base 2:4.9-2~
+ PR_SetThreadPriority@Base 2:4.9-2~
+ PR_SetThreadPrivate@Base 2:4.9-2~
+ PR_SetThreadRecycleMode@Base 2:4.9-2~
+ PR_SetTraceOption@Base 2:4.9-2~
+ PR_Shutdown@Base 2:4.9-2~
+ PR_ShutdownThreadPool@Base 2:4.9-2~
+ PR_Sleep@Base 2:4.9-2~
+ PR_Socket@Base 2:4.9-2~
+ PR_StackPop@Base 2:4.9-2~
+ PR_StackPush@Base 2:4.9-2~
+ PR_Stat@Base 2:4.9-2~
+ PR_StringToNetAddr@Base 2:4.9-2~
+ PR_SubtractFromCounter@Base 2:4.9-2~
+ PR_SuspendAll@Base 2:4.9-2~
+ PR_Sync@Base 2:4.9-2~
+ PR_SyncMemMap@Base 2:4.10.3
+ PR_TLockFile@Base 2:4.9-2~
+ PR_ThreadScanStackPointers@Base 2:4.9-2~
+ PR_TicksPerSecond@Base 2:4.9-2~
+ PR_Trace@Base 2:4.9-2~
+ PR_TransmitFile@Base 2:4.9-2~
+ PR_USPacificTimeParameters@Base 2:4.9-2~
+ PR_UnblockClockInterrupts@Base 2:4.9-2~
+ PR_UnblockInterrupt@Base 2:4.9-2~
+ PR_UnloadLibrary@Base 2:4.9-2~
+ PR_Unlock@Base 2:4.9-2~
+ PR_UnlockFile@Base 2:4.9-2~
+ PR_UnlockOrderedLock@Base 2:4.9-2~
+ PR_VersionCheck@Base 2:4.9-2~
+ PR_Wait@Base 2:4.9-2~
+ PR_WaitCondVar@Base 2:4.9-2~
+ PR_WaitForPollableEvent@Base 2:4.9-2~
+ PR_WaitProcess@Base 2:4.9-2~
+ PR_WaitRecvReady@Base 2:4.9-2~
+ PR_WaitSem@Base 2:4.9-2~
+ PR_WaitSemaphore@Base 2:4.9-2~
+ PR_Write@Base 2:4.9-2~
+ PR_Writev@Base 2:4.9-2~
+ PR_Yield@Base 2:4.9-2~
+ PR_cnvtf@Base 2:4.9-2~
+ PR_dtoa@Base 2:4.9-2~
+ PR_fprintf@Base 2:4.10.9
+ PR_htonl@Base 2:4.9-2~
+ PR_htonll@Base 2:4.9-2~
+ PR_htons@Base 2:4.9-2~
+ PR_ntohl@Base 2:4.9-2~
+ PR_ntohll@Base 2:4.9-2~
+ PR_ntohs@Base 2:4.9-2~
+ PR_smprintf@Base 2:4.10.9
+ PR_smprintf_free@Base 2:4.9-2~
+ PR_snprintf@Base 2:4.10.9
+ PR_sprintf_append@Base 2:4.10.9
+ PR_sscanf@Base 2:4.9-2~
+ PR_strtod@Base 2:4.9-2~
+ PR_sxprintf@Base 2:4.10.9
+ PR_vfprintf@Base 2:4.10.9
+ PR_vsmprintf@Base 2:4.10.9
+ PR_vsnprintf@Base 2:4.10.9
+ PR_vsprintf_append@Base 2:4.10.9
+ PR_vsxprintf@Base 2:4.10.9
+ PT_FPrintStats@Base 2:4.9-2~
+ SetExecutionEnvironment@Base 2:4.9-2~
+ (arch=ia64)_PR_ia64_AtomicAdd@Base 2:4.9-2~
+ (arch=ia64)_PR_ia64_AtomicDecrement@Base 2:4.9-2~
+ (arch=ia64)_PR_ia64_AtomicIncrement@Base 2:4.9-2~
+ (arch=ia64)_PR_ia64_AtomicSet@Base 2:4.9-2~
+ (arch=powerpc powerpcspe)_PR_ppc_AtomicAdd@Base 2:4.9-2~
+ (arch=powerpc powerpcspe)_PR_ppc_AtomicDecrement@Base 2:4.9-2~
+ (arch=powerpc powerpcspe)_PR_ppc_AtomicIncrement@Base 2:4.9-2~
+ (arch=powerpc powerpcspe)_PR_ppc_AtomicSet@Base 2:4.9-2~
+ (arch=amd64 kfreebsd-amd64 x32)_PR_x86_64_AtomicAdd@Base 2:4.9-2~
+ (arch=amd64 kfreebsd-amd64 x32)_PR_x86_64_AtomicDecrement@Base 2:4.9-2~
+ (arch=amd64 kfreebsd-amd64 x32)_PR_x86_64_AtomicIncrement@Base 2:4.9-2~
+ (arch=amd64 kfreebsd-amd64 x32)_PR_x86_64_AtomicSet@Base 2:4.9-2~
+ (arch=i386 kfreebsd-i386 hurd-i386)_PR_x86_AtomicAdd@Base 2:4.9-2~
+ (arch=i386 kfreebsd-i386 hurd-i386)_PR_x86_AtomicDecrement@Base 2:4.9-2~
+ (arch=i386 kfreebsd-i386 hurd-i386)_PR_x86_AtomicIncrement@Base 2:4.9-2~
+ (arch=i386 kfreebsd-i386 hurd-i386)_PR_x86_AtomicSet@Base 2:4.9-2~
+ _pr_push_ipv6toipv4_layer@Base 2:4.9-2~
+ _pr_test_ipv6_socket@Base 2:4.9-2~
+ libVersionPoint@Base 2:4.9-2~
+libplc4.so libnspr4 #MINVER#
+* Build-Depends-Package: libnspr4-dev
+ PL_Base64Decode@Base 2:4.9-2~
+ PL_Base64Encode@Base 2:4.9-2~
+ PL_CreateLongOptState@Base 2:4.9-2~
+ PL_CreateOptState@Base 2:4.9-2~
+ PL_DestroyOptState@Base 2:4.9-2~
+ PL_FPrintError@Base 2:4.9-2~
+ PL_GetNextOpt@Base 2:4.9-2~
+ PL_PrintError@Base 2:4.9-2~
+ PL_strcasecmp@Base 2:4.9-2~
+ PL_strcaserstr@Base 2:4.9-2~
+ PL_strcasestr@Base 2:4.9-2~
+ PL_strcat@Base 2:4.9-2~
+ PL_strcatn@Base 2:4.9-2~
+ PL_strchr@Base 2:4.9-2~
+ PL_strcmp@Base 2:4.9-2~
+ PL_strcpy@Base 2:4.9-2~
+ PL_strdup@Base 2:4.9-2~
+ PL_strfree@Base 2:4.9-2~
+ PL_strlen@Base 2:4.9-2~
+ PL_strncasecmp@Base 2:4.9-2~
+ PL_strncaserstr@Base 2:4.9-2~
+ PL_strncasestr@Base 2:4.9-2~
+ PL_strncat@Base 2:4.9-2~
+ PL_strnchr@Base 2:4.9-2~
+ PL_strncmp@Base 2:4.9-2~
+ PL_strncpy@Base 2:4.9-2~
+ PL_strncpyz@Base 2:4.9-2~
+ PL_strndup@Base 2:4.9-2~
+ PL_strnlen@Base 2:4.9-2~
+ PL_strnpbrk@Base 2:4.9-2~
+ PL_strnprbrk@Base 2:4.9-2~
+ PL_strnrchr@Base 2:4.9-2~
+ PL_strnrstr@Base 2:4.9-2~
+ PL_strnstr@Base 2:4.9-2~
+ PL_strpbrk@Base 2:4.9-2~
+ PL_strprbrk@Base 2:4.9-2~
+ PL_strrchr@Base 2:4.9-2~
+ PL_strrstr@Base 2:4.9-2~
+ PL_strstr@Base 2:4.9-2~
+ PL_strtok_r@Base 2:4.9-2~
+ libVersionPoint@Base 2:4.9-2~
+libplds4.so libnspr4 #MINVER#
+* Build-Depends-Package: libnspr4-dev
+ PL_ArenaAllocate@Base 2:4.9-2~
+ PL_ArenaFinish@Base 2:4.9-2~
+ PL_ArenaGrow@Base 2:4.9-2~
+ PL_ArenaRelease@Base 2:4.9-2~
+ PL_ClearArenaPool@Base 2:4.9-2~
+ PL_CompactArenaPool@Base 2:4.9-2~
+ PL_CompareStrings@Base 2:4.9-2~
+ PL_CompareValues@Base 2:4.9-2~
+ PL_FinishArenaPool@Base 2:4.9-2~
+ PL_FreeArenaPool@Base 2:4.9-2~
+ PL_HashString@Base 2:4.9-2~
+ PL_HashTableAdd@Base 2:4.9-2~
+ PL_HashTableDestroy@Base 2:4.9-2~
+ PL_HashTableDump@Base 2:4.9-2~
+ PL_HashTableEnumerateEntries@Base 2:4.9-2~
+ PL_HashTableLookup@Base 2:4.9-2~
+ PL_HashTableLookupConst@Base 2:4.9-2~
+ PL_HashTableRawAdd@Base 2:4.9-2~
+ PL_HashTableRawLookup@Base 2:4.9-2~
+ PL_HashTableRawLookupConst@Base 2:4.9-2~
+ PL_HashTableRawRemove@Base 2:4.9-2~
+ PL_HashTableRemove@Base 2:4.9-2~
+ PL_InitArenaPool@Base 2:4.9-2~
+ PL_NewHashTable@Base 2:4.9-2~
+ PL_SizeOfArenaPoolExcludingPool@Base 2:4.9.6~
+ libVersionPoint@Base 2:4.9-2~
diff --git a/debian/make.mk b/debian/make.mk
new file mode 100644
index 0000000..ae5346c
--- /dev/null
+++ b/debian/make.mk
@@ -0,0 +1,13 @@
+lazy = $(eval $(1) = $$(if $$(___$(1)),,$$(eval ___$(1) := $(2)))$$(___$(1)))
+lc = $(subst A,a,$(subst B,b,$(subst C,c,$(subst D,d,$(subst E,e,$(subst F,f,$(subst G,g,$(subst H,h,$(subst I,i,$(subst J,j,$(subst K,k,$(subst L,l,$(subst M,m,$(subst N,n,$(subst O,o,$(subst P,p,$(subst Q,q,$(subst R,r,$(subst S,s,$(subst T,t,$(subst U,u,$(subst V,v,$(subst W,w,$(subst X,x,$(subst Y,y,$(subst Z,z,$1))))))))))))))))))))))))))
+uc = $(subst a,A,$(subst b,B,$(subst c,C,$(subst d,D,$(subst e,E,$(subst f,F,$(subst g,G,$(subst h,H,$(subst i,I,$(subst j,J,$(subst k,K,$(subst l,L,$(subst m,M,$(subst n,N,$(subst o,O,$(subst p,P,$(subst q,Q,$(subst r,R,$(subst s,S,$(subst t,T,$(subst u,U,$(subst v,V,$(subst w,W,$(subst x,X,$(subst y,Y,$(subst z,Z,$1))))))))))))))))))))))))))
+
+__VARS := $(.VARIABLES)
+
+dump:
+ @$(foreach var,$(sort $(filter-out $(__VARS) __VARS preprocess ___%,$(.VARIABLES))),echo '$(var) = $(subst ','\'',$(subst \,\\,$($(var))))';)
+
+dump-%:
+ @echo $($*)
+
+.PHONY: dump
diff --git a/debian/not-installed b/debian/not-installed
new file mode 100644
index 0000000..b4d85b7
--- /dev/null
+++ b/debian/not-installed
@@ -0,0 +1,2 @@
+usr/bin/compile-et.pl
+usr/bin/prerr.properties
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fcd74da
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,90 @@
+#!/usr/bin/make -f
+
+include debian/make.mk
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# Use dpkg-buildflags to get hardening flags, and exclude non-hardening flags
+dpkg_buildflags = $(and $(1),$(shell DEB_CFLAGS_MAINT_STRIP="$(shell DEB_BUILD_MAINT_OPTIONS=hardening=-all dpkg-buildflags --get $(1))" dpkg-buildflags --get $(1)))
+$(call lazy,CFLAGS,$$(call dpkg_buildflags,CFLAGS))
+$(call lazy,CPPFLAGS,$$(call dpkg_buildflags,CPPFLAGS))
+$(call lazy,LDFLAGS,$$(call dpkg_buildflags,LDFLAGS))
+
+CFLAGS += -Wall -pipe
+LDFLAGS += -Wl,--as-needed
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CONFIGURE_FLAGS := --disable-optimize
+else
+ CONFIGURE_FLAGS := --enable-optimize
+endif
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+ CONFIGURE_FLAGS += --enable-debug
+else
+ CONFIGURE_FLAGS += --disable-debug --enable-debug-symbols
+endif
+
+ifeq (64,$(shell dpkg-architecture -qDEB_HOST_ARCH_BITS))
+ CONFIGURE_FLAGS += --enable-64bit
+endif
+ifeq (x32,$(shell dpkg-architecture -qDEB_HOST_ARCH))
+ CONFIGURE_FLAGS += --enable-x32
+endif
+
+$(call lazy,DEB_HOST_MULTIARCH,$$(shell dpkg-architecture -qDEB_HOST_MULTIARCH))
+$(call lazy,BUILD_DATE,$$(shell dpkg-parsechangelog -S Date))
+
+PREPROCESS_FILES := $(wildcard debian/*.in)
+
+$(PREPROCESS_FILES:.in=): %: %.in
+ sed 's,@DEB_HOST_MULTIARCH@/,$(DEB_HOST_MULTIARCH:=/),g;s,@MULTIARCH_WILDCARD@/,$(if $(DEB_HOST_MULTIARCH),*/),g' $< > $@
+
+%:
+ dh $@ --sourcedirectory=nspr
+
+override_dh_auto_configure: $(PREPROCESS_FILES:.in=)
+ for file in config.guess config.sub; do \
+ sed -i '2!b;/^#/ i\exec "/usr/share/misc/'$$file'" "$$@"' nspr/build/autoconf/$$file; \
+ done
+
+ cd nspr && \
+ CFLAGS="$(CFLAGS)" \
+ CPPFLAGS="$(CPPFLAGS)" \
+ LDFLAGS="$(LDFLAGS)" \
+ ./configure --target=$(DEB_HOST_GNU_TYPE) --host=$(DEB_BUILD_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+ $(CONFIGURE_FLAGS) \
+ --prefix=/usr \
+ --libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
+
+override_dh_auto_build:
+ $(MAKE) -C nspr $(and $(filter terse,$(DEB_BUILD_OPTIONS)),-s) \
+ SH_NOW="$(shell TZ=UTC date -d "$(BUILD_DATE)" +%s)000000" \
+ SH_DATE="$(shell TZ=UTC date -d "$(BUILD_DATE)" "+%Y-%m-%d %T")"
+
+override_dh_auto_clean:
+ [ ! -f nspr/pr/tests/Makefile ] || $(MAKE) -C nspr/pr/tests clean
+ [ ! -f nspr/lib/tests/Makefile ] || $(MAKE) -C nspr/lib/tests clean
+ dh_auto_clean
+
+ rm -f $(PREPROCESS_FILES:.in=)
+ for file in config.guess config.sub; do \
+ sed -i '2!b;/^exec "/ d' nspr/build/autoconf/$$file; \
+ done
+
+override_dh_makeshlibs:
+ dh_makeshlibs -a -- -c4
+
+override_dh_auto_test:
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+ $(MAKE) -C nspr/pr/tests
+ $(MAKE) -C nspr/lib/tests
+ # Skip gethost because it needs DNS, and thus networking.
+ # Skip fdcach, peek and vercheck because they fail.
+ # Skip socket because it freezes.
+ # Skip getproto because it fails on some buildds.
+ # Skip nblayer because it freezes on armel.
+ cd nspr/pr/tests && grep -v '^\(fdcach\|gethost\|getproto\|nblayer\|peek\|socket\|vercheck\)$$' ./runtests.sh | sh - $(CURDIR)/nspr/dist
+ cd nspr/lib/tests && LD_LIBRARY_PATH=$(CURDIR)/nspr/dist/bin$(addprefix :,$(LD_LIBRARY_PATH)) ./base64t
+ cd nspr/lib/tests && LD_LIBRARY_PATH=$(CURDIR)/nspr/dist/bin$(addprefix :,$(LD_LIBRARY_PATH)) ./string
+endif
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..e2228b0
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,3 @@
+---
+Bug-Database: https://bugzilla.mozilla.org/buglist.cgi?product=NSPR&component=NSPR&resolution=---
+Bug-Submit: https://bugzilla.mozilla.org/enter_bug.cgi?product=NSPR&component=NSPR
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..418f865
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://archive.mozilla.org/pub/nspr/releases/v(\d\.[\d\.]+)/src/nspr-([\d\.]+)\.tar\.gz