Changeset 78b797d for networking
- Timestamp:
- 12/23/2014 03:37:25 AM (9 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 39159bf
- Parents:
- 577eb27
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
networking/netprogs/ntp.xml
r577eb27 r78b797d 7 7 <!ENTITY ntp-download-http "http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-&ntp-version;.tar.gz"> 8 8 <!ENTITY ntp-download-ftp "&gentoo-ftp-repo;/ntp-&ntp-version;.tar.gz"> 9 <!ENTITY ntp-md5sum " 00df80a84ec9528fcfb09498075525bc">10 <!ENTITY ntp-size " 4.1MB">11 <!ENTITY ntp-buildsize " 48MB">12 <!ENTITY ntp-time "0. 5SBU">9 <!ENTITY ntp-md5sum "6972a626be6150db8cfbd0b63d8719e7"> 10 <!ENTITY ntp-size "6.5 MB"> 11 <!ENTITY ntp-buildsize "59 MB"> 12 <!ENTITY ntp-time "0.7 SBU"> 13 13 ]> 14 14 … … 91 91 92 92 <screen><userinput>./configure --prefix=/usr \ 93 --bindir=/usr/sbin \ 93 94 --sysconfdir=/etc \ 94 95 --enable-linuxcaps \ 95 --with- binsubdir=sbin\96 -- with-lineeditlibs=readline&&96 --with-lineeditlibs=readline \ 97 --docdir=/usr/share/doc/ntp-&ntp-version; && 97 98 make</userinput></screen> 98 99 … … 102 103 103 104 <screen role="root"><userinput>make install && 104 install -v -o ntp -g ntp -d /var/lib/ntp && 105 install -v -m755 -d /usr/share/doc/ntp-&ntp-version; && 106 cp -v -R html/* /usr/share/doc/ntp-&ntp-version;/</userinput></screen> 105 install -v -o ntp -g ntp -d /var/lib/ntp</userinput></screen> 107 106 108 107 </sect2> … … 111 110 <title>Command Explanations</title> 112 111 113 <para><parameter>-- with-binsubdir=sbin</parameter>: This parameter places112 <para><parameter>--bindir=/usr/sbin</parameter>: This parameter places 114 113 the administrative programs in <filename 115 114 class="directory">/usr/sbin</filename>.</para> … … 171 170 EOF</userinput></screen> 172 171 172 <para>For security reasons, you may wish to add some more lines, 173 accordingto e.g. <quote>Access Control Commands and Options</quote>, at 174 <ulink 175 url="http://www.eecis.udel.edu/~mills/ntp/html/accopt.html#restrict"/>.</para> 176 177 <screen role="root"><userinput>cat >> /etc/ntp.conf << "EOF" 178 <literal># Security session 179 restrict default limited kod nomodify notrap nopeer noquery 180 restrict -6 default limited kod nomodify notrap nopeer noquery 181 182 restrict 127.0.0.1 183 restrict ::1</literal> 184 EOF</userinput></screen> 185 173 186 </sect3> 174 187 … … 216 229 <segtitle>Installed Programs</segtitle> 217 230 <segtitle>Installed Libraries</segtitle> 218 <segtitle>Installed Director y</segtitle>231 <segtitle>Installed Directories</segtitle> 219 232 220 233 <seglistitem> 221 <seg> ntp-keygen, ntp-wait, ntpd, ntpdate, ntpdc, ntpq,234 <seg>calc_tickadj, ntp-keygen, ntp-wait, ntpd, ntpdate, ntpdc, ntpq, 222 235 ntptime, ntptrace, sntp and tickadj</seg> 223 236 <seg>None</seg> 224 <seg>/usr/share/doc/ntp-&ntp-version;</seg> 237 <seg>/usr/share/ntp, 238 /usr/share/doc/ntp-4.2.8 and 239 /var/lib/ntp</seg> 225 240 </seglistitem> 226 241 </segmentedlist> … … 230 245 <?dbfo list-presentation="list"?> 231 246 <?dbhtml list-presentation="table"?> 247 248 <varlistentry id="calc_tickadj"> 249 <term><command>calc_tickadj</command></term> 250 <listitem> 251 <para>calculates optimal value for tick given ntp drift file.</para> 252 <indexterm zone="ntp calc_tickadj"> 253 <primary sortas="b-calc_tickadj">calc_tickadj</primary> 254 </indexterm> 255 </listitem> 256 </varlistentry> 232 257 233 258 <varlistentry id="ntp-keygen">
Note:
See TracChangeset
for help on using the changeset viewer.