[libheimdal-kadm5-perl] 03/27: General cleanup of the packaging files

Russ Allbery eagle at eyrie.org
Mon Dec 18 05:02:28 UTC 2017


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

rra pushed a commit to branch master
in repository libheimdal-kadm5-perl.

commit 3157408f7b2e965351fe07c3ebedb1e80a6fa945
Author: Russ Allbery <rra at stanford.edu>
Date:   Sat Apr 3 01:06:24 2010

    General cleanup of the packaging files
    
    * Update debhelper compatibility level to V7.
      - Use debhelper rule minimization.
    * Drop specific version from Perl build dependency, since it was older
      than the version in stable.
    * Lower the priority to extra to match Heimdal.
    * Set myself as maintainer since I'll be doing the Debian uploads.
    * Add Vcs-Git, Vcs-Browser, and Homepage control fields.
    * Reformatting and improvements of binary package description.
    * Update standards version to 3.8.4.
---
 debian/changelog |  9 ++++++
 debian/compat    |  2 +-
 debian/control   | 35 ++++++++++-----------
 debian/docs      |  1 +
 debian/rules     | 95 ++------------------------------------------------------
 5 files changed, 30 insertions(+), 112 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a4140f5..7871181 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,15 @@
 libheimdal-kadm5-perl (0.08-3) UNRELEASED; urgency=low
 
   * Initial upload to Debian.  (Closes: #572400)
+  * Update debhelper compatibility level to V7.
+    - Use debhelper rule minimization.
+  * Drop specific version from Perl build dependency, since it was older
+    than the version in stable.
+  * Lower the priority to extra to match Heimdal.
+  * Set myself as maintainer since I'll be doing the Debian uploads.
+  * Add Vcs-Git, Vcs-Browser, and Homepage control fields.
+  * Reformatting and improvements of binary package description.
+  * Update standards version to 3.8.4.
 
  -- Russ Allbery <rra at debian.org>  Fri, 02 Apr 2010 17:53:23 -0700
 
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..7f8f011 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+7
diff --git a/debian/control b/debian/control
index 9ca2580..aeebf83 100644
--- a/debian/control
+++ b/debian/control
@@ -1,23 +1,22 @@
 Source: libheimdal-kadm5-perl
 Section: perl
-Priority: optional
-Build-Depends: debhelper (>= 5.0.0),
-	       perl (>= 5.8.8-12ubuntu0.4),
-	       heimdal-dev
-Maintainer: IT och media <linux-sua at it.su.se>
-Standards-Version: 3.7.2
-Homepage: http://devel.it.su.se/
+Priority: extra
+Build-Depends: debhelper (>= 7), heimdal-dev, perl
+Maintainer: Russ Allbery <rra at debian.org>
+Standards-Version: 3.8.4
+Homepage: http://search.cpan.org/dist/Heimdal-Kadm5/
+Vcs-Git: git://code.mnt.se/heimdal-kadm5.git
+Vcs-Browser: http://git.mnt.se/?p=heimdal-kadm5.git
 
 Package: libheimdal-kadm5-perl
 Architecture: any
-Depends: ${perl:Depends},
-	 ${shlibs:Depends},
-	 ${misc:Depends},
-	 heimdal-dev
-Description:  Perl extension for adminstration of Heimdal Kerberos servers (kadmin)
- Heimdal::Kadm5 is a basic XSUB perl glue to the Heimdal (http://www.pdc.kth.se/src/heimdal) kadm5clnt
- library. Heimdal is a free, slightly less export challenged implementation of Kerberos5 by Assar
- Westerlund and Johan Danielsson. Heimdal::Kadm5 allows you to perform more administration of your kdc
- than you can usually pull off with the included kadmin program. Heimdal::Kadm5 should be considered
- alpha-code and may consequently crash and burn but should not muck up your kdc any more than kadmin
- itself does.
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}
+Description: Perl module to administer a Heimdal Kerberos KDC
+ Heimdal::Kadm5 is a Perl module that wraps the Heimdal libkadm5clnt
+ library and allows administration of a Heimdal KDC inside Perl programs.
+ It mimics the commands that would normally be sent to the server with the
+ kadmin command.  Principal creation, deletion, modification, and
+ searching and extraction of keytabs are supported.
+ .
+ This module is equivalent to Authen::Krb5::Admin except for a Heimdal KDC
+ instead of an MIT Kerberos KDC.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/rules b/debian/rules
index 237b6fd..cbe925d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,94 +1,3 @@
 #!/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)
-
-# Allow disabling build optimation 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:
-	dh_testdir
-
-	# As this is a architecture dependent package, we are not
-	# supposed to install stuff to /usr/share. MakeMaker creates
-	# the dirs, we prevent this by setting the INSTALLVENDORARCH
-	# and VENDORARCHEXP environment variables.
-
-	# Add commands to compile the package here
-	$(PERL) Makefile.PL INSTALLDIRS=vendor \
-		INSTALLVENDORARCH=/usr/lib/perl5/ \
-		VENDORARCHEXP=/usr/lib/perl5/
-	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
-	$(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
-
-	# Add commands to install the package into debian/$PACKAGE_NAME here
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
-	touch $@
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do here for an architecture-dependent package
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples 
-	dh_installdocs README
-	dh_installchangelogs Changes
-	dh_shlibdeps
-	dh_strip
-	dh_perl
-	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
+%:
+	dh $@

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



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