source: freewrt/package/openntpd/Makefile@ e607b9b

Last change on this file since e607b9b was 8dd67e2, checked in by Thorsten Glaser <tg@…>, 19 years ago

move arc4random(3) and, while here, libnotimpl into uClibc
this should make a few executables even smaller, most notably
mksh, rdate, openntpd, everything with OGG Vorbis

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2823 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.2 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include ${TOPDIR}/rules.mk
8
9PKG_NAME:= openntpd
10PKG_VERSION:= 3.9p1
11PKG_RELEASE:= 11
12PKG_MD5SUM:= afc34175f38d08867c1403d9008600b3
13
14MASTER_SITES:= ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/ \
15 ftp://ftp.de.openbsd.org/pub/unix/OpenBSD/OpenNTPD/ \
16 ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenNTPD/ \
17 ftp://ftp.sunet.se/pub/OpenBSD/OpenNTPD/
18
19include ${TOPDIR}/mk/package.mk
20
21$(eval $(call PKG_template,OPENNTPD,openntpd,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
22
23CONFIGURE_STYLE:= gnu
24CONFIGURE_ARGS+= --with-privsep-user=ntp \
25 --with-adjtimex
26BUILD_STYLE:= auto
27
28do-install:
29 ${INSTALL_DIR} ${IDIR_OPENNTPD}/etc
30 ${INSTALL_DATA} ./files/ntpd.conf ${IDIR_OPENNTPD}/etc/
31 ${INSTALL_DIR} ${IDIR_OPENNTPD}/etc/init.d
32 ${INSTALL_DATA} ./files/ntpd.init ${IDIR_OPENNTPD}/etc/init.d/ntpd
33 ${INSTALL_DIR} ${IDIR_OPENNTPD}/usr/sbin/
34 ${INSTALL_BIN} ${WRKBUILD}/ntpd ${IDIR_OPENNTPD}/usr/sbin/
35 ${INSTALL_DIR} ${IDIR_OPENNTPD}/etc/ppp/ip-up.d
36 ${INSTALL_BIN} ./files/ntpd.ip-up ${IDIR_OPENNTPD}/etc/ppp/ip-up.d/ntpd
37
38include ${TOPDIR}/mk/pkg-bottom.mk
Note: See TracBrowser for help on using the repository browser.