46 Commits

Author SHA1 Message Date
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
Natanael Copa
7b01fd486c main/chrony: upgrade to 1.26 2011-08-24 11:56:53 +00:00
Natanael Copa
ff87ee307a main/chrony: fix checksum (for previous commits) 2011-04-28 09:46:04 +00:00
Natanael Copa
378d79f7fa main/chrony: bump pkgrel so we actually rebuild the package 2011-04-28 09:17:44 +00:00
Duane Hughes
1f853d411d main/chrony: updated with latest initd and confd from gentoo
fixes #603
2011-04-28 09:16:39 +00:00
Natanael Copa
4ff65ef299 main: mass-rebuild of packages missing arch in .PKGINFO
this is needed for apk-tools-2.1 migration
2011-03-31 13:43:08 +00:00
William Pitcock
ba2600dc6e Set all packages with arch="x86 x86_64" to arch="all". 2011-01-13 06:06:02 -06:00
Natanael Copa
da49ad32c4 main/*: add arch 2010-12-13 16:00:16 +00:00
Andrew Manison
9fddb4d5b4 Merged from Alpine main repository.
Merge

Conflicts:
	main/abuild/APKBUILD
	main/cramfs/APKBUILD
	main/curl/APKBUILD
	main/dialog/APKBUILD
	main/libconfig/APKBUILD
	main/snort/APKBUILD
	main/syslinux/APKBUILD
2010-05-26 23:09:04 +00:00
Natanael Copa
b4eecaf058 main/[various]: bump pkgrel to force rebuild against nptl 2010-05-04 08:26:51 +00:00
Andrew Manison
97a19460d0 Updates to package build files to specify updated or relocated sources 2010-04-05 16:31:17 +00:00
Natanael Copa
580b1e991f main/chrony: provide ntp-client and ntp-server
fixes #260
2010-02-08 13:10:53 +00:00
Natanael Copa
1b4b70f2b9 main/chrony: update download link
chrony hosting has disapeared. we need use an archive
2009-10-30 10:04:48 +00:00
Natanael Copa
c091eef67f main/chrony,clamav,clamsmtp,conntrack,cyrus-sasl: start services after fw 2009-09-15 13:16:08 +00:00
Natanael Copa
e732b8bc4e main/chrony: add logrotate script
fixes #82
2009-08-18 20:11:05 +00:00
Natanael Copa
b70981b68e moved extra/* to main/
and fixed misc build issues
2009-07-24 08:01:31 +00:00