debian/0000775000000000000000000000000012312622526007171 5ustar debian/p11-kit.manpages0000664000000000000000000000002112246634261012072 0ustar debian/p11-kit.1 debian/compat0000664000000000000000000000000212246634261010374 0ustar 9 debian/libp11-kit0.install0000664000000000000000000000002412246634261012517 0ustar usr/lib/*/lib*.so.* debian/libp11-kit0.symbols0000664000000000000000000000571612266545065012563 0ustar libp11-kit.so.0 libp11-kit0 #MINVER# * Build-Depends-Package: libp11-kit-dev C_GetFunctionList@Base 0.2 p11_kit_be_loud@Base 0.15.1 p11_kit_be_quiet@Base 0.2 p11_kit_config_option@Base 0.20.0 p11_kit_finalize_module@Base 0.2 p11_kit_finalize_registered@Base 0.2 p11_kit_initialize_module@Base 0.11 p11_kit_initialize_registered@Base 0.11 p11_kit_iter_add_callback@Base 0.15.1 p11_kit_iter_add_filter@Base 0.15.1 p11_kit_iter_begin@Base 0.15.1 p11_kit_iter_begin_with@Base 0.15.1 p11_kit_iter_destroy_object@Base 0.20.0 p11_kit_iter_free@Base 0.15.1 p11_kit_iter_get_attributes@Base 0.20.2 p11_kit_iter_get_module@Base 0.15.1 p11_kit_iter_get_object@Base 0.15.1 p11_kit_iter_get_session@Base 0.15.1 p11_kit_iter_get_slot@Base 0.15.1 p11_kit_iter_get_token@Base 0.20.0 p11_kit_iter_keep_session@Base 0.15.1 p11_kit_iter_load_attributes@Base 0.15.1 p11_kit_iter_new@Base 0.15.1 p11_kit_iter_next@Base 0.15.1 #MISSING: 0.20.0# p11_kit_iter_set_session_flags@Base 0.15.1 p11_kit_iter_set_uri@Base 0.20.0 p11_kit_load_initialize_module@Base 0.11 p11_kit_message@Base 0.2 p11_kit_module_finalize@Base 0.20.0 p11_kit_module_for_name@Base 0.20.0 p11_kit_module_get_flags@Base 0.20.0 p11_kit_module_get_name@Base 0.20.0 p11_kit_module_initialize@Base 0.20.0 p11_kit_module_load@Base 0.20.0 p11_kit_module_release@Base 0.20.0 p11_kit_modules_finalize@Base 0.20.0 p11_kit_modules_finalize_and_release@Base 0.20.0 p11_kit_modules_initialize@Base 0.20.0 p11_kit_modules_load@Base 0.20.0 p11_kit_modules_load_and_initialize@Base 0.20.0 p11_kit_modules_release@Base 0.20.0 p11_kit_pin_file_callback@Base 0.2 p11_kit_pin_get_length@Base 0.2 p11_kit_pin_get_value@Base 0.2 p11_kit_pin_new@Base 0.2 p11_kit_pin_new_for_buffer@Base 0.2 p11_kit_pin_new_for_string@Base 0.2 p11_kit_pin_ref@Base 0.2 p11_kit_pin_register_callback@Base 0.2 p11_kit_pin_request@Base 0.2 p11_kit_pin_unref@Base 0.2 p11_kit_pin_unregister_callback@Base 0.2 p11_kit_registered_module_to_name@Base 0.2 p11_kit_registered_modules@Base 0.2 p11_kit_registered_name_to_module@Base 0.2 p11_kit_registered_option@Base 0.2 p11_kit_set_progname@Base 0.13 p11_kit_space_strdup@Base 0.2 p11_kit_space_strlen@Base 0.2 p11_kit_strerror@Base 0.2 p11_kit_uri_any_unrecognized@Base 0.2 p11_kit_uri_clear_attribute@Base 0.2 p11_kit_uri_clear_attributes@Base 0.2 p11_kit_uri_format@Base 0.2 p11_kit_uri_free@Base 0.2 p11_kit_uri_get_attribute@Base 0.2 p11_kit_uri_get_attributes@Base 0.2 p11_kit_uri_get_module_info@Base 0.2 p11_kit_uri_get_pin_source@Base 0.4 p11_kit_uri_get_pinfile@Base 0.2 p11_kit_uri_get_token_info@Base 0.2 p11_kit_uri_match_attributes@Base 0.2 p11_kit_uri_match_module_info@Base 0.2 p11_kit_uri_match_token_info@Base 0.2 p11_kit_uri_message@Base 0.2 p11_kit_uri_new@Base 0.2 p11_kit_uri_parse@Base 0.2 p11_kit_uri_set_attribute@Base 0.2 p11_kit_uri_set_attributes@Base 0.2 p11_kit_uri_set_pin_source@Base 0.4 p11_kit_uri_set_pinfile@Base 0.2 p11_kit_uri_set_unrecognized@Base 0.2 debian/libp11-kit0-dbg.links0000664000000000000000000000007012246634261012724 0ustar usr/share/doc/libp11-kit0 usr/share/doc/libp11-kit0-dbg debian/patches/0000775000000000000000000000000012266544665010637 5ustar debian/patches/31_autoreconf.diff0000664000000000000000000000225412246634261014132 0ustar Description: autoconf-changes for 30_nogetauxvalonbsd.diff. Origin: vendor Bug-Debian: http://bugs.debian.org/718285 Author: Andreas Metzler Last-Update: 2013-09-07 --- p11-kit-0.20.0.orig/configure +++ p11-kit-0.20.0/configure @@ -15832,6 +15832,16 @@ _ACEOF os_win32=yes os_unix=no ;; + *-*-linux*) + +cat >>confdefs.h <<_ACEOF +#define OS_UNIX 1 +_ACEOF + + os_win32=no + os_unix=yes + os_linux=yes + ;; *) cat >>confdefs.h <<_ACEOF @@ -16353,6 +16363,7 @@ _ACEOF fi done + if test "$os_linux" = "yes"; then for ac_func in getauxval issetugid getresuid do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` @@ -16365,6 +16376,22 @@ _ACEOF fi done + else + # Do not use getauxval on non-linux, e.g BSD. + for ac_func in issetugid getresuid +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + fi + for ac_func in strnstr memdup strndup strerror_r do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` debian/patches/series0000664000000000000000000000007712266544631012051 0ustar 30_nogetauxvalonbsd.diff 31_autoreconf.diff enable_locale.diff debian/patches/30_nogetauxvalonbsd.diff0000664000000000000000000000575412246634261015357 0ustar Description: Do not use getauxval on !linux. Origin: vendor Bug-Debian: http://bugs.debian.org/718285 Author: Andreas Metzler Last-Update: 2013-09-07 --- p11-kit-0.20.0.orig/common/compat.c +++ p11-kit-0.20.0/common/compat.c @@ -780,7 +780,7 @@ mkdtemp (char *template) #ifndef HAVE_GETAUXVAL unsigned long -getauxval (unsigned long type) +_p11_getauxval (unsigned long type) { static unsigned long secure = 0UL; static bool check_secure_initialized = false; --- p11-kit-0.20.0.orig/common/compat.h +++ p11-kit-0.20.0/common/compat.h @@ -308,10 +308,11 @@ time_t timegm (struct tm * #ifdef HAVE_GETAUXVAL #include +#define _p11_getauxval(X) getauxval(X) #else /* !HAVE_GETAUXVAL */ -unsigned long getauxval (unsigned long type); +unsigned long _p11_getauxval (unsigned long type); #define AT_SECURE 23 --- p11-kit-0.20.0.orig/common/path.c +++ p11-kit-0.20.0/common/path.c @@ -106,7 +106,7 @@ expand_homedir (const char *remainder) { const char *env; - if (getauxval (AT_SECURE)) { + if (_p11_getauxval (AT_SECURE)) { errno = EPERM; return NULL; } --- p11-kit-0.20.0.orig/common/tests/frob-getauxval.c +++ p11-kit-0.20.0/common/tests/frob-getauxval.c @@ -57,7 +57,7 @@ main (int argc, abort (); } - ret = getauxval (type); + ret = _p11_getauxval (type); printf ("getauxval(%lu) == %lu\n", type, ret); return (int)ret; } --- p11-kit-0.20.0.orig/configure.ac +++ p11-kit-0.20.0/configure.ac @@ -51,6 +51,12 @@ case "$host" in os_win32=yes os_unix=no ;; + *-*-linux*) + AC_DEFINE_UNQUOTED(OS_UNIX, 1, [Building for unix]) + os_win32=no + os_unix=yes + os_linux=yes + ;; *) AC_DEFINE_UNQUOTED(OS_UNIX, 1, [Building for unix]) os_win32=no @@ -77,7 +83,12 @@ if test "$os_unix" = "yes"; then # These are thngs we can work around AC_CHECK_FUNCS([getprogname getexecname basename mkstemp mkdtemp]) - AC_CHECK_FUNCS([getauxval issetugid getresuid]) + if test "$os_linux" = "yes"; then + AC_CHECK_FUNCS([getauxval issetugid getresuid]) + else + # Do not use getauxval on non-linux, e.g BSD. + AC_CHECK_FUNCS([issetugid getresuid]) + fi AC_CHECK_FUNCS([strnstr memdup strndup strerror_r]) AC_CHECK_FUNCS([asprintf vasprintf vsnprintf]) AC_CHECK_FUNCS([timegm]) --- p11-kit-0.20.0.orig/p11-kit/conf.c +++ p11-kit-0.20.0/p11-kit/conf.c @@ -228,7 +228,7 @@ _p11_conf_load_globals (const char *syst goto finished; } - if (mode != CONF_USER_NONE && getauxval (AT_SECURE)) { + if (mode != CONF_USER_NONE && _p11_getauxval (AT_SECURE)) { p11_debug ("skipping user config in setuid or setgid program"); mode = CONF_USER_NONE; } --- p11-kit-0.20.0.orig/p11-kit/tests/frob-setuid.c +++ p11-kit-0.20.0/p11-kit/tests/frob-setuid.c @@ -70,7 +70,7 @@ main (void) printf ("'setting' on module 'one': %s\n", field ? field : "(null)"); assert (field != NULL); - if (getauxval (AT_SECURE)) + if (_p11_getauxval (AT_SECURE)) assert (strcmp (field, "system1") == 0); else assert (strcmp (field, "user1") == 0); debian/patches/enable_locale.diff0000664000000000000000000000111112266575652014230 0ustar Description: enable building of gettext translations. Author: Andreas Metzler Last-Update: 2013-09-07 Index: b/configure =================================================================== --- a/configure +++ b/configure @@ -14752,9 +14752,6 @@ fi fi -LINGUAS="" - - Index: b/configure.ac =================================================================== --- a/configure.ac +++ b/configure.ac @@ -37,7 +37,6 @@ AM_PROG_CC_C_O PKG_PROG_PKG_CONFIG -LINGUAS="" AM_GNU_GETTEXT([external], [need-ngettext]) if test "$enable_static" = "yes"; then debian/rules0000775000000000000000000000120212312574534010251 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 override_dh_auto_configure: dh_auto_configure --verbose -- \ --disable-silent-rules \ --with-trust-paths=/etc/ssl/certs/ca-certificates.crt \ --with-hash-impl=internal override_dh_makeshlibs: # Force keeping symbol file up to date. dh_makeshlibs \ -Xusr/lib/$(DEB_HOST_MULTIARCH)/pkcs11/p11-kit-trust.so -- -c2 override_dh_strip: dh_strip --dbg-package=libp11-kit0-dbg override_dh_link: rm -rf debian/libp11-kit0-dbg/usr/share/doc/libp11-kit0-dbg \ debian/p11-kit-modules/usr/share/doc/p11-kit-modules dh_link %: dh $@ --with autoreconf debian/p11-kit-modules.links0000664000000000000000000000007012311253253013060 0ustar usr/share/doc/libp11-kit0 usr/share/doc/p11-kit-modules debian/source/0000775000000000000000000000000012266522432010474 5ustar debian/source/include-binaries0000664000000000000000000000004012266522432013626 0ustar debian/upstream-signing-key.pgp debian/source/format0000664000000000000000000000001412246634261011704 0ustar 3.0 (quilt) debian/p11-kit.examples0000664000000000000000000000006312246634261012123 0ustar debian/tmp/usr/lib/*/p11-kit/p11-kit-extract-trust debian/p11-kit-modules.install0000664000000000000000000000007512311252237013414 0ustar usr/lib/*/p11-kit-proxy.so usr/lib/*/pkcs11/p11-kit-trust.so debian/watch0000664000000000000000000000017112266522257010231 0ustar version=3 opts=pgpsigurlmangle=s/$/.sig/ \ http://p11-glue.freedesktop.org/releases/p11-kit-(.*)\.tar\.gz debian uupdate debian/control0000664000000000000000000000715512312622311010574 0ustar Source: p11-kit Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian GnuTLS Maintainers Uploaders: Andreas Metzler Build-Depends: debhelper (>= 9), dh-autoreconf, autotools-dev, pkg-config, libtasn1-6-dev, libffi-dev Standards-Version: 3.9.5 Section: libs Vcs-Git: git://anonscm.debian.org/pkg-gnutls/p11-kit.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-gnutls/p11-kit.git Homepage: http://p11-glue.freedesktop.org/p11-kit.html Package: libp11-kit-dev Priority: optional Section: libdevel Architecture: any Depends: libp11-kit0 (= ${binary:Version}), ${misc:Depends} Description: Library for loading and coordinating access to PKCS#11 modules - development Provides a way to load and enumerate PKCS#11 modules. Provides a standard configuration setup for installing PKCS#11 modules in such a way that they're discoverable. . Also solves problems with coordinating the use of PKCS#11 by different components or libraries living in the same process. . This package contains the documentation and development headers required to build applications using the p11-kit library. Package: libp11-kit0 Priority: standard Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Description: Library for loading and coordinating access to PKCS#11 modules - runtime Provides a way to load and enumerate PKCS#11 modules. Provides a standard configuration setup for installing PKCS#11 modules in such a way that they're discoverable. . Also solves problems with coordinating the use of PKCS#11 by different components or libraries living in the same process. . This package contains the shared library required for applications loading and accessing PKCS#11 modules. Package: p11-kit Section: misc Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, p11-kit-modules (>= ${source:Version}) Description: p11-glue utilities Provides a way to load and enumerate PKCS#11 modules. Provides a standard configuration setup for installing PKCS#11 modules in such a way that they're discoverable. . Also solves problems with coordinating the use of PKCS#11 by different components or libraries living in the same process. . This package contains the p11-kit tool for listing PKCS#11 modules. Package: p11-kit-modules Section: misc Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, libp11-kit0 (= ${binary:Version}) Multi-Arch: same Breaks: p11-kit (<< 0.20.2-2) Replaces: p11-kit (<< 0.20.2-2) Description: p11-glue proxy and trust modules Provides a way to load and enumerate PKCS#11 modules. Provides a standard configuration setup for installing PKCS#11 modules in such a way that they're discoverable. . Also solves problems with coordinating the use of PKCS#11 by different components or libraries living in the same process. . This package contains the p11-kit proxy module and the system trust policy module. Package: libp11-kit0-dbg Section: debug Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: libp11-kit0 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Description: load and coordinate access to PKCS#11 modules - debugging symbols Provides a way to load and enumerate PKCS#11 modules. Provides a standard configuration setup for installing PKCS#11 modules in such a way that they're discoverable. . Also solves problems with coordinating the use of PKCS#11 by different components or libraries living in the same process. . This package contains the debugging symbols for the p11-kit packages. debian/copyright0000664000000000000000000002644712246634261011146 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: p11-kit Source: http://p11-glue.freedesktop.org/p11-kit.html Files: * Copyright: 2011 Collabora Ltd. License: BSD-3-Clause Files: p11-kit/conf.* p11-kit/modules.c p11-kit/proxy.c common/dict.c common/dict.h Copyright: 2011 Collabora Ltd. 2004 Stefan Walter License: BSD-3-Clause Files: common/buffer.c common/buffer.h Copyright: 2007, 2012 Stefan Walter 2013 Red Hat Inc. License: BSD-3-Clause Files: common/library.c common/library.h common/message.c tests/test-deprecated.c Copyright: 2011 Collabora Ltd. 2012 Stef Walter License: BSD-3-Clause Files: common/url.c common/url.h Copyright: 2011 Collabora Ltd. 2013 Red Hat Inc. License: BSD-3-Clause Files: p11-kit/log.c Copyright: 2007, Stefan Walter 2013, Red Hat Inc. License: BSD-3-Clause Files: common/pkcs11.h Copyright: 2006, 2007 g10 Code GmbH 2006 Andreas Jellinghaus License: This file is free software; as a special exception the author gives unlimited permission to copy and/or distribute it, with or without modifications, as long as this notice is preserved. . This file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ Files: common/argv.c common/argv.h common/hash.h trust/oid.c trust/oid.h trust/pem.c trust/pem.h common/argv.c common/argv.h common/pkcs11x.h common/tests/test-constants.c common/tests/test-hash.c p11-kit/pkcs11.h p11-kit/tests/test-managed.c p11-kit/tests/test-modules.c trust/builder.c trust/builder.h trust/digest.h trust/module.c trust/module.h trust/pem.c trust/pem.h trust/oid.c trust/oid.h trust/parser.h trust/session.c trust/session.h trust/tests/frob-cert.c trust/tests/frob-eku.c trust/tests/frob-token.c trust/tests/test-digest.c trust/tests/test-enumerate.c trust/tests/test-index.c trust/tests/test-module.c trust/tests/test-oid.c trust/tests/test-parser.c trust/tests/test-pem.c trust/tests/test-token.c trust/token.c trust/token.h trust/tests/test-trust.c trust/tests/test-trust.h trust/x509.c trust/x509.h tests/frob-setuid.c Copyright: 2012 Red Hat Inc. License: BSD-3-Clause Files: common/attrs.c common/attrs.h Copyright: 2012, Redhat Inc. 2011, Collabora Ltd. License: BSD-3-Clause Files: common/tests/test-attrs.c common/tests/test-buffer.c trust/tests/frob-ku.c trust/tests/frob-oid.c trust/tests/test-asn1.c trust/tests/test-base64.c Copyright: 2012, Redhat Inc. License: BSD-3-Clause Files: common/constants.c common/constants.h common/test.c common/test.h common/tests/test-compat.c common/tests/test-tests.c common/tests/test-utf8.c common/tool.h p11-kit/deprecated.h p11-kit/docs.h p11-kit/log.h p11-kit/modules.h p11-kit/proxy.h p11-kit/tests/test-log.c trust/anchor.c trust/anchor.h trust/enumerate.c trust/enumerate.h trust/extract.c trust/extract-cer.c trust/extract.h trust/extract-jks.c trust/extract-openssl.c trust/extract-pem.c trust/index.c trust/index.h trust/list.c trust/list.h trust/persist.c trust/persist.h trust/save.c trust/save.h trust/tests/frob-bc.c trust/tests/frob-ext.c trust/tests/frob-pow.c trust/tests/test-builder.c trust/tests/test-save.c trust/tests/test-utf8.c trust/tests/test-x509.c trust/types.h trust/utf8.c trust/utf8.h Copyright: 2013, Redhat Inc. License: BSD-3-Clause Files: p11-kit/tests/test-mock.c Copyright: 2012 Stefan Walter 2012-2013 Red Hat Inc. License: BSD-3-Clause Files: p11-kit/tests/test-virtual.c Copyright: 2012 Stefan Walter 2012 Red Hat Inc. License: BSD-3-Clause Files: p11-kit/virtual.c trust/asn1.c trust/asn1.h Copyright: 2008 Stefan Walter 2012 Red Hat Inc. License: BSD-3-Clause Files: trust/digest.c trust/digest.c common/hash.c Copyright: 2004, 2005, 2007, 2011 Internet Systems Consortium, Inc. ("ISC") 2000, 2001, 2003 Internet Software Consortium. License: Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: trust/base64.c trust/base64.h Copyright: 1996, 1998 by Internet Software Consortium Portions Copyright (c) 1995 by International Business Machines, Inc. License: Copyright (c) 1996, 1998 by Internet Software Consortium. . Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. . . Portions Copyright (c) 1995 by International Business Machines, Inc. . International Business Machines, Inc. (hereinafter called IBM) grants permission under its copyrights to use, copy, modify, and distribute this Software with or without fee, provided that the above copyright notice and all paragraphs of this notice appear in all copies, and that the name of IBM not be used in connection with the marketing of any product incorporating the Software or modifications thereof, without specific, written prior permission. . To the extent it has a right to do so, IBM grants an immunity from suit under its patents, if any, for the use, sale or manufacture of products to the extent that such products are used for performing Domain Name System dynamic updates in TCP/IP networks by means of the Software. No immunity is granted for any product per se or for any other function of any product. . THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES. Files: common/lexer.c common/lexer.h common/path.c Copyright: 2005 Stefan Walter 2011 Collabora Ltd. 2013 Red Hat Inc. License: BSD-3-Clause Files: common/compat.c Copyright: Copyright (c) 2011 Collabora Ltd. Portions of this file are covered by the following copyright: Copyright (c) 2001 Mike Barcroft Copyright (c) 1990, 1993 Copyright (c) 1987, 1993 The Regents of the University of California. License: BSD-3-Clause This code is derived from software contributed to Berkeley by Chris Torek. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 4. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: common/mock.h common/path.h common/tests/frob-getauxval.c common/tests/test-lexer.c common/tests/test-message.c common/tests/test-path.c common/tests/test-url.c p11-kit/iter.c p11-kit/iter.h p11-kit/tests/test-iter.c p11-kit/tests/test-proxy.c p11-kit/virtual.h tests/test-util.c trust/tests/frob-nss-trust.c trust/tests/test-parser.c trust/tests/test-persist.c Copyright: 2013 Red Hat Inc. License: BSD-3-Clause Files: p11-kit/tests/mock-module-ep.c p11-kit/tests/test-progname.c Copyright: 2012 Stefan Walter License: BSD-3-Clause Files: debian/* Copyright: 2011 Chris Coulson 2011-2013 Andreas Metzler License: BSD-3-Clause Files: po/de.po Copyright: 2011 Chris Leick License: This file is distributed under the same license as the debian files of the p11-kit package. Files: po/fi.po Copyright: 2012 Rosetta Contributors and Canonical Ltd 2012 Eerik Uusi-Illikainen https://launchpad.net/~ekiuusi-4, 2012 Timo Jyrinki , 2012 License: This file is distributed under the same license as the p11-kit package. License: BSD-3-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/changelog0000664000000000000000000003056112312622524011046 0ustar p11-kit (0.20.2-2ubuntu2) trusty; urgency=medium * Add Breaks and Replaces for p11-kit-modules file move. (LP: #1295240) -- Iain Lane Thu, 20 Mar 2014 17:20:08 +0000 p11-kit (0.20.2-2ubuntu1) trusty; urgency=medium * Resynchronise with Debian, remaining changes: - Use dh-autoreconf - Update debian/patches/enable_locale.diff to act on configure.ac too. Thanks to Chris J Arges. -- Iain Lane Thu, 20 Mar 2014 14:22:25 +0000 p11-kit (0.20.2-2) experimental; urgency=medium * Split off multiarch:same p11-kit-modules from p11-kit binary package. Closes: #720013 (Patch by Raphael Geissert) * Symlink /usr/share/doc/p11-kit-modules to /usr/share/doc/libp11-kit0. -- Andreas Metzler Sun, 16 Mar 2014 08:54:24 +0100 p11-kit (0.20.2-1) unstable; urgency=medium * Point vcs* to git. * Add debian/upstream-signing-key.pgp (listed in debian/source/include-binaries) and update watchfile to check upstream signature. * New upstream version. + Drop 20_disablesgidtest.diff, included upstream. + Add newly added symbol p11_kit_iter_get_attributes to symbol file. -- Andreas Metzler Sat, 18 Jan 2014 19:49:43 +0100 p11-kit (0.20.1-3) unstable; urgency=low * Upload to unstable. -- Andreas Metzler Sun, 10 Nov 2013 17:49:39 +0100 p11-kit (0.20.1-2) experimental; urgency=low * Re-enable .so-symlink, allowing dynamic linking, since the symbols dropped in 0.20.0 are private, experimental and not used by p11-kit's reverse dependencies. Closes: #726497 -- Andreas Metzler Sat, 19 Oct 2013 15:32:50 +0200 p11-kit (0.20.1-1) experimental; urgency=low * New upstream bugfix release. -- Andreas Metzler Sat, 14 Sep 2013 09:11:25 +0200 p11-kit (0.20.0-1) experimental; urgency=low * New upstream stable release. Closes: #721842 + Requires libffi, add b-d on libffi-dev. + Port/unfuzz patches. + Update symbol file. * Upload to experimental, without .so-symlink since a soname bump might be necessary. -- Andreas Metzler Sun, 08 Sep 2013 13:31:39 +0200 p11-kit (0.18.5-3) unstable; urgency=low * Upload to unstable. -- Andreas Metzler Sat, 07 Sep 2013 08:00:23 +0200 p11-kit (0.18.5-2) experimental; urgency=low * 30_nogetauxvalonbsd.diff 31_autoreconf.diff: Do not use getauxval on !linux, prefering issetugid(). Closes: #718285 * Upload to experimental. -- Andreas Metzler Sat, 31 Aug 2013 15:05:17 +0200 p11-kit (0.18.5-1) unstable; urgency=low * New upstream version. * configure with --with-hash-impl=internal. * 20_disablesgidtest.diff - Disable two tests when running under fakeroot. -- Andreas Metzler Wed, 24 Jul 2013 18:44:43 +0200 p11-kit (0.18.4-1) unstable; urgency=low * New upstream bugfix release. -- Andreas Metzler Sat, 29 Jun 2013 08:18:04 +0200 p11-kit (0.18.3-2) unstable; urgency=low * Upload to unstable. -- Andreas Metzler Sat, 15 Jun 2013 18:29:26 +0200 p11-kit (0.18.3-1) experimental; urgency=low * New upstream bugfix release. * Fix vcs-field-not-canonical lintian error by refering to anonscm instead of svn.debian.org. -- Andreas Metzler Sun, 09 Jun 2013 13:31:21 +0200 p11-kit (0.18.2-1) experimental; urgency=low * New upstream release. -- Andreas Metzler Sun, 26 May 2013 18:02:53 +0200 p11-kit (0.18.1-1) experimental; urgency=low * New upstream release. -- Andreas Metzler Sat, 20 Apr 2013 08:36:17 +0200 p11-kit (0.18.0-1) experimental; urgency=low * New upstream version. Drop superfluous patches. (murmurtest_bigendian.diff, update_to_MurmurHash3.diff) -- Andreas Metzler Fri, 05 Apr 2013 20:00:31 +0200 p11-kit (0.17.4-3) experimental; urgency=low * [update_to_MurmurHash3.diff] fix FTBFS on armel (verified) and sparc. -- Andreas Metzler Tue, 02 Apr 2013 19:38:34 +0200 p11-kit (0.17.4-2) experimental; urgency=low * murmurtest_bigendian.diff: Fix testsuite error on bigendian systems. -- Andreas Metzler Tue, 26 Mar 2013 19:32:44 +0100 p11-kit (0.17.4-1) experimental; urgency=low * New upstream release. + Drop noexport_constructor.diff, applied upstream. + configure with --with-trust-paths=.. instead of --with-system-anchors. * After geting permission from Chris Coulson change license of Debian packaging to match upstresm license -- Andreas Metzler Sun, 24 Mar 2013 16:06:47 +0100 p11-kit (0.16.4-1) experimental; urgency=low * New upstream release. Closes: #702538 * Drop relicense_buffer-code.diff. * [noexport_constructor.diff] Make p11_kit_(init|fini) private symbols, it does not seem to be necessary to export (de)constructors. (__attribute__((constructor))). -- Andreas Metzler Sat, 16 Mar 2013 17:04:05 +0100 p11-kit (0.15.2-1) experimental; urgency=low * New upstream *development* release (second part of version is an odd number). Closes: #700689 + Add build-depends on pkg-config and libtasn1-6-dev. + Point --with-system-anchors to /etc/ssl/certs/ca-certificates.crt. + Update symbol file. * Ship system trust policy module in p11-kit package. * Enable (enable_locale.diff) and ship gettext translations. Closes: #641994 * relicense_buffer-code.diff (from upstream GIT), relicense two files from GPLv2+ to to BSD. * Symlink html docs from gtk-doc to /usr/share/doc/libp11-kit-dev. Closes: #700668 * Add libp11-kit0-dbg (Roughly based on patch by Daniel Kahn Gillmor). Closes: #700655 -- Andreas Metzler Sat, 16 Feb 2013 16:38:07 +0100 p11-kit (0.14-1) experimental; urgency=low * New upstream version. + Drop 01_no_duplicate_symbols.patch. + Requires .module filename extension for module autoloading. This replaces Ubuntu's valid-config-files.patch, which blaclist .dpkg* instead of only whitelisting .module. -- Andreas Metzler Thu, 06 Sep 2012 19:35:07 +0200 p11-kit (0.13-1) experimental; urgency=low * New upstream version. + Drop patches previously pulled from upstream (10_broken-hashmap-behavior 11_crash-when-duplicate). * Invoke dpkg-gensymbols with -c2. * Update symbols file, adding p11_kit_set_progname. * Pulled from upstream: 01_no_duplicate_symbols.patch, fixing a build error with clang. -- Andreas Metzler Tue, 17 Jul 2012 14:15:39 +0200 p11-kit (0.12-3) unstable; urgency=low * Pull two patches from upstream: + 10_broken-hashmap-behavior: Fix build-error with squeeze gcc. See also #651595. + 11_crash-when-duplicate: Do not crash on duplicate modules. See LP#911436, this replaces Ubuntu's duplicate-module-fix.patch. * Ship p11-kit proxy module with package p11-kit in directory /usr/lib. Closes: #656623 -- Andreas Metzler Tue, 17 Apr 2012 19:27:46 +0200 p11-kit (0.12-2) unstable; urgency=low * Upload to unstable. -- Andreas Metzler Wed, 14 Mar 2012 18:10:03 +0100 p11-kit (0.12-1) experimental; urgency=low * Drop DEB_CPPFLAGS_MAINT_APPEND = -D_XOPEN_SOURCE=600 -D_BSD_SOURCE, upstream's usage of AC_USE_SYSTEM_EXTENSIONS should make this unnecessary. * Upload to experimental, let 0.11-3 propagate to wheezy. -- Andreas Metzler Fri, 09 Mar 2012 19:16:25 +0100 p11-kit (0.11-3) unstable; urgency=low * Do not export CPPFLAGS in debian/rules, it disabled the respective hardening-options. (Thanks, Simon Ruderich) Closes: #662100 -- Andreas Metzler Sun, 04 Mar 2012 08:07:12 +0100 p11-kit (0.11-2) unstable; urgency=low * Bump versioning of p11_kit_initialize_registered, p11_kit_initialize_module and p11_kit_load_initialize_module. (Due to upstream change "Remove automatic reinitialization of PKCS#11 after fork") * Use debhelper v9 compat to get dpkg-buildflags. Drop --libdir argument to ./configure, bump b-d. -- Andreas Metzler Sat, 03 Mar 2012 18:42:52 +0100 p11-kit (0.11-1) unstable; urgency=low * New upstream version. -- Andreas Metzler Sat, 11 Feb 2012 09:54:47 +0100 p11-kit (0.10-1) unstable; urgency=low * New upstream version. * Drop 0001-workaround_gccbug.diff. -- Andreas Metzler Wed, 04 Jan 2012 19:35:00 +0100 p11-kit (0.9-3) unstable; urgency=low * Brown paper bag release. * Revert module-path change, gnome-keyring *has* switched. Closes: #653033, #653034 -- Andreas Metzler Fri, 23 Dec 2011 08:40:38 +0100 p11-kit (0.9-2) unstable; urgency=low * Upload to unstable. * [0001-workaround_gccbug.diff] pulled from upstream. Work around gcc optimization bug on i386. See #651595. * Don't look for PKCS#11 modules in multiarch dir yet, wait for gnome-keyring to switch. #645959 -- Andreas Metzler Thu, 22 Dec 2011 14:33:36 +0100 p11-kit (0.9-1) experimental; urgency=low * New upstream version. * Test whether building with -D_XOPEN_SOURCE=600 -D_BSD_SOURCE succeeds. -- Andreas Metzler Sat, 26 Nov 2011 16:22:40 +0100 p11-kit (0.8-2) unstable; urgency=low * Build with -D_GNU_SOURCE on DEB_BUILD_ARCH_OS != linux. Works around 647823 and Closes: #647229 -- Andreas Metzler Sat, 12 Nov 2011 08:58:27 +0100 p11-kit (0.8-1) unstable; urgency=low * New upstream version. + Drop 20_path_max.diff, included upstream. -- Andreas Metzler Mon, 31 Oct 2011 14:40:56 +0100 p11-kit (0.7-2) unstable; urgency=low * 20_path_max.diff Fix FTBFS on GNU/Hurd due to missing PATH_MAX (Thanks, Pino Toscano). Closes: #643601 -- Andreas Metzler Wed, 28 Sep 2011 19:22:40 +0200 p11-kit (0.7-1) unstable; urgency=low * New upstream version. + Expand p11-kit config variables correctly. Closes: #642041 -- Andreas Metzler Tue, 27 Sep 2011 19:14:47 +0200 p11-kit (0.6-1) unstable; urgency=low * New upstream version. * [lintian] Fix syntax error in debian/copyright. -- Andreas Metzler Thu, 15 Sep 2011 19:23:23 +0200 p11-kit (0.4-2) unstable; urgency=low * Add Build-Depends-Package safeguard to symbol file. -- Andreas Metzler Fri, 26 Aug 2011 18:12:25 +0200 p11-kit (0.4-1) experimental; urgency=low * Fix typo in package description. (Thanks, Aputsiaq Janussen) Closes: #638226 * New upstream version. * Update symbol file. * Ship pkcs11.conf.example in /usr/share/doc/. -- Andreas Metzler Fri, 19 Aug 2011 11:23:56 +0200 p11-kit (0.3-2) unstable; urgency=low * Upload to unstable. -- Andreas Metzler Sun, 14 Aug 2011 13:08:15 +0200 p11-kit (0.3-1) experimental; urgency=low * Upload to Debian. (LP: #819939) Closes: #636938 * Add watch file. * Convert to multi-arch: + configure with --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH), update *.install accordingly. + Bump debhelper b-d to 8.1.3 (for ${misc:Pre-Depends}). + runtime library is Multi-Arch: same with Pre-Depends: ${misc:Pre-Depends}, -bin is Multi-Arch: foreign, -dev remains unchanged. * Bump libp11-kit0 Priority to standard, libp11-kit-dev Priority to optional, since these are future libgnutls(-dev) rdeps. * [control] Drop Section setting from libp11-kit0 stanza to make lintian --pedantic happy. * Build with --disable-silent-rules. * Add Vcs-Svn and Vcs-Browser fields. * New upstream version, does not contain Apache 2.0 licensed code anymore. * Add info for p11-kit/pkcs11.h to debian/copyright, drop Apache 2.0 license bits. -- Andreas Metzler Sun, 07 Aug 2011 18:15:10 +0200 p11-kit (0.2-0ubuntu2) oneiric; urgency=low * Ship a symbols file - add debian/libp11-kit0.symbols * Ship the documentation - update debian/libp11-kit-dev.install * Fix a typo in debian/control -- Chris Coulson Thu, 28 Jul 2011 14:50:06 +0100 p11-kit (0.2-0ubuntu1) oneiric; urgency=low * Initial release -- Chris Coulson Thu, 28 Jul 2011 13:13:47 +0100 debian/p11-kit.10000664000000000000000000000054012246634261010445 0ustar .TH P11-KIT 1 2011-07-28 p11-kit .SH NAME p11-kit \- List the PKCS#11 modules provided on the system .SH SYNOPSIS .B p11-kit [\fIOPTIONS\fR] .SH DESCRIPTION List the PKCS#11 modules installed on the system .SH OPTIONS .TP \fB\-l\fR Lists all of the PKCS#11 modules provided. .TP \fB\-v\fR Turn on verbose mode. .TP \fB-h\fR Print usage information. debian/libp11-kit-dev.links0000664000000000000000000000010212246634261012662 0ustar usr/share/gtk-doc/html/p11-kit usr/share/doc/libp11-kit-dev/html debian/libp11-kit-dev.install0000664000000000000000000000011212246634261013211 0ustar usr/include/* usr/lib/*/lib*.so usr/lib/*/pkgconfig/* usr/share/gtk-doc/* debian/libp11-kit0.examples0000664000000000000000000000005212246634261012670 0ustar debian/tmp/etc/pkcs11/pkcs11.conf.example debian/upstream-signing-key.pgp0000664000000000000000000000775712266522401014002 0ustar FEA)* u=[x-5eO]E1e/&&uU   FX {'e~f=]O辯1_޺.cjzoF?sI GO/~0#(Gr>Xb< mos4׋uӉ" CBu W|H/ŏ$e=$k4Wv֮8W` l.e.%8?G7mG:(~3D[3u‚@h}EFLA M< :LĬ0CEq{6&xZEӊ{k}Lx.|` J{WhsA<%Sb&-3l@ppg%?RT /\OG:ip}\f(K YXc# FX {'eZs2+bF.0zKe%  M^ {'eKp'"8}VL[bls !\iFD rG T9w(~Q6ڂ>Qa} r ӂ*nNqWwzwpWhyslFS=FoK54cPh2$A#SODztA]|գ=JzV#tئpPV鸜XgܯC(R$=Q$YFN1C;el^GVMh:9kEwAr$a:p9eێ]wk[  `Qs$#K;MOᜎ(Sr`{3WjJTq{"vNѣ[ԝ){pո10@o6dه.J+A\:ZI'pII'rd㣾ĄPOe4?mV}ޕ>#a;} L _T&"]98LI]jtUxEEFБR0QX{:l.z4`p|NJy?SoWǴ?VE!pW N >J WӐrveW,l3HmDH@b+ծ3>-fdv,gAF-sk< Hi;h ˆ)tBF<Ĵi) e/lnm@OXCXSR-4k1ld. 4 FOFo>*TNyMˍM׶+Q"5~:敇 |2/MrCy|O^neqdeٽGP#o$*94;,hbN9kr`"0%Q8K4. B̫% ׬ӿ?i \V]<dYo z*"nOgQ}xk *r1C!ʕ#0 $&TrFmto:. แ23' +WDP)[D͑.5м0ֻQ/+7Yb?J/nX?)8HB(ik:9D]tMG̤5QZUWt==U1zP"9a{e\^;4g,?@>wq~^AmP/_9~ u|ك1$V, Dhawh7!vc(#'!̏/f?ܘN$af}P oNFxȢE능Q0qǒImg}nP;nΫ({  M^j {'e_ M^ وQKG+q>dzf3r+ Z ʒnhWbB{(M B6$8qESߒū-^0b{nĭ}&debian/p11-kit.install0000664000000000000000000000013112311252237011737 0ustar usr/bin/* usr/share/p11-kit/modules/p11-kit-trust.module usr/share/locale/*/*/p11-kit.mo