r12045 - in /trunk/libauthen-krb5-perl: ./ debian/ debian/patches/
rmayorga-guest at users.alioth.debian.org
rmayorga-guest at users.alioth.debian.org
Sat Jan 5 07:28:17 UTC 2008
Author: rmayorga-guest
Date: Sat Jan 5 07:28:17 2008
New Revision: 12045
URL: http://svn.debian.org/wsvn/?sc=1&rev=12045
Log:
+ Homepage field (source stanza).
* 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
Added:
trunk/libauthen-krb5-perl/debian/patches/
trunk/libauthen-krb5-perl/debian/patches/DebianMakefile_lib_linking.patch
trunk/libauthen-krb5-perl/debian/patches/fix_perl_path.patch
trunk/libauthen-krb5-perl/debian/patches/series
Modified:
trunk/libauthen-krb5-perl/Makefile.PL
trunk/libauthen-krb5-perl/debian/changelog
trunk/libauthen-krb5-perl/debian/control
trunk/libauthen-krb5-perl/debian/copyright
trunk/libauthen-krb5-perl/debian/rules
trunk/libauthen-krb5-perl/sample_client
trunk/libauthen-krb5-perl/sample_server
trunk/libauthen-krb5-perl/simple_client
trunk/libauthen-krb5-perl/simple_server
Modified: trunk/libauthen-krb5-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/trunk/libauthen-krb5-perl/Makefile.PL?rev=12045&op=diff
==============================================================================
--- trunk/libauthen-krb5-perl/Makefile.PL (original)
+++ trunk/libauthen-krb5-perl/Makefile.PL Sat Jan 5 07:28:17 2008
@@ -8,8 +8,7 @@
# any extra libraries?
# add -lresolv here if you get errors like the following (usually on linux):
# undefined symbol: __res_search
-# Only needed with static linking, so not needed on Debian.
-#my $KRB5_EXTRALIBS = '-lresolv';
+my $KRB5_EXTRALIBS = '-lresolv';
# location of Kerberos 5 includes
my $KRB5_INCDIR = '/usr/include';
@@ -31,14 +30,10 @@
$cryptolib = '-lcrypto';
}
-# Don't add -L/usr/lib or -I/usr/include; they can cause problems.
-my $ldflags = ($KRB5_LIBDIR eq '/usr/lib') ? '' : "-L${KRB5_LIBDIR}";
-my $cppflags = ($KRB5_INCDIR eq '/usr/include') ? '' : "-I${KRB5_INCDIR}";
-
WriteMakefile(
'NAME' => 'Authen::Krb5',
'VERSION_FROM' => 'Krb5.pm',
- 'LIBS' => ["$ldflags -lkrb5 ${cryptolib} -lcom_err $KRB5_EXTRALIBS"],
+ 'LIBS' => ["-L${KRB5_LIBDIR} -lkrb5 ${cryptolib} -lcom_err $KRB5_EXTRALIBS"],
'DEFINE' => '',
- 'INC' => "$cppflags $KRB5_EXTRAINCS"
+ 'INC' => "-I${KRB5_INCDIR} $KRB5_EXTRAINCS"
);
Modified: trunk/libauthen-krb5-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libauthen-krb5-perl/debian/changelog?rev=12045&op=diff
==============================================================================
--- trunk/libauthen-krb5-perl/debian/changelog (original)
+++ trunk/libauthen-krb5-perl/debian/changelog Sat Jan 5 07:28:17 2008
@@ -4,14 +4,30 @@
* 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).
+ + Homepage field (source stanza).
+ Removed: XS-Vcs-Svn fields.
- -- Jose Luis Rivas <ghostbar38 at gmail.com> Sat, 05 Jan 2008 00:14:50 -0430
+ [ 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
+
+ -- Rene Mayorga <rmayorga at debian.org.sv> Sat, 05 Jan 2008 00:29:56 -0600
libauthen-krb5-perl (1.6-2) unstable; urgency=low
Modified: trunk/libauthen-krb5-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libauthen-krb5-perl/debian/control?rev=12045&op=diff
==============================================================================
--- trunk/libauthen-krb5-perl/debian/control (original)
+++ trunk/libauthen-krb5-perl/debian/control Sat Jan 5 07:28:17 2008
@@ -1,7 +1,7 @@
Source: libauthen-krb5-perl
Section: perl
Priority: optional
-Build-Depends: perl (>= 5.8.0-7), debhelper (>= 5.0.0), libkrb5-dev
+Build-Depends: perl (>= 5.8.0-7), debhelper (>= 5.0.0), libkrb5-dev, quilt
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Russ Allbery <rra at debian.org>, gregor herrmann <gregor+debian at comodo.priv.at>
Standards-Version: 3.7.3
Modified: trunk/libauthen-krb5-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libauthen-krb5-perl/debian/copyright?rev=12045&op=diff
==============================================================================
--- trunk/libauthen-krb5-perl/debian/copyright (original)
+++ trunk/libauthen-krb5-perl/debian/copyright Sat Jan 5 07:28:17 2008
@@ -20,7 +20,7 @@
Copyright:
- Copyright (c) 2000-2005 Jeff Horwitz (jeff at smashing.org). All rights
+ Copyright (c) 2000-2006 Jeff Horwitz (jeff at smashing.org). All rights
reserved. This module is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
Added: trunk/libauthen-krb5-perl/debian/patches/DebianMakefile_lib_linking.patch
URL: http://svn.debian.org/wsvn/trunk/libauthen-krb5-perl/debian/patches/DebianMakefile_lib_linking.patch?rev=12045&op=file
==============================================================================
--- trunk/libauthen-krb5-perl/debian/patches/DebianMakefile_lib_linking.patch (added)
+++ trunk/libauthen-krb5-perl/debian/patches/DebianMakefile_lib_linking.patch Sat Jan 5 07:28:17 2008
@@ -1,0 +1,31 @@
+Index: libauthen-krb5-perl/Makefile.PL
+===================================================================
+--- libauthen-krb5-perl.orig/Makefile.PL 2008-01-05 01:15:48.000000000 -0600
++++ libauthen-krb5-perl/Makefile.PL 2008-01-05 01:20:05.000000000 -0600
+@@ -8,7 +8,8 @@
+ # any extra libraries?
+ # add -lresolv here if you get errors like the following (usually on linux):
+ # undefined symbol: __res_search
+-my $KRB5_EXTRALIBS = '-lresolv';
++# Only needed with static linking, so not needed on Debian.
++#my $KRB5_EXTRALIBS = '-lresolv';
+
+ # location of Kerberos 5 includes
+ my $KRB5_INCDIR = '/usr/include';
+@@ -30,10 +31,14 @@
+ $cryptolib = '-lcrypto';
+ }
+
++# Don't add -L/usr/lib or -I/usr/include; they can cause problems.
++my $ldflags = ($KRB5_LIBDIR eq '/usr/lib') ? '' : "-L${KRB5_LIBDIR}";
++my $cppflags = ($KRB5_INCDIR eq '/usr/include') ? '' : "-I${KRB5_INCDIR}";
++
+ WriteMakefile(
+ 'NAME' => 'Authen::Krb5',
+ 'VERSION_FROM' => 'Krb5.pm',
+- 'LIBS' => ["-L${KRB5_LIBDIR} -lkrb5 ${cryptolib} -lcom_err $KRB5_EXTRALIBS"],
++ 'LIBS' => ["$ldflags -lkrb5 ${cryptolib} -lcom_err $KRB5_EXTRALIBS"],
+ 'DEFINE' => '',
+- 'INC' => "-I${KRB5_INCDIR} $KRB5_EXTRAINCS"
++ 'INC' => "$cppflags $KRB5_EXTRAINCS"
+ );
Added: trunk/libauthen-krb5-perl/debian/patches/fix_perl_path.patch
URL: http://svn.debian.org/wsvn/trunk/libauthen-krb5-perl/debian/patches/fix_perl_path.patch?rev=12045&op=file
==============================================================================
--- trunk/libauthen-krb5-perl/debian/patches/fix_perl_path.patch (added)
+++ trunk/libauthen-krb5-perl/debian/patches/fix_perl_path.patch Sat Jan 5 07:28:17 2008
@@ -1,0 +1,40 @@
+Index: libauthen-krb5-perl/sample_client
+===================================================================
+--- libauthen-krb5-perl.orig/sample_client 2008-01-05 01:12:54.000000000 -0600
++++ libauthen-krb5-perl/sample_client 2008-01-05 01:12:59.000000000 -0600
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl
++#!/usr/bin/perl
+
+ # sample_client
+ # sends authentication info to a server via sendauth
+Index: libauthen-krb5-perl/sample_server
+===================================================================
+--- libauthen-krb5-perl.orig/sample_server 2008-01-05 01:13:08.000000000 -0600
++++ libauthen-krb5-perl/sample_server 2008-01-05 01:13:13.000000000 -0600
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl
++#!/usr/bin/perl
+
+ # sample_server
+ # receives authentication info from a client using recvauth
+Index: libauthen-krb5-perl/simple_client
+===================================================================
+--- libauthen-krb5-perl.orig/simple_client 2008-01-05 01:13:20.000000000 -0600
++++ libauthen-krb5-perl/simple_client 2008-01-05 01:13:23.000000000 -0600
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl
++#!/usr/bin/perl
+
+ # simple_client
+ # uses mk_req & mk_priv to send an authenticated and encrypted message
+Index: libauthen-krb5-perl/simple_server
+===================================================================
+--- libauthen-krb5-perl.orig/simple_server 2008-01-05 01:13:29.000000000 -0600
++++ libauthen-krb5-perl/simple_server 2008-01-05 01:13:33.000000000 -0600
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl
++#!/usr/bin/perl
+
+ # simple_server
+ # uses rd_req & rd_priv to decrypt an authentic encrypted message
Added: trunk/libauthen-krb5-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libauthen-krb5-perl/debian/patches/series?rev=12045&op=file
==============================================================================
--- trunk/libauthen-krb5-perl/debian/patches/series (added)
+++ trunk/libauthen-krb5-perl/debian/patches/series Sat Jan 5 07:28:17 2008
@@ -1,0 +1,2 @@
+fix_perl_path.patch
+DebianMakefile_lib_linking.patch
Modified: trunk/libauthen-krb5-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libauthen-krb5-perl/debian/rules?rev=12045&op=diff
==============================================================================
--- trunk/libauthen-krb5-perl/debian/rules (original)
+++ trunk/libauthen-krb5-perl/debian/rules Sat Jan 5 07:28:17 2008
@@ -25,16 +25,20 @@
CFLAGS += -O2
endif
+include /usr/share/quilt/quilt.make
+
build: build-arch build-indep
build-indep:
build-arch: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
dh_testdir
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE) OPTIMIZE="$(CFLAGS)"
- touch build-stamp
+ $(MAKE) test
-clean:
+ touch $@
+
+clean: unpatch
dh_testdir
dh_testroot
rm -f build-stamp install-stamp
@@ -46,9 +50,10 @@
dh_testdir
dh_testroot
dh_clean -k
- $(MAKE) test
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5
+ [ ! -d $(TMP)/usr/share/perl5 ] \
+ || rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/share/perl5
touch install-stamp
binary: binary-arch binary-indep
@@ -60,7 +65,6 @@
dh_installchangelogs Changes
dh_installexamples
dh_perl
- dh_link
dh_strip
dh_compress
dh_fixperms
Modified: trunk/libauthen-krb5-perl/sample_client
URL: http://svn.debian.org/wsvn/trunk/libauthen-krb5-perl/sample_client?rev=12045&op=diff
==============================================================================
--- trunk/libauthen-krb5-perl/sample_client (original)
+++ trunk/libauthen-krb5-perl/sample_client Sat Jan 5 07:28:17 2008
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/local/bin/perl
# sample_client
# sends authentication info to a server via sendauth
Modified: trunk/libauthen-krb5-perl/sample_server
URL: http://svn.debian.org/wsvn/trunk/libauthen-krb5-perl/sample_server?rev=12045&op=diff
==============================================================================
--- trunk/libauthen-krb5-perl/sample_server (original)
+++ trunk/libauthen-krb5-perl/sample_server Sat Jan 5 07:28:17 2008
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/local/bin/perl
# sample_server
# receives authentication info from a client using recvauth
Modified: trunk/libauthen-krb5-perl/simple_client
URL: http://svn.debian.org/wsvn/trunk/libauthen-krb5-perl/simple_client?rev=12045&op=diff
==============================================================================
--- trunk/libauthen-krb5-perl/simple_client (original)
+++ trunk/libauthen-krb5-perl/simple_client Sat Jan 5 07:28:17 2008
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/local/bin/perl
# simple_client
# uses mk_req & mk_priv to send an authenticated and encrypted message
Modified: trunk/libauthen-krb5-perl/simple_server
URL: http://svn.debian.org/wsvn/trunk/libauthen-krb5-perl/simple_server?rev=12045&op=diff
==============================================================================
--- trunk/libauthen-krb5-perl/simple_server (original)
+++ trunk/libauthen-krb5-perl/simple_server Sat Jan 5 07:28:17 2008
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/local/bin/perl
# simple_server
# uses rd_req & rd_priv to decrypt an authentic encrypted message
More information about the Pkg-perl-cvs-commits
mailing list