r25515 - in /trunk/libsys-syslog-perl: Changes MANIFEST META.yml Makefile.PL Syslog.pm Syslog.xs debian/README.source debian/changelog debian/compat debian/control debian/copyright debian/libsys-syslog-perl.examples debian/rules t/pod.t t/podspell.t
ansgar-guest at users.alioth.debian.org
ansgar-guest at users.alioth.debian.org
Mon Sep 22 10:10:32 UTC 2008
Author: ansgar-guest
Date: Mon Sep 22 10:10:29 2008
New Revision: 25515
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=25515
Log:
* New upstream release.
* Add myself to Uploaders.
* Convert debian/copyright to proposed machine-readable format.
* Refresh debian/rules for debhelper 7
* Replace debian/README.source with a longer version
Added:
trunk/libsys-syslog-perl/debian/libsys-syslog-perl.examples
Modified:
trunk/libsys-syslog-perl/Changes
trunk/libsys-syslog-perl/MANIFEST
trunk/libsys-syslog-perl/META.yml
trunk/libsys-syslog-perl/Makefile.PL
trunk/libsys-syslog-perl/Syslog.pm
trunk/libsys-syslog-perl/Syslog.xs
trunk/libsys-syslog-perl/debian/README.source
trunk/libsys-syslog-perl/debian/changelog
trunk/libsys-syslog-perl/debian/compat
trunk/libsys-syslog-perl/debian/control
trunk/libsys-syslog-perl/debian/copyright
trunk/libsys-syslog-perl/debian/rules
trunk/libsys-syslog-perl/t/pod.t
trunk/libsys-syslog-perl/t/podspell.t
Modified: trunk/libsys-syslog-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-syslog-perl/Changes?rev=25515&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/Changes (original)
+++ trunk/libsys-syslog-perl/Changes Mon Sep 22 10:10:29 2008
@@ -1,4 +1,9 @@
Revision history for Sys-Syslog
+
+0.27 -- 2008.09.21 -- Sebastien Aperghis-Tramoni (SAPER)
+ [BUGFIX] Fixed compilation on Win32, thanks to Serguei Trouchelle.
+ Also added stubs so calling the XS functions will never fail.
+ [TESTS] t/pod.t now also uses Pod::Checker.
0.26 -- 2008.06.16 -- Sebastien Aperghis-Tramoni (SAPER)
[BUGFIX] Make Sys::Syslog works with Perl 5.10.0 (because of
Modified: trunk/libsys-syslog-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-syslog-perl/MANIFEST?rev=25515&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/MANIFEST (original)
+++ trunk/libsys-syslog-perl/MANIFEST Mon Sep 22 10:10:29 2008
@@ -1,7 +1,6 @@
+MANIFEST
Makefile.PL
-META.yml
Changes
-MANIFEST
README
README.win32
Syslog.pm
@@ -26,3 +25,4 @@
win32/PerlLog_RES.uu
win32/PerlLog_dll.uu
win32/Win32.pm
+META.yml Module meta-data (added by MakeMaker)
Modified: trunk/libsys-syslog-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-syslog-perl/META.yml?rev=25515&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/META.yml (original)
+++ trunk/libsys-syslog-perl/META.yml Mon Sep 22 10:10:29 2008
@@ -1,28 +1,21 @@
----
-name: Sys-Syslog
-version: 0.25
-author:
- - 'Sebastien Aperghis-Tramoni <sebastien at aperghis.net>'
-abstract: Perl interface to the UNIX syslog(3) calls
-license: perl
-resources:
- license: http://dev.perl.org/licenses/
-requires:
- Carp: 0
- Fcntl: 0
- File::Basename: 0
- File::Spec: 0
- POSIX: 0
- Socket: 0
- XSLoader: 0
- perl: 5.005
-build_requires:
- Test::More: 0
-provides:
- Sys::Syslog:
- file: Syslog.pm
- version: 0.25
-generated_by: Module::Build version 0.2808
+--- #YAML:1.0
+name: Sys-Syslog
+version: 0.27
+abstract: Perl interface to the UNIX syslog(3) calls
+license: perl
+author:
+ - Sebastien Aperghis-Tramoni <sebastien at aperghis.net>
+generated_by: ExtUtils::MakeMaker version 6.44
+distribution_type: module
+requires:
+ Carp: 0
+ Fcntl: 0
+ File::Basename: 0
+ File::Spec: 0
+ POSIX: 0
+ Socket: 0
+ Test::More: 0
+ XSLoader: 0
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.2.html
- version: 1.2
+ url: http://module-build.sourceforge.net/META-spec-v1.3.html
+ version: 1.3
Modified: trunk/libsys-syslog-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-syslog-perl/Makefile.PL?rev=25515&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/Makefile.PL (original)
+++ trunk/libsys-syslog-perl/Makefile.PL Mon Sep 22 10:10:29 2008
@@ -74,7 +74,7 @@
}
# on pre-5.6 Perls, add warnings::compat to the prereq modules
-push @extra_prereqs, "warnings::compat" if $] < 5.006;
+push @extra_prereqs, "warnings::compat" => "0.06" if $] < 5.006;
WriteMakefile(
NAME => 'Sys::Syslog',
@@ -104,7 +104,6 @@
clean => { FILES => 'Sys-Syslog-*' },
realclean => { FILES => 'lib const-c.inc const-xs.inc macros.all '
.'PerlLog.h typemap *.bak *.bin *.rc win32/PerlLog_dll' },
- NO_META => 1,
@extra_params
);
Modified: trunk/libsys-syslog-perl/Syslog.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-syslog-perl/Syslog.pm?rev=25515&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/Syslog.pm (original)
+++ trunk/libsys-syslog-perl/Syslog.pm Mon Sep 22 10:10:29 2008
@@ -11,7 +11,7 @@
require 5.005;
{ no strict 'vars';
- $VERSION = '0.26';
+ $VERSION = '0.27';
@ISA = qw(Exporter);
%EXPORT_TAGS = (
@@ -829,7 +829,7 @@
=head1 VERSION
-Version 0.26
+Version 0.27
=head1 SYNOPSIS
Modified: trunk/libsys-syslog-perl/Syslog.xs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-syslog-perl/Syslog.xs?rev=25515&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/Syslog.xs (original)
+++ trunk/libsys-syslog-perl/Syslog.xs Mon Sep 22 10:10:29 2008
@@ -1,3 +1,7 @@
+#if defined(_WIN32)
+# include <windows.h>
+#endif
+
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
@@ -137,4 +141,31 @@
if (SvREFCNT(ident_svptr))
SvREFCNT_dec(ident_svptr);
+#else /* HAVE_SYSLOG */
+
+void
+openlog_xs(ident, option, facility)
+ INPUT:
+ SV* ident
+ int option
+ int facility
+ CODE:
+
+void
+syslog_xs(priority, message)
+ INPUT:
+ int priority
+ const char * message
+ CODE:
+
+int
+setlogmask_xs(mask)
+ INPUT:
+ int mask
+ CODE:
+
+void
+closelog_xs()
+ CODE:
+
#endif /* HAVE_SYSLOG */
Modified: trunk/libsys-syslog-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-syslog-perl/debian/README.source?rev=25515&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/debian/README.source (original)
+++ trunk/libsys-syslog-perl/debian/README.source Mon Sep 22 10:10:29 2008
@@ -1,3 +1,6 @@
-This package uses quilt for managing patches.
+This package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
-Cf. /usr/share/doc/quilt/README.source
+See /usr/share/doc/quilt/README.source for a detailed explanation.
+
Modified: trunk/libsys-syslog-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-syslog-perl/debian/changelog?rev=25515&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/debian/changelog (original)
+++ trunk/libsys-syslog-perl/debian/changelog Mon Sep 22 10:10:29 2008
@@ -1,3 +1,13 @@
+libsys-syslog-perl (0.27-1) unstable; urgency=low
+
+ * New upstream release.
+ * Add myself to Uploaders.
+ * Convert debian/copyright to proposed machine-readable format.
+ * Refresh debian/rules for debhelper 7
+ * Replace debian/README.source with a longer version
+
+ -- Ansgar Burchardt <ansgar at 43-1.org> Mon, 22 Sep 2008 12:08:18 +0200
+
libsys-syslog-perl (0.26-1) unstable; urgency=low
* New upstream release.
Modified: trunk/libsys-syslog-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-syslog-perl/debian/compat?rev=25515&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/debian/compat (original)
+++ trunk/libsys-syslog-perl/debian/compat Mon Sep 22 10:10:29 2008
@@ -1,1 +1,1 @@
-5
+7
Modified: trunk/libsys-syslog-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-syslog-perl/debian/control?rev=25515&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/debian/control (original)
+++ trunk/libsys-syslog-perl/debian/control Mon Sep 22 10:10:29 2008
@@ -4,9 +4,10 @@
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: gregor herrmann <gregoa at debian.org>,
Niko Tyni <ntyni at iki.fi>, Alexis Sukrieh <sukria at debian.org>,
- Damyan Ivanov <dmn at debian.org>, Rene Mayorga <rmayorga at debian.org.sv>
+ Damyan Ivanov <dmn at debian.org>, Rene Mayorga <rmayorga at debian.org.sv>,
+ Ansgar Burchardt <ansgar at 43-1.org>
Homepage: http://search.cpan.org/dist/Sys-Syslog/
-Build-Depends: debhelper (>= 5), perl, libtest-pod-coverage-perl,
+Build-Depends: debhelper (>= 7), perl, libtest-pod-coverage-perl,
libtest-pod-perl, libtest-distribution-perl, quilt (>= 0.40)
Standards-Version: 3.8.0
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libsys-syslog-perl/
Modified: trunk/libsys-syslog-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-syslog-perl/debian/copyright?rev=25515&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/debian/copyright (original)
+++ trunk/libsys-syslog-perl/debian/copyright Mon Sep 22 10:10:29 2008
@@ -1,77 +1,38 @@
-This package was debianized by Matthias Klose <doko at debian.org> on Sun, 20
-Aug 2006 14:22:13 +0200 and is maintained by the Debian Perl group.
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=228
+Upstream-Name: Sys-Syslog
+Upstream-Maintainer: Sébastien Aperghis-Tramoni
+Upstream-Source: http://search.cpan.org/dist/Sys-Syslog/
-It was downloaded from http://search.cpan.org/dist/Sys-Syslog/
+Files: *
+Copyright: © 1990-2008, Larry Wall and others
+License: GPL-1+ | Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the same terms as Perl itself.
+ .
+ Perl is distributed under your choice of the GNU General Public License or
+ the Artistic License. On Debian GNU/Linux systems, the complete text of the
+ GNU General Public License can be found in `/usr/share/common-licenses/GPL'
+ and the Artistic Licence in `/usr/share/common-licenses/Artistic'.
-Upstream Maintainer: Sebastien Aperghis-Tramoni
+Files: ppport.h
+Copyright:
+ © 1999, Kenneth Albanowski
+ © 2001, Paul Marquess
+ © 2004-2006, Marcus Holland-Moritz
+License: GPL-1+ | Artistic
+ This program is free software; you can redistribute it and/or
+ modify it under the same terms as Perl itself.
-COPYRIGHT
-Copyright (C) 1990-2008 by Larry Wall and others.
-
-LICENSE
+Files: debian/*
+Copyright:
+ © 2006, Matthias Klose <doko at debian.org>
+ © 2006, Alexis Sukrieh <sukria at debian.org>
+ © 2006-2007, Niko Tyni <ntyni at iki.fi>
+ © 2006-2008, gregor herrmann <gregoa at debian.org>
+ © 2007, Damyan Ivanov <dmn at debian.org>
+ © 2007, Rene Mayorga
+ © 2008, Ansgar Burchardt <ansgar at 43-1.org>
+License: GPL-1+ | Artistic
+ It is assumed that all contributors put their work under the same license
+ as the module itself.
-This program is free software; you can redistribute it and/or modify it
-under the same terms as Perl itself.
-
-AUTHORS & ACKNOWLEDGEMENTS
-
-Tom Christiansen <tchrist (at) perl.com> and Larry Wall <larry (at)
-wall.org>.
-
-UNIX domain sockets added by Sean Robinson <robinson_s (at) sc.maricopa.edu>
-with support from Tim Bunce <Tim.Bunce (at) ig.co.uk> and the
-"perl5-porters" mailing list.
-
-Dependency on syslog.ph replaced with XS code by Tom Hughes <tom (at)
-compton.nu>.
-
-Code for "constant()"s regenerated by Nicholas Clark <nick (at) ccl4.org>.
-
-Failover to different communication modes by Nick Williams <Nick.Williams
-(at) morganstanley.com>.
-
-Extracted from core distribution for publishing on the CPAN by Sebastien
-Aperghis-Tramoni <sebastien (at) aperghis.net>.
-
-XS code for using native C functions borrowed from "Unix::Syslog", written
-by Marcus Harnisch <mar- cus.harnisch (at) gmx.net>.
-
-Yves Orton suggested and helped for making "Sys::Syslog" use the native
-event logger under Win32 systems.
-
-Jerry D. Hedden and Reini Urban provided greatly appreciated help to debug
-and polish "Sys::Syslog" under Cygwin.
-
-~~~~~
-
-./ppport.h:
-
-COPYRIGHT
-
-Version 3.x, Copyright (c) 2004-2006, Marcus Holland-Moritz.
-
-Version 2.x, Copyright (C) 2001, Paul Marquess.
-
-Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
-
-This program is free software; you can redistribute it and/or modify it
-under the same terms as Perl itself.
-
-
-~~~~~
-
-The license terms for Perl are as follows:
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of either:
-
- a) the GNU General Public License as published by the Free Software
- Foundation; either version 1, or (at your option) any later
- version, or
-
- b) the "Artistic License" which comes with Perl.
-
-On Debian GNU/Linux systems, the complete texts of the GNU General
-Public License and the Artistic License can be found in the files
-`/usr/share/common-licenses/GPL' and `/usr/share/common-licenses/Artistic'
-respectively.
Added: trunk/libsys-syslog-perl/debian/libsys-syslog-perl.examples
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-syslog-perl/debian/libsys-syslog-perl.examples?rev=25515&op=file
==============================================================================
--- trunk/libsys-syslog-perl/debian/libsys-syslog-perl.examples (added)
+++ trunk/libsys-syslog-perl/debian/libsys-syslog-perl.examples Mon Sep 22 10:10:29 2008
@@ -1,0 +1,1 @@
+eg/*
Modified: trunk/libsys-syslog-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-syslog-perl/debian/rules?rev=25515&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/debian/rules (original)
+++ trunk/libsys-syslog-perl/debian/rules Mon Sep 22 10:10:29 2008
@@ -1,76 +1,25 @@
#!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# 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
-PERL ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP = $(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimisation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
build: build-stamp
build-stamp: $(QUILT_STAMPFN)
- dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
- $(MAKE) test
+ dh build
touch $@
clean: unpatch
- dh_testdir
- dh_testroot
- dh_clean build-stamp install-stamp
- [ ! -f Makefile ] || $(MAKE) realclean
+ dh $@
install: install-stamp
install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/share/perl5 ] || \
- rmdir --ignore-fail-on-non-empty --parents --verbose \
- $(TMP)/usr/share/perl5
+ dh install
touch $@
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do here for an architecture-dependent package
+binary-arch: install
+ dh $@
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installexamples eg/*
- dh_installdocs
- dh_installchangelogs Changes
- dh_shlibdeps
- dh_strip
- dh_perl
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+binary-indep:
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build
Modified: trunk/libsys-syslog-perl/t/pod.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-syslog-perl/t/pod.t?rev=25515&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/t/pod.t (original)
+++ trunk/libsys-syslog-perl/t/pod.t Mon Sep 22 10:10:29 2008
@@ -1,12 +1,16 @@
#!perl -wT
use strict;
use Test::More;
-use Pod::Checker;
-plan skip_all => "Test::Pod 1.14 required for testing POD"
+
+plan skip_all => "Test::Pod v1.14 required for testing POD"
unless eval "use Test::Pod 1.14; 1";
all_pod_files_ok();
-my $checker = Pod::Checker->new(-warnings => 1);
-$checker->parse_from_file($_, \*STDERR) for all_pod_files();
+if ($ENV{AUTHOR_TESTS}) {
+ if (eval "use Pod::Checker; 1") {
+ my $checker = Pod::Checker->new(-warnings => 1);
+ $checker->parse_from_file($_, \*STDERR) for all_pod_files();
+ }
+}
Modified: trunk/libsys-syslog-perl/t/podspell.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsys-syslog-perl/t/podspell.t?rev=25515&op=diff
==============================================================================
--- trunk/libsys-syslog-perl/t/podspell.t (original)
+++ trunk/libsys-syslog-perl/t/podspell.t Mon Sep 22 10:10:29 2008
@@ -2,11 +2,20 @@
use strict;
use Test::More;
-plan skip_all => "Pod spelling: for developer interest only :)" unless -d 'releases';
-plan skip_all => "Test::Spelling required for testing POD spell"
+plan skip_all => "Pod spelling: for maintainer only" unless -d "releases";
+plan skip_all => "Test::Spelling required for checking Pod spell"
unless eval "use Test::Spelling; 1";
-set_spell_cmd('aspell -l --lang=en');
+if (`type spell 2>/dev/null`) {
+ # default
+}
+elsif (`type aspell 2>/dev/null`) {
+ set_spell_cmd('aspell -l --lang=en');
+}
+else {
+ plan skip_all => "spell(1) command or compatible required for checking Pod spell"
+}
+
add_stopwords(<DATA>);
all_pod_files_spelling_ok();
More information about the Pkg-perl-cvs-commits
mailing list