[tor-commits] [tor-ramdisk/master] build.sh: fix ntpd build.

blueness at torproject.org blueness at torproject.org
Wed May 27 01:32:47 UTC 2015


commit 103289287b936e3358f4ea5fa0fdb767da4d415e
Author: Anthony G. Basile <blueness at gentoo.org>
Date:   Tue May 26 21:33:21 2015 -0400

    build.sh: fix ntpd build.
---
 build.sh |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/build.sh b/build.sh
index c262763..25cf2c7 100755
--- a/build.sh
+++ b/build.sh
@@ -116,13 +116,13 @@ build_tor()
 build_ntpd()
 {
 	cd $WORKING
-	[[ -f $NTPD/ntpd ]] && return 0
+	[[ -f $NTPD/src/ntpd ]] && return 0
 	tar zxvf $WORKING/../sources/$NTPD.tar.gz
 	cd $NTPD
 	sed -i '/NTPD_USER/s:_ntp:ntp:' ntpd.h
 	./configure --with-privsep-user=ntp --prefix=
 	make
-	strip ntpd
+	strip src/ntpd
 }
 
 ################################################################################
@@ -179,7 +179,7 @@ populate_bin()
 	cd $WORKING/initramfs/bin
 	cp $WORKING/$BUSYBOX/busybox .
 	cp $WORKING/$TOR/src/or/tor .
-	cp $WORKING/$NTPD/ntpd .
+	cp $WORKING/$NTPD/src/ntpd .
 	cp $WORKING/$OPENSSH/ssh .
 	cp $WORKING/$OPENSSH/scp .
 	cp $WORKING/$HAVEGED/src/.libs/haveged .



More information about the tor-commits mailing list