summaryrefslogtreecommitdiff
path: root/network/openntpd/openntpd.SlackBuild
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2015-03-27 19:28:57 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-03-28 02:22:08 +0700
commit7af86628b9e16a6f1196dddce80015d0e0d5d4e2 (patch)
treedd74b51b70a83a473fecc36db9d839bea650078f /network/openntpd/openntpd.SlackBuild
parent6d787f017611d96f66fbf9d90587898a47b899ea (diff)
downloadslackbuilds-7af86628b9e16a6f1196dddce80015d0e0d5d4e2.tar.gz
network/openntpd: Updated for version 5.7p4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/openntpd/openntpd.SlackBuild')
-rw-r--r--network/openntpd/openntpd.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/network/openntpd/openntpd.SlackBuild b/network/openntpd/openntpd.SlackBuild
index 773e7be19d..b0ac787752 100644
--- a/network/openntpd/openntpd.SlackBuild
+++ b/network/openntpd/openntpd.SlackBuild
@@ -26,7 +26,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openntpd
-VERSION=${VERSION:-5.7p3}
+VERSION=${VERSION:-5.7p4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -90,12 +90,12 @@ for diff in $CWD/patches/*.diff;do
done
# Prepare the source for renamings, later in the build script
-sed -i -r -e 's,^(#define CONFFILE SYSCONFDIR "/)(ntpd)(\.conf")$,\1open\2\3,' ./ntpd.h
-sed -i -r -e 's,^(#define DRIFTFILE LOCALSTATEDIR "/db/)(ntpd)(\.drift")$,\1open\2\3,' ./ntpd.h
-sed -i -r -e 's,^(#define CTLSOCKET LOCALSTATEDIR "/run/)(ntpd)(\.sock")$,\1open\2\3,' ./ntpd.h
+sed -i -r -e 's,^(#define CONFFILE SYSCONFDIR "/)(ntpd)(\.conf")$,\1open\2\3,' ./src/ntpd.h
+sed -i -r -e 's,^(#define DRIFTFILE LOCALSTATEDIR "/db/)(ntpd)(\.drift")$,\1open\2\3,' ./src/ntpd.h
+sed -i -r -e 's,^(#define CTLSOCKET LOCALSTATEDIR "/run/)(ntpd)(\.sock")$,\1open\2\3,' ./src/ntpd.h
sed -i -r -e 's,ntpd,openntpd,;s,NTPD,OPENNTPD,;s,ntpctl,openntpctl,' \
- ./ntpd.8 ./ntpd.conf.5 ./ntpctl.8 ./ntpd.conf
-sed -i -r -e 's,adjfreq,adjtime,' ./ntpd.8
+ ./src/ntpd.8 ./src/ntpd.conf.5 ./src/ntpctl.8 ./ntpd.conf
+sed -i -r -e 's,adjfreq,adjtime,' ./src/ntpd.8
CFLAGS="$SLKCFLAGS" \
./configure \