[libsendmail-milter-perl] 02/20: debianization, mostly provided by dh-make-perl

Hilko Bengen bengen at moszumanska.debian.org
Sun Sep 27 18:32:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

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

commit 5b989fe1401cab85f10ec4271b7408c2cf1862f0
Author: Hilko Bengen <bengen at debian.org>
Date:   Thu Mar 19 17:50:42 2009 +0100

    debianization, mostly provided by dh-make-perl
---
 bin/regclassnames.pl                       | 16 +++++++
 bin/regdiff.pl                             | 28 ++++++++++++
 bin/regdump.pl                             | 31 +++++++++++++
 bin/regexport.pl                           | 23 ++++++++++
 bin/regfind.pl                             | 35 +++++++++++++++
 bin/regscan.pl                             | 40 +++++++++++++++++
 bin/regstats.pl                            | 23 ++++++++++
 bin/regtimeline.pl                         | 27 +++++++++++
 bin/regtree.pl                             | 23 ++++++++++
 bin/regview.pl                             | 23 ++++++++++
 debian/changelog                           |  5 +++
 debian/compat                              |  1 +
 debian/control                             | 33 ++++++++++++++
 debian/copyright                           | 27 +++++++++++
 debian/libparse-win32registry-perl.install |  3 ++
 debian/parse-win32registry-utils.install   |  2 +
 debian/rules                               | 72 ++++++++++++++++++++++++++++++
 debian/watch                               |  4 ++
 18 files changed, 416 insertions(+)

diff --git a/bin/regclassnames.pl b/bin/regclassnames.pl
index 19db825..86a86e4 100755
--- a/bin/regclassnames.pl
+++ b/bin/regclassnames.pl
@@ -46,3 +46,19 @@ Displays keys in a registry file that have a class name.
 $script_name <filename> [subkey]
 USAGE
 }
+
+__END__
+
+=head1 NAME
+
+regclassnames - displays keys in a registry file that have a class name.
+
+=head1 SYNOPSIS
+
+$script_name <filename> [subkey]
+
+=head1 SEE ALSO
+
+L<Parse::Win32Registry>
+
+=cut
diff --git a/bin/regdiff.pl b/bin/regdiff.pl
index 73ec129..849715a 100755
--- a/bin/regdiff.pl
+++ b/bin/regdiff.pl
@@ -176,3 +176,31 @@ $script_name <filename1> <filename2> [subkey] [-p] [-v]
     -v or --values      display values
 USAGE
 }
+
+__END__
+
+=head1 NAME
+
+regdiff - Compares two registry files.
+
+=head1 SYNOPSIS
+
+regdiff <filename1> <filename2> [subkey] [-p] [-v]
+
+=over 4
+
+=item -p or --previous
+
+show the previous key or value (this is not normally shown)
+
+=item -v or --values
+
+display values
+
+=back
+
+=head1 SEE ALSO
+
+L<Parse::Win32Registry>
+
+=cut
diff --git a/bin/regdump.pl b/bin/regdump.pl
index eecbf35..d3f4edb 100755
--- a/bin/regdump.pl
+++ b/bin/regdump.pl
@@ -80,3 +80,34 @@ $script_name <filename> [subkey] [-r] [-v] [-x]
     -x or --hexdump     display value data as a hex dump
 USAGE
 }
+__END__
+
+=head1 NAME
+
+regdump - Dumps the keys and values of a registry file.
+
+=head1 SYNOPSIS
+
+regdump <filename> [subkey] [-r] [-v] [-x]
+
+=over 4
+
+=item  -r or --recurse
+
+traverse all child keys from the root key or the subkey specified
+
+=item -v or --values
+
+display values
+
+=item -x or --hexdump
+
+display value data as a hex dump
+
+=back
+
+=head1 SEE ALSO
+
+L<Parse::Win32Registry>
+
+=cut
diff --git a/bin/regexport.pl b/bin/regexport.pl
index b213686..c9df553 100755
--- a/bin/regexport.pl
+++ b/bin/regexport.pl
@@ -67,3 +67,26 @@ $script_name <filename> [subkey] [-r]
                         or the subkey specified
 USAGE
 }
+__END__
+
+=head1 NAME
+
+regexport - Exports the keys and values of a registry file in REGEDIT format.
+
+=head1 SYNOPSIS
+
+regexport <filename> [subkey] [-r]
+
+=over 4
+
+=item -r or --recurse
+
+traverse all child keys from the root key or the subkey specified
+
+=back
+
+=head1 SEE ALSO
+
+L<Parse::Win32Registry>
+
+=cut
diff --git a/bin/regfind.pl b/bin/regfind.pl
index 7e2e1a1..ebf7335 100755
--- a/bin/regfind.pl
+++ b/bin/regfind.pl
@@ -105,3 +105,38 @@ $script_name <filename> <search-string> [-k] [-v] [-d] [-t]
     -t or --type        search value types for a match
 USAGE
 }
