65 Commits

Author SHA1 Message Date
Milan P. Stanić
9bc9928814 main/chrony: upgrade to 3.5
remove 0001-hash-include-util.h-for-MIN-macro patch which is applied
upstream
2019-05-27 21:37:37 +02:00
tcely
aacb338d2c main/chrony: add -openrc subpackage 2019-04-17 11:00:33 +02:00
tcely
6847ea68e5 main/chrony: step closer to openrc documentation 2019-04-17 10:59:31 +02:00
tcely
b2ec731f63 main/chrony: set default PID file path 2019-04-17 10:59:31 +02:00
Sören Tempel
a1a3fd0238 main/chrony: update PIDFILE location
The default pidfile location changed with chrony 3.4 [0] but wasn't
changed in the OpenRC service. Therefore OpenRC was no longer able to
detect the status of the chronyd service.

Fixes #9674
Fixes #9645

[0]: https://git.tuxfamily.org/chrony/chrony.git/commit/?h=3.4&id=e50dc739d88feca6e0da034406034f3d3cf60ca4
2018-12-26 17:20:31 +01:00
Sören Tempel
65658725d5 main/chrony: upgrade to 3.4 2018-10-19 12:41:19 +02:00
Sören Tempel
f404cbdcff main/chrony: add FAST_STARTUP option to OpenRC services
chronyd takes quite some time to perform a double fork to deamonize,
thereby blocking OpenRC. This is probably the case because it blocks
until time is synchronized.

When enabled the FAST_STARTUP option performs the double fork through
start-stop-daemon(1) thereby significantly reducing the startup of the
chronyd service.
2018-10-15 09:37:33 +02:00
prspkt
7b7e85a8e8 main/chrony: upgrade to 3.3, clarify license 2018-04-05 07:43:36 +00:00
Leonardo Arena
188ddeb0a1 main/chrony: update default config
Fixes #8477
2018-02-15 14:53:14 +00:00
Jakub Jirutka
63f5e7d295 [various]: unify names of licenses according to SPDX
This commit updates $license variable in all APKBUILDs to comply with
short names specified by SPDX version 3.0 [1] where possible. It was
done using find-and-replace method on substrings inside $license
variables.

Only license names were updated, not "expressions" specifying relation
between the licenses (e.g. "X and Y", "X or Y", "X and (Y or Z)") or
exceptions (e.g. "X with exceptions").

Many licenses have a version or multiple variants, e.g. MPL-2.0,
BSD-2-Clause, BSD-3-Clause. However, $license in many aports do not
contain license version or variant. Since there's no way how to infer
this information just from abuild, it were left without the variant
suffix or version, i.e. non SPDX compliant.

GNU licenses (AGPL, GFDL, GPL, LGPL) are especially complicated. They
exist in two variants: -only (formerly e.g. GPL-2.0) and -or-later
(formerly e.g. GPL-2.0+). We did not systematically noted distinguish
between these variants, so GPL-2.0, GPL2, GPLv2 etc. may mean
GPL-2.0-only or GPL-2.0-or-later. Thus GNU licenses without "+" (e.g.
GPL2+) were left without the variant suffix, i.e. non SPDX compliant.

Note: This commit just fixes format of the license names, no
verification has been done if the specified license information is
actually correct!

[1]: https://spdx.org/licenses/
2017-12-30 21:05:50 +01:00
Sören Tempel
17382a0a54 main/chrony: add check 2017-12-01 08:57:42 +01:00
Timo Teräs
f9681a0da0 main/chrony: enable ms-sntp signing, modernize
fixes #8069
2017-10-28 10:24:16 +03:00
Sören Tempel
8f59b1d190 main/chrony: upgrade to 3.2 2017-09-17 11:45:02 +02:00
Leonardo Arena
23aabc6f79 main/chrony: rebuild against readline-7.0.003 2017-06-05 13:42:42 +00:00
Roberto Oliveira
3a1cdf6f70 main/chrony: create doc folder before installing examples 2017-03-28 22:13:02 +02:00
Natanael Copa
dce21f47b9 main/chrony: upgrade to 3.1 2017-02-01 16:03:47 +00:00
Sören Tempel
9e1ef2361c main/chrony: upgrade to 3.0 2017-01-19 22:20:56 +01:00
Sören Tempel
2d80b84079 main/chrony: upgrade to 2.4.1 2016-12-22 23:28:12 +01:00
Sören Tempel
2716cad6f4 main/chrony: upgrade to 2.4 2016-06-08 12:47:08 +02:00
Przemyslaw Pawelczyk
0f920d3abe main/[various]: bump pkgrel for pre-install fixes 2016-04-25 07:11:16 +00:00
Przemyslaw Pawelczyk
da4e96aace Reorder arguments passed to addgroup/adduser in scripts.
Now all invocations have following order of arguments (if present):

    addgroup -S -g ... GROUP
    adduser -S -u ... -D -H -h ... -s ... -G ... -g ... USER
