[libsendmail-milter-perl] 02/03: Modernized package

2015-09-27 Thread Hilko Bengen
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 

[libsendmail-milter-perl] 02/03: Modernized package

2015-09-27 Thread Hilko Bengen
This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1.0-2
in repository libsendmail-milter-perl.

commit e194d21b0cf773de8c9ab346a3c63582c92f91f9
Author: Hilko Bengen 
Date:   Sat Aug 8 14:04:39 2015 +0200

Modernized package

- 3.0 (quilt)
- Bumped Standards-Version
- Bumped debian/compat
---
 debian/compat| 2 +-
 debian/control   | 4 ++--
 debian/source/format | 1 +
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index 38fff94..34250f9 100644
--- a/debian/control
+++ b/debian/control
@@ -1,11 +1,11 @@
 Source: libparse-win32registry-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7.0.50~)
+Build-Depends: debhelper (>= 9~)
 Build-Depends-Indep: perl (>= 5.6.0-12)
 Maintainer: Debian Perl Group 
 Uploaders: Hilko Bengen 
-Standards-Version: 3.9.3
+Standards-Version: 3.9.6
 Vcs-Git: 
git://anonscm.debian.org/pkg-perl/packages/libparse-win32registry-perl.git
 Vcs-Browser: 
https://anonscm.debian.org/cgit/pkg-perl/packages/libparse-win32registry-perl.git
 Homepage: http://search.cpan.org/dist/Parse-Win32Registry/
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libsendmail-milter-perl.git

___
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits