debian/0000755000000000000000000000000012231164560007166 5ustar debian/watch0000644000000000000000000000023611327045146010223 0ustar # watch -- Rules for uscan to find new upstream versions. version=3 http://search.cpan.org/dist/Krb5/ .*/Krb5-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/libauthen-krb5-perl.examples0000644000000000000000000000007011320610757014501 0ustar sample_client sample_server simple_client simple_server debian/rules0000755000000000000000000000037311327041353010250 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_installexamples: dh_installexamples sed -i '1s|^#!/usr/local/bin/perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/* debian/copyright0000644000000000000000000000245311550326244011127 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Jeff Horwitz (jeff@smashing.org) Source: http://search.cpan.org/dist/Authen-Krb5/ Name: Authen-Krb5 Files: * Copyright: 2000-2006, Jeff Horwitz License: Artistic or GPL-1+ Files: debian/* Copyright: 2004-2005, Huaqing Zheng 2005-2008, Russ Allbery 2006-2011, gregor herrmann 2008, Rene Mayorga 2008, Roberto C. Sanchez 2010, Ansgar Burchardt 2010, Jonathan Yu License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: GPL-1+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/source/0000755000000000000000000000000011550327314010467 5ustar debian/source/format0000644000000000000000000000001411327041353011673 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011550327314010616 5ustar debian/patches/better-compiler-flags0000644000000000000000000000177711550324253014743 0ustar Description: use krb5-config to query the necessary library options Origin: vendor Bug-Debian: http://bugs.debian.org/622090 Forwarded: no Author: Steve Langasek Reviewed-by: gregor herrmann Last-Update: 2011-04-10 --- a/Makefile.PL +++ b/Makefile.PL @@ -18,22 +18,10 @@ ##### DO NOT CHANGE ANYTHING BELOW HERE ##### -# check for libk5crypto -- only in krb5-1.1 and above -print "Checking for libk5crypto..."; -my $cryptolib; -if ( -r "${KRB5_LIBDIR}/libk5crypto.a" || -r "${KRB5_LIBDIR}/libk5crypto.so" ) { - print "yes\n"; - $cryptolib = '-lk5crypto'; -} -else { - print "no. I'll use libcrypto instead.\n"; - $cryptolib = '-lcrypto'; -} - WriteMakefile( 'NAME' => 'Authen::Krb5', 'VERSION_FROM' => 'Krb5.pm', - 'LIBS' => ["-L${KRB5_LIBDIR} -lkrb5 ${cryptolib} -lcom_err $KRB5_EXTRALIBS"], + 'LIBS' => [`krb5-config --libs`], 'DEFINE' => '', - 'INC' => "-I${KRB5_INCDIR} $KRB5_EXTRAINCS" + 'INC' => `krb5-config --cflags` ); debian/patches/fix_pod0000644000000000000000000000047311550325554012201 0ustar Description: fix manpage-has-errors-from-pod2man Origin: vendor Forwarded: no Author: Maximilian Gaß Reviewed-by: Jonathan Yu Last-Update: 2011-04-10 --- a/Krb5.pm +++ b/Krb5.pm @@ -599,6 +599,8 @@ =back +=back + =head1 AUTHOR Jeff Horwitz (jeff@smashing.org) debian/patches/fix-init_context.patch0000644000000000000000000000263511550325531015137 0ustar Subject: init_context() should return context Make init_context() really return the context as documented. We also make it safe to call init_context() several times in case one wants to access the context object later. Origin: vendor Bug: http://rt.cpan.org/Public/Bug/Display.html?id=53952 Forwarded: http://rt.cpan.org/Public/Bug/Display.html?id=53952 From: Ansgar Burchardt Reviewed-by: gregor herrmann Last-Update: 2011-04-10 --- a/Krb5.xs +++ b/Krb5.xs @@ -25,6 +25,7 @@ #define KRB5_DEFAULT_LIFE 60*60*10 typedef krb5_ccache Authen__Krb5__Ccache; +typedef krb5_context Authen__Krb5__Context; typedef krb5_principal Authen__Krb5__Principal; typedef krb5_auth_context Authen__Krb5__AuthContext; typedef krb5_rcache Authen__Krb5__Rcache; @@ -121,14 +122,18 @@ SvIOK_on(ST(0)); } -void +Authen::Krb5::Context krb5_init_context() CODE: - if (context) croak("Authen::Krb5 already initialized"); - err = krb5_init_context(&context); - if (err) XSRETURN_UNDEF; - XSRETURN_YES; + if (!context) { + err = krb5_init_context(&context); + if (err) XSRETURN_UNDEF; + } + RETVAL = context; + + OUTPUT: + RETVAL void krb5_free_context() --- a/typemap +++ b/typemap @@ -1,6 +1,7 @@ TYPEMAP Authen::Krb5::Ccache T_PTROBJ_NU +Authen::Krb5::Context T_PTROBJ_NU Authen::Krb5::Principal T_PTROBJ_NU Authen::Krb5::AuthContext T_PTROBJ_NU Authen::Krb5::Rcache T_PTROBJ_NU debian/patches/series0000644000000000000000000000006511327041353012032 0ustar better-compiler-flags fix_pod fix-init_context.patch debian/compat0000644000000000000000000000000211550326362010367 0ustar 8 debian/control0000644000000000000000000000210711550326453010575 0ustar Source: libauthen-krb5-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8), perl, libkrb5-dev Maintainer: Debian Perl Group Uploaders: Russ Allbery , Jonathan Yu , Ansgar Burchardt , gregor herrmann Standards-Version: 3.9.2 Homepage: http://search.cpan.org/dist/Krb5/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libauthen-krb5-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libauthen-krb5-perl/ Package: libauthen-krb5-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends} Description: Perl interface to Kerberos 5 API Authen::Krb5 is a Perl module providing an object-oriented interface to the Kerberos 5 API. It rearranges the API slightly to provide an object-oriented view, but otherwise closely matches the C interface. Use may require previous experience with Kerberos 5 programming or reference to the Kerberos 5 API documentation. . This package is built against the MIT Kerberos 5 libraries. debian/changelog0000644000000000000000000001744012231164560011046 0ustar libauthen-krb5-perl (1.9-3build2) trusty; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Mon, 21 Oct 2013 09:44:32 +0100 libauthen-krb5-perl (1.9-3build1) precise; urgency=low * Rebuild for Perl 5.14. -- Colin Watson Tue, 15 Nov 2011 17:13:11 +0000 libauthen-krb5-perl (1.9-3) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Update Homepage field. * Email change: Ansgar Burchardt -> ansgar@debian.org [ gregor herrmann ] * New version of patch better-compiler-flags: use krb5-config to query the necessary library options; thanks to Steve Langasek for forwarding the patch from Ubuntu (closes: #622090). * debian/copyright: update formatting. * Add /me to Uploaders. * Switch to debhelper 8. * Set Standards-Version to 3.9.2 (no further changes). -- gregor herrmann Sun, 10 Apr 2011 15:21:04 +0200 libauthen-krb5-perl (1.9-2) unstable; urgency=low [ Ansgar Burchardt ] * Introduce patch to make init_context() return the context as documented. (new patch: fix-init_context.patch) * Switch to source format 3.0 (quilt). * Add myself to Uploaders. [ gregor herrmann ] * debian/watch: use extended regexp to match upstream versions. -- Ansgar Burchardt Sun, 24 Jan 2010 18:55:15 +0900 libauthen-krb5-perl (1.9-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release * Move examples -> libauthen-krb5-perl.examples * Use new debhelper 7 short rules file * Add myself to Uploaders and Copyright * Standards-Version 3.8.3 (drop perl version dep) * Slight rewrite of control description * Remove perl-path patch, replace with override * Refresh all remaining patches * Add DEP3 patch headers * No longer install README or TODO, same info in POD * Refresh copyright to new DEP5 format [ gregor herrmann ] * Add debian/README.source to document quilt usage, as required by Debian Policy since 3.8.0. * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). * debian/control: Added: ${misc:Depends} to Depends: field. [ Maximilian Gaß ] * Added patch for manpage-has-errors-from-pod2man -- Jonathan Yu Tue, 05 Jan 2010 11:51:43 -0500 libauthen-krb5-perl (1.8-1) unstable; urgency=low * New upstream release. * debian/patches/fix-get-in-tkt-with-password: Removed. Included upstream. * debian/patches/warning-cleanup: Removed. Included upstream. -- Roberto C. Sanchez Mon, 17 Mar 2008 00:35:28 -0400 libauthen-krb5-perl (1.7-2) unstable; urgency=low * Fix the krb5_get_in_tkt_with_password backwards-compatibility interface to call the correct new function instead of the old function with the wrong arguments. * New patch warnings-cleanup: - Request prototypes of private functions from the Kerberos library headers so that we get compiler diagnostics of argument mismatches and prototype all functions. - Prototype the unprototyped functions we call anyway. - Clean up some other minor compiler warnings. * Patch cleanup: - Remove extraneous .patch file suffixes and rename patches. - Remove unnecessary time stamps and patch headers. - Add explanatory comments to each patch. * Touch Makefile before make distclean so that Perl doesn't try to rebuild it from Makefile.PL after removing the patch. * Use a distribution-based watch URL. * Minor debian/rules cleanup. -- Russ Allbery Sat, 08 Mar 2008 15:55:44 -0800 libauthen-krb5-perl (1.7-1) unstable; urgency=low [ Jose Luis Rivas ] * New upstream release * debian/control: + Standards-Version updated to 3.7.3, no changes needed. [ gregor herrmann ] * debian/control: + Added: Vcs-Svn field (source stanza) + Vcs-Browser field (source stanza) + Homepage field (source stanza). + Removed: XS-Vcs-Svn fields. [ Rene Mayorga ] * debian/rules + Move tests from install to build target + touch $@ instead of *-stamps + remove unused dh_calls + add quilt ruleset + check if /usr/share/perl exists before delete it * debian/copyright + refresh copyright info from upstream * Move patchs from .diff.gz to be manage with quilt + Fixing /usr/local/bin/perl patch in examples + Fixing Makefile.PL to not use static linking * debian/control + quilt added to B-D [ Roberto C. Sanchez ] * Update to debhelper compatibility level 6 -- Roberto C. Sanchez Wed, 9 Jan 2008 17:58:19 -0500 libauthen-krb5-perl (1.6-2) unstable; urgency=low * Don't link against -lresolv; it isn't necessary on Debian. * Remove stamp files as the first action of the clean target. -- Russ Allbery Tue, 26 Sep 2006 17:23:21 -0700 libauthen-krb5-perl (1.6-1) unstable; urgency=low * New upstream release. * Set Standards-Version to 3.7.2 (no changes). * Set debhelper compatibility level to 5. -- gregor herrmann Mon, 7 Aug 2006 22:08:17 +0200 libauthen-krb5-perl (1.5-2) unstable; urgency=low * Set maintainer to the Debian Perl Group. * Provide build-arch and build-indep targets. * Use a cleaner way to handle make distclean. -- Russ Allbery Mon, 16 Jan 2006 15:17:40 -0800 libauthen-krb5-perl (1.5-1) unstable; urgency=low * New upstream release. - Add keyblock accessor functions to allow use of the session key. * Providing binary-indep is actually mandatory in Policy even if there are no arch-independent packages. * debian/watch: Fix upstream package naming. * debian/copyright: Update upstream author address. -- Russ Allbery Sat, 3 Dec 2005 10:10:34 -0800 libauthen-krb5-perl (1.4-5) unstable; urgency=low * Make init_ets a no-op, since krb5_init_ets was a private symbol, calling it has always been unnecessary, and it is no longer exported by the MIT Kerberos libraries as of 1.4. Update the documentation and example scripts accordingly. -- Russ Allbery Mon, 28 Nov 2005 19:15:03 -0800 libauthen-krb5-perl (1.4-4) unstable; urgency=low * Use a better method of optionally running make distclean. * Update maintainer address. -- Russ Allbery Thu, 17 Nov 2005 22:37:28 -0800 libauthen-krb5-perl (1.4-3) unstable; urgency=low * Use /usr/bin/perl as the path to Perl in the example scripts. * Remove unnecessary targets in debian/rules and document its source. * Update copyright to my current format and add an explicit packaging copyright and license statement. * Update standards version to 3.6.2 (no changes required). -- Russ Allbery Mon, 3 Oct 2005 16:24:54 -0700 libauthen-krb5-perl (1.4-2) unstable; urgency=low * Uploaded to Debian. (Closes: #304839) * Avoid adding -L/usr/lib or -I/usr/include in Makefile.PL. * Package the example scripts. * Reword the description a bit and note that the package is built against the MIT Kerberos libraries. * Remove the versioned dependency on libkrb5-dev, as any version in sarge will be sufficient and the package in theory supports any version later than 1.1. * Change priority to optional to allow use as a dependency for other packages with optional priority. * Reformat copyright. Note which licenses Perl is distributed under. * Reformat rules and remove dh_makeshlibs invocation. * Add watch file. -- Russ Allbery Fri, 15 Apr 2005 13:58:28 -0700 libauthen-krb5-perl (1.4-1) unstable; urgency=low * New upstream release. -- Huaqing Zheng Thu, 14 Apr 2005 20:23:41 -0700 libauthen-krb5-perl (1.3-1) unstable; urgency=low * Initial release. * Packaging of Stanford::Directory requires Authen::Krb5. -- Huaqing Zheng Tue, 31 Aug 2004 20:11:48 -0700