# apt-get source ntp
Reading package lists... Done
Building dependency tree
Reading state information... Done
NOTICE: 'ntp' packaging is maintained in the 'Svn' version control system at:
Need to get 4,218 kB of source archives.
Get:1 http://mirrors.kernel.org/ debian/ wheezy/main ntp 1:4.2.6.p5+dfsg-2 (dsc) [1,566 B]
Get:2 http://mirrors.kernel.org/ debian/ wheezy/main ntp 1:4.2.6.p5+dfsg-2 (tar) [4,112 kB]
Get:3 http://mirrors.kernel.org/ debian/ wheezy/main ntp 1:4.2.6.p5+dfsg-2 (diff) [104 kB]
Fetched 4,218 kB in 15s (276 kB/s)
gpgv: keyblock resource `/root/.gnupg/trustedkeys.gpg' : file open error
gpgv: Signature made Sat 12 May 2012 04:07:36 PM WIB using DSA key ID 554FB4C6
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./ntp_4.2.6.p5+dfsg-2.dsc
dpkg-source: info: extracting ntp in ntp-4.2.6.p5+dfsg
dpkg-source: info: unpacking ntp_4.2.6.p5+dfsg.orig.tar.gz
dpkg-source: info: unpacking ntp_4.2.6.p5+dfsg-2.debian. tar.gz
dpkg-source: info: applying dfsg.patch
dpkg-source: info: applying includes.patch
dpkg-source: info: applying ntpdate-ipv6.patch
dpkg-source: info: applying ntpd-linux-caps-runtime.patch
dpkg-source: info: applying ntpd-linux-caps-inheritable. patch
dpkg-source: info: applying ntpd-ni-maxhost.patch
dpkg-source: info: applying openssl-disable-check.patch
dpkg-source: info: applying libedit.patch
dpkg-source: info: applying autotools.patch
dpkg-source: info: applying format-security.patch
dpkg-source: info: applying sntp-manpage.patch
# ls
ntp-4.2.6.p5+dfsg ntp_4.2.6.p5+dfsg-2.debian. tar.gz ntp_4.2.6.p5+dfsg-2.dsc ntp_4.2.6.p5+dfsg.orig.tar.gz
# cat ntp-4.2.6.p5+dfsg/debian/rules
jika udah dapat option config nya silahkan sesuaikan dengan yang akan di install nanti.
#tar xvf ntp-dev-4.2.7p417.tar.gz
#cd ntp-dev-4.2.7p417/
#./configure CFLAGS='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fno-strict-aliasing' CPPFLAGS='-D_FORTIFY_SOURCE=2 -D_GNU_SOURCE' LDFLAGS='-Wl,-z,relro -Wl,--as-needed' --prefix=/usr/local/ntp --enable-all-clocks --enable-parse-clocks --enable-SHM --disable-debugging --with-sntp=no --with-lineeditlibs=edit --without-ntpsnmpd --disable-local-libopts --enable-ntp-signd --disable-dependency-tracking --with-openssl-libdir=/usr/ lib/x86_64-linux-gnu/ --enable-clockctl
#make
#make install
pico /etc/init.d/ntp
[...]
DAEMON=/usr/local/ntp/sbin/ ntpd
[...]
Tidak ada komentar:
Posting Komentar