r6306 - in /trunk/libapache-parselog-perl: ParseLog.pm debian/ debian/changelog debian/compat debian/control debian/copyright debian/rules debian/watch watch
deepak-guest at users.alioth.debian.org
deepak-guest at users.alioth.debian.org
Mon Aug 6 16:31:55 UTC 2007
Author: deepak-guest
Date: Mon Aug 6 16:31:54 2007
New Revision: 6306
URL: http://svn.debian.org/wsvn/?sc=1&rev=6306
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
trunk/libapache-parselog-perl/debian/
trunk/libapache-parselog-perl/debian/changelog
trunk/libapache-parselog-perl/debian/compat
trunk/libapache-parselog-perl/debian/control
trunk/libapache-parselog-perl/debian/copyright
trunk/libapache-parselog-perl/debian/rules (with props)
trunk/libapache-parselog-perl/debian/watch
trunk/libapache-parselog-perl/watch
Modified:
trunk/libapache-parselog-perl/ParseLog.pm
Modified: trunk/libapache-parselog-perl/ParseLog.pm
URL: http://svn.debian.org/wsvn/trunk/libapache-parselog-perl/ParseLog.pm?rev=6306&op=diff
==============================================================================
--- trunk/libapache-parselog-perl/ParseLog.pm (original)
+++ trunk/libapache-parselog-perl/ParseLog.pm Mon Aug 6 16:31:54 2007
@@ -15,7 +15,7 @@
#######################################################################
package Apache::ParseLog;
-require 5.004;
+require 5.005;
use Carp;
use vars qw($VERSION);
$VERSION = "1.02";
@@ -894,7 +894,7 @@
my($logfile) = $this->{'errorlog'};
croak "$METHOD: $logfile does not exist. Exiting " unless -e $logfile;
my($FORMAT) = '\\[(?:\\S+)\\s+(\\S+)\\s+(\\d+)\\s+(\\S+)\\s+(\\d{4})\\]\\s+(\\[(\\w+)\\])?';
- my($regex) = $FORMAT;
+ my($regex) = qr/$FORMAT/;
my($line, %count, %allbydate, %allbytime, %allbydatetime, %allmessage, %errorbydate, %errorbytime, %errorbydatetime, %errormessage, %noticebydate, %noticebytime, %noticebydatetime, %noticemessage, %warnbydate, %warnbytime, %warnbydatetime, %warnmessage);
my($fh) = openFile($logfile);
while (defined($line = <$fh>)) {
@@ -1174,7 +1174,7 @@
if ((scalar(@elements) == 1) && ($elements[0] eq "UAGENT")) {
$FORMAT =~ s#\?##
}
- my($regex) = $FORMAT;
+ my($regex) = qr/$FORMAT/;
my($line);
my($fh) = openFile($logfile);
while (defined($line = <$fh>)) {
Added: trunk/libapache-parselog-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libapache-parselog-perl/debian/changelog?rev=6306&op=file
==============================================================================
--- trunk/libapache-parselog-perl/debian/changelog (added)
+++ trunk/libapache-parselog-perl/debian/changelog Mon Aug 6 16:31:54 2007
@@ -1,0 +1,5 @@
+libapache-parselog-perl (1.02-1) unstable; urgency=low
+
+ * Initial Release (Closes: #436208)
+
+ -- Deepak Tripathi <apenguinlinux at gmail.com> Mon, 06 Aug 2007 21:50:09 +0530
Added: trunk/libapache-parselog-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libapache-parselog-perl/debian/compat?rev=6306&op=file
==============================================================================
--- trunk/libapache-parselog-perl/debian/compat (added)
+++ trunk/libapache-parselog-perl/debian/compat Mon Aug 6 16:31:54 2007
@@ -1,0 +1,1 @@
+5
Added: trunk/libapache-parselog-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libapache-parselog-perl/debian/control?rev=6306&op=file
==============================================================================
--- trunk/libapache-parselog-perl/debian/control (added)
+++ trunk/libapache-parselog-perl/debian/control Mon Aug 6 16:31:54 2007
@@ -1,0 +1,18 @@
+Source: libapache-parselog-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5.0.0)
+Build-Depends-Indep: perl (>= 5.8.8-7)
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Deepak Tripathi <apenguinlinux at gmail.com>
+Standards-Version: 3.7.2
+
+Package: libapache-parselog-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends},
+Description: Object-oriented Perl extension for parsing Apache log files
+ Apache::ParseLog provides an easy way to parse the Apache log files,
+ using object-oriented constructs. The data obtained using this module
+ are generic enough that it is flexible to use the data for your own
+ applications, such as CGI, simple text-only report generater, feeding
+ RDBMS, data for Perl/Tk-based GUI application, etc.
Added: trunk/libapache-parselog-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libapache-parselog-perl/debian/copyright?rev=6306&op=file
==============================================================================
--- trunk/libapache-parselog-perl/debian/copyright (added)
+++ trunk/libapache-parselog-perl/debian/copyright Mon Aug 6 16:31:54 2007
@@ -1,0 +1,18 @@
+This is the debian package for the Apache::ParseLog module.
+It was created by Deepak Tripathi <apenguinlinux at gmail.com> using dh-make-perl.
+
+
+The upstream author is:
+
+Apache::ParseLog was written and is maintained by Akira Hangai
+(akira at discover-net.net)
+
+Copyright 1998, Akira Hangai. All rights reserved.
+
+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'.
Added: trunk/libapache-parselog-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libapache-parselog-perl/debian/rules?rev=6306&op=file
==============================================================================
--- trunk/libapache-parselog-perl/debian/rules (added)
+++ trunk/libapache-parselog-perl/debian/rules Mon Aug 6 16:31:54 2007
@@ -1,0 +1,83 @@
+#!/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
+
+PACKAGE=$(shell dh_listpackages)
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+TMP =$(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+
+ # Add commands to compile the package here
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
+ $(MAKE) OPTIMIZE="-Wall -O2 -g"
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+
+ # Add commands to clean up after the build process here
+ [ ! -f Makefile ] || $(MAKE) realclean
+
+ dh_clean build-stamp install-stamp
+
+install: build install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+
+ # Add commands to install the package into debian/$PACKAGE_NAME here
+ $(MAKE) test
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+
+ # As this is a architecture independent package, we are not
+ # supposed to install stuff to /usr/lib. MakeMaker creates
+ # the dirs, we delete them from the deb:
+ rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/lib/perl5
+
+ touch install-stamp
+
+binary-arch:
+# We have nothing to do by default.
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+# dh_installcron
+# dh_installmenu
+# dh_installexamples
+ dh_installdocs README
+ dh_installchangelogs Changes
+ dh_perl
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+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
Propchange: trunk/libapache-parselog-perl/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libapache-parselog-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libapache-parselog-perl/debian/watch?rev=6306&op=file
==============================================================================
--- trunk/libapache-parselog-perl/debian/watch (added)
+++ trunk/libapache-parselog-perl/debian/watch Mon Aug 6 16:31:54 2007
@@ -1,0 +1,3 @@
+version=3
+
+http://search.cpan.org/CPAN/authors/id/A/AK/AKIRA/Apache-ParseLog-(.*)\.tar\.gz
Added: trunk/libapache-parselog-perl/watch
URL: http://svn.debian.org/wsvn/trunk/libapache-parselog-perl/watch?rev=6306&op=file
==============================================================================
--- trunk/libapache-parselog-perl/watch (added)
+++ trunk/libapache-parselog-perl/watch Mon Aug 6 16:31:54 2007
@@ -1,0 +1,3 @@
+version=3
+
+http://search.cpan.org/CPAN/authors/id/S/SK/SKUNZ/perlmenu\.v(.*)\.tar\.gz
More information about the Pkg-perl-cvs-commits
mailing list