2016-04-25 06:56:47 +00:00
Przemyslaw Pawelczyk
a60b9f07de Improve consistency of scripts using adduser/addgroup.
Following rules have been applied:
- script starts with shebang !#/bin/sh followed by blank line,
- script ends with exit 0 prepended by blank line,
- only stderr of adduser, addgroup or passwd is redirected to /dev/null,
- getent passwd/group instances has been removed,
- manual checking of file and group existence has been removed,
- `|| true` instances has been removed.

Comments and line wrapping have been preserved.
2016-04-25 06:55:43 +00:00
Przemyslaw Pawelczyk
a593d306c9 Add -g option (GECOS/comment) to adduser in scripts.
This way we can avoid ugly default:

    Linux user,,,
2016-04-25 06:54:18 +00:00
Przemyslaw Pawelczyk
ccc056dbf9 Add lacking -S option (system) to adduser/addgroup in scripts.
Groups and users created by packages shouldn't use high ids by default
(unless explicitly requested), to distinguish them from groups and users
created by administrators for humans.

Following 41 files lacked -S next to addgroup:
- community/sword/sword.pre-install
- main/amavisd-new/amavisd-new.pre-install
- main/chrony/chrony.pre-install
- main/cvechecker/cvechecker.pre-install
- main/dnsmasq/dnsmasq.pre-install
- main/freeradius/freeradius.pre-install
- main/gdnsd/gdnsd.pre-install
- main/haproxy/haproxy.pre-install
- main/haproxy/haproxy.pre-upgrade
- main/kamailio/kamailio.pre-install
- main/logcheck/logcheck.pre-install
- main/mlmmj/mlmmj.pre-install
- main/nrpe/nrpe.pre-install
- main/open-vm-tools/open-vm-tools.pre-install
- main/postgrey/postgrey.pre-install
- main/privoxy/privoxy.pre-install
- main/redis/redis.pre-install
- main/samba/winbind.pre-install
- main/sircbot/sircbot.pre-install
- main/smokeping/smokeping.pre-install
- main/squark/squark.post-install
- main/squid/squid.pre-install
- main/squid/squid.pre-upgrade
- main/subversion/subversion.pre-install
- main/trac/trac.pre-install
- main/vsftpd/vsftpd.pre-install
- main/zabbix/zabbix-agent.pre-install
- testing/3proxy/3proxy.pre-install
- testing/cluster-glue/cluster-glue.pre-install
- testing/elasticsearch/elasticsearch.pre-install
- testing/emby/emby.pre-install
- testing/gdnsd/gdnsd.pre-install
- testing/icinga2/icinga2.pre-install
- testing/lusca/lusca.pre-install
- testing/lusca/lusca.pre-upgrade
- testing/mongodb/mongodb.pre-install
- testing/openxcap/openxcap.pre-install
- testing/prosody/prosody.pre-install
- testing/rancid/rancid.pre-install
- testing/rutorrent/rutorrent.pre-install
- testing/zabbix/zabbix-agent.pre-install

