r56789 - in /trunk/libgssapi-perl: ./ debian/ debian/patches/ debian/source/ xs/

ansgar-guest at users.alioth.debian.org ansgar-guest at users.alioth.debian.org
Sun Apr 25 03:05:28 UTC 2010


Author: ansgar-guest
Date: Sun Apr 25 03:05:02 2010
New Revision: 56789

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=56789
Log:
* New upstream release.
* Refresh rules for debhelper 7.
* No longer install README.
* Use source format 3.0 (quilt).
* Convert debian/copyright to proposed machine-readable format.
* debian/copyright: Add information about ppport.h.
* debian/control: Make build-dep on perl unversioned.
* Fix spelling error in the documentation.
  + new patch: spelling.patch
* Bump Standards-Version to 3.8.4.
* Add myself to Uploaders.

Added:
    trunk/libgssapi-perl/debian/libgssapi-perl.examples
    trunk/libgssapi-perl/debian/patches/
    trunk/libgssapi-perl/debian/patches/series
    trunk/libgssapi-perl/debian/patches/spelling.patch
    trunk/libgssapi-perl/debian/source/
    trunk/libgssapi-perl/debian/source/format
    trunk/libgssapi-perl/ppport.h
      - copied unchanged from r56787, branches/upstream/libgssapi-perl/current/ppport.h
Modified:
    trunk/libgssapi-perl/Changes
    trunk/libgssapi-perl/GSSAPI.pm
    trunk/libgssapi-perl/GSSAPI.xs
    trunk/libgssapi-perl/MANIFEST
    trunk/libgssapi-perl/META.yml
    trunk/libgssapi-perl/Makefile.PL
    trunk/libgssapi-perl/README
    trunk/libgssapi-perl/debian/changelog
    trunk/libgssapi-perl/debian/control
    trunk/libgssapi-perl/debian/copyright
    trunk/libgssapi-perl/debian/rules
    trunk/libgssapi-perl/xs/Name.xs
    trunk/libgssapi-perl/xs/OID.xs
    trunk/libgssapi-perl/xs/Status.xs

Modified: trunk/libgssapi-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/Changes?rev=56789&op=diff
==============================================================================
--- trunk/libgssapi-perl/Changes (original)
+++ trunk/libgssapi-perl/Changes Sun Apr 25 03:05:02 2010
@@ -145,4 +145,12 @@
 
         - modified Makefile.PL to trigger no FAIL testreports
           in case of missing prerequirements.
-          Thanks to Andreas Koenig
+          Thanks to Andreas Koenig
+
+0.27    Sa 24. Apr 12:39:47 UTC 2010
+        - Testreport 1074976 and 1074843: put "use 5.006;" to Makefile.PL.
+          Thanks to  Slaven Rezic for reporting and doing all the tests on 5.005
+        - Fixed https://bugs.gentoo.org/show_bug.cgi?id=276555.
+          Thanks to Andrew Savchenko bircoph at gmail.com
+        - Changed sizeof(outputtype) to 0 to let Perl calculate the lengh
+          in Name.xs. Thanks to Zoltan BANAI <Zoltan.Banai at morganstanley.com>

Modified: trunk/libgssapi-perl/GSSAPI.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/GSSAPI.pm?rev=56789&op=diff
==============================================================================
--- trunk/libgssapi-perl/GSSAPI.pm (original)
+++ trunk/libgssapi-perl/GSSAPI.pm Sun Apr 25 03:05:02 2010
@@ -9,7 +9,7 @@
 use XSLoader;
 
 our @ISA = qw(Exporter);
-our $VERSION = '0.26';
+our $VERSION = '0.27';
 
 # Items to export into callers namespace by default. Note: do not export
 # names by default without a very good reason. Use EXPORT_OK instead.

