aboutsummaryrefslogtreecommitdiff
path: root/package/ntp
Commit message (Collapse)AuthorAgeFilesLines
* ntp: fix hash fileGravatar Fabio Porcedda2014-12-311-1/+1
| | | | | | | | Add a space between the hash and filename so the hash can be used. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/ntp: fix installationGravatar Yann E. MORIN2014-12-261-2/+2
| | | | | | | | | | | | | | | | Since 5d5c9a8 (ntp: security bump to version 4.2.8), scripts/ntp-wait and scripts/ntptrace are no longer scripts themselves, but directories containing those scripts. Fixes: http://autobuild.buildroot.org/results/518/5189e84004bf28b891da3ee07fecc8717b4e8e8c/ (ntp-wait) http://autobuild.buildroot.org/results/005/0056192a06d44814a0279637c4bcbf602936e7ff/ (ntptrace) http://autobuild.buildroot.org/results/8f3/8f372acf73743edf8027cda6865ba1aa7b6413a3/ (both) ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupGravatar Jerzy Grzegorek2014-12-241-5/+6
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ntp: adjust initscriptGravatar Gustavo Zacarias2014-12-231-26/+20
| | | | | | | | | | Use proper status messages, make spacing standard instead of a mix of spacing/tabbing, drop boringly obvious comment from the header. Also make reload = restart since ntpd doesn't handle reloading resulting in the old reload being 'stop'. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ntp: update sample configGravatar Gustavo Zacarias2014-12-231-4/+4
| | | | | | | | Drop redundant IP version and double default restrict. Tweak KoD and other defaults for properness. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ntp: security bump to version 4.2.8Gravatar Gustavo Zacarias2014-12-236-39/+166
| | | | | | | | | | | | | | | | | | | | | Fixes: CVE-2014-9293 - ntpd generated a weak key for its internal use, with full administrative privileges. Attackers could use this key to reconfigure ntpd (or to exploit other vulnerabilities). CVE-2014-9294 - The ntp-keygen utility generated weak MD5 keys with insufficient entropy. CVE-2014-9295 - ntpd had several buffer overflows (both on the stack and in the data section), allowing remote authenticated attackers to crash ntpd or potentially execute arbitrary code. CVE-2014-9296 - The general packet processing function in ntpd did not handle an error case correctly. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ntp: Adding pps support to ntpdGravatar Bryan Brinsko2014-10-192-0/+14
| | | | | | | | | Added an option for the ntpd application to support pps inputs. Signed-off-by: Bryan Brinsko <bryan.brinsko@rockwellcollins.com> Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSGravatar Thomas De Schampheleire2014-10-041-5/+5
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ntp: fix undefined variable in error printGravatar Danomi Manchego2014-08-211-1/+1
| | | | | | | The variable "$SCRIPTNAME" is undefined; replace with "$0". Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ntp: rename patches to follow BR guidelinesGravatar Danomi Manchego2014-07-182-0/+0
| | | | | Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ntp: properly select/filter netsnmp for ntpsnmpdGravatar Gustavo Zacarias2014-07-171-0/+2
| | | | | | | | | | | BR2_PACKAGE_NTP_SNMPD was pushing netsnmp into dependencies but was never selected, and since netsnmp requires fork it wasn't filtered out for nommu. Fixes: http://autobuild.buildroot.net/results/776/7769afe0da09e3f4f96d9a0f4c0febb0c72cc34f/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ntpd: drop default /etc/default/ntpd fileGravatar Peter Korsgaard2014-07-092-6/+0
| | | | | | | With the recent change to the init script the default /etc/default/ntpd file doesn't do anything, so don't install it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Fixing ntpd time syncing problemGravatar Angelo Compagnucci2014-07-094-15/+10
| | | | | | | | | | | | Add ntp.conf file to make ntpd syncing. Starting ntpd daemon with -g to sync time also with big offsets. Removes the use of deprecated ntpdate command for initial time sync. [Peter: drop unused NTPDATE_BIN variable] Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: replace command install by $(INSTALL)Gravatar Maxime Hadjinlian2014-06-081-2/+2
| | | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ntp: add systemd unit file for ntpdGravatar Ivan Sergeev2014-03-072-1/+23
| | | | | | Signed-off-by: Ivan Sergeev <vsergeev@kumunetworks.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: add <pkg>_VERSION_MAJOR variableGravatar Jerzy Grzegorek2013-12-191-2/+3
| | | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove uninstall commandsGravatar Thomas De Schampheleire2013-12-061-7/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Normalize separator size to 80Gravatar Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ntp: add license informationGravatar Mark Jackson2012-11-081-0/+2
| | | | | Signed-off-by: Mark Jackson <mpfj@newflow.co.uk> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* perl: prepare the removal of microperlGravatar Francois Perrad2012-11-031-2/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageGravatar Arnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* ntp: bump to version 4.2.6p5Gravatar Gustavo Zacarias2012-01-261-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ntp: bump to version 4.2.6p4 and enhanceGravatar Gustavo Zacarias2011-10-172-18/+25
| | | | | | | | | * Bump to version 4.2.6p4 * Add new ntpsnmpd option * Fix style Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSGravatar Thomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ntp: only install init script if ntpd is enabledGravatar Peter Korsgaard2011-02-042-7/+6
| | | | | | | | Further more: - Rename to S49ntp to match other packages - Fix start target to run ntpd, and only try ntpdate if available Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ntp: add ntpdate optionGravatar Gustavo Zacarias2011-02-043-36/+26
| | | | | | | | | | | | | Closes #2935 Add ntpdate option and make ntpd optional. Based on incomplete patch by Frederik Pasch <fpasch@googlemail.com> Also enable crypto when openssl is enabled. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ntp: bump to version 4.2.6p3 and fix glibc build failureGravatar Gustavo Zacarias2011-01-303-1/+24
| | | | | | | | | Bump to version 4.2.6p3 and fix a build failure with external toolchains that use certain glibc versions as point out by speakman on IRC. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Daniel Nyström <daniel.nystrom@timeterminal.se> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ntp: disable ntpsnmpd supportGravatar Peter Korsgaard2010-11-041-1/+2
| | | | | | Doesn't build. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ntp: convert to autotargets and bump to 4.2.6p2Gravatar Martin Banky2010-09-215-135/+79
| | | | | | | | | Also added additional options for ntp and fixed a build issue when IPv6 support is not available. [Peter: small tweaks] Signed-off-by: Martin Banky <Martin.Banky@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch '2010-05-15-fixes' of ↵Gravatar Peter Korsgaard2010-05-211-0/+36
|\ | | | | | | git://git.busybox.net/~tpetazzoni/git/buildroot
| * ntp: fix build failureGravatar Thomas Petazzoni2010-05-201-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a patch to NTP to fix the following build failure, using a workaround patch found on the Fedora bugzilla: ntp_loopfilter.c: In function 'local_clock': ntp_loopfilter.c:571: error: 'MOD_NANO' undeclared (first use in this function) ntp_loopfilter.c:571: error: (Each undeclared identifier is reported only once ntp_loopfilter.c:571: error: for each function it appears in.) ntp_loopfilter.c: In function 'loop_config': ntp_loopfilter.c:896: error: 'MOD_NANO' undeclared (first use in this function) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | ntp: fix build without ipv6 supportGravatar Peter Korsgaard2010-05-201-0/+24
|/ | | | | | Closes #1693 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* buildroot: silence ./configure step when building with 'make -s'Gravatar Peter Korsgaard2009-10-011-1/+1
| | | | | | | | | | We have been passing -q to ./configure when using 'make -s' for packages using Makefile.autotools.in for some time. Do the same for packages using autotools, but not using the Makefile.autotools.in infrastructure, taking care to not do it for packages with hand written configure scripts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: Remove unnecessary dependencies on uclibc.Gravatar Will Newton2009-09-031-1/+1
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* ntp: fix time sync issueGravatar Peter Korsgaard2009-01-311-0/+33
| | | | Fix for https://support.ntp.org/bugs/show_bug.cgi?id=769 - Patch from gentoo.
* package/: convert to DOWNLOAD helperGravatar Peter Korsgaard2009-01-161-1/+1
|
* package/: get rid of unneeded $(strip ..)Gravatar Peter Korsgaard2008-12-081-1/+1
|
* ntp.sysvinit: fix 'restart' (don't exit on failed commands with set -e)Gravatar Wade Berrier2008-11-141-6/+3
|
* ntp: add /etc/default/ntpd to control whether to startGravatar Wade Berrier2008-11-063-3/+25
| | | | ntpd and/or ntpdate. Also specify options and servers.
* Bump ntp versionGravatar Arnar Mar Sigurðsson2008-10-311-1/+1
|
* Kconfig: remove 'default n'Gravatar Peter Korsgaard2008-07-171-2/+0
| | | | 'default n' is the default, so there's no need to say it explicitly.
* buildroot: s/depends/depends on/Gravatar Peter Korsgaard2008-06-191-1/+1
| | | | | The new kconfig is more strict regarding depends/depends on, so fixup the tree.
* - global whitespace trimmingGravatar Bernhard Reutner-Fischer2007-08-221-1/+1
|
* - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* ↵Gravatar Bernhard Reutner-Fischer2007-08-211-2/+2
| | | | toolchain/*/*.mk */Makefile.in -l)
* Remove ntp patch which fails to apply, add TODO for later fixingGravatar Ulf Samuelsson2007-08-132-11/+33
|
* Update config's of ntpGravatar Ulf Samuelsson2007-07-281-0/+2
|
* - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGSGravatar Bernhard Reutner-Fischer2007-06-271-0/+1
| | | | - use TARGET_CONFIGURE_ARGS where appropriate.
* - the actual current version of NTP is 4.2p2 (Julien Letessier)Gravatar Bernhard Reutner-Fischer2007-06-271-2/+2
| | | | - fixed the configure flag (Julien Letessier)
* - bump version, make it compile. tickadjust has to be disabled. Closes #1029Gravatar Bernhard Reutner-Fischer2007-06-262-10/+24
| | | | Provide means for installing sntp
* - Add a system-V init script to ntpd. Closes #518Gravatar Bernhard Reutner-Fischer2007-06-252-0/+47
|