1
0
Fork 0
util-linux/debian
Daniel Baumann f461ea9341
Releasing progress-linux version 2.41-5progress8u1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 09:00:33 +02:00
..
logcheck/ignore.d.server Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
pam-configs Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
patches Updating login prompt. 2025-06-22 09:00:20 +02:00
po Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
source Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
tests Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
upstream Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
bsdextrautils.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
bsdextrautils.links Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
bsdutils.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
bsdutils.lintian-overrides Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
changelog Releasing progress-linux version 2.41-5progress8u1. 2025-06-22 09:00:33 +02:00
clean Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
control Updating vcs fields. 2025-06-21 11:26:37 +02:00
copyright Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
debputy.manifest Removing setuid bit from /bin/su. 2025-06-22 09:00:19 +02:00
eject-udeb.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
eject-udeb.postinst Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
eject-udeb.templates Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
eject.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
fdisk-udeb.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
fdisk-udeb.lintian-overrides Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
fdisk.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
gbp.conf Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
lastlog2.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libblkid-dev.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libblkid1-udeb.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libblkid1-udeb.lintian-overrides Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libblkid1.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libblkid1.lintian-overrides Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libblkid1.shlibs Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libblkid1.symbols Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libfdisk-dev.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libfdisk1-udeb.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libfdisk1-udeb.lintian-overrides Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libfdisk1.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libfdisk1.lintian-overrides Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libfdisk1.shlibs Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libfdisk1.symbols Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
liblastlog2-2.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
liblastlog2-dev.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libmount-dev.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libmount1-udeb.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libmount1-udeb.lintian-overrides Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libmount1.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libmount1.lintian-overrides Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libmount1.shlibs Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libmount1.symbols Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libpam-lastlog2.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libpam-lastlog2.postinst Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libpam-lastlog2.prerm Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libsmartcols-dev.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libsmartcols1-udeb.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libsmartcols1-udeb.lintian-overrides Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libsmartcols1.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libsmartcols1.lintian-overrides Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libsmartcols1.shlibs Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libsmartcols1.symbols Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libuuid1-udeb.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libuuid1.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libuuid1.shlibs Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
libuuid1.symbols Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
login.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
login.links Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
login.lintian-overrides Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
login.maintscript Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
login.pam Disabling motd for login. 2025-06-22 09:00:27 +02:00
mount.docs Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
mount.examples Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
mount.fstab Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
mount.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
mount.lintian-overrides Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
NEWS Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
not-installed Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
README.build-profiles Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
README.source Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
rfkill.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
rules Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
salsa-ci.yml Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
shlibs.local Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux-extra.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux-extra.postrm Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux-extra.preinst Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux-locales.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux-udeb.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux.docs Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux.examples Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux.links Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux.lintian-overrides Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux.mime Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux.postinst.linux Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux.postrm Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux.prerm Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux.README.Debian Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux.runuser-l.pam Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux.runuser.pam Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux.su-l.pam Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
util-linux.su.pam Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
uuid-dev.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
uuid-runtime.install Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
uuid-runtime.postinst Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
uuid-runtime.postrm Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00
watch Adding debian version 2.41-5. 2025-06-21 11:26:36 +02:00

Building from source
--------------------
Install “git-buildpackage” and “devscripts” then run the following:

  debcheckout --git-track '*' util-linux
  cd util-linux
  git branch -l | grep debian
  git checkout master
  gbp buildpackage

We recommend you use sbuild to make sure you build in a clean environment:

  gbp buildpackage --git-builder=sbuild -s --no-clean-source

Patch handling
--------------
The official form of modifications to the upstream source are quilt patches in
debian/patches/, like most Debian packages do. You are welcome to use quilt to
add or modify patches, but you might prefer using a git commit based approach.
gbp pq provides that by synthesizing a "patch-queue/<branch>" local branch
which represents each quilt patch as git commit. You create this with

  gbp pq import --force

Then you are in the patch-queue branch and can git log, commit, cherry-pick
upstream commits, rebase, etc. there. After you are done, run

  gbp pq export

which will put you back into the debian branch and update debian/patches/
(including series). You need to git add etc. new patches, add a changelog
and other packaging changes, and then debcommit as usual.

Rebasing patches to a new upstream version
------------------------------------------
gbp pq's "rebase" command does not work very conveniently as it fails on merge
conflicts. First, ensure you are in the debian branch:

  git checkout master  # in case you aren't already on it

Fetch new git history from upstream:

  git remote add kzak git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git
  git fetch kzak [upstream-version-tag]

Now, to import a new upstream release into the existing branch,
ie. when updating from v2.24 to v2.24.2,
do:

  gbp pq import --force
  gbp pq switch   # switch back to debian branch from patch-queue branch
  gbp import-orig --upstream-vcs-tag=v2.24.2 ../tarballs/util-linux-2.24.2.tar.xz
  gbp pq switch   # switch to patch-queue branch
  git rebase master

  gbp pq export

Note that our debian/gbp.conf disables patch numbers.

Also, don't forget to commit your newly generated patches!

  git add debian/patches
  git commit -v

Cherry-picking upstream patches
-------------------------------
You can add the util-linux upstream branch as an additional remote to the Debian
packaging branch. Call it "kzak" or similar to avoid confusing it
with the already existing "upstream" branch from gbp buildpackage:

  git remote add kzak git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git
  git fetch kzak -n

Now you can look at the upstream log and cherry-pick patches into the
patch-queue branch:

  gbp pq import --force
  git log kzak/master
  git cherry-pick 123DEADBEEF

Finally, export and commit your newly generated debian/patches changes:
  gbp pq export
  git add debian/patches
  git commit -v

Modifying packaging files
-------------------------------

When making changes to debian/ general "git-buildpackage conventions" apply.
Follow usual git conventions for commit message but also see "man gbp-dch"
META TAGS section.
Finally once you're done update debian/changelog using "gbp dch --auto"
and commit it.