diff options
Diffstat (limited to 'network/openntpd/openntpd.SlackBuild')
-rw-r--r-- | network/openntpd/openntpd.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/network/openntpd/openntpd.SlackBuild b/network/openntpd/openntpd.SlackBuild index 773e7be19dbb9..b0ac787752a9d 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 \ |