[SCM] Debian packaging of libfilesys-smbclient-perl branch, master, updated. b13cdb4d2f9d5c0e6f085d8e0516b0432d21e309
Xavier Guimard
x.guimard at free.fr
Sat Dec 8 08:56:06 UTC 2012
The following commit has been merged in the master branch:
commit b13cdb4d2f9d5c0e6f085d8e0516b0432d21e309
Author: Xavier Guimard <x.guimard at free.fr>
Date: Sat Dec 8 09:55:36 2012 +0100
Add many overrides in d/rules + 1 lintian-overrides
diff --git a/debian/changelog b/debian/changelog
index 0c25afb..432fa15 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,6 @@
-libfilesys-smbclient-perl (3.2-1) UNRELEASED; urgency=low
+libfilesys-smbclient-perl (3.2-1) unstable; urgency=low
[ gregor herrmann ]
- * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
- (source stanza).
* debian/control: Added: ${misc:Depends} to Depends: field.
[ Nathan Handler ]
@@ -21,11 +19,18 @@ libfilesys-smbclient-perl (3.2-1) UNRELEASED; urgency=low
* Use debhelper 9.20120312
* Update debian/copyright (years and format)
* Update debian/rules to use "dh %"
- * Add override_dh_auto_clean to clean temporary files
* Add description in 10_Makefile.PL.patch
* Add spelling and pod patch
-
- -- Xavier Guimard <x.guimard at free.fr> Fri, 07 Dec 2012 21:25:07 +0100
+ * Add overrides :
+ - override_dh_auto_configure to force the use of Makefile.PL instead of
+ configure (else Makefile is not built)
+ - override_dh_auto_build because standards flags are not used by this
+ Makefile (for hardening)
+ - override_dh_fixperms to change example files mode
+ - override_dh_auto_clean to clean temporary files
+ * Add lintian-overrides to remove hardening warning
+
+ -- Xavier Guimard <x.guimard at free.fr> Sat, 08 Dec 2012 09:50:04 +0100
libfilesys-smbclient-perl (3.1-3) unstable; urgency=low
diff --git a/debian/libfilesys-smbclient-perl.lintian-overrides b/debian/libfilesys-smbclient-perl.lintian-overrides
new file mode 100644
index 0000000..ac784d3
--- /dev/null
+++ b/debian/libfilesys-smbclient-perl.lintian-overrides
@@ -0,0 +1 @@
+libfilesys-smbclient-perl: hardening-no-fortify-functions usr/lib/perl5/auto/Filesys/SmbClient/SmbClient.so
diff --git a/debian/rules b/debian/rules
index 9931f1d..20360dc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,24 @@
#!/usr/bin/make -f
PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
%:
dh $@
override_dh_auto_clean:
+ $(MAKE) distclean || true
dh_auto_clean
- rm -f config.h config.log config.status
override_dh_auto_configure:
$(PERL) Makefile.PL INSTALLDIRS=vendor
+override_dh_auto_build:
+ $(MAKE) CCCDLFLAGS="$(CFLAGS) $(CCFLAGS) -fPIC" \
+ OTHERLDFLAGS="$(LDFLAGS)"
+
+override_dh_fixperms:
+ dh_fixperms
+ chmod 644 $(TMP)/usr/share/doc/libfilesys-smbclient-perl/examples/smb2www.css
+
--
Debian packaging of libfilesys-smbclient-perl
More information about the Pkg-perl-cvs-commits
mailing list