This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/0.18-8
in repository libsendmail-milter-perl.
commit aa5da5dd0c40e11e26bc6adc92bc90ac8c5d1a1d
Author: Hilko Bengen
Date: Sun Sep 27 19:38:36 2015 +0200
Modernized package
- 3.0 (quilt)
- Bumped Standards-Version
- Bumped debian/compat (Closes: #800228)
- Added machine-readable debian/copyright file
---
Makefile.PL| 33 ++--
debian/changelog | 2 +-
debian/compat | 1 +
debian/control | 8 +-
debian/copyright | 207 +++--
...1-Use-system-provided-library-and-headers.patch | 61 ++
debian/patches/series | 1 +
debian/rules | 91 +
debian/source/format | 1 +
9 files changed, 197 insertions(+), 208 deletions(-)
diff --git a/Makefile.PL b/Makefile.PL
index fc70378..bd827fb 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -5,13 +5,13 @@ use strict;
use ExtUtils::MakeMaker;
use Config;
-# if ((not $ARGV[0]) or (not $ARGV[1]))
-# {
-# print "Usage: perl Makefile.PL
\n";
-# print "(e.g. 'perl Makefile.PL ../sendmail
../sendmail/obj.FreeBSD.4.0-RELEASE.i386')\n";
-# print "\n";
-# exit;
-# }
+if ((not $ARGV[0]) or (not $ARGV[1]))
+{
+ print "Usage: perl Makefile.PL
\n";
+ print "(e.g. 'perl Makefile.PL ../sendmail
../sendmail/obj.FreeBSD.4.0-RELEASE.i386')\n";
+ print "\n";
+ exit;
+}
if (not $Config{usethreads})
{
@@ -24,16 +24,11 @@ if (not $Config{usethreads})
my $SENDMAIL_PATH = MM->canonpath($ARGV[0]);
my $SENDMAIL_OBJ_PATH = MM->canonpath($ARGV[1]);
-# my $MILTER_LIB = MM->catdir($SENDMAIL_OBJ_PATH, "libmilter");
-my $MILTER_LIB = '/usr/lib/libmilter';
-# my $SMUTIL_LIB = MM->catdir($SENDMAIL_OBJ_PATH, "libsmutil");
-my $SMUTIL_LIB = '/usr/lib/libmilter';
-# my $SM_LIB = MM->catdir($SENDMAIL_OBJ_PATH, "libsm");
-my $SM_LIB = '/usr/lib/libmilter';
-# my $MILTER_INCLUDE = MM->catdir($SENDMAIL_PATH, "include");
-my $MILTER_INCLUDE= '/usr/include/libmilter';
-# my $SENDMAIL_INCLUDE = MM->catdir($SENDMAIL_PATH, "sendmail");
-my $SENDMAIL_INCLUDE = '';
+my $MILTER_LIB = MM->catdir($SENDMAIL_OBJ_PATH, "libmilter");
+my $SMUTIL_LIB = MM->catdir($SENDMAIL_OBJ_PATH, "libsmutil");
+my $SM_LIB = MM->catdir($SENDMAIL_OBJ_PATH, "libsm");
+my $MILTER_INCLUDE = MM->catdir($SENDMAIL_PATH, "include");
+my $SENDMAIL_INCLUDE = MM->catdir($SENDMAIL_PATH, "sendmail");
sub milter_configure
{
@@ -42,8 +37,7 @@ sub milter_configure
my $ccflags;
# Standard milter libraries
-# $libs = "-L$MILTER_LIB -L$SMUTIL_LIB -L$SM_LIB -lmilter -lsmutil -lsm";
- $libs = "-L/usr/lib/libmilter -lmilter -lsmutil -lsm";
+ $libs = "-L$MILTER_LIB -L$SMUTIL_LIB -L$SM_LIB -lmilter -lsmutil -lsm";
# POSIX threads support.
if ($Config{libs} =~ /-lpthread/)
@@ -87,6 +81,7 @@ WriteMakefile(
'VERSION_FROM' => 'Milter.pm',
'CONFIGURE'=> \_configure,
'OBJECT' => '$(BASEEXT)$(OBJ_EXT) intpools$(OBJ_EXT)
callbacks$(OBJ_EXT)',
+'DEFINE' => '',
'INC' => "-I$SENDMAIL_INCLUDE -I$MILTER_INCLUDE",
);
diff --git a/debian/changelog b/debian/changelog
index 593a7fe..7010e06 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -40,7 +40,7 @@ libsendmail-milter-perl (0.18-2) unstable; urgency=low
* Don't build on alpha, hppa, ia64. For now. (Closes: #195857)
- -- Hilko Bengen Thu, 9 Oct 2003 06:58:27 +0200
+ -- Hilko Bengen Thu, 9 Oct 2003 06:58:27 +0200
libsendmail-milter-perl (0.18-1) unstable; urgency=low
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
index 2e08fce..cf1fe38 100644
--- a/debian/control
+++ b/debian/control
@@ -1,18 +1,18 @@
Source: libsendmail-milter-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 3.0.5), perl (>= 5.8.0-7), libmilter-dev (>=
8.12.10-5)
-Standards-Version: 3.6.1.0
+Build-Depends: debhelper (>= 9~), perl (>= 5.8.0-7), libmilter-dev (>=
8.12.10-5)
Maintainer: Debian Perl Group
Uploaders: Hilko Bengen
+Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libsendmail-milter-perl.git
Vcs-Browser:
https://anonscm.debian.org/cgit/pkg-perl/packages/libsendmail-milter-perl.git
Homepage: http://search.cpan.org/dist/Sendmail-Milter/
Package: libsendmail-milter-perl
Architecture: any
-Depends: ${perl:Depends}, ${shlibs:Depends}
-Description: Interface to Sendmail's