<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lopsub/debian/rules, branch debian</title>
<subtitle>lopsub - the long option parser for subcommands</subtitle>
<id>https://git.tue.mpg.de/cgit/lopsub/atom?h=debian</id>
<link rel='self' href='https://git.tue.mpg.de/cgit/lopsub/atom?h=debian'/>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/lopsub/'/>
<updated>2026-04-29T16:04:58Z</updated>
<entry>
<title>debian: Compress changelogs.</title>
<updated>2026-04-29T16:04:58Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2026-04-29T16:04:58Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/lopsub/commit/?id=06752e8fd1d0c0dea93e1d9675959404758b2fbe'/>
<id>urn:sha1:06752e8fd1d0c0dea93e1d9675959404758b2fbe</id>
<content type='text'>
Run dh_compress to do that. Fixes the following lintian errors:

	E: liblopsub-dev: changelog-file-not-compressed [usr/share/doc/liblopsub-dev/changelog.Debian]
	E: liblopsub1t64: changelog-file-not-compressed [usr/share/doc/liblopsub1t64/changelog.Debian]

Suggested-by: Helmut Grohne &lt;helmut@subdivi.de&gt;
</content>
</entry>
<entry>
<title>debian: Use dh_installchangelogs</title>
<updated>2026-01-31T16:10:31Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2026-01-31T16:10:31Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/lopsub/commit/?id=c0cf8e24b72effbe53c7dd840ead5130b87151d9'/>
<id>urn:sha1:c0cf8e24b72effbe53c7dd840ead5130b87151d9</id>
<content type='text'>
liblopsub1t64 is not binNMU-safe. It installs debian/changelog directly
using install. The file is architecture-specific and installed into a shared
location. The package is Multi-Arch: same. Upon coinstallation, dpkg fails
to unpack.

Use dh_installchangelog as it separates the architecture-dependent part.

Suggested-by: Helmut Grohne &lt;helmut@subdivi.de&gt;
</content>
</entry>
<entry>
<title>debian: Enable `Rules-Requires-Root: no`.</title>
<updated>2024-12-12T20:03:23Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2024-12-09T18:29:01Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/lopsub/commit/?id=8c31cdf4e9866ab39a5a7da637269cbded023af7'/>
<id>urn:sha1:8c31cdf4e9866ab39a5a7da637269cbded023af7</id>
<content type='text'>
During a test rebuild for building packages with `Rules-Requires-Root:
no` as the default in `dpkg`, liblopsub failed to rebuild.

The problem is the rule of the `binary` target in `debian/rules` which
runs `install(1)` with -o root -g root to set the owner and group ID of
the files and directories being installed. With `Rules-Requires-Root:
no`, this fails due to insufficient permissions. This commit removes
the problematic options in favor of running `dh_fixperms(1)` just
before `dh_makeshlibs(1)`.

With these changes in place, the build no longer requires any form of
root during the `binary` target. Consequently, we may enable rootless
builds in `debian/control`.

Reported-by: Niels Thykier &lt;niels@thykier.net&gt;
Suggested-by: Niels Thykier &lt;niels@thykier.net&gt;
Reviewed--by: Niels Thykier &lt;niels@thykier.net&gt;
</content>
</entry>
<entry>
<title>debian: Make liblopsub-dev usable for cross compilation.</title>
<updated>2024-08-28T14:08:49Z</updated>
<author>
<name>Helmut Grohne</name>
<email>helmut@subdivi.de</email>
</author>
<published>2024-08-20T15:11:10Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/lopsub/commit/?id=d48d5327798befb66cee5ab08ab253449e431d5c'/>
<id>urn:sha1:d48d5327798befb66cee5ab08ab253449e431d5c</id>
<content type='text'>
In order to build a package such as tfortune which depends on the
lopsub library, we need the liblopsub shared library for the host
architecture, and we also need to run lopsubgen as a build architecture
executable. These things currently reside in the same binary package,
but for a cross build we need them to be installed for different
architectures.