+__END__
+
+=head1 NAME
+
+regfind - Searches a registry file for anything that matches the specified string.
+
+=head1 SYNOPSIS
+
+regfind <filename> <search-string> [-k] [-v] [-d] [-t]
+
+=over 4
+
+=item -k or --key
+
+search key names for a match
+
+=item -v or --value
+
+search value names for a match
+
+=item -d or --data
+
+search value data for a match
+
+=item -t or --type
+
+search value types for a match
+
+=back
+
+=head1 SEE ALSO
+
+L<Parse::Win32Registry>
+
+=cut
diff --git a/bin/regscan.pl b/bin/regscan.pl
index 203a298..c68a580 100755
--- a/bin/regscan.pl
+++ b/bin/regscan.pl
@@ -55,3 +55,43 @@ $script_name <filename> [-d] [-s] [-x]
     -x or --hexdump     show the on-disk entries as a hex dump
 USAGE
 }
+__END__
+
+=head1 NAME
+
+regscan - Displays the component elements of a registry file
+
+=head1 SYNOPSIS
+
+regscan <filename> [-d] [-s] [-x]
+
+=over 4
+
+=item -d or --debug
+
+show the technical information for an entry instead of the string
+representation
+
+=item -s or --silent
+
+suppress the display of warning messages for invalid keys and values
+
+=item -x or --hexdump
+
+show the on-disk entries as a hex dump
+
+=back
+
+=head1 DESCRIPTION
+
+B<regscan> displays the component elements of a registry file, without
+traversing the current active key structure. This will include
+elements that are associated with but are not actually keys or values.
+Additionally, some of the keys, values, and associated elements
+displayed will no longer be active and may be invalid or 'deleted'.
+
+=head1 SEE ALSO
+
+L<Parse::Win32Registry>
+
+=cut
diff --git a/bin/regstats.pl b/bin/regstats.pl
index 557b3c6..c02cbe8 100755
--- a/bin/regstats.pl
+++ b/bin/regstats.pl
@@ -67,3 +67,26 @@ $script_name <filename> [-t]
     -t or --types       count value types
 USAGE
 }
+__END__
+
+=head1 NAME
+
+regstats - Displays information about a registry file.
+
+=head1 SYNOPSIS
+
+$script_name <filename> [-t]
+
+=over 4
+
+=item -t or --types
+
+count value types
+
+=back
+
+=head1 SEE ALSO
+
+L<Parse::Win32Registry>
+
+=cut
diff --git a/bin/regtimeline.pl b/bin/regtimeline.pl
index 8681613..0190d35 100755
--- a/bin/regtimeline.pl
+++ b/bin/regtimeline.pl
@@ -84,3 +84,30 @@ $script_name <filename> [subkey] [-l <number>] [-v]
     -v or --values      display values
 USAGE
 }
+__END__
+
+=head1 NAME
+
+regtimeline - Displays the keys and values of a registry file in date order.
+
+=head1 SYNOPSIS
+
+regtimeline <filename> [subkey] [-l <number>] [-v]
+
+=over 4
+
+=item -l or --last
+
+display only the last <number> days of registry activity
+
+=item -v or --values
+
+display values
+
+=back
+
+=head1 SEE ALSO
+
+L<Parse::Win32Registry>
+
+=cut
diff --git a/bin/regtree.pl b/bin/regtree.pl
index a298f70..dfefc0b 100755
--- a/bin/regtree.pl
+++ b/bin/regtree.pl
@@ -64,3 +64,26 @@ $script_name <filename> [subkey] [-v]
     -v or --values      display values
 USAGE
 }
+__END__
+
+=head1 NAME
+
+regtree - Displays the keys and values of a registry file as an indented tree.
+
+=head1 SYNOPSIS
+
+regtree  <filename> [subkey] [-v]
+
+=over 4
+
+=item -v or --values
+
+display values
+
+=back
+
+=head1 SEE ALSO
+
+L<Parse::Win32Registry>
+
+=cut
diff --git a/bin/regview.pl b/bin/regview.pl
index f0915bf..62bdf8b 100755
--- a/bin/regview.pl
+++ b/bin/regview.pl
@@ -368,3 +368,26 @@ sub about {
     );
 }
 
+__END__
+
+=head1 NAME
+
+regview - GTK2 Registry Viewer for the Parse::Win32Registry module
+
+=head1 SYNOPSIS
+
+regview [-d] <filename>
+
+=over 4
+
+=item -d or --debuga
+
+enable debugging mode
+
+=back
+
+=head1 SEE ALSO
+
+L<Parse::Win32Registry>
+
+=cut
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..eced916
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libparse-win32registry-perl (0.41-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Hilko Bengen <bengen at debian.org>  Wed, 4 Feb 2009 20:40:49 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..6bcb917
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,33 @@
+Source: libparse-win32registry-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: perl (>= 5.6.0-12)
+# Test::More, Data::Dumper
+Maintainer: Hilko Bengen <bengen at debian.org>
+Standards-Version: 3.8.0
+Homepage: http://search.cpan.org/dist/Parse-Win32Registry/
+
+Package: libparse-win32registry-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}
+Description: Parse Windows Registry Files
+ Parse::Win32Registry is a module for parsing Windows Registry files, allowing
+ you to read the keys and values of a registry file without going through the
+ Windows API.
+ .
+ It provides an object-oriented interface to the keys and values in a registry
+ file. Registry files are structured as trees of keys, with each key
+ containing further subkeys or values.
+ .
+ It supports both Windows NT registry files (Windows NT, 2000, XP, 2003,
+ Vista) and Windows 95 registry files (Windows 95, 98, and Millennium
+ Edition).
+# Carp, Encode, File::Basename, Time::Local
+
+Package: parse-win32registry-utils
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}
+Description: Examples for Parse::Win32Registry
+ This package contains the example scripts shipped with 
+# Getopt::Long, Gtk2
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8968d44
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: James Macfarlane, <jmacfarla at cpan.org>
+Upstream-Source: http://search.cpan.org/dist/Parse-Win32Registry/
+Upstream-Name: Parse-Win32Registry
+
+Files: *
+Copyright: James Macfarlane, <jmacfarla at cpan.org>
+License: 
+
+Files: debian/*
+Copyright: 2009, Hilko Bengen <bengen at debian.org>
+License: Artistic | GPL-1+
+
+License: Artistic
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Artistic License, which comes with Perl.
+    On Debian GNU/Linux systems, the complete text of the Artistic License
+    can be found in `/usr/share/common-licenses/Artistic'
+
+License: GPL-1+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 1, or (at your option)
+    any later version.
+    On Debian GNU/Linux systems, the complete text of the GNU General
+    Public License can be found in `/usr/share/common-licenses/GPL'
diff --git a/debian/libparse-win32registry-perl.install b/debian/libparse-win32registry-perl.install
new file mode 100644
index 0000000..6afdafa
--- /dev/null
+++ b/debian/libparse-win32registry-perl.install
@@ -0,0 +1,3 @@
+usr/share/perl5
+usr/share/man/man3
+
diff --git a/debian/parse-win32registry-utils.install b/debian/parse-win32registry-utils.install
new file mode 100644
index 0000000..1e73b78
--- /dev/null
+++ b/debian/parse-win32registry-utils.install
@@ -0,0 +1,2 @@
+usr/bin/*
+usr/share/man/man1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8b24f19
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,72 @@
+#!/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
+
+PERL   ?= /usr/bin/perl
+#PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/tmp
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	# Add commands to compile the package here
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE)
+	$(MAKE) test
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp install-stamp
+	# Add commands to clean up after the build process here
+	[ ! -f Makefile ] || $(MAKE) realclean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	# Add commands to install the package into $(TMP) here
+	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+	[ ! -d $(TMP)/usr/lib/perl5 ] || \
+		rmdir --ignore-fail-on-non-empty --parents --verbose \
+		$(TMP)/usr/lib/perl5
+
+	cd $(TMP)/usr/bin && find -name \*.pl | \
+		xargs -i basename {} .pl | \
+		xargs -i mv {}.pl {}
+	cd $(TMP)/usr/share/man/man1 && find -name \*.pl.1p | \
+		xargs -i basename {} .pl.1p | \
+		xargs -i mv {}.pl.1p {}.1p
+	dh_install --sourcedir=debian/tmp --autodest
+	touch $@
+
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installchangelogs Changes
+	dh_perl
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..8350030
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+# URL to the package page followed by a regex to search
+http://search.cpan.org/dist/Parse-Win32Registry/   .*/Parse-Win32Registry-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$

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



More information about the Pkg-perl-cvs-commits mailing list