* Updated to use debhelper v3 when converting packages. This

automatically should make it start adding ldconfig calls
     as appropriate to maintainer scripts. Closes: #86088
   * It does mean you need debhelper 3.x for alien to convert to
     deb now, so alien-extra will need an update.
This commit is contained in:
joey
2001-02-15 23:38:25 +00:00
parent 21fa0599f1
commit 9b857e9ea8
3 changed files with 22 additions and 5 deletions

View File

@@ -311,13 +311,18 @@ sub prep {
# A minimal rules file. # A minimal rules file.
open (OUT, ">$dir/debian/rules") || die "$dir/debian/rules: $!"; open (OUT, ">$dir/debian/rules") || die "$dir/debian/rules: $!";
print OUT <<EOF; print OUT << 'EOF';
#!/usr/bin/make -f #!/usr/bin/make -f
# debian/rules for alien # debian/rules for alien
# Uncomment this to turn on verbose mode. # Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1 #export DH_VERBOSE=1
# Use v3 compatability mode, so ldconfig gets added to maint scripts.
export DH_COMAPT=3
PACKAGE=$(shell dh_listpackages)
build: build:
dh_testdir dh_testdir
@@ -333,15 +338,17 @@ binary-arch: build
dh_testroot dh_testroot
dh_clean -k dh_clean -k
dh_installdirs dh_installdirs
cp -a `ls -1 |grep -v debian` debian/tmp cp -a `ls -1 |grep -v debian` debian/$(PACKAGE)
# #
# If you need to move files around in debian/tmp or do some # If you need to move files around in debian//$(PACKAGE) or do some
# binary patching ... Insert it here # binary patching, do it here
# #
dh_installdocs dh_installdocs
dh_installchangelogs dh_installchangelogs
# This has been known to break on some wacky binaries.
# dh_strip # dh_strip
dh_compress dh_compress
# This is too paramoid to be generally useful to alien.
# dh_fixperms # dh_fixperms
dh_installdeb dh_installdeb
-dh_shlibdeps -dh_shlibdeps

10
debian/changelog vendored
View File

@@ -1,3 +1,13 @@
alien (7.19) unstable; urgency=low
* Updated to use debhelper v3 when converting packages. This
automatically should make it start adding ldconfig calls
as appropriate to maintainer scripts. Closes: #86088
* It does mean you need debhelper 3.x for alien to convert to
deb now, so alien-extra will need an update.
-- Joey Hess <joeyh@debian.org> Thu, 15 Feb 2001 15:33:07 -0800
alien (7.18) unstable; urgency=low alien (7.18) unstable; urgency=low
* Build with debhelper v3. * Build with debhelper v3.

2
debian/control vendored
View File

@@ -8,7 +8,7 @@ Standards-Version: 3.5.0.0
Package: alien Package: alien
Architecture: all Architecture: all
Section: admin Section: admin
Depends: debhelper (>= 2.1.0), ${perl:Depends}, rpm (>= 2.4.4-2), dpkg-dev, make, cpio Depends: debhelper (>= 3), ${perl:Depends}, rpm (>= 2.4.4-2), dpkg-dev, make, cpio
Suggests: patch, bzip2 Suggests: patch, bzip2
Description: Install Red Hat, Stampede, and Slackware Packages with dpkg. Description: Install Red Hat, Stampede, and Slackware Packages with dpkg.
Alien allows you to convert Red Hat, Stampede and Slackware Packages into Alien allows you to convert Red Hat, Stampede and Slackware Packages into