Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: sysvinit

sysvinit (2.96-3ubuntu1) groovy; urgency=low * Merge from Debian unstable. Remaining changes: - When building for Ubuntu, skip all binaries except for sysvinit-utils. - Make mountpoint.c compile with new glibc. -- Steve Langasek <steve.langasek@ubuntu.com> Fri, 01 May 2020 07:41:28 -0700

Modifications :
  1. Download patch debian/rules

    --- 2.96-3/debian/rules 2020-03-19 22:37:42.000000000 +0000 +++ 2.96-3ubuntu1/debian/rules 2020-05-01 14:41:28.000000000 +0000 @@ -13,6 +13,12 @@ doc = /usr/share/doc LC_ALL = POSIX +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_HOST_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM) +DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) +DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + INSTALL_DATA = install -o root -g root -m 644 INSTALL = install -o root -g root -m 755 @@ -25,6 +31,10 @@ endif DH_OPTIONS = +ifeq ($(shell dpkg-vendor --query vendor),Ubuntu) + DH_OPTIONS = -Nsysvinit-core -Nsysv-rc -Ninitscripts -Nbootlogd +endif + # Use debhelper's dh %: dh $@ $(DH_OPTIONS) @@ -41,6 +51,7 @@ override_dh_auto_install-indep: override_dh_install-arch: dh_install +ifneq (,$(findstring sysvinit-core, $(shell dh_listpackages))) # sysvinit package if test -e debian/share/inittab.$(DEB_HOST_GNU_TYPE) ; \ then \ @@ -56,6 +67,7 @@ override_dh_install-arch: $(INSTALL_DATA) debian/share/inittab \ $(sysvtmp)/usr/share/sysvinit/inittab ; \ fi +endif # initscripts package may include /sys ifneq (,$(findstring $(DEB_HOST_ARCH_OS),linux kfreebsd)) @@ -68,6 +80,7 @@ install-arch: build-arch override_dh_installchangelogs-arch: dh_installchangelogs -psysvinit-core doc/Changelog +ifneq ($(shell dpkg-vendor --query vendor),Ubuntu) dh_installchangelogs -psysvinit-utils sed -i -ne '/sysvinit (2.93-8)/q' -e p \ $(utiltmp)$(doc)/sysvinit-utils/changelog.Debian @@ -75,15 +88,18 @@ override_dh_installchangelogs-arch: dh_installchangelogs -pbootlogd sed -i -ne '/sysvinit (2.93-8)/q' -e p \ $(bootlogdtmp)$(doc)/bootlogd/changelog.Debian +endif override_dh_installchangelogs-indep: dh_installchangelogs +ifneq ($(shell dpkg-vendor --query vendor),Ubuntu) sed -i -ne '/sysvinit (2.93-8)/q' -e p \ $(rctmp)$(doc)/sysv-rc/changelog.Debian dh_installchangelogs -pinitscripts sed -i -ne '/sysvinit (2.93-8)/q' -e p \ $(inittmp)$(doc)/initscripts/changelog.Debian +endif override_dh_installdeb: dh_installdeb
  2. Download patch debian/control

    --- 2.96-3/debian/control 2020-03-19 22:37:42.000000000 +0000 +++ 2.96-3ubuntu1/debian/control 2020-03-20 03:48:10.000000000 +0000 @@ -1,7 +1,8 @@ Source: sysvinit Section: admin Priority: optional -Maintainer: Debian sysvinit maintainers <debian-init-diversity@chiark.greenend.org.uk> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian sysvinit maintainers <debian-init-diversity@chiark.greenend.org.uk> Uploaders: Ian Jackson <ijackson@chiark.greenend.org.uk>, Benda Xu <heroxbd@gentoo.org>,
  3. Download patch debian/patches/series

    --- 2.96-3/debian/patches/series 2020-03-19 22:23:11.000000000 +0000 +++ 2.96-3ubuntu1/debian/patches/series 2020-03-20 03:48:11.000000000 +0000 @@ -1,4 +1,5 @@ 11_run_nologin.patch +fix-glibc.patch 0002-Fix-FTBFS-on-kfreebsd-any.patch 0003-Fix-formatting-of-bootlogd-8.patch 0004-fix-manpage-typo.patch
  4. Download patch debian/patches/fix-glibc.patch

    --- 2.96-3/debian/patches/fix-glibc.patch 1970-01-01 00:00:00.000000000 +0000 +++ 2.96-3ubuntu1/debian/patches/fix-glibc.patch 2018-10-04 15:32:29.000000000 +0000 @@ -0,0 +1,13 @@ +Description: Make mountpoint.c compile with new glibc. +Author: Dimitri John Ledkov <xnox@ubuntu.com> + +--- sysvinit-2.88dsf.orig/src/mountpoint.c ++++ sysvinit-2.88dsf/src/mountpoint.c +@@ -23,6 +23,7 @@ + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + ++#include <sys/sysmacros.h> + #include <sys/stat.h> + #include <unistd.h> + #include <stdlib.h>
  1. sysvinit