Compare commits
10 commits
56543facb3
...
7d7c1f4e36
Author | SHA1 | Date | |
---|---|---|---|
7d7c1f4e36 | |||
04678a93d8 | |||
f3d4d2eff6 | |||
d2bab35f29 | |||
c56f05e627 | |||
63be4f95dd | |||
1b70937fc4 | |||
43a326937b | |||
7aee6785d8 | |||
a55eb5d72d |
7 changed files with 66 additions and 8 deletions
30
debian/changelog
vendored
30
debian/changelog
vendored
|
@ -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
|
||||
|
||||
* Removing old init.d script on upgrade (Closes: #1089979).
|
||||
|
|
4
debian/control
vendored
4
debian/control
vendored
|
@ -7,9 +7,11 @@ Uploaders:
|
|||
Build-Depends:
|
||||
debhelper-compat (= 13),
|
||||
dh-apparmor,
|
||||
Rules-Requires-Root: no
|
||||
Standards-Version: 4.7.0
|
||||
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
|
||||
Section: misc
|
||||
|
|
1
debian/haveged-udeb.dirs
vendored
1
debian/haveged-udeb.dirs
vendored
|
@ -1 +0,0 @@
|
|||
/dev/shm
|
2
debian/haveged.maintscript
vendored
Executable file → Normal file
2
debian/haveged.maintscript
vendored
Executable file → Normal file
|
@ -1 +1 @@
|
|||
rm_conffile /etc/init.d/haveged 1.1.9.19-5~
|
||||
rm_conffile /etc/init.d/haveged 1.9.19-6~
|
||||
|
|
19
debian/patches/debian/0001-shm-directory.patch
vendored
Normal file
19
debian/patches/debian/0001-shm-directory.patch
vendored
Normal 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
1
debian/patches/series
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
debian/0001-shm-directory.patch
|
17
debian/tests/control
vendored
17
debian/tests/control
vendored
|
@ -1,13 +1,20 @@
|
|||
Tests: check-service
|
||||
Tests:
|
||||
check-service,
|
||||
|
||||
Tests: run-tests
|
||||
Restrictions: rw-build-tree, allow-stderr
|
||||
Tests:
|
||||
run-tests,
|
||||
Restrictions:
|
||||
allow-stderr,
|
||||
rw-build-tree,
|
||||
Depends:
|
||||
@,
|
||||
@builddeps@,
|
||||
|
||||
Tests: dieharder
|
||||
Restrictions: skippable, allow-stderr
|
||||
Tests:
|
||||
dieharder,
|
||||
Restrictions:
|
||||
allow-stderr,
|
||||
skippable,
|
||||
Depends:
|
||||
dieharder,
|
||||
grep,
|
||||
|
|
Loading…
Add table
Reference in a new issue