openntpd: new at 6.8p1

Closes #11.
This commit is contained in:
nitori 2024-01-02 15:38:59 +00:00
parent c8ea288e62
commit bd5572eef5
Signed by: nitori
GPG Key ID: 5FBB7757BFC813A8
6 changed files with 26 additions and 0 deletions

5
extra/openntpd/build Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh -e
./configure --prefix=/usr --sbindir=/usr/bin
make
make DESTDIR="$1" install

1
extra/openntpd/checksums Normal file
View File

@ -0,0 +1 @@
fda20dda184955411dce2edc545a5a616f66c0b35df136ccff541d97a32cc87936

11
extra/openntpd/post-install Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh -e
echo "Creating ntpd user."
if ! grep -Eq ntpd /etc/group; then
addgroup -S ntpd
fi
echo "Creating ntpd group."
if ! grep -Eq ntpd /etc/passwd; then
adduser -S -h /var/empty -G ntpd ntpd
fi

7
extra/openntpd/pre-remove Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
cat <<EOF
A dedicated user and group was created for openntpd when it was installed.
You may be interested in removing them, which you can do so with:
# deluser ntpd
EOF

1
extra/openntpd/sources Normal file
View File

@ -0,0 +1 @@
https://cdn.openbsd.org/pub/OpenBSD/OpenNTPD/openntpd-6.8p1.tar.gz

1
extra/openntpd/version Normal file
View File

@ -0,0 +1 @@
6.8p1 1