Modified: trunk/libgssapi-perl/GSSAPI.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/GSSAPI.xs?rev=56789&op=diff
==============================================================================
--- trunk/libgssapi-perl/GSSAPI.xs (original)
+++ trunk/libgssapi-perl/GSSAPI.xs Sun Apr 25 03:05:02 2010
@@ -1,6 +1,3 @@
-#include "EXTERN.h"
-#include "perl.h"
-#include "XSUB.h"
 
 #define __KRB5_MECHTYPE_OID &mygss_mech_krb5
 #define __KRB5_OLD_MECHTYPE_OID &mygss_mech_krb5_old
@@ -55,6 +52,13 @@
 http://mailman.mit.edu/pipermail/krbdev/2005-February/003193.html
 "
 */
+
+#include "EXTERN.h"
+#include "perl.h"
+#include "XSUB.h"
+#define NEED_newCONSTSUB
+#include "ppport.h"
+
 static gss_OID_desc  mygss_mech_krb5  = {9, (void *) "\x2a\x86\x48\x86\xf7\x12\x01\x02\x02"};
 static gss_OID_desc  mygss_mech_krb5_old  = {5, (void *) "\x2b\x05\x01\x05\x02"};
 

Modified: trunk/libgssapi-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/MANIFEST?rev=56789&op=diff
==============================================================================
--- trunk/libgssapi-perl/MANIFEST (original)
+++ trunk/libgssapi-perl/MANIFEST Sun Apr 25 03:05:02 2010
@@ -27,3 +27,4 @@
 t/pod.t
 t/importnames.t
 t/indicatemechs.t
+ppport.h

Modified: trunk/libgssapi-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/META.yml?rev=56789&op=diff
==============================================================================
--- trunk/libgssapi-perl/META.yml (original)
+++ trunk/libgssapi-perl/META.yml Sun Apr 25 03:05:02 2010
@@ -1,14 +1,11 @@
---- #YAML:1.0
-name:                GSSAPI
-version:             0.26
-abstract:            Perl extension providing access to the GSSAPIv2 library
-license:             perl
-author:              
-    - Achim Grolms <perl at grolmsnet.de>
-generated_by:        ExtUtils::MakeMaker version 6.42
-distribution_type:   module
-requires:     
+# http://module-build.sourceforge.net/META-spec.html
+#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
+name:         GSSAPI
+version:      0.27
+version_from: GSSAPI.pm
+installdirs:  site
+requires:
     Test::More:                    0
-meta-spec:
-    url:     http://module-build.sourceforge.net/META-spec-v1.3.html
-    version: 1.3
+
+distribution_type: module
+generated_by: ExtUtils::MakeMaker version 6.30

Modified: trunk/libgssapi-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/Makefile.PL?rev=56789&op=diff
==============================================================================
--- trunk/libgssapi-perl/Makefile.PL (original)
+++ trunk/libgssapi-perl/Makefile.PL Sun Apr 25 03:05:02 2010
@@ -2,13 +2,22 @@
 # See lib/ExtUtils/MakeMaker.pm for details of how to influence
 # the contents of the Makefile that is written.
 use strict;
-
+use 5.006;   # builds on 5.005, but Slaven Rezic got strange testresults
 use Config;
 
 use Getopt::Long;
 my %options;
 
 my @whichcand = qw(/bin/which /usr/bin/which);
+
+my @KRB5_CONFIG_TRIES = (
+
+    '/usr/kerberos/bin/krb5-config',   # for use with CentOS,  as suggested by Mark Hedges in https://rt.cpan.org/Ticket/Display.html?id=48732
+    '/usr/bin/krb5-config',            # always worth a try ;-)
+
+);
+
+
 my $LINE = "\n\n----------------------------------------------------------\n";
 &GetOptions(\%options , "gssapiimpl=s",  "help", "gssapi_libs=s", "gssapi_inc=s", "gssapi_lddlflags=s");
 
@@ -58,7 +67,7 @@
 }
 
 #-------------------------------------------------------------
