diff options
author | Juergen Daubert <jue@jue.li> | 2019-08-27 13:39:13 +0200 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2019-08-27 13:39:13 +0200 |
commit | 7affbc462dbb4c7f8602a6b420d1d7fe197e00b8 (patch) | |
tree | 3cf0cd12b8026badb22124326e8fab6814ab1d58 | |
parent | 3678874258235f1f195f206d9f54b93a621e0d60 (diff) | |
download | opt-7affbc462dbb4c7f8602a6b420d1d7fe197e00b8.tar.gz opt-7affbc462dbb4c7f8602a6b420d1d7fe197e00b8.tar.xz |
unbound: adjust README and pre-install
-rw-r--r-- | unbound/.signature | 6 | ||||
-rw-r--r-- | unbound/Pkgfile | 3 | ||||
-rw-r--r-- | unbound/README | 4 | ||||
-rw-r--r-- | unbound/pre-install | 4 |
4 files changed, 10 insertions, 7 deletions
diff --git a/unbound/.signature b/unbound/.signature index 93c92d2f0..cb7780b92 100644 --- a/unbound/.signature +++ b/unbound/.signature @@ -1,6 +1,8 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/SvkVyUj1yWAAj3Nsn1tdAodhYZ0NBjsJG7mDz4pALcxzWCgXJ3olJhfNX1sALXVFulf+wStd9wCJ6zVoL5w1ww= -SHA256 (Pkgfile) = 48500b92ccc9aab282dc86647f28045089a496efb4205b57cf09f00687143659 +RWSE3ohX2g5d/XjGPcv1XaHZzo97EStXuhw8+OB/bWwU/Zz8ixpfv5YdETdBGHKsVp3CWMmtHdJtoAOcLymkgQkc1SefjHn6Cg8= +SHA256 (Pkgfile) = 19cd6e4c93762bfaa5839a9598361a93a1c7c07ad612e14243a6a5273bd9f8e9 SHA256 (.footprint) = 55dae6262dda05e002b80b843c0e57553a93a9e770d86630d104c04e3efaced7 SHA256 (unbound-1.9.3.tar.gz) = 1b55dd9170e4bfb327fb644de7bbf7f0541701149dff3adf1b63ffa785f16dfa SHA256 (unbound) = 54c94f1813c00c7faac51bde904b879b73d043e87c49cf8aff63de565368a095 +SHA256 (README) = df6c339bdb1dcb173ec13cfdb37c28ea2d47a2700334aea3c503ef96f955f043 +SHA256 (pre-install) = ec1d006e0ec4dca5b83fb0364ae2a591a9ffad7c41bac0c45f22f32a9d55f2c5 diff --git a/unbound/Pkgfile b/unbound/Pkgfile index f59ecc1d9..d607ff13f 100644 --- a/unbound/Pkgfile +++ b/unbound/Pkgfile @@ -7,7 +7,8 @@ name=unbound version=1.9.3 release=1 source=(https://unbound.net/downloads/$name-$version.tar.gz - unbound) + unbound + README pre-install) build () { cd $name-$version diff --git a/unbound/README b/unbound/README index 12d7d1568..bfa995118 100644 --- a/unbound/README +++ b/unbound/README @@ -7,8 +7,8 @@ PRE/POST-INSTALL 1. Create a user/group unbound with a unused id < 99 or run the provided pre-install script: - 'groupadd -g 41 unbound' - 'useradd -u 41 -g unbound -d /etc/unbound -s /bin/false unbound' + 'groupadd -r unbound' + 'useradd -r -g unbound -d /etc/unbound -s /bin/false unbound' 'passwd -l unbound' PRECAUTION diff --git a/unbound/pre-install b/unbound/pre-install index 7fe762d1f..7446580fa 100644 --- a/unbound/pre-install +++ b/unbound/pre-install @@ -1,6 +1,6 @@ #!/bin/sh -getent group unbound || /usr/sbin/groupadd -g 41 unbound -getent passwd unbound || /usr/sbin/useradd -g unbound -u 41 -d /etc/unbound -s /bin/false unbound +getent group unbound || /usr/sbin/groupadd -r unbound +getent passwd unbound || /usr/sbin/useradd -r -g unbound -d /etc/unbound -s /bin/false unbound /usr/bin/passwd -l unbound |