diff options
| author | Michael Forney <mforney@mforney.org> | 2017-08-11 19:28:51 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2017-08-11 23:11:18 -0700 |
| commit | 982b457b400faded6519b308b87ede9537aacced (patch) | |
| tree | ef54b900cbe8a6901b2519b5372ad6264cc9d97d /pkg/openntpd/gen.rc | |
| parent | 9738b3782d66f3b17d18c2ad28ed84dc4b26aec9 (diff) | |
Add openntpd 6.2p1
Diffstat (limited to 'pkg/openntpd/gen.rc')
| -rw-r--r-- | pkg/openntpd/gen.rc | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkg/openntpd/gen.rc b/pkg/openntpd/gen.rc new file mode 100644 index 00000000..8c4e6f8e --- /dev/null +++ b/pkg/openntpd/gen.rc @@ -0,0 +1,45 @@ +cflags\ + -D _GNU_SOURCE\ + -include '$dir'/config.h\ + -isystem pkg/openbsd/include\ + -isystem '$builddir'/pkg/libressl/include\ + -I include\ + -I '$srcdir'/src\ + -I '$srcdir'/include + +yacc parse '$srcdir'/src/parse.y +exe ntpd -d pkg/libressl/headers\ + src/^(\ + client.c\ + config.c\ + constraint.c\ + control.c\ + fake-sensors.c\ + log.c\ + ntp.c\ + ntp_dns.c\ + ntp_msg.c\ + ntpd.c\ + server.c\ + util.c\ + )\ + compat/^(\ + adjfreq_linux.c\ + closefrom.c\ + freezero.c\ + imsg.c\ + imsg-buffer.c\ + md5.c\ + progname.c\ + setproctitle.c\ + )\ + '$outdir'/parse.tab.c\ + '$builddir'/pkg/^(\ + libressl/^(libcrypto.a.d libtls.a.d)\ + openbsd/libbsd.a.d\ + ) +file bin/ntpd '$outdir'/ntpd 755 +sym bin/ntpctl ntpd +man -d src 5 ntpd.conf.5 8 ntpd.8 ntpctl.8 + +fetch curl |
