diff options
| author | Roy Marples <roy@marples.name> | 2019-09-08 21:36:27 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-09-08 21:36:27 +0100 |
| commit | 33100ef750f2b08eda61afb4514785e20a16ff4b (patch) | |
| tree | a6f02c353217c47b42b2c352ff303b334e5b21a0 | |
| parent | 2097f218ee95759ab199af47f94e74eb5b2970cb (diff) | |
| download | openresolv-3.9.2.tar.xz | |
configure: DragonFly has the same flaw as FreeBSDopenresolv-3.9.2
| -rwxr-xr-x | configure | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -91,7 +91,15 @@ dragonfly*) # This means /usr HAS to be mounted not via dhcpcd : ${LIBEXECDIR:=${PREFIX:-/usr}/libexec/resolvconf} ;; -freebsd*) +linux*) + # cksum does't support -a and netpgp is rare + echo "CKSUM= sha256sum --tag" >>$CONFIG_MK + echo "PGP= gpg2" >>$CONFIG_MK + ;; +esac + +case "$OS" in +dragonfly*|freebsd*) # On FreeBSD, /etc/init.d/foo status returns 0 if foo is not enabled # regardless of if it's not running. # So we force onestatus to work around this silly bug. @@ -99,11 +107,6 @@ freebsd*) STATUSARG="onestatus" fi ;; -linux*) - # cksum does't support -a and netpgp is rare - echo "CKSUM= sha256sum --tag" >>$CONFIG_MK - echo "PGP= gpg2" >>$CONFIG_MK - ;; esac |
