source: trunk/dports/net/openntpd/Portfile @ 110002

Last change on this file since 110002 was 110002, checked in by jmr@…, 4 years ago

openntpd: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 110002 2013-08-24 01:56:33Z jmr@macports.org $
2
3PortSystem 1.0
4
5name                    openntpd
6version                 3.9p1
7categories              net
8license                 ISC BSD
9platforms               darwin
10maintainers             nomaintainer
11description             free, easy to use implementation of the Network Time Protocol
12long_description        OpenNTPD is a free, easy to use implementation of the \
13                                Network Time Protocol. It provides the ability to sync the \
14                                local clock to remote NTP servers and can act as NTP server \
15                                itself, redistributing the local clock.
16
17homepage                http://www.openntpd.org/
18master_sites    openbsd:OpenNTPD
19checksums               sha1 098a435d02886a9e4d34afb15b15fde795eda1e9
20
21configure.args  --mandir=${prefix}/share/man
22
23pre-destroot {
24        addgroup _ntp gid=[nextgid] users="_ntp"
25        set gid [existsgroup _ntp]
26        adduser _ntp gid=${gid} password={\*} uid=[nextuid] \
27                home=${prefix}/var/db/ntpd shell=/usr/bin/false \
28                realname=OpenNTPD\ Server
29}
30
31post-destroot   {
32        file rename ${destroot}${prefix}/etc/ntpd.conf \
33                ${destroot}${prefix}/etc/ntpd.conf.sample
34        xinstall -m 755 -d ${destroot}${prefix}/var/db/ntpd
35}
36destroot.keepdirs       ${destroot}${prefix}/var/db/ntpd
Note: See TracBrowser for help on using the repository browser.