Ticket #43006: patch-bind9-Portfile.diff

File patch-bind9-Portfile.diff, 1.3 KB (added by jul_bsd@…, 11 years ago)
  • net/bind9/Portfile

    old new  
    44
    55name                    bind9
    66version                 9.9.5
     7revision                1
    78categories              net
    89maintainers             geeklair.net:dluke
    910platforms               darwin freebsd sunos
     
    4445test.run                yes
    4546test.target             test
    4647
     48## FIXME! add dedicated user/group!
    4749startupitem.create      yes
    4850startupitem.netchange   yes
    49 startupitem.executable  ${prefix}/sbin/named -f
     51startupitem.executable  ${prefix}/sbin/named -f -u named
     52
     53post-configure {
     54        addgroup named
     55        adduser named gid=[existsgroup named] home=${prefix}/var/named shell=/sbin/nologin
     56}
     57
    5058
    5159configure.env           STD_CDEFINES=-DDIG_SIGCHASE=1
    5260
     
    97105* sudo cp ${prefix}/var/named/db.127.0.0.dist ${prefix}/var/named/db.127.0.0
    98106* sudo cp ${prefix}/var/named/db.cache.dist ${prefix}/var/named/db.cache
    99107* sudo cp ${prefix}/var/named/db.localhost.dist ${prefix}/var/named/db.localhost
     108  Generate key
     109        $ sudo rndc-confgen -a
     110* Remember to secure your configuration.
     111http://www.cymru.com/Documents/secure-bind-template.html
    100112******************************************************"
     113
     114livecheck.type     regex
     115livecheck.url       ${homepage}/downloads/
     116livecheck.regex     "target=\"_blank\">BIND (\\d+\.\\d+\.\\d+) - tar.gz</a>"
     117