Sync from SUSE:SLFO:Main nss-shared-helper revision 37573c1756f109c239b4364ddfcacee7

This commit is contained in:
Adrian Schröter 2024-05-03 17:06:40 +02:00
commit 3b279562eb
5 changed files with 202 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libnsssharedhelper0

BIN
nss-shared-helper-1.0.10.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

86
nss-shared-helper.changes Normal file
View File

@ -0,0 +1,86 @@
-------------------------------------------------------------------
Thu Dec 8 21:49:43 UTC 2011 - wr@rosenauer.org
- update to version 1.0.10
* DB location (if not specified otherwise) will be /etc/pki/nssdb
if it exists and otherwise $HOME/.pki/nssdb
- cleanup specfile / fixup license tags
-------------------------------------------------------------------
Sun Oct 31 12:37:02 UTC 2010 - jengelh@medozas.de
- Use %_smp_mflags
-------------------------------------------------------------------
Mon Apr 5 11:33:30 CEST 2010 - wr@rosenauer.org
- fixed crash caused by wrong free() (bnc#572938)
-------------------------------------------------------------------
Thu Mar 11 08:25:42 CET 2010 - wr@rosenauer.org
- use /etc/pki/nssdb as default shared location as
mozilla-nss-sysinit will manage to merge system and user dbs
saved in ~/.pki/nssdb at runtime
-------------------------------------------------------------------
Thu Dec 17 21:47:10 CET 2009 - jengelh@medozas.de
- Add baselibs.conf as a source
- Enable parallel building
-------------------------------------------------------------------
Tue Jul 21 22:56:23 CEST 2009 - wr@rosenauer.org
- Update to version 1.0.6
* removed workaround for bnc#448259 but require NSS 3.12.3
* changed default location to $HOME/.pki/nssdb which is the
agreed one between integrators
-------------------------------------------------------------------
Thu Jan 22 19:24:01 CET 2009 - hpj@suse.de
- Update to version 1.0.6
* Never print debug to stdout, only to stderr.
-------------------------------------------------------------------
Tue Dec 30 19:53:36 CET 2008 - wr@rosenauer.org
- Update to version 1.0.5
* workaround for initial creation of shared DB (bnc#448259)
-------------------------------------------------------------------
Fri Nov 21 02:00:04 CST 2008 - hpj@suse.de
- Update to version 1.0.4, which makes the DB migration conditional
on an environment variable that will not be set by default
(NSS_USE_SHARED_DB).
-------------------------------------------------------------------
Wed Nov 5 17:26:01 CST 2008 - hpj@suse.de
- Update to version 1.0.3, which fixes includes when used in
C++ code.
-------------------------------------------------------------------
Wed Nov 5 10:26:17 CET 2008 - coolo@suse.de
- adding baselibs.conf
-------------------------------------------------------------------
Sun Oct 26 23:42:49 CST 2008 - hpj@suse.de
- Update to version 1.0.2, which makes debug output during
open/merge more verbose.
-------------------------------------------------------------------
Sat Oct 25 23:25:41 CDT 2008 - hpj@suse.de
- Update to version 1.0.1, which has new database open/merge code
that we need.
-------------------------------------------------------------------
Thu Aug 28 21:48:47 CDT 2008 - hpj@suse.de
- Initial package.

89
nss-shared-helper.spec Normal file
View File

@ -0,0 +1,89 @@
#
# spec file for package nss-shared-helper
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: nss-shared-helper
Version: 1.0.10
Release: 1
License: LGPL-2.1+
Summary: Helper functions for sharing NSS database
Group: Development/Libraries/C and C++
Source0: nss-shared-helper-%{version}.tar.bz2
Source1: baselibs.conf
Url: http://www.rosenauer.org/hg/libnsssharedhelper/
BuildRequires: mozilla-nss-devel
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This library provides helper functions for programs that want to share
an NSS crypto database.
%define debug_package_requires libnsssharedhelper0 = %{version}-%{release}
%package -n libnsssharedhelper0
License: LGPL-2.1+
Summary: Helper functions for sharing NSS database
Group: Development/Libraries/C and C++
%description -n libnsssharedhelper0
This library provides helper functions for programs that want to share
an NSS crypto database.
%package devel
License: LGPL-2.1+
Summary: Development libraries for nss-shared-helper
Group: Development/Libraries/C and C++
Requires: libnsssharedhelper0 = %{version}
Requires: mozilla-nss-devel
%description devel
Header and library files for helpers meant to enable sharing of NSS
crypto database.
%prep
%setup -n nss-shared-helper-%{version}
%build
%configure
make %{?_smp_mflags};
%install
%makeinstall
# We don't want to ship the .a and .la files
rm %{buildroot}/%{_libdir}/*.*a
%clean
rm -rf %{buildroot}
%files -n libnsssharedhelper0
%defattr(-, root, root, -)
%{_libdir}/libnsssharedhelper.so.*
%doc COPYING
%files devel
%defattr(-,root,root,-)
%{_includedir}/nss-shared-helper
%{_libdir}/libnsssharedhelper.so
%{_libdir}/pkgconfig/nss-shared-helper.pc
%post -n libnsssharedhelper0 -p /sbin/ldconfig
%postun -n libnsssharedhelper0 -p /sbin/ldconfig
%changelog