Add versioned breaks for packages shipping rcS init scripts

This commit is contained in:
Felipe Sateler 2016-07-03 16:17:44 -04:00 committed by Michael Biebl
parent 89b4cb17a3
commit 8ab092df6f
2 changed files with 58 additions and 2 deletions

3
debian/control vendored
View File

@ -74,7 +74,8 @@ Breaks: lvm2 (<< 2.02.104-1),
systemd-shim (<< 8-2),
ifupdown (<< 0.8.5~),
udev (<< 228-5),
laptop-mode-tools (<< 1.68~)
laptop-mode-tools (<< 1.68~),
${Breaks:rcs-compat}
Replaces: udev (<< 228-5),
Conflicts: klogd
Description: system and service manager

57
debian/rules vendored
View File

@ -14,6 +14,61 @@ else
BREAKS_USB_MODESWITCH = usb-modeswitch (<< 2.3.0+repack0-1~)
endif
# Drop these after stretch
BREAKS_RCS_COMPAT = \
ifupdown (<< 0.8), \
keyboard-configuration (<< 1.141), \
kbd (<< 2.0.3-2), \
nfs-common (<< 1:1.2.8-9.1), \
rpcbind (<< 0.2.3-0.1), \
hdparm (<< 9.48+ds-1), \
screen (<< 4.3.1-2), \
mdadm (<< 3.4-2), \
console-common (<< 0.7.89), \
ebtables (<< 2.0.10.4-3.5), \
ufw (<< 0.34-1), \
virtualbox-guest-x11 (<< 5.0.12-dfsg-2), \
rdnssd (<< 1.0.1-5), \
pidentd (<< 3.0.19.ds1-7.1), \
shorewall (<< 5.0.3.1-1), \
setserial (<< 2.17-49), \
apparmor (<< 2.10.95-1), \
ipsec-tools (<< 1:0.8.2+20140711-6), \
ferm (<< 2.2-3.1), \
mt-st (<< 1.3-1), \
scsitools (<< 0.12-2.3), \
clvm (<< 2.02.156-1), \
zfs-fuse (<< 0.7.0-13.1), \
multipath-tools (<< 0.5.0+git1.656f8865-3), \
shorewall6 (<< 5.0.3.1-1), \
arno-iptables-firewall (<< 2.0.1.f-1), \
ifrename (<< 30~pre9-9), \
live-tools (<< 1:20151214+nmu1), \
selinux-basics (<< 0.5.3), \
adjtimex (<< 1.29-6), \
nbd-client (<< 1:3.14-1), \
ifupdown-extra (<< 0.27), \
eeepc-acpi-scripts (<< 1.1.12+nmu1), \
aoetools (<< 36-1.1), \
ocfs2-tools (<< 1.8.4-2), \
shorewall-init (<< 5.0.3.1-1), \
espeakup (<< 1:0.71-27.1), \
cman (<< 3.1.8-1.3+rm), \
gfs2-utils (<< 3.1.8-1), \
gfs2-cluster (<< 3.1.8-1), \
srptools (<< 1.0.3-1), \
ifscheme (<< 1.7-4), \
gom (<< 0.30.2-7), \
atm-tools (<< 1:2.5.1-1.6), \
switchconf (<< 0.0.15-1), \
shorewall-lite (<< 5.0.3.1-1), \
rgmanager (<< 3.1.8-1.3+rm), \
zvbi (<< 0.2.35-10), \
fiaif (<< 1.23.1-4+rm), \
netenv (<< 0.94.3-30+rm), \
shorewall6-lite (<< 5.0.3.1-1), \
natlog (<< 1.02.00-4),
# fail on missing files and symbols changes on distro builds, but not if we
# build/test upstream master
ifeq ($(TEST_UPSTREAM),)
@ -297,7 +352,7 @@ override_dh_strip:
dh_strip --dbgsym-migration='systemd-dbg (<< 229-6~)'
override_dh_gencontrol:
dh_gencontrol -- -VBreaks:usb-modeswitch="$(BREAKS_USB_MODESWITCH)"
dh_gencontrol -- -VBreaks:usb-modeswitch="$(BREAKS_USB_MODESWITCH)" -VBreaks:rcs-compat="$(BREAKS_RCS_COMPAT)"
override_dh_auto_test:
ifeq (, $(filter nocheck, $(DEB_BUILD_OPTIONS)))