[Pkg-sysvinit-commits] r1732 - in sysvinit/trunk/debian: . src
Petter Reinholdtsen
pere at alioth.debian.org
Sun Sep 6 20:42:39 UTC 2009
Author: pere
Date: 2009-09-06 20:42:39 +0000 (Sun, 06 Sep 2009)
New Revision: 1732
Added:
sysvinit/trunk/debian/src/
sysvinit/trunk/debian/src/initscripts/
sysvinit/trunk/debian/src/sysv-rc/
Removed:
sysvinit/trunk/debian/initscripts/
sysvinit/trunk/debian/sysv-rc/
Modified:
sysvinit/trunk/debian/changelog
sysvinit/trunk/debian/rules
Log:
Restructure source package to make it possible to use debhelper in
the common way to build the source, by moving debian/initscripts/
and debian/sysv-rc/ into debian/src/.
Modified: sysvinit/trunk/debian/changelog
===================================================================
--- sysvinit/trunk/debian/changelog 2009-09-06 18:26:57 UTC (rev 1731)
+++ sysvinit/trunk/debian/changelog 2009-09-06 20:42:39 UTC (rev 1732)
@@ -8,6 +8,9 @@
do not ignore errors (Closes: #406361).
* Make sysvinit depend on sysvinit-utils (>= 2.86.ds1-66) to avoid
that bootlogd disappear during partial upgrades (Closes: #545368).
+ * Restructure source package to make it possible to use debhelper in
+ the common way to build the source, by moving debian/initscripts/
+ and debian/sysv-rc/ into debian/src/.
-- Petter Reinholdtsen <pere at debian.org> Sun, 06 Sep 2009 17:13:33 +0200
Modified: sysvinit/trunk/debian/rules
===================================================================
--- sysvinit/trunk/debian/rules 2009-09-06 18:26:57 UTC (rev 1731)
+++ sysvinit/trunk/debian/rules 2009-09-06 20:42:39 UTC (rev 1732)
@@ -222,14 +222,14 @@
install -d -o root -g root -m 755 $(tmp)/var/lib/initscripts
install -d -o root -g root -m 755 $(tmp)/var/log/fsck
install -d -o root -g root -m 755 $(tmp)$(doc)/initscripts
- install -o root -g root -m 644 debian/initscripts/doc/* $(tmp)$(doc)/initscripts
+ install -o root -g root -m 644 debian/src/initscripts/doc/* $(tmp)$(doc)/initscripts
sed -ne '/sysvinit (2.84-3)/q' -e p < debian/changelog \
> $(tmp)$(doc)/initscripts/changelog.Debian
chmod 644 $(tmp)$(doc)/initscripts/changelog.Debian
gzip -9f $(tmp)$(doc)/initscripts/*
- cp -afv debian/initscripts/share/* $(tmp)/usr/share/initscripts
- cp -afv debian/initscripts/etc/* $(tmp)/etc
- cp -afv debian/initscripts/lib/* $(tmp)/lib
+ cp -afv debian/src/initscripts/share/* $(tmp)/usr/share/initscripts
+ cp -afv debian/src/initscripts/etc/* $(tmp)/etc
+ cp -afv debian/src/initscripts/lib/* $(tmp)/lib
chmod 755 $(tmp)/etc/init.d/[a-z]*
chmod 755 $(tmp)/etc/network/if-up.d/[a-z]*
chmod 644 $(tmp)/lib/init/*.sh
@@ -242,13 +242,13 @@
install -d -o root -g root -m 755 $(tmp)/usr/share/man/man5
install -d -o root -g root -m 755 $(tmp)/usr/share/man/man8
install -d -o root -g root -m 755 $(tmp)/var/lib/urandom
- install -o root -g root -m 755 debian/initscripts/sbin/fsck.nfs \
+ install -o root -g root -m 755 debian/src/initscripts/sbin/fsck.nfs \
$(tmp)/sbin/fsck.nfs
- install -o root -g root -m 644 debian/initscripts/man/fsck.nfs.8 \
+ install -o root -g root -m 644 debian/src/initscripts/man/fsck.nfs.8 \
$(tmp)/usr/share/man/man8/fsck.nfs.8
- install -o root -g root -m 644 debian/initscripts/man/halt.5 \
+ install -o root -g root -m 644 debian/src/initscripts/man/halt.5 \
$(tmp)/usr/share/man/man5/halt.5
- install -o root -g root -m 644 debian/initscripts/rcS.5 \
+ install -o root -g root -m 644 debian/src/initscripts/rcS.5 \
$(tmp)/usr/share/man/man5
install -o root -g root -m 755 src/mountpoint $(tmp)/bin
strip -s -R .comment $(tmp)/bin/mountpoint
@@ -288,15 +288,15 @@
install -d -o root -g root -m 755 $(tmp)/usr/share/sysv-rc
install -d -o root -g root -m 755 $(tmp)/var/lib/insserv
install -d -o root -g root -m 755 $(tmp)/var/lib/update-rc.d
- install -o root -g root -m 644 debian/sysv-rc/doc/* $(tmp)$(doc)/sysv-rc
+ install -o root -g root -m 644 debian/src/sysv-rc/doc/* $(tmp)$(doc)/sysv-rc
sed -ne '/sysvinit (2.84-3)/q' -e p < debian/changelog \
> $(tmp)$(doc)/sysv-rc/changelog.Debian
chmod 644 $(tmp)$(doc)/sysv-rc/changelog.Debian
gzip -9f $(tmp)$(doc)/sysv-rc/*
- cp -af debian/sysv-rc/etc/* $(tmp)/etc
+ cp -af debian/src/sysv-rc/etc/* $(tmp)/etc
for N in 2 3 4 5 ; do \
install -d -o root -g root -m 755 $(tmp)/etc/rc$${N}.d ; \
- install -o root -g root -m 644 debian/sysv-rc/rc2-5.d-README \
+ install -o root -g root -m 644 debian/src/sysv-rc/rc2-5.d-README \
$(tmp)/etc/rc$${N}.d/README ; \
done
chmod 755 $(tmp)/etc/init.d/[a-z]*
@@ -308,16 +308,16 @@
# install -d -o root -g root -m 755 $(tmp)/usr/share/man/ja/man8
# install -d -o root -g root -m 755 $(tmp)/usr/share/man/fr.UTF-8/man8
# install -d -o root -g root -m 755 $(tmp)/usr/share/man/es/man8
- install -o root -g root -m 644 debian/sysv-rc/man8/*.8 \
+ install -o root -g root -m 644 debian/src/sysv-rc/man8/*.8 \
$(tmp)/usr/share/man/man8
-# install -o root -g root -m 644 debian/sysv-rc/man8/ja/*.8 \
+# install -o root -g root -m 644 debian/src/sysv-rc/man8/ja/*.8 \
# $(tmp)/usr/share/man/ja/man8
-# install -o root -g root -m 644 debian/sysv-rc/man8/fr.UTF-8/*.8 \
+# install -o root -g root -m 644 debian/src/sysv-rc/man8/fr.UTF-8/*.8 \
# $(tmp)/usr/share/man/fr.UTF-8/man8
-# install -o root -g root -m 644 debian/sysv-rc/man8/es/*.8 \
+# install -o root -g root -m 644 debian/src/sysv-rc/man8/es/*.8 \
# $(tmp)/usr/share/man/es/man8
- install -o root -g root -m 755 debian/sysv-rc/sbin/invoke-rc.d $(tmp)/usr/sbin
- install -o root -g root -m 755 debian/sysv-rc/sbin/update-rc.d $(tmp)/usr/sbin
+ install -o root -g root -m 755 debian/src/sysv-rc/sbin/invoke-rc.d $(tmp)/usr/sbin
+ install -o root -g root -m 755 debian/src/sysv-rc/sbin/update-rc.d $(tmp)/usr/sbin
gzip -9f $(tmp)/usr/share/man/man*/*.[0-9]
# gzip -9f $(tmp)/usr/share/man/??/man*/*.[0-9]
# gzip -9f $(tmp)/usr/share/man/??.*/man*/*.[0-9]
@@ -331,7 +331,7 @@
for f in preinst postinst prerm postrm ; do \
install -o root -g root -m 755 debian/sysv-rc.$$f $(tmp)/DEBIAN/$$f ; \
done
- install -o root -g root -m 755 debian/sysv-rc/saveconfig \
+ install -o root -g root -m 755 debian/src/sysv-rc/saveconfig \
$(tmp)/usr/share/sysv-rc/saveconfig
dpkg-gencontrol -psysv-rc -P$(tmp) -isp
dh_md5sums -Ninitscripts -Nsysv-rc
More information about the Pkg-sysvinit-commits
mailing list