1
0
Fork 0

Compare commits

..

No commits in common. "7d7c1f4e36bbf7859af6ae8be401c8662b3ad845" and "56543facb35eb50008f7b3ff9b075f71e12de12b" have entirely different histories.

7 changed files with 8 additions and 66 deletions

30
debian/changelog vendored
View file

@ -1,33 +1,3 @@
haveged (1.9.19-9) unstable; urgency=medium
* Adding vcs fields.
* Wrap and sorting debian files.
-- Daniel Baumann <daniel@debian.org> Wed, 05 Feb 2025 09:24:40 +0100
haveged (1.9.19-8) unstable; urgency=medium
* Adding patch to create /dev/shm in haveged itself if it is not
existing (Closes: #1087324).
* Removing haveged-udeb.postinst again.
-- Daniel Baumann <daniel@debian.org> Tue, 14 Jan 2025 18:47:02 +0100
haveged (1.9.19-7) unstable; urgency=medium
* Using postinst in haveged-udeb to create /dev/shm at runtime (Closes:
#1087324).
-- Daniel Baumann <daniel@debian.org> Tue, 14 Jan 2025 11:39:21 +0100
haveged (1.9.19-6) unstable; urgency=medium
* Simplifying dpkg-maintscript calls by using debhelper maintscript
file.
* Correcting wrong version in maintscript file.
-- Daniel Baumann <daniel@debian.org> Sun, 15 Dec 2024 08:59:02 +0100
haveged (1.9.19-5) unstable; urgency=medium haveged (1.9.19-5) unstable; urgency=medium
* Removing old init.d script on upgrade (Closes: #1089979). * Removing old init.d script on upgrade (Closes: #1089979).

4
debian/control vendored
View file

@ -7,11 +7,9 @@ Uploaders:
Build-Depends: Build-Depends:
debhelper-compat (= 13), debhelper-compat (= 13),
dh-apparmor, dh-apparmor,
Rules-Requires-Root: no
Standards-Version: 4.7.0 Standards-Version: 4.7.0
Homepage: https://issihosts.com/haveged/ Homepage: https://issihosts.com/haveged/
Vcs-Browser: https://forgejo.debian.net/linux/haveged Rules-Requires-Root: no
Vcs-Git: https://forgejo.debian.net/linux/haveged
Package: haveged Package: haveged
Section: misc Section: misc

1
debian/haveged-udeb.dirs vendored Normal file
View file

@ -0,0 +1 @@
/dev/shm

2
debian/haveged.maintscript vendored Normal file → Executable file
View file

@ -1 +1 @@
rm_conffile /etc/init.d/haveged 1.9.19-6~ rm_conffile /etc/init.d/haveged 1.1.9.19-5~

View file

@ -1,19 +0,0 @@
Author: Daniel Baumann <daniel@debian.org>
Description: Creating /dev/shm if its not existing (Closes: #1087324).
diff -Naurp haveged.orig/src/haveged.c haveged/src/haveged.c
--- haveged.orig/src/haveged.c 2025-01-14 18:44:32.651852997 +0100
+++ haveged/src/haveged.c 2025-01-14 19:30:07.495863674 +0100
@@ -490,6 +490,12 @@ int main(int argc, char **argv)
}
}
/* Initilize named semaphore to synchronize command isntances */
+ if (mkdir("/dev/shm", 0755) != 0) {
+ if (errno != EEXIST) {
+ error_exit("Couldn't create /dev/shm directory: %s", strerror(errno));
+ }
+ }
+
sem = sem_open(SEM_NAME, O_CREAT, 0644, 1);
if (sem == NULL) {
error_exit("Couldn't create nammed semaphore " SEM_NAME" error: %s", strerror(errno));

View file

@ -1 +0,0 @@
debian/0001-shm-directory.patch

17
debian/tests/control vendored
View file

@ -1,20 +1,13 @@
Tests: Tests: check-service
check-service,
Tests: Tests: run-tests
run-tests, Restrictions: rw-build-tree, allow-stderr
Restrictions:
allow-stderr,
rw-build-tree,
Depends: Depends:
@, @,
@builddeps@, @builddeps@,
Tests: Tests: dieharder
dieharder, Restrictions: skippable, allow-stderr
Restrictions:
allow-stderr,
skippable,
Depends: Depends:
dieharder, dieharder,
grep, grep,