Following 60 files lacked -S next to adduser:
- community/caddy/caddy.pre-install
- community/domoticz/domoticz.pre-install
- community/minetest/minetest-server.pre-install
- community/oscam/oscam.pre-install
- community/seafile/seafile-server.pre-install
- community/syncthing/syncthing.pre-install
- main/apache2/apache2.pre-install
- main/aports-build/aports-build.pre-install
- main/atheme-iris/atheme-iris.pre-install
- main/bind/bind.pre-install
- main/clamav/clamav-db.pre-install
- main/clamsmtp/clamsmtp.pre-install
- main/clamsmtp/clamsmtp.pre-upgrade
- main/coova-chilli/coova-chilli.pre-install
- main/cvechecker/cvechecker.pre-install
- main/dhcp/dhcp.pre-install
- main/distcc/distcc.pre-install
- main/djbdns/dnscache.pre-install
- main/djbdns/tinydns.pre-install
- main/dovecot/dovecot.pre-install
- main/ez-ipupdate/ez-ipupdate.pre-install
- main/fetchmail/fetchmail.pre-install
- main/freeswitch/freeswitch.pre-install
- main/gitolite/gitolite.pre-install
- main/gnats/gnats.pre-install
- main/gross/gross.pre-install
- main/icecast/icecast.pre-install
- main/kamailio/kamailio.pre-install
- main/lighttpd/lighttpd.pre-install
- main/mariadb/mariadb.pre-install
- main/memcached/memcached.pre-install
- main/ngircd/ngircd.pre-install
- main/nrpe/nrpe.pre-install
- main/openntpd/openntpd.pre-install
- main/postgrey/postgrey.pre-install
- main/snort/snort.pre-install
- main/squid/squid.pre-install
- main/squid/squid.pre-upgrade
- main/subversion/subversion.pre-install
- main/trac/trac.pre-install
- main/transmission/transmission-daemon.pre-install
- main/ympd/ympd.pre-install
- main/znc/znc.pre-install
- testing/at/at.pre-install
- testing/buildbot-slave/buildbot-slave.pre-install
- testing/buildbot/buildbot.pre-install
- testing/clapf/clapf.pre-install
- testing/cluster-glue/cluster-glue.pre-install
- testing/dbmail/dbmail.pre-install
- testing/dspam/dspam.pre-install
- testing/ejabberd/ejabberd.pre-install
- testing/emby/emby.pre-install
- testing/mongodb/mongodb.pre-install
- testing/opensips/opensips.pre-install
- testing/pdns/pdns.pre-install
- testing/prosody/prosody.pre-install
- testing/qpage/qpage.pre-install
- testing/rrdbot/rrdbot.pre-install
- testing/wt/wt.pre-install
- unmaintained/ejabberd-git/ejabberd-git.pre-install
2016-04-25 06:53:54 +00:00
Łukasz Jendrysik
e04c0e6c59 main/chrony: upgrade to 2.3 2016-03-20 15:25:39 +01:00
Kaarle Ritvanen
36ee58fa66 main/chrony: log directory permissions 2016-02-04 20:33:15 +02:00
Sören Tempel
d5c5821ebb main/chrony: security upgrade to 2.2.1 (CVE-2016-1567) 2016-02-03 07:00:25 +00:00
Christian Kampka
99a67a527f main/chrony: new upstream version 2.2 2015-11-04 10:31:16 +00:00
Daniele Coli
945678e669 main/chrony: Added description to init.d script
Added description to init.d script in order to make it compliant
with rc-system and avoid annoying warning messages on syslog.
2015-10-27 12:05:49 +00:00
Sören Tempel
d4d4849abe main/chrony: fix syntax error in logrotate script 2015-10-01 14:46:53 +00:00
Sören Tempel
be08aaa7b9 main/chrony: adjust path to sendmail(1)
The default configuration assumes that sendmail is located at
/usr/lib/sendmail, however, the sendmail version shipped by busybox is
located at /usr/sbin/sendmail.
2015-09-05 14:05:18 +02:00
Natanael Copa
198f88fc20 main/chrony: add pre-upgrade script 2015-08-10 14:38:56 +02:00
Francesco Colista
ccb4bc1deb main/chrony: fixed permissions to run with chrony user 2015-08-10 09:56:45 +00:00
Sören Tempel
4311f61b56 main/chrony: don't run chronyd as root
fixes #4462
2015-08-10 08:50:21 +00:00
Sören Tempel
c3aa1460db main/chrony: install existing logrotate file
The chrony package already has a custom logrotate file, but it isn't
installed to /etc/logrotate.d furthermore there is no need to explicitly
depend on logrotate.
2015-07-28 08:10:43 +00:00
Carlo Landmeter
de2748dd32 main/chrony: upgrade to 2.1.1 2015-06-25 00:48:58 +02:00
Natanael Copa
cf0bcd5a67 main/chrony: upgrade to 2.0 2015-04-30 09:38:00 +00:00
Natanael Copa
6bf81f56e8 main/*: replace all sbin/runscript with sbin/openrc-run 2015-04-28 14:34:51 +00:00
Nathan Angelacos
49f5b09038 main/chrony Version bump 1.31.1 2015-04-22 16:35:00 +00:00
Natanael Copa
25aabcede3 main/chrony: upgrade to 1.31 2015-01-07 12:53:20 +00:00
Natanael Copa
62a9ea4aaf main/chrony: upgrade to 1.30 2014-07-04 07:09:02 +00:00
Nathan Angelacos
a29630d69e main/chrony Version bump 1.29.1
* Fixes monlist-like amplification vector
* Include timepps.h to grab PPS from gpsd
2014-02-19 12:36:23 +00:00
Fabian Affolter
56bc814c53 main/chrony: update license tag 2013-12-21 16:13:45 +00:00
Natanael Copa
87a69dd5ed main/chrony: upgrade to 1.29 2013-08-09 09:02:27 +00:00
Timo Teräs
5c90471732 [all autotools packages]: normalize ./configure 2013-07-30 08:54:53 +00:00
Natanael Copa
d6d9522068 main/chrony: upgrade to 1.28 2013-07-19 11:44:48 +00:00
Bartłomiej Piotrowski
4382b60ad0 main/chrony: update md5sums 2013-02-05 11:08:10 +01:00
Bartłomiej Piotrowski
2242d54e39 main/chrony: upgrade to 1.27 2013-02-05 10:57:20 +01:00
Natanael Copa
0a8445897b main/chrony: upgrade to 1.27_pre1 2012-08-15 13:39:24 +00:00
Timo Teräs
e00d6745ff main/chrony: improve behaviour if network is unavailable at startup
main uclibc related workaround, but also reduce the delays between
name resolution attempts.
2012-05-30 16:27:52 +03:00