--- libgssglue-0.1.orig/debian/docs +++ libgssglue-0.1/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- libgssglue-0.1.orig/debian/rules +++ libgssglue-0.1/debian/rules @@ -1,4 +1,81 @@ #!/usr/bin/make -f +# -*- makefile -*- -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/autotools.mk +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +# shared library versions +version=1.0.0 +major=1 + +config.status: configure + dh_testdir + # Add here commands to configure the package. + cp -f /usr/share/misc/config.sub /usr/share/misc/config.guess . + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + +build: patch build-stamp +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + + install -d debian/tmp/etc + cp -p doc/gssapi_mech.conf debian/tmp/etc + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installman + dh_install + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libgssglue-0.1.orig/debian/compat +++ libgssglue-0.1/debian/compat @@ -1 +1 @@ -5 +7 --- libgssglue-0.1.orig/debian/libgssglue-dev.dirs +++ libgssglue-0.1/debian/libgssglue-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- libgssglue-0.1.orig/debian/libgssglue-dev.install +++ libgssglue-0.1/debian/libgssglue-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/include/* +debian/tmp/usr/lib/lib*.a +debian/tmp/usr/lib/lib*.so +debian/tmp/usr/lib/pkgconfig/* --- libgssglue-0.1.orig/debian/control +++ libgssglue-0.1/debian/control @@ -1,34 +1,36 @@ -Source: libgssapi +Source: libgssglue Section: libs Priority: optional -Maintainer: J. Bruce Fields -Build-Depends: debhelper (>=5.0.0), libkrb5-dev, cdbs -Standards-Version: 3.6.2 +Maintainer: Anibal Monsalve Salazar +Uploaders: Steinar H. Gunderson +Build-Depends: debhelper (>=7), quilt, autotools-dev, libkrb5-dev +Standards-Version: 3.8.1 +Homepage: http://www.citi.umich.edu/projects/nfsv4/linux/ -Package: libgssapi-dev +Package: libgssglue-dev Section: libdevel Architecture: any -Depends: libgssapi2 (= ${Source-Version}) -Description: header files and docs for libgssapi - Contains the header files and documentation for libgssapi - for use in developing applications that use the libgssapi library. +Depends: libgssglue1 (= ${binary:Version}) +Conflicts: libgssapi-dev (<= 0.11-1) +Replaces: libgssapi-dev (<= 0.11-1) +Description: header files and docs for libgssglue + Contains the header files and documentation for libgssglue + for use in developing applications that use the libgssglue library. . - libgssapi provides a gssapi interface, but does not implement any + libgssglue provides a gssapi interface, but does not implement any gssapi mechanisms itself; instead it calls other gssapi functions (e.g., those provided by MIT Kerberos), depending on the requested mechanism, to do the work. - . - Homepage: http://www.citi.umich.edu/projects/nfsv4/linux/ -Package: libgssapi2 +Package: libgssglue1 +Priority: standard Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} -Description: A mechanism-switch gssapi library - libgssapi provides a gssapi interface, but does not implement any +Conflicts: libgssapi2 (<= 0.11-1) +Replaces: libgssapi2 (<= 0.11-1) +Description: mechanism-switch gssapi library + libgssglue provides a gssapi interface, but does not implement any gssapi mechanisms itself; instead it calls other gssapi functions (e.g., those provided by MIT Kerberos), depending on the requested mechanism, to do the work. - . - Homepage: http://www.citi.umich.edu/projects/nfsv4/linux/ - --- libgssglue-0.1.orig/debian/changelog +++ libgssglue-0.1/debian/changelog @@ -1,3 +1,98 @@ +libgssglue (0.1-4) unstable; urgency=low + + * Removing myself from uploaders. + + -- Daniel Baumann Mon, 31 Aug 2009 08:59:21 +0200 + +libgssglue (0.1-3) unstable; urgency=low + + * Build on GNU/kFreeBSD. Closes: #531986 + * Fix resource leak. Closes: #512730 + * Fix wrong #if statments. Closes: 400185 + * Build depend on quilt + * Standards Version is 3.8.1 + * DH compat is 7 + * Run dh_prep instead of dh_clean -k + + -- Anibal Monsalve Salazar Sat, 06 Jun 2009 17:55:22 +1000 + +libgssglue (0.1-2) unstable; urgency=low + + * Repackage debian source + * Don't ship libgssglue.la. Closes: #473344 + * Update debian/watch file + * Fix the following lintian issues: + W: libgssglue source: out-of-date-standards-version 3.7.2 (current is + 3.7.3) + W: libgssglue1: description-contains-homepage + W: libgssglue-dev: description-contains-homepage + + -- Anibal Monsalve Salazar Fri, 18 Apr 2008 23:09:04 +1000 + +libgssglue (0.1-1) unstable; urgency=medium + + * debian/control: + - Removed libgssapi-dev & libgssapi2 from Provides list. + Closes: #441864. + + -- Anibal Monsalve Salazar Wed, 12 Sep 2007 09:20:31 +1000 + +libgssglue (0.1-0) unstable; urgency=low + + * New upstream release. Closes: #440895. + * Renamed gssapi to gssglue. + * debian/control: + - removed heimdal-dev from Replaces & Conflicts. + - added libgssapi-dev & libgssapi2 to Replaces, Conflicts & Provides. + + -- Anibal Monsalve Salazar Wed, 05 Sep 2007 21:15:33 +1000 + +libgssapi (0.11-1) unstable; urgency=low + + * New upstream release. + + -- Steinar H. Gunderson Thu, 26 Apr 2007 23:28:42 +0200 + +libgssapi (0.10-4) unstable; urgency=medium + + * Added conflicts/replaces on libgssapi-dev against heimdal-dev + (Closes: #380287). + + -- Daniel Baumann Sun, 29 Oct 2006 16:28:00 +0100 + +libgssapi (0.10-3) unstable; urgency=high + + * Regression: gssapi_mech.conf: changed /usr/lib/libgssapi_krb5.so to + /usr/lib/libgssapi_krb5.so.2, see #370825, closes: #381986. + + -- Anibal Monsalve Salazar Tue, 08 Aug 2006 19:20:21 +1000 + +libgssapi (0.10-2) unstable; urgency=low + + * Updated co-maintainer mail address. + + -- Anibal Monsalve Salazar Wed, 05 Jul 2006 14:40:35 +1000 + +libgssapi (0.10-1) unstable; urgency=low + + * New upstream release. + + -- Anibal Monsalve Salazar Fri, 23 Jun 2006 07:55:55 +1000 + +libgssapi (0.9-3) unstable; urgency=low + + * gssapi_mech.conf: changed /usr/lib/libgssapi_krb5.so to + /usr/lib/libgssapi_krb5.so.2, closes: #370825. + + -- Anibal Monsalve Salazar Wed, 07 Jun 2006 10:50:06 +1000 + +libgssapi (0.9-2) unstable; urgency=low + + * New maintainer. + * Set Standards-Version to 3.7.2. + + -- Anibal Monsalve Salazar Fri, 02 Jun 2006 16:23:12 +1000 + libgssapi (0.9-1) unstable; urgency=low * New upstream release: @@ -6,8 +101,10 @@ * bump library version to libgssapi2 * remove debian/libgssapi1.conffiles, because cdbs already adds etc/gssapi_mech.conf to the list of conffiles + * debian/control: + -added Anibal Monsalve Salazar and Steinar H. Gunderson to Uploaders: - -- Timo Aaltonen Tue, 11 Apr 2006 11:45:04 +0300 + -- Timo Aaltonen Thu, 27 Apr 2006 09:37:02 +0300 libgssapi (0.8-1) unstable; urgency=low --- libgssglue-0.1.orig/debian/libgssglue1.dirs +++ libgssglue-0.1/debian/libgssglue1.dirs @@ -0,0 +1,2 @@ +etc +usr/lib --- libgssglue-0.1.orig/debian/copyright +++ libgssglue-0.1/debian/copyright @@ -7,9 +7,15 @@ Authors: Kevin Coffman, J. Bruce Fields, et. al. Includes code copyrighted by the University of Michigan, Sun -Microsystems, and MIT; licenses: +Microsystems, MIT and OpenVision Technologies, Inc. + +Licenses: + Copyright (c) 2004 The Regents of the University of Michigan. +Copyright (c) 2005 The Regents of the University of Michigan. +Copyright (c) 2006 The Regents of the University of Michigan. +Copyright (c) 2007 The Regents of the University of Michigan. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -41,6 +47,7 @@ -- -- -- -- -- -- -- -- -- +Copyright (c) 1995, by Sun Microsystems, Inc. Copyright 1996 by Sun Microsystems, Inc. Permission to use, copy, modify, distribute, and sell this software @@ -86,3 +93,29 @@ M.I.T. makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. + + +-- -- -- -- -- -- -- -- -- + + +/* + * Copyright 1993 by OpenVision Technologies, Inc. + * + * Permission to use, copy, modify, distribute, and sell this software + * and its documentation for any purpose is hereby granted without fee, + * provided that the above copyright notice appears in all copies and + * that both that copyright notice and this permission notice appear in + * supporting documentation, and that the name of OpenVision not be used + * in advertising or publicity pertaining to distribution of the software + * without specific, written prior permission. OpenVision makes no + * representations about the suitability of this software for any + * purpose. It is provided "as is" without express or implied warranty. + * + * OPENVISION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + * EVENT SHALL OPENVISION BE LIABLE FOR ANY SPECIAL, 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. + */ --- libgssglue-0.1.orig/debian/watch +++ libgssglue-0.1/debian/watch @@ -1,2 +1,2 @@ -version=2 -http://www.citi.umich.edu/projects/nfsv4/linux/libgssapi/libgssapi-(.*)\.tar\.gz +version=3 +http://www.citi.umich.edu/projects/nfsv4/linux/libgssglue/ libgssglue-([\d]+[\d\.]*)\.tar\.gz --- libgssglue-0.1.orig/debian/libgssglue1.install +++ libgssglue-0.1/debian/libgssglue1.install @@ -0,0 +1,2 @@ +debian/tmp/etc/gssapi_mech.conf +debian/tmp/usr/lib/lib*.so.* --- libgssglue-0.1.orig/debian/patches/01-370825-gssapi_mech.conf.patch +++ libgssglue-0.1/debian/patches/01-370825-gssapi_mech.conf.patch @@ -0,0 +1,20 @@ +http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=370825 + +/etc/gssapi_mech.conf by default refers to /usr/lib/libgssapi_krb5.so, +but this ifle doesn't exist. Changing it to /usr/lib/libgssapi_krb5.so.2 +improves things. + +David Pashley + +--- a/doc/gssapi_mech.conf 2005-11-23 02:16:31.000000000 +1100 ++++ b/doc/gssapi_mech.conf 2009-06-06 18:26:47.000000000 +1000 +@@ -15,7 +15,8 @@ + # library initialization function + # ================================ ========================== + # The MIT K5 gssapi library, use special function for initialization. +-/usr/lib/libgssapi_krb5.so mechglue_internal_krb5_init ++#/usr/lib/libgssapi_krb5.so mechglue_internal_krb5_init ++/usr/lib/libgssapi_krb5.so.2 mechglue_internal_krb5_init + # + # The SPKM3 gssapi library function. Use the function spkm3_gss_initialize. + # /usr/local/gss_mechs/spkm/spkm3/libgssapi_spkm3.so spkm3_gss_initialize --- libgssglue-0.1.orig/debian/patches/06-400185-if_defined.patch +++ libgssglue-0.1/debian/patches/06-400185-if_defined.patch @@ -0,0 +1,35 @@ +http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;bug=400185 + +There are some errors in gssapi.h. #if is used instead of #if defined() + +Julien Danjou + +--- a/src/gssglue/gssapi/gssapi.h.in 2006-04-09 06:27:24.000000000 +1000 ++++ b/src/gssglue/gssapi/gssapi.h.in 2009-06-06 19:08:15.000000000 +1000 +@@ -51,7 +51,7 @@ + extern "C" { + #endif /* __cplusplus */ + +-#if TARGET_OS_MAC ++#if defined(TARGET_OS_MAC) + #if defined(__MWERKS__) + #pragma import on + #pragma enumsalwaysint on +@@ -107,7 +107,7 @@ extern "C" { + /* + * If the platform supports the xom.h header file, it should be included here. + */ +-#if HAVE_XOM_H ++#if defined(HAVE_XOM_H) + #include + #endif /* HAVE_XOM_H */ + +@@ -826,7 +826,7 @@ PROTOTYPE( (OM_uint32 *, /* minor_stat + void * /* ktypes */ + )); + +-#if TARGET_OS_MAC ++#if defined(TARGET_OS_MAC) + #if defined(__MWERKS__) + #pragma enumsalwaysint reset + #pragma import reset --- libgssglue-0.1.orig/debian/patches/02-531986-kFreeBSD.patch +++ libgssglue-0.1/debian/patches/02-531986-kFreeBSD.patch @@ -0,0 +1,19 @@ +http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531986 + +the current version fails to build on GNU/kFreeBSD. +It needs small tweak. The work with shared libraries +is not determined by kernel, but by glibc. + +Petr Salinger + +--- a/src/g_initialize.c 2007-09-05 00:10:37.000000000 +1000 ++++ b/src/g_initialize.c 2009-06-06 18:37:52.000000000 +1000 +@@ -44,7 +44,7 @@ + static void solaris_initialize (void); + #endif /* USE_SOLARIS_SHARED_LIBRARIES */ + +-#ifdef __linux__ ++#if defined(__linux__) || defined(__GLIBC__) + #define USE_LINUX_SHARED_LIBRARIES + #endif + --- libgssglue-0.1.orig/debian/patches/04-512730-resource_leak.patch +++ libgssglue-0.1/debian/patches/04-512730-resource_leak.patch @@ -0,0 +1,24 @@ +http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512730 + +small resource leak + +George Danchev + +--- a/src/g_initialize.c 2007-09-05 00:10:37.000000000 +1000 ++++ b/src/g_initialize.c 2009-06-06 18:37:52.000000000 +1000 +@@ -251,6 +251,7 @@ static void solaris_initialize () + + } /* while */ + ++ fclose(conffile); + return; + } + #endif /* USE_SOLARIS_SHARED_LIBRARIES */ +@@ -343,6 +344,7 @@ static void linux_initialize () + + } /* while */ + ++ fclose(conffile); + return; + } + #endif /* USE_LINUX_SHARED_LIBRARIES */ --- libgssglue-0.1.orig/debian/patches/series +++ libgssglue-0.1/debian/patches/series @@ -0,0 +1,4 @@ +01-370825-gssapi_mech.conf.patch +02-531986-kFreeBSD.patch +04-512730-resource_leak.patch +06-400185-if_defined.patch