Browse Source

Upgrade to debhelper v7.

r60585
tags/1.52
Colin Watson 11 years ago
parent
commit
ec2bb0e092
11 changed files with 25 additions and 61 deletions
  1. +0
    -0
      base-installer.d/40netcfg
  2. +1
    -0
      debian/changelog
  3. +1
    -1
      debian/compat
  4. +1
    -1
      debian/control
  5. +3
    -0
      debian/netcfg-static.dirs
  6. +1
    -0
      debian/netcfg-static.install
  7. +1
    -0
      debian/netcfg-static.links
  8. +6
    -0
      debian/netcfg.dirs
  9. +3
    -0
      debian/netcfg.install
  10. +1
    -0
      debian/netcfg.links
  11. +7
    -59
      debian/rules

base-installer → base-installer.d/40netcfg View File


+ 1
- 0
debian/changelog View File

@@ -13,6 +13,7 @@ netcfg (1.52) UNRELEASED; urgency=low
* On Linux, feed the output of 'ip addr show' into /dev/random after the
network is up to improve entropy. Idea picked up from Theodore Y. Ts'o,
http://lkml.org/lkml/2007/12/8/108.
* Upgrade to debhelper v7.

-- Luca Favatella <slackydeb@gmail.com> Thu, 23 Jul 2009 00:44:44 +0200



+ 1
- 1
debian/compat View File

@@ -1 +1 @@
6
7

+ 1
- 1
debian/control View File

@@ -3,7 +3,7 @@ Section: debian-installer
Priority: optional
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Uploaders: Joey Hess <joeyh@debian.org>, Colin Watson <cjwatson@debian.org>, Christian Perrier <bubulle@debian.org>
Build-Depends: debhelper (>= 6.0.0), dpkg-dev (>= 1.9.0), libdebconfclient0-dev (>= 0.46), libdebian-installer4-dev (>= 0.41), po-debconf (>= 0.5.0), libiw-dev (>= 27+28pre9) [!kfreebsd-i386 !kfreebsd-amd64]
Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.9.0), libdebconfclient0-dev (>= 0.46), libdebian-installer4-dev (>= 0.41), po-debconf (>= 0.5.0), libiw-dev (>= 27+28pre9) [!kfreebsd-i386 !kfreebsd-amd64]
Vcs-Svn: svn://svn.debian.org/d-i/trunk/packages/netcfg

Package: netcfg


+ 3
- 0
debian/netcfg-static.dirs View File

@@ -0,0 +1,3 @@
bin
etc/network
usr/lib/base-installer.d

+ 1
- 0
debian/netcfg-static.install View File

@@ -0,0 +1 @@
base-installer.d usr/lib

+ 1
- 0
debian/netcfg-static.links View File

@@ -0,0 +1 @@
bin/netcfg bin/ptom

+ 6
- 0
debian/netcfg.dirs View File

@@ -0,0 +1,6 @@
bin
etc/dhcp
etc/dhcp3
etc/network
usr/lib/base-installer.d
var/dhcp

+ 3
- 0
debian/netcfg.install View File

@@ -0,0 +1,3 @@
killall.sh bin
netcfg bin
base-installer.d usr/lib

+ 1
- 0
debian/netcfg.links View File

@@ -0,0 +1 @@
bin/netcfg bin/ptom

+ 7
- 59
debian/rules View File

@@ -1,55 +1,13 @@
#!/usr/bin/make -f
#! /usr/bin/make -f
%:
dh $@

PACKAGES = $(shell dh_listpackages -s)
DHCP_PACKAGES = netcfg

build: build-stamp
build-stamp:
dh_testdir

# Add here commands to compile the package.
$(MAKE)

touch build-stamp

clean:
dh_testdir
dh_testroot
rm -f build-stamp

# Add here commands to clean up after the build process.
$(MAKE) clean

dh_clean

install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs -A usr/lib/base-installer.d etc/network bin
# Install files that are the same in all packages
$(foreach PACKAGE, $(PACKAGES), \
install -m 755 $(PACKAGE) debian/$(PACKAGE)/bin/netcfg; \
install -m 755 base-installer debian/$(PACKAGE)/usr/lib/base-installer.d/40netcfg; \
ln -sf netcfg debian/$(PACKAGE)/bin/ptom; )
# Install files that are in all DHCP packages
$(foreach PACKAGE, $(DHCP_PACKAGES), \
mkdir -p debian/$(PACKAGE)/etc/dhcp debian/$(PACKAGE)/etc/dhcp3; \
mkdir -p debian/$(PACKAGE)/var/dhcp ; \
install -m 755 killall.sh debian/$(PACKAGE)/bin/killall.sh)


# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.

# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
override_dh_install:
dh_install
install -m755 netcfg-static debian/netcfg-static/bin/netcfg

override_dh_installdebconf:
dh_installdebconf

(echo ; po2debconf debian/netcfg-common.templates ) \
>> debian/netcfg-static/DEBIAN/templates
(echo ; po2debconf debian/netcfg-common.templates )\
@@ -58,13 +16,3 @@ binary-arch: build install
>> debian/netcfg/DEBIAN/templates
(echo ; po2debconf debian/netcfg-static.templates )\
>> debian/netcfg/DEBIAN/templates
dh_strip -s
dh_compress -s
dh_fixperms -s
dh_installdeb -s
dh_shlibdeps -s
dh_gencontrol -s
dh_builddeb -s

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install

Loading…
Cancel
Save