summaryrefslogtreecommitdiffstats
path: root/package/openntpd
Commit message (Collapse)AuthorAgeFilesLines
* openntpd: set time immediately from initscriptGustavo Zacarias2016-01-131-1/+1
| | | | | | | | | | | | | Match the systemd service file and set time immediately on startup rather than small steps when it differs a lot. On embedded scenarios this is better since boards that lack a battery-backed RTC might start at unix epoch and the time set will delay for quite a while otherwise. For boards that do have a battery-backed RTC the behaviour will be practically the same unless the RTC drifts a lot. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* openntpd: fix linking problem when building staticallyVicente Olivert Riera2015-11-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem looks like this: CCLD ntpd ../compat/.libs/libcompat.a(libcompat_la-arc4random.o): In function `arc4random': /br/output/build/openntpd-5.7p4/compat/arc4random.c:183: undefined reference to `pthread_mutex_lock' /br/output/build/openntpd-5.7p4/compat/arc4random.c:185: undefined reference to `pthread_mutex_unlock' ../compat/.libs/libcompat.a(libcompat_la-arc4random.o): In function `arc4random_buf': /br/output/build/openntpd-5.7p4/compat/arc4random.c:192: undefined reference to `pthread_mutex_lock' /br/output/build/openntpd-5.7p4/compat/arc4random.c:194: undefined reference to `pthread_mutex_unlock' /br/output/build/openntpd-5.7p4/compat/arc4random.c:194: undefined reference to `pthread_mutex_unlock' collect2: error: ld returned 1 exit status Adding -pthread to CFLAGS fixes the problem. Fixes: http://autobuild.buildroot.net/results/b12/b120b6da87ae4eb355d06f2fd8f4fc8050410897/ [Peter: unconditionally pass in CFLAGS, add comment about why] Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: Replace 'echo -n' by 'printf'Maxime Hadjinlian2015-10-041-2/+2
| | | | | | | | | | | | 'echo -n' is not a POSIX construct (no flag support), we shoud use 'printf', especially in init script. This patch was generated by the following command line: git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/' Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove non-IPv6 dependencies and tweaksGustavo Zacarias2015-04-221-3/+2
| | | | | | | | Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* openntpd: bump to version 5.7p4Gustavo Zacarias2015-03-252-2/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* openntpd: move systemd service files to /usr/libMike Williams2015-03-201-2/+2
| | | | | Signed-off-by: Mike Williams <mike@mikebwilliams.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* openntpd: bump to version 5.7p3Gustavo Zacarias2015-01-283-38/+2
| | | | | | | Patch no longer necessary so drop it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* openntpd: add systemd unit fileGustavo Zacarias2015-01-232-0/+19
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* openntpd: bump to version 5.7p2Gustavo Zacarias2015-01-232-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* openntpd: fix license info/fileGustavo Zacarias2015-01-161-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* openntpd: needs NPTLGustavo Zacarias2015-01-111-3/+3
| | | | | | | | Openntpd in fact needs nptl threads, basic threads aren't enough. Fixes: http://autobuild.buildroot.net/results/f4d/f4dd964231a5dbbc12a7237127fa9c45d6aa0d06/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* openntpd: bump to version 5.7p1Gustavo Zacarias2015-01-105-5/+48
| | | | | | | | | | Also: * Add hash file * Tweak the initscript to use a pidfile to avoid nasty warnings Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* sysv init scripts: fix == bashismAndré Erdmann2014-11-111-2/+2
| | | | | | | | | | | | | | | | | test a == b is not available in e.g. dash. Command(s) used for editing: q=\[\"\'\] operand="${q}?[$]?[a-zA-Z0-9_\?]+${q}?" ## doesn't detect ${VAR} test_expr="(\[\s+${operand}\s+)==(\s+${operand}\s+\])" find . -type f -name '[SK][0-9][0-9]*' | \ xargs sed -r -e "s@${test_expr}@\1=\2@g" -i Signed-off-by: André Erdmann <dywi@mailerd.de> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/*/*.mk: Fix indentMaxime Hadjinlian2014-11-081-1/+1
| | | | | | | | Fix indent for LIBFOO_USERS and LIBFOO_PERMISSIONS as per the manual example. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-1/+1
| | | | | | | | | | | | 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>
* openntpd: add SysV initscript and userGustavo Zacarias2014-07-083-2/+36
| | | | | | | | | | | | Add the _ntp user that the daemon requires to work in any way. Add a SysV-style initscript as well, but not with '-s' (set time immediately after startup) because it can make the boot process stall for a few seconds if there's no proper network connectivity/dns setup. Make ntp and openntpd mutually exclusive since they overstep each other. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove uninstall commandsThomas De Schampheleire2013-12-061-6/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Convert headers to lower case when relevantAlexandre Belloni2013-06-061-1/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* openntpd: add license infoArnout Vandecappelle (Essensium/Mind)2012-11-141-0/+2
| | | | | Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageArnout 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>
* openntpd: needs MMUGustavo Zacarias2012-05-061-0/+2
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* openntpd: fix help textPeter Korsgaard2011-10-171-4/+6
| | | | | | | Help text should be indented with <tab><space><space> and contain a link to the upstream website. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* openntpd: style fix - don't capitalize in menuGustavo Zacarias2011-10-171-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSThomas 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>
* package: get rid of ".. has no inherent support for AVR32" commentsPeter Korsgaard2010-10-041-3/+0
| | | | | | | | | These are probaly out of date by now, and lack of special handling for avr32 doesn't mean that a package won't work on avr32, so remove them. Done by sed -i '/comment.*no inherent support for AVR32/{N;N;p}' Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: remove unneeded _INSTALL_TARGET_OPT definitionsThomas Petazzoni2010-09-271-1/+0
| | | | | | | | Now that <pkg>_INSTALL_TARGET_OPT always defaults to 'DESTDIR=$(TARGET_DIR) install', we can remove the <pkg>_INSTALL_TARGET_OPT definition from a lot of packages. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* openntpd: use correct step override methodThomas Petazzoni2010-09-121-5/+4
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* openntpd: convert to Makefile.autotools.in formatGustavo Zacarias2009-11-151-72/+10
| | | | | | | Closes #713 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* buildroot: silence ./configure step when building with 'make -s'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.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>
* Add help for packages without AVR32 supportUlf Samuelsson2009-01-261-0/+3
|
* package/: convert to DOWNLOAD helperPeter Korsgaard2009-01-161-1/+1
|
* package/: get rid of unneeded $(strip ..)Peter Korsgaard2008-12-081-1/+1
|
* Kconfig: remove 'default n'Peter Korsgaard2008-07-171-1/+0
| | | | 'default n' is the default, so there's no need to say it explicitly.
* - just use the strip binary to avoid confusing libtool (quotes)Bernhard Reutner-Fischer2007-10-011-2/+2
| | | | - use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
* - make sure that configure doesn't see a wrong cacheBernhard Reutner-Fischer2007-09-251-1/+1
|
* - fixes and cleanups (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2007-09-191-1/+1
|
* - cleanup and fixes (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2007-09-171-2/+3
|
* - misc cleanups (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2007-08-281-1/+0
|
* - global whitespace trimmingBernhard Reutner-Fischer2007-08-221-6/+6
|
* - semicolon touchup. No other changesBernhard Reutner-Fischer2007-08-221-3/+3
|
* Remove switches if sstrip is runUlf Samuelsson2007-08-211-1/+1
|
* openntpd cleanupUlf Samuelsson2007-08-191-6/+10
|
* Replace space by tabsUlf Samuelsson2007-07-281-3/+3
|
* Avoid rebuild of openntpdUlf Samuelsson2007-07-161-3/+4
|
* - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGSBernhard Reutner-Fischer2007-06-271-0/+1
| | | | - use TARGET_CONFIGURE_ARGS where appropriate.
* - bump versionBernhard Reutner-Fischer2007-06-261-6/+16
|
* fixup package LDFLAGS handlingEric Andersen2007-03-131-0/+1
|
* - use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may ↵Bernhard Reutner-Fischer2006-10-011-2/+2
| | | | | | not exist; Closes #971 Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in)
OpenPOWER on IntegriCloud