-print "\n Welcome to GSSAPI.pm setup! \n";
+print "\n Welcome to GSSAPI.pm setup! \n\n ($0 Version 0.03) \n";
 print qq{\n run "perl Makefile.PL --help" to see further installation options\n};
 
 #---------------------------------------------------------------
@@ -96,7 +105,7 @@
               "\n The README file shipped with this module provides\n more information regarding prerequirements. \n\n";
         exit 0; # send no automated FAIL testreport
     } else {
-      print "\n\n $krb5cmd";
+      print "\n\n using krb5-config command '$krb5cmd'.";
     }
     #---------------------------------------------
     my $implementation = krb5_version( $krb5cmd  );
@@ -202,7 +211,23 @@
    unless ($expl_path) {
       #my $whichcmd =  find_which_command() || die 'cannot locate which command';
       $r = `which krb5-config 2>/dev/null`;
+
       chomp $r;
+      unless ( $r ) {
+          my $n = 1;
+          print "\n krb5-config NOT found in \$PATH... now doing some guesswork: \n";
+          foreach $r ( @KRB5_CONFIG_TRIES ) {
+              print "\n $n. trying $r ...";
+              if ( -e $r ) {
+                  print 'found.';
+                  return $r;
+              }
+              else {
+                 print 'not found.';
+              }
+              $n++;
+          }
+      }
    } else {
       my $supposed = join '/', $expl_path, 'bin', 'krb5-config';
       if ( -e $supposed ) {
@@ -267,7 +292,8 @@
    my ( $confstringstring ) = @_;
    my (@libs, @others);
    foreach ( split ' ',  $confstringstring ) {
-      if ( m/(-(Wl,-R|[LlR])[^ ]*)/) {
+      #if ( m/(-(Wl,-R|[LlR])[^ ]*)/) {
+      if ( m/(^-(Wl,-R|[LlR])[^ ]*)/) {
         push @libs, $1
       } else {
         push @others, $_;

Modified: trunk/libgssapi-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/README?rev=56789&op=diff
==============================================================================
--- trunk/libgssapi-perl/README (original)
+++ trunk/libgssapi-perl/README Sun Apr 25 03:05:02 2010
@@ -1,4 +1,4 @@
-GSSAPI Perlbindings version 0.26
+GSSAPI Perlbindings version 0.27
 =================================
 GSSAPI - Perl extension for using
 GSSAPI C-Bindings as described in RFC 2744.

Modified: trunk/libgssapi-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/debian/changelog?rev=56789&op=diff
==============================================================================
--- trunk/libgssapi-perl/debian/changelog (original)
+++ trunk/libgssapi-perl/debian/changelog Sun Apr 25 03:05:02 2010
@@ -1,4 +1,4 @@
-libgssapi-perl (0.26-2) UNRELEASED; urgency=low
+libgssapi-perl (0.27-1) unstable; urgency=low
 
   [ gregor herrmann ]
   * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
@@ -8,7 +8,20 @@
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 
- -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:43:18 +0100
+  [ Ansgar Burchardt ]
+  * New upstream release.
+  * Refresh rules for debhelper 7.
+  * No longer install README.
+  * Use source format 3.0 (quilt).
+  * Convert debian/copyright to proposed machine-readable format.
+  * debian/copyright: Add information about ppport.h.
+  * debian/control: Make build-dep on perl unversioned.
+  * Fix spelling error in the documentation.
+    + new patch: spelling.patch
+  * Bump Standards-Version to 3.8.4.
+  * Add myself to Uploaders.
+
+ -- Ansgar Burchardt <ansgar at 43-1.org>  Sun, 25 Apr 2010 12:04:30 +0900
 
 libgssapi-perl (0.26-1) unstable; urgency=low
 

Modified: trunk/libgssapi-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/debian/control?rev=56789&op=diff
==============================================================================
--- trunk/libgssapi-perl/debian/control (original)
+++ trunk/libgssapi-perl/debian/control Sun Apr 25 03:05:02 2010
@@ -1,10 +1,11 @@
 Source: libgssapi-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0), perl (>= 5.8.0-7), libkrb5-dev, libtest-pod-perl
+Build-Depends: debhelper (>= 7), perl, libkrb5-dev, libtest-pod-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: gregor herrmann <gregoa at debian.org>
-Standards-Version: 3.8.0
+Uploaders: gregor herrmann <gregoa at debian.org>,
+ Ansgar Burchardt <ansgar at 43-1.org>
+Standards-Version: 3.8.4
 Homepage: http://search.cpan.org/dist/GSSAPI/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libgssapi-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libgssapi-perl/

Modified: trunk/libgssapi-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/debian/copyright?rev=56789&op=diff
==============================================================================
--- trunk/libgssapi-perl/debian/copyright (original)
+++ trunk/libgssapi-perl/debian/copyright Sun Apr 25 03:05:02 2010
@@ -1,29 +1,38 @@
-This is the debian package for the GSSAPI module.
-It was created by Florian Ragwitz <rafl at debian.org> using dh-make-perl.
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Maintainer: Achim Grolms
+Source: http://search.cpan.org/dist/GSSAPI/
+Name: GSSAPI
 
-Upstream source location: http://search.cpan.org/dist/GSSAPI/
+Copyright:
+ © 2000-2005, Philip Guenther
+ © 2006-2008, Achim Grolms
+License: Artistic or GPL-1+
 
-Upstream authors:
+Files: ppport.h
+Copyright:
+ © 1999,      Kenneth Albanowski
+ © 2001,      Paul Marquess
+ © 2004-2007, Marcus Holland-Moritz
+License: Artistic or GPL-1+
 
- GSSAPI.pm is originally written by Philip Guenther.
+Files: debian/*
+Copyright:
+ © 2006, Florian Ragwitz <rafl at debian.org>
+ © 2008, Niko Tyni <ntyni at debian.org>
+ © 2008, gregor herrmann <gregoa at debian.org>
+ © 2010, Ansgar Burchardt <ansgar at 43-1.org>
+License: Artistic or GPL-1+
 
- Maintanance by Achim Grolms <perl at grolmsnet.de>,
+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 GNU/Linux systems, the complete text of the Artistic License
+    can be found in `/usr/share/common-licenses/Artistic'
 
- with help from
-
- - Leif Johansson
- - Merijn Broeren
-
-
-COPYRIGHT AND LICENCE
-
- Copyright (C) 2006, 2007 by Achim Grolms perl at grolmsnet.de
-
- This library is free software; you can redistribute it and/or modify
- it under the same terms as Perl itself, either Perl version 5.8.4 or,
- at your option, any later version of Perl 5 you may have available.
- 
-Perl is distributed under your choice of the GNU General Public License or
-the Artistic License.  On Debian GNU/Linux systems, the complete text of the
-GNU General Public License can be found in `/usr/share/common-licenses/GPL'
-and the Artistic Licence 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 GNU/Linux systems, the complete text of the GNU General
+    Public License can be found in `/usr/share/common-licenses/GPL'

Added: trunk/libgssapi-perl/debian/libgssapi-perl.examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/debian/libgssapi-perl.examples?rev=56789&op=file
==============================================================================
--- trunk/libgssapi-perl/debian/libgssapi-perl.examples (added)
+++ trunk/libgssapi-perl/debian/libgssapi-perl.examples Sun Apr 25 03:05:02 2010
@@ -1,0 +1,1 @@
+examples/*

Added: trunk/libgssapi-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/debian/patches/series?rev=56789&op=file
==============================================================================
--- trunk/libgssapi-perl/debian/patches/series (added)
+++ trunk/libgssapi-perl/debian/patches/series Sun Apr 25 03:05:02 2010
@@ -1,0 +1,1 @@
+spelling.patch

Added: trunk/libgssapi-perl/debian/patches/spelling.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/debian/patches/spelling.patch?rev=56789&op=file
==============================================================================
--- trunk/libgssapi-perl/debian/patches/spelling.patch (added)
+++ trunk/libgssapi-perl/debian/patches/spelling.patch Sun Apr 25 03:05:02 2010
@@ -1,0 +1,17 @@
+From: Ansgar Burchardt <ansgar at 43-1.org>
+Date: Sun, 25 Apr 2010 11:57:50 +0900
+Origin: vendor
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=56902
+Subject: Fix spelling error
+
+--- libgssapi-perl.orig/GSSAPI.pm
++++ libgssapi-perl/GSSAPI.pm
+@@ -214,7 +214,7 @@
+ 
+ This module wraps the GSSAPI C-Bindings. If you are
+ new to GSSAPI it is a good idea to read RFC2743 and RFC2744,
+-the documentation requires you to be familar with the concept
++the documentation requires you to be familiar with the concept
+ and the wordings of GSSAPI programming.
+ 
+ the examples directory holds some working examples of usage:

Modified: trunk/libgssapi-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/debian/rules?rev=56789&op=diff
==============================================================================
--- trunk/libgssapi-perl/debian/rules (original)
+++ trunk/libgssapi-perl/debian/rules Sun Apr 25 03:05:02 2010
@@ -1,74 +1,4 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimisation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        CFLAGS += -O0
-else
-        CFLAGS += -O2
-endif
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	$(MAKE) test
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/share/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/share/perl5
-	touch $@
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do here for an architecture-dependent package
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples examples/*
-	dh_installdocs README
-	dh_installchangelogs Changes
-	dh_shlibdeps
-	dh_strip
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+	dh $@

Added: trunk/libgssapi-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/debian/source/format?rev=56789&op=file
==============================================================================
--- trunk/libgssapi-perl/debian/source/format (added)
+++ trunk/libgssapi-perl/debian/source/format Sun Apr 25 03:05:02 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)

Modified: trunk/libgssapi-perl/xs/Name.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/xs/Name.xs?rev=56789&op=diff
==============================================================================
--- trunk/libgssapi-perl/xs/Name.xs (original)
+++ trunk/libgssapi-perl/xs/Name.xs Sun Apr 25 03:05:02 2010
@@ -65,7 +65,7 @@
 	    RETVAL.major =
 		gss_display_name(&RETVAL.minor, src, &output, &outputtype);
 	    sv_setref_pvn(ST(2), "GSSAPI::OID", (void*)&outputtype,
-						sizeof(outputtype));
+						0 );
 	} else {
 	    RETVAL.major = gss_display_name(&RETVAL.minor, src, &output, NULL);
 	}

Modified: trunk/libgssapi-perl/xs/OID.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/xs/OID.xs?rev=56789&op=diff
==============================================================================
--- trunk/libgssapi-perl/xs/OID.xs (original)
+++ trunk/libgssapi-perl/xs/OID.xs Sun Apr 25 03:05:02 2010
@@ -1,4 +1,4 @@
-
+#include "ppport.h"
 GSSAPI::OID_out
 new(class)
 	char *		class

Modified: trunk/libgssapi-perl/xs/Status.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libgssapi-perl/xs/Status.xs?rev=56789&op=diff
==============================================================================
--- trunk/libgssapi-perl/xs/Status.xs (original)
+++ trunk/libgssapi-perl/xs/Status.xs Sun Apr 25 03:05:02 2010
@@ -1,3 +1,4 @@
+#include "ppport.h"
 GSSAPI::Status
 new(class, major, minor)
 	char	*class
@@ -68,7 +69,7 @@
     PPCODE:
 	msg_ctx = 0;
 	do {
-	    major_status = 
+	    major_status =
 		gss_display_status(&minor_status, code, type,
 				   GSS_C_NO_OID, &msg_ctx, &msg);
 	    if (GSS_ERROR(major_status)) {




More information about the Pkg-perl-cvs-commits mailing list