Skip to content
Snippets Groups Projects
Commit 3157408f authored by Russ Allbery's avatar Russ Allbery
Browse files

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.
parent c4751944
No related branches found
No related tags found
No related merge requests found
libheimdal-kadm5-perl (0.08-3) UNRELEASED; urgency=low libheimdal-kadm5-perl (0.08-3) UNRELEASED; urgency=low
* Initial upload to Debian. (Closes: #572400) * 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@debian.org> Fri, 02 Apr 2010 17:53:23 -0700 -- Russ Allbery <rra@debian.org> Fri, 02 Apr 2010 17:53:23 -0700
......
5 7
Source: libheimdal-kadm5-perl Source: libheimdal-kadm5-perl
Section: perl Section: perl
Priority: optional Priority: extra
Build-Depends: debhelper (>= 5.0.0), Build-Depends: debhelper (>= 7), heimdal-dev, perl
perl (>= 5.8.8-12ubuntu0.4), Maintainer: Russ Allbery <rra@debian.org>
heimdal-dev Standards-Version: 3.8.4
Maintainer: IT och media <linux-sua@it.su.se> Homepage: http://search.cpan.org/dist/Heimdal-Kadm5/
Standards-Version: 3.7.2 Vcs-Git: git://code.mnt.se/heimdal-kadm5.git
Homepage: http://devel.it.su.se/ Vcs-Browser: http://git.mnt.se/?p=heimdal-kadm5.git
Package: libheimdal-kadm5-perl Package: libheimdal-kadm5-perl
Architecture: any Architecture: any
Depends: ${perl:Depends}, Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}
${shlibs:Depends}, Description: Perl module to administer a Heimdal Kerberos KDC
${misc:Depends}, Heimdal::Kadm5 is a Perl module that wraps the Heimdal libkadm5clnt
heimdal-dev library and allows administration of a Heimdal KDC inside Perl programs.
Description: Perl extension for adminstration of Heimdal Kerberos servers (kadmin) It mimics the commands that would normally be sent to the server with the
Heimdal::Kadm5 is a basic XSUB perl glue to the Heimdal (http://www.pdc.kth.se/src/heimdal) kadm5clnt kadmin command. Principal creation, deletion, modification, and
library. Heimdal is a free, slightly less export challenged implementation of Kerberos5 by Assar searching and extraction of keytabs are supported.
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 This module is equivalent to Authen::Krb5::Admin except for a Heimdal KDC
alpha-code and may consequently crash and burn but should not muck up your kdc any more than kadmin instead of an MIT Kerberos KDC.
itself does.
README
#!/usr/bin/make -f #!/usr/bin/make -f
# This debian/rules file is provided as a template for normal perl %:
# packages. It was created by Marc Brockschmidt <marc@dch-faq.de> for dh $@
# 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment