1
0
Fork 0

Compare commits

...

10 commits

Author SHA1 Message Date
7d7c1f4e36
Releasing debian version 1.9.19-9.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 13:18:03 +01:00
04678a93d8
Wrap and sorting debian files.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 13:18:03 +01:00
f3d4d2eff6
Adding vcs fields.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 13:18:02 +01:00
d2bab35f29
Releasing debian version 1.9.19-8.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 13:17:45 +01:00
c56f05e627
Removing haveged-udeb.postinst again.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 13:17:45 +01:00
63be4f95dd
Adding patch to create /dev/shm in haveged itself if it is not existing (Closes: #1087324).
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 13:17:44 +01:00
1b70937fc4
Releasing debian version 1.9.19-7.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 13:17:27 +01:00
43a326937b
Using postinst in haveged-udeb to create /dev/shm at runtime (Closes: #1087324).
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 13:17:27 +01:00
7aee6785d8
Releasing debian version 1.9.19-6.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 13:17:10 +01:00
a55eb5d72d
Correcting wrong version in maintscript file.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 13:17:09 +01:00
7 changed files with 66 additions and 8 deletions

30
debian/changelog vendored
View file

@ -1,3 +1,33 @@
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,9 +7,11 @@ 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/
Rules-Requires-Root: no Vcs-Browser: https://forgejo.debian.net/linux/haveged
Vcs-Git: https://forgejo.debian.net/linux/haveged
Package: haveged Package: haveged
Section: misc Section: misc

View file

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

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

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

View file

@ -0,0 +1,19 @@
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));

1
debian/patches/series vendored Normal file
View file

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

17
debian/tests/control vendored
View file

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