Browse Source

openntpd

pull/76/head
milisarge 1 month ago
parent
commit
2413ffca50
3 changed files with 41 additions and 0 deletions
  1. +8
    -0
      talimatname/2/app-sys/openntpd#6.2-1/koskur.sh
  2. +6
    -0
      talimatname/2/app-sys/openntpd#6.2-1/silkos.sh
  3. +27
    -0
      talimatname/2/app-sys/openntpd#6.2-1/talimat

+ 8
- 0
talimatname/2/app-sys/openntpd#6.2-1/koskur.sh View File

@@ -0,0 +1,8 @@
#!/bin/sh
if [ -z "`getent group ntp`" ]; then
groupadd -fg 87 ntp
fi

if [ -z "`getent passwd ntp`" ]; then
useradd -c "Network Time Protocol" -d /var/lib/ntp -u 87 -g ntp -s /bin/false ntp
fi

+ 6
- 0
talimatname/2/app-sys/openntpd#6.2-1/silkos.sh View File

@@ -0,0 +1,6 @@
if [ ! -z "$(id ntp)" ]; then
userdel ntp
fi
if [ ! -z "$(getent group ntp)" ]; then
groupdel -f ntp
fi

+ 27
- 0
talimatname/2/app-sys/openntpd#6.2-1/talimat View File

@@ -0,0 +1,27 @@
[paket]
tanim = Ağ Zaman Protokolünün ücretsiz, kullanımı kolay uygulaması
paketci = milisarge
grup = sistem
url = http://openntpd.org
arsiv = ${isim}-${surum}p3

[gerek]
derleme = openssl
calisma = ca-certificates

[kaynak]
1 = http://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/${isim}-${surum}p3.tar.gz

[sha256]
1 = 7b02691524197e01ba6b1b4b7595b33956e657ba6d5c4cf2fc20ea3f4914c13a

[derle]
betik = autoreconf -fi
betik = CFLAGS+=' -fcommon'
ekconf = --with-privsep-user=ntp --with-cacert=/etc/ssl/certs.pem
tip = gnu

[pakur]
tip = gnu
betik = install -d ${PKG}/var/lib/ntp
servis = ntpd

Loading…
Cancel
Save