Palmer, 2E0EOL committed 69a4651

Debianisation done by dh-make-perl

Comments (0)

Files changed (6)

+libprivileges-drop-perl (1.01-1) unstable; urgency=low
+  * Initial Release.
+ -- David Duncan Ross Palmer <>  Wed, 8 Dec 2010 11:13:29 +0000
+Source: libprivileges-drop-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 5), libmodule-build-perl
+Build-Depends-Indep: perl (>= >= 5.8.0)
+Maintainer: David Duncan Ross Palmer <>
+Standards-Version: 3.8.0
+Package: libprivileges-drop-perl
+Architecture: all
+Depends: perl (>= >= 5.8.0), ${misc:Depends}
+Description: A module to make it simple to drop all privileges, even  POSIX groups.
+ This module tries to simplify the process of dropping privileges. This can be
+ useful when your Perl program needs to bind to privileged ports, etc. This
+ module is much like Proc::UID, except that it's implemented in pure Perl.
+ .
+ This description was automagically extracted from the module by dh-make-perl.
+This is the debian package for the Privileges-Drop module.
+It was created by David Duncan Ross Palmer <> using dh-make-perl.
+It was downloaded from
+This copyright info was automatically extracted from the perl module.
+It may not be accurate, so you better check the module sources
+if you don't want to get into legal troubles.
+The upstream author is: Troels Liebe Bentsen <>.
+Copyright(C) 2007-2009 Troels Liebe Bentsen
+This library 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'.
+The Debian packaging is (C) 2010, David Duncan Ross Palmer <> and
+is licensed under the same terms as the software itself (see above).
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <> for
+# the Debian Perl Group ( but may
+# be used freely wherever it is useful.
+# It was later modified by Jason Kohles <>
+# to support Module::Build installed modules
+# 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.
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+build: build-stamp
+	dh_testdir
+	# Add commands to compile the package here
+	$(PERL) Build.PL installdirs=vendor
+	$(PERL) Build
+	$(PERL) Build test
+	touch $@
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp install-stamp
+	# Add commands to clean up after the build process here
+	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	# Add commands to install the package into $(TMP) here
+	$(PERL) Build install destdir=$(TMP) create_packlist=0
+	touch $@
+# We have nothing to do here for an architecture-independent package
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs README
+	dh_installexamples examples/*
+	dh_installchangelogs ChangeLog
+	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
+# format version number, currently 3; this line is compulsory!
+# URL to the package page followed by a regex to search
+   .*/Privileges-Drop-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$