This patch splits liblopsub-dev. The new liblopsub-bin package only
contains lopsubgen and its man page. Since the -dev package depends
on the -bin package, all existing uses will continue to work as
is. For a cross build, liblopsub-dev will continue to be installed
for the host architecture. liblopsub-bin will be installed for the
build architecture though as it will be marked Multi-Arch: foreign,
indicating that the architecture of the package does not matter for
interactions with it.

V3: Edit debian/changelog since this is no longer an NMU, add signed-off-by
V2: Add missing "Multi-Arch: same" for liblopsub1t64, fix typo

Signed-off-by: Andre Noll &lt;maan@tuebingen.mpg.de&gt;
</content>
</entry>
<entry>
<title>Revert "Remove debian/."</title>
<updated>2024-05-11T19:09:44Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2024-05-11T19:09:44Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/lopsub/commit/?id=7f64bbb7990c60ce38a74a35d3c12d3e45a5ae84'/>
<id>urn:sha1:7f64bbb7990c60ce38a74a35d3c12d3e45a5ae84</id>
<content type='text'>
This reverts commit e6968b67d06f to bring back the contents of the
debian directory. From now on changes in debian/ will only take place
in this branch.
</content>
</entry>
<entry>
<title>Remove debian/.</title>
<updated>2024-05-11T19:08:29Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2024-05-11T19:08:29Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/lopsub/commit/?id=e6968b67d06fbd8b746746960693eb00cc152b6e'/>
<id>urn:sha1:e6968b67d06fbd8b746746960693eb00cc152b6e</id>
<content type='text'>
Debian-related changes no longer happen in master. Instead, a
dedicated branch will be created whose commits may only modify
files below debian/. Whenever a new release is cut from the master
branch, the master branch will be merged into the debian branch and
debian/changelog will be updated accordingly.

Suggested-by: Andreas Metzler &lt;ametzler@bebt.de&gt;
</content>
</entry>
<entry>
<title>debian: use fortified libc.</title>
<updated>2024-05-10T01:20:49Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2024-04-24T02:31:22Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/lopsub/commit/?id=63880370c4ada1a8b824903684a0dd7299a68aeb'/>
<id>urn:sha1:63880370c4ada1a8b824903684a0dd7299a68aeb</id>
<content type='text'>
dpkg-buildflags() emits a number of var=val pairs, which specifically
set LDFLAGS. By turning on hardening, the value includes -z,now to
tell the linker to resolve all symbols at startup time, which is a
prerequisite for a read-only global offset table.

Suggested-by: lintian(1)
</content>
</entry>
<entry>
<title>debian: Create an md5sums control file.</title>
<updated>2024-05-10T01:20:49Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2024-04-24T00:59:46Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/lopsub/commit/?id=b5fe715fa27c082efd26ef681b1935f27441b88c'/>
<id>urn:sha1:b5fe715fa27c082efd26ef681b1935f27441b88c</id>
<content type='text'>
This file contains MD5 checksums of the package contents, and
providing it is recommended.

Suggested-by: lintian(1)
</content>
</entry>
<entry>
<title>debian: Remove an unused variable from rules file.</title>
<updated>2024-05-10T01:20:49Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2024-04-24T00:52:32Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/lopsub/commit/?id=1f68f2a8f29bd03b7e843eeb7875b33ae29774c8'/>
<id>urn:sha1:1f68f2a8f29bd03b7e843eeb7875b33ae29774c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>debian: Activate the dh sequencer.</title>
<updated>2024-05-10T01:20:49Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2024-04-24T00:48:30Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/lopsub/commit/?id=0545b9ddf122029690e2e1314e724e4f7a7bae0e'/>
<id>urn:sha1:0545b9ddf122029690e2e1314e724e4f7a7bae0e</id>
<content type='text'>
Maintainers are strongly encouraged to use it.

Suggested-by: lintian(1)
</content>
</entry>
</feed>
