43 Commits

Author SHA1 Message Date
Jakub Jirutka
d6529c8d14 [various] rename dependency python to python2 2016-10-26 19:47:58 +02:00
Natanael Copa
be6e288a64 main/fetchmail: rebuild against libressl 2016-10-10 12:04:09 +00:00
Przemyslaw Pawelczyk
511bd7a7a0 main/[various]: Bump pkgrel for .pre-install scripts fixes.
* main/dovecot: Properly set primary group in .pre-install.
main/dovecot/dovecot.pre-install

* main/{npre,postgrey}: Properly set primary group in .pre-install.
main/nrpe/nrpe.pre-install
main/postgrey/postgrey.pre-install

* main/ympd: Reorder arguments in .pre-install as in da4e96aacef5.
main/ympd/ympd.pre-install

* main/znc: Reorder arguments in .pre-install as in da4e96aacef5.
main/znc/znc.pre-install

* main/aports-build: Reorder arguments in .pre-install as in da4e96aacef5.
main/aports-build/aports-build.pre-install

* main/atheme-iris: Fix overlooked consistency issue as in a60b9f07dee0.
main/atheme-iris/atheme-iris.pre-install

* main/[various]: Add group and use it as primary in .pre-* scripts.
main/apache2/apache2.pre-install
main/aports-build/aports-build.pre-install
main/atheme-iris/atheme-iris.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/dhcp/dhcp.pre-install
main/djbdns/dnscache.pre-install
main/djbdns/tinydns.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/memcached/memcached.pre-install
main/ngircd/ngircd.pre-install
main/openntpd/openntpd.pre-install
main/snort/snort.pre-install
main/squid/squid.pre-install
main/squid/squid.pre-upgrade
main/transmission/transmission-daemon.pre-install
main/znc/znc.pre-install
2016-06-07 07:20:09 +00:00
Przemyslaw Pawelczyk
a7d67c695c main/[various]: Add group and use it as primary in .pre-* scripts.
Fixes the problem I unintentionally brought in commit ccc056dbf9d3:
system user creation doesn't add same named group and uses nogroup as
primary group unless explicitly specified via -G.

Brings status quo regarding primary groups of users created in packages:
- main/apache2
- main/aports-build
- main/atheme-iris
- main/clamav
- main/clamsmtp
- main/coova-chilli
- main/dhcp
- main/djbdns
- main/ez-ipupdate
- main/fetchmail
- main/freeswitch
- main/gitolite
- main/gnats
- main/gross
- main/icecast
- main/memcached
- main/ngircd
- main/openntpd
- main/snort
- main/squid
- main/transmission
- main/znc
2016-06-07 07:20:09 +00: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
Daniele Coli
7be32ced53 main/fetchmail: Updated init.d script
Moved cfgfile and options at the start of the command,
otherwise interpreter the -i option as server name.
2016-02-24 10:48:26 +00:00
Daniele Coli
0b87fe1b7d main/fetchmail: Added description to init.d script and moved configuration options to confd
Added description to init.d script in order to make it compliant
with rc-system and avoid annoying warning messages on syslog.
Moved configuration file path and startup options to confd file.
2016-02-22 14:20:26 +00:00
Natanael Copa
6bf81f56e8 main/*: replace all sbin/runscript with sbin/openrc-run 2015-04-28 14:34:51 +00:00
ScrumpyJack
3f8e7d06c8 main/fetchmail: Changed source 2014-11-05 16:05:42 +00:00
Natanael Copa
47ccffb4c0 main/fetchmail: create dir for pidfile on startup
ref #3367
2014-09-16 06:53:35 +00:00
Timo Teräs
8f6f2e3166 main/[various]: update config.sub (and remove charset.alias)
for musl build. the changes are automatically done based on previous
build log errors, so this does not guarantee successful build, but
is a required.
2013-09-29 08:47:22 +00:00
Natanael Copa
90fe7f4bfe main/fetchmail: use /sbin/nologin as shell 2013-09-04 11:58:00 +00:00
Natanael Copa
a95987b9f5 main/fetchmail: use /sbin/nologin as shell 2013-09-03 07:52:18 +00:00
Timo Teräs
5c90471732 [all autotools packages]: normalize ./configure 2013-07-30 08:54:53 +00:00
Bartłomiej Piotrowski
52395e5c7b main/fetchmail: upgrade to 6.3.26 2013-04-29 17:38:37 +02:00
Natanael Copa
d15e6431e5 main/fetchmail: upgrade to 6.3.25 2013-03-26 00:15:56 +00:00
Bartłomiej Piotrowski
3a6898cfc8 main/fetchmail: upgrade to 6.3.24 2012-12-24 11:57:28 +01:00
Natanael Copa
09ca857506 main/fetchmail: upgrade to 6.3.23 2012-12-13 08:15:21 +00:00
Natanael Copa
4411b0c723 main/fetchmail: upgrade to 6.3.22 2012-09-02 10:23:40 +00:00
Jesse Young
ae1967b66e Replace instances of "--chuid" to "--user" in initd scripts
Fixes #776

Signed-off-by: Jesse Young <jlyo@jlyo.org>
2011-12-01 07:15:51 +00:00
Natanael Copa
4852ae91f3 main/fetchmail: upgrade to 6.3.21 2011-08-22 09:17:47 +00:00
Natanael Copa
6959e373f1 main/fetchmail: rebuild against python2.7 2011-06-28 11:54:40 +00:00
Natanael Copa
7bd8543629 main/fetchmail: upgrade to 6.3.20 2011-06-07 06:24:24 +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
Natanael Copa
6d820f246a main/fetchmail: upgrade to 6.3.19 2010-12-12 11:23:18 +00:00
Natanael Copa
9c78660e6f main/fetchmail: upgrade to 6.3.18 2010-10-11 06:51:06 +00:00
Natanael Copa
23b5e8bc33 Revert "main/fetchmail: upgrade to 6.3.10"
This reverts commit bf4a64514d5a5b0f0585ea77e13d5686d32b33a5.
2010-10-11 06:50:40 +00:00
Natanael Copa
bf4a64514d main/fetchmail: upgrade to 6.3.10 2010-10-11 06:40:23 +00:00
Natanael Copa
9ca82f726f main/[various]: rebuild against openssl-1.0 2010-05-14 17:57:16 +00:00
Natanael Copa
2148c8adcb main/fetchmail: upgrade to 6.3.17 2010-05-11 14:38:57 +00:00
Natanael Copa
b4eecaf058 main/[various]: bump pkgrel to force rebuild against nptl 2010-05-04 08:26:51 +00:00
Natanael Copa
7de330a51b main/fetchmail: upgrade to 6.3.16 2010-04-14 15:06:29 +00:00
Natanael Copa
b590843d36 main/fetchmail: upgrade to 6.3.15 2010-04-06 13:47:22 +00:00
Natanael Copa
12fa315e20 main/fetchmail: upgrade to 6.3.14 2010-02-10 18:09:06 +00:00
Natanael Copa
f42c5a206b main/fetchmail: upgrade to 6.3.13 2009-12-30 15:02:00 +00:00
Natanael Copa
b113486288 main/fetchmail: start service after firewall 2009-09-15 13:50:45 +00:00
Natanael Copa
b70981b68e moved extra/* to main/
and fixed misc build issues
2009-07-24 08:01:31 +00:00