r13128 - in /trunk/libfilesys-smbclient-perl: Makefile.PL debian/changelog debian/control debian/patches/ debian/patches/10_Makefile.PL.patch debian/patches/series debian/rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Mon Jan 21 12:12:02 UTC 2008
Author: dmn
Date: Mon Jan 21 12:12:01 2008
New Revision: 13128
URL: http://svn.debian.org/wsvn/?sc=1&rev=13128
Log:
* Move changes to Makefile.PL into 10_Makefile.PL.patch
+ add quilt to build process
Added:
trunk/libfilesys-smbclient-perl/debian/patches/
trunk/libfilesys-smbclient-perl/debian/patches/10_Makefile.PL.patch
trunk/libfilesys-smbclient-perl/debian/patches/series
Modified:
trunk/libfilesys-smbclient-perl/Makefile.PL
trunk/libfilesys-smbclient-perl/debian/changelog
trunk/libfilesys-smbclient-perl/debian/control
trunk/libfilesys-smbclient-perl/debian/rules
Modified: trunk/libfilesys-smbclient-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/trunk/libfilesys-smbclient-perl/Makefile.PL?rev=13128&op=diff
==============================================================================
--- trunk/libfilesys-smbclient-perl/Makefile.PL (original)
+++ trunk/libfilesys-smbclient-perl/Makefile.PL Mon Jan 21 12:12:01 2008
@@ -6,24 +6,20 @@
($^O =~ m/AIX/i) ? ($ccfl = '-qcpluscmt') : ($ccfl = '');
# path libsmbclient.h
-#my $include = try_to_find("libsmbclient.h");
-#$include = prompt("Where can I find libsmbclient.h ?", $include);
-#warn_user("$include/libsmbclient.h") if (!-r "$include/libsmbclient.h");
-my $include = '/usr/include';
+my $include = try_to_find("libsmbclient.h");
+$include = prompt("Where can I find libsmbclient.h ?", $include);
+warn_user("$include/libsmbclient.h") if (!-r "$include/libsmbclient.h");
# path libsmbclient.so
-#my $lib = try_to_find("libsmbclient.so");
-#$lib = prompt("Where can I find libsmbclient.so ?",$lib);
-#warn_user("libsmbclient.so") if (!-r "$lib/libsmbclient.so");
-my $lib = '/usr/lib';
+my $lib = try_to_find("libsmbclient.so");
+$lib = prompt("Where can I find libsmbclient.so ?",$lib);
+warn_user("libsmbclient.so") if (!-r "$lib/libsmbclient.so");
# tests demande ?
-#my $ans =
-# prompt("Do you want make tests ?(you will be prompted for server / \n".
-# "worgroup / share / user / password to make read write access.",
-# "yes");
-my $ans = 'n';
-
+my $ans =
+ prompt("Do you want make tests ?(you will be prompted for server / \n".
+ "worgroup / share / user / password to make read write access.",
+ "yes");
if ($ans =~ /^y(es)?$/i)
{
my $server = prompt("Server ?","localhost");
@@ -37,8 +33,7 @@
}
# Trace for debug
-#$ans = prompt("Compile module with trace to STDERR ?", "no");
-$ans = 'n';
+$ans = prompt("Compile module with trace to STDERR ?", "no");
if ($ans =~ /^y(es)?$/i) { $define = "-DVERBOSE"; }
# Create config.h for alloca via configure
Modified: trunk/libfilesys-smbclient-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libfilesys-smbclient-perl/debian/changelog?rev=13128&op=diff
==============================================================================
--- trunk/libfilesys-smbclient-perl/debian/changelog (original)
+++ trunk/libfilesys-smbclient-perl/debian/changelog Mon Jan 21 12:12:01 2008
@@ -16,6 +16,8 @@
+ remove commented-out dh_* calls; remove unused dh_link and dh_makeshlibs
calls
+ when installing t/ as examples, keep the directory
+ * Move changes to Makefile.PL into 10_Makefile.PL.patch
+ + add quilt to build process
-- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 09 Oct 2007 22:29:30 +0200
Modified: trunk/libfilesys-smbclient-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libfilesys-smbclient-perl/debian/control?rev=13128&op=diff
==============================================================================
--- trunk/libfilesys-smbclient-perl/debian/control (original)
+++ trunk/libfilesys-smbclient-perl/debian/control Mon Jan 21 12:12:01 2008
@@ -1,7 +1,7 @@
Source: libfilesys-smbclient-perl
Section: perl
Priority: extra
-Build-Depends: debhelper (>= 5), perl (>= 5.8.0-7), libsmbclient-dev
+Build-Depends: debhelper (>= 5), perl (>= 5.8.0-7), libsmbclient-dev, quilt
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Gunnar Wolf <gwolf at debian.org>
Standards-Version: 3.7.2.2
Added: trunk/libfilesys-smbclient-perl/debian/patches/10_Makefile.PL.patch
URL: http://svn.debian.org/wsvn/trunk/libfilesys-smbclient-perl/debian/patches/10_Makefile.PL.patch?rev=13128&op=file
==============================================================================
--- trunk/libfilesys-smbclient-perl/debian/patches/10_Makefile.PL.patch (added)
+++ trunk/libfilesys-smbclient-perl/debian/patches/10_Makefile.PL.patch Mon Jan 21 12:12:01 2008
@@ -1,0 +1,49 @@
+Index: libfilesys-smbclient-perl/Makefile.PL
+===================================================================
+--- libfilesys-smbclient-perl.orig/Makefile.PL 2008-01-21 14:02:51.000000000 +0200
++++ libfilesys-smbclient-perl/Makefile.PL 2008-01-21 14:03:34.000000000 +0200
+@@ -6,20 +6,24 @@
+ ($^O =~ m/AIX/i) ? ($ccfl = '-qcpluscmt') : ($ccfl = '');
+
+ # path libsmbclient.h
+-my $include = try_to_find("libsmbclient.h");
+-$include = prompt("Where can I find libsmbclient.h ?", $include);
+-warn_user("$include/libsmbclient.h") if (!-r "$include/libsmbclient.h");
++#my $include = try_to_find("libsmbclient.h");
++#$include = prompt("Where can I find libsmbclient.h ?", $include);
++#warn_user("$include/libsmbclient.h") if (!-r "$include/libsmbclient.h");
++my $include = '/usr/include';
+
+ # path libsmbclient.so
+-my $lib = try_to_find("libsmbclient.so");
+-$lib = prompt("Where can I find libsmbclient.so ?",$lib);
+-warn_user("libsmbclient.so") if (!-r "$lib/libsmbclient.so");
++#my $lib = try_to_find("libsmbclient.so");
++#$lib = prompt("Where can I find libsmbclient.so ?",$lib);
++#warn_user("libsmbclient.so") if (!-r "$lib/libsmbclient.so");
++my $lib = '/usr/lib';
+
+ # tests demande ?
+-my $ans =
+- prompt("Do you want make tests ?(you will be prompted for server / \n".
+- "worgroup / share / user / password to make read write access.",
+- "yes");
++#my $ans =
++# prompt("Do you want make tests ?(you will be prompted for server / \n".
++# "worgroup / share / user / password to make read write access.",
++# "yes");
++my $ans = 'n';
++
+ if ($ans =~ /^y(es)?$/i)
+ {
+ my $server = prompt("Server ?","localhost");
+@@ -33,7 +37,8 @@
+ }
+
+ # Trace for debug
+-$ans = prompt("Compile module with trace to STDERR ?", "no");
++#$ans = prompt("Compile module with trace to STDERR ?", "no");
++$ans = 'n';
+ if ($ans =~ /^y(es)?$/i) { $define = "-DVERBOSE"; }
+
+ # Create config.h for alloca via configure
Added: trunk/libfilesys-smbclient-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libfilesys-smbclient-perl/debian/patches/series?rev=13128&op=file
==============================================================================
--- trunk/libfilesys-smbclient-perl/debian/patches/series (added)
+++ trunk/libfilesys-smbclient-perl/debian/patches/series Mon Jan 21 12:12:01 2008
@@ -1,0 +1,1 @@
+10_Makefile.PL.patch
Modified: trunk/libfilesys-smbclient-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libfilesys-smbclient-perl/debian/rules?rev=13128&op=diff
==============================================================================
--- trunk/libfilesys-smbclient-perl/debian/rules (original)
+++ trunk/libfilesys-smbclient-perl/debian/rules Mon Jan 21 12:12:01 2008
@@ -10,6 +10,8 @@
# 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
+
+include /usr/share/quilt/quilt.make
PACKAGE=$(shell dh_listpackages)
@@ -30,14 +32,14 @@
build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
dh_testdir
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
#$(MAKE) test # requires accass to a samba server
touch $@
-clean:
+clean: unpatch
dh_testdir
dh_testroot
dh_clean build-stamp install-stamp
@@ -69,6 +71,9 @@
dh_testroot
dh_installdocs debian/README.Debian
dh_installexamples t smb2www-2.cgi smb2www.css
+
+ chmod 0644 $(TMP)/usr/share/doc/$(PACKAGE)/examples/smb2www.css
+
dh_installchangelogs Changes
dh_strip
dh_compress
More information about the Pkg-perl-cvs-commits
mailing list