This is an automated email from the git hooks/post-receive script. bengen pushed a commit to annotated tag debian/0.18-7 in repository libsendmail-milter-perl.
commit ad978471e2d50a47ac230e72b36fb76f417ab3a4 Author: Hilko Bengen <ben...@debian.org> Date: Tue Feb 17 23:46:52 2004 +0100 Imported Debian patch 0.18-7 --- Makefile.PL | 33 +++++++++++--------- debian/changelog | 50 +++++++++++++++++++++++++++++ debian/control | 17 ++++++++++ debian/copyright | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ debian/examples | 1 + debian/rules | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 273 insertions(+), 14 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index bd827fb..fc70378 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 <path-to-sendmail-source> <path-to-sendmail-obj.dir>\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 <path-to-sendmail-source> <path-to-sendmail-obj.dir>\n"; +# print "(e.g. 'perl Makefile.PL ../sendmail ../sendmail/obj.FreeBSD.4.0-RELEASE.i386')\n"; +# print "\n"; +# exit; +# } if (not $Config{usethreads}) { @@ -24,11 +24,16 @@ 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 $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"); +# 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 = ''; sub milter_configure { @@ -37,7 +42,8 @@ sub milter_configure my $ccflags; # Standard milter libraries - $libs = "-L$MILTER_LIB -L$SMUTIL_LIB -L$SM_LIB -lmilter -lsmutil -lsm"; +# $libs = "-L$MILTER_LIB -L$SMUTIL_LIB -L$SM_LIB -lmilter -lsmutil -lsm"; + $libs = "-L/usr/lib/libmilter -lmilter -lsmutil -lsm"; # POSIX threads support. if ($Config{libs} =~ /-lpthread/) @@ -81,7 +87,6 @@ WriteMakefile( 'VERSION_FROM' => 'Milter.pm', 'CONFIGURE' => \&milter_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 new file mode 100644 index 0000000..593a7fe --- /dev/null +++ b/debian/changelog @@ -0,0 +1,50 @@ +libsendmail-milter-perl (0.18-7) unstable; urgency=low + + * "make test" fails randomly on some architectures, causing buildds to + exit with a "maybe-failed". I have not been able to reproduce those + errors on other machines with the same architectures. As of 0.18-7, + tests are still run (so I can try to get somebody to reproduce any + errors). + + -- Hilko Bengen <ben...@debian.org> Tue, 17 Feb 2004 23:46:52 +0100 + +libsendmail-milter-perl (0.18-6) unstable; urgency=low + + * Testing showed that module builds on ppc, too. Set "Architecture: + any", although I couldn't test on mips. I assume that all the build + problems were related to libmilter not being built with -fPIC. + + -- Hilko Bengen <ben...@debian.org> Tue, 17 Feb 2004 11:17:58 +0100 + +libsendmail-milter-perl (0.18-5) unstable; urgency=low + + * Re-enabled ia64 (Closes: #221775) + + -- Hilko Bengen <ben...@debian.org> Tue, 3 Feb 2004 13:22:28 +0100 + +libsendmail-milter-perl (0.18-4) unstable; urgency=low + + * Don't build on mips, powerpc, ia64. For now. + + -- Hilko Bengen (Debian) <ben...@debian.org> Wed, 19 Nov 2003 22:39:41 +0100 + +libsendmail-milter-perl (0.18-3) unstable; urgency=low + + * Make dependency on libmilter-dev versioned, since it is compiled with + -fPIC now. (Closes: #195857) + * Build on all architectures again. + + -- Hilko Bengen (Debian) <ben...@debian.org> Sun, 16 Nov 2003 18:11:48 +0100 + +libsendmail-milter-perl (0.18-2) unstable; urgency=low + + * Don't build on alpha, hppa, ia64. For now. (Closes: #195857) + + -- Hilko Bengen <bengen@debian,org> Thu, 9 Oct 2003 06:58:27 +0200 + +libsendmail-milter-perl (0.18-1) unstable; urgency=low + + * Initial Release. + + -- Hilko Bengen <bengen+deb...@hilluzination.de> Fri, 9 May 2003 16:33:07 +0200 + diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7e4ad21 --- /dev/null +++ b/debian/control @@ -0,0 +1,17 @@ +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) +Maintainer: Hilko Bengen <ben...@debian.org> +Standards-Version: 3.6.1.0 + +Package: libsendmail-milter-perl +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends} +Description: Interface to Sendmail's Mail Filter API + Sendmail::Milter is a Perl extension to sendmail's Mail Filter API + (Milter). + . + With this module, Perl callbacks can be defined and registered with + the Milter engine. This module calls those perl callbacks using + interpreters from a threaded persistent interpreter pool. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c699673 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,95 @@ +This is the Debian package for the Sendmail::Milter module. + +It was created by Hilko Bengen <ben...@debian.org> using +dh-make-perl. + +The upstream author is Charles Ying <cy...@cpan.org>. + +Sendmail::Milter is licensed under the same terms as sendmail itself. +The Sendmail license is included below. + +The interpreter pools portion (found in the intpools.c, intpools.h, +and test.pl files) of this code is also available under the same terms +as perl itself. See /usr/share/doc/perl/copyright for details. + +------------------------------------------------------------------------ + + SENDMAIL LICENSE + +The following license terms and conditions apply, unless a different +license is obtained from Sendmail, Inc., 6425 Christie Ave, Fourth Floor, +Emeryville, CA 94608, or by electronic mail at lice...@sendmail.com. + +License Terms: + +Use, Modification and Redistribution (including distribution of any +modified or derived work) in source and binary forms is permitted only if +each of the following conditions is met: + +1. Redistributions qualify as "freeware" or "Open Source Software" under + one of the following terms: + + (a) Redistributions are made at no charge beyond the reasonable cost of + materials and delivery. + + (b) Redistributions are accompanied by a copy of the Source Code or by an + irrevocable offer to provide a copy of the Source Code for up to three + years at the cost of materials and delivery. Such redistributions + must allow further use, modification, and redistribution of the Source + Code under substantially the same terms as this license. For the + purposes of redistribution "Source Code" means the complete compilable + and linkable source code of sendmail including all modifications. + +2. Redistributions of source code must retain the copyright notices as they + appear in each source code file, these license terms, and the + disclaimer/limitation of liability set forth as paragraph 6 below. + +3. Redistributions in binary form must reproduce the Copyright Notice, + these license terms, and the disclaimer/limitation of liability set + forth as paragraph 6 below, in the documentation and/or other materials + provided with the distribution. For the purposes of binary distribution + the "Copyright Notice" refers to the following language: + "Copyright (c) 1998-2000 Sendmail, Inc. All rights reserved." + +4. Neither the name of Sendmail, Inc. nor the University of California nor + the names of their contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. The name "sendmail" is a trademark of Sendmail, Inc. + +5. All redistributions must comply with the conditions imposed by the + University of California on certain embedded code, whose copyright + notice and conditions for redistribution are as follows: + + (a) Copyright (c) 1988, 1993 The Regents of the University of + California. All rights reserved. + + (b) Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + (i) Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + (ii) Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + (iii) Neither the name of the University nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +6. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PROVIDED BY + SENDMAIL, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN + NO EVENT SHALL SENDMAIL, INC., THE REGENTS OF THE UNIVERSITY OF + CALIFORNIA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF + USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +$Revision: 1.3 $, Last updated $Date: 2003/11/16 17:13:29 $ diff --git a/debian/examples b/debian/examples new file mode 100644 index 0000000..32a386b --- /dev/null +++ b/debian/examples @@ -0,0 +1 @@ +sample.pl diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f771938 --- /dev/null +++ b/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f +#-*- makefile -*- +# Made with the aid of dh_make, by Craig Small +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. +# Some lines taken from debmake, by Christoph Lameter. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +export DH_COMPAT=3 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +ifndef DESTDIR +DESTDIR=.. +endif +TMP =`pwd`/debian/$(PACKAGE) + +OPTIMIZE = -O2 -Wall +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +OPTIMIZE += -g +endif + +build: build-stamp +build-stamp: + dh_testdir + + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="$(OPTIMIZE)" LD_RUN_PATH="" + -$(MAKE) test + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + -$(MAKE) realclean + + dh_clean + +install: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # We will install sample.pl as documentation, thank you. + -rm -f blib/lib/Sendmail/sample.pl + $(MAKE) install PREFIX=$(TMP)/usr + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install +# dh_testversion + dh_testdir + dh_testroot + dh_installdocs README TODO + dh_installexamples + dh_installmenu +# dh_installemacsen +# dh_installinit + dh_installcron + dh_installman +# dh_undocumented + dh_installchangelogs Changes + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb + dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb --destdir=$(DESTDIR) + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary -- 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