76 Commits

Author SHA1 Message Date
Natanael Copa
d63df35aca main/clamav: rebuild against libressl 2016-10-10 12:04:06 +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
Marian Buschsieweke
22e4fbaeb6 main/clamav: Update to version 0.99.2 2016-05-16 10:54:36 +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
Leonardo Arena
663fff8cc8 main/clamav: rename sample config files, so daemons can start oout-of-the-box. Fixes #5320 2016-04-18 07:55:46 +00:00
Valery Kartel
cbdb30d533 main/clamav: upgrade to 0.99.1 2016-03-04 15:54:18 +00:00
Jens Vehlhaber
085cc7e248 main/clamav: add pcre support for new signatures uses PCREs
Signed-off-by: Jens Vehlhaber <jens@eisfair.org>
2016-01-19 09:30:41 +00:00
Natanael Copa
697012f7d5 main/clamav: rebuild against fixed ncurses widechar only 2015-12-17 22:21:14 +00:00
Natanael Copa
43207f6430 main/clamav: rebuild against ncurses wide char 2015-12-17 13:43:11 +00:00
Valery Kartel
bedaab5b37 main/clamav: upgrade to 0.99. Minor fixes in APKBUILD, init and logrotate scripts (second release) 2015-12-08 14:26:59 +00:00
Natanael Copa
c303ba2829 main/clamav: rebuild against ncurses-6.0 2015-10-15 15:16:45 +00:00
Bartłomiej Piotrowski
b4a13e7314 Do not delete *.la files manually
Since abuild v2.22.0, these are removed automatically unless 'libtool'
option has been specified.
2015-09-10 13:59:03 +02:00
Natanael Copa
72d47b678d main/clamav: fix creation of socket dir
fixes #4175
2015-05-21 12:15:58 +00:00
Natanael Copa
12076db26a main/clamav: upgrade to 0.98.7 2015-05-04 12:24:07 +00:00
Timo Teräs
3b4cd7e13d main/clamav: fix -dev dependencies 2015-05-01 13:08:56 +00:00
Natanael Copa
6bf81f56e8 main/*: replace all sbin/runscript with sbin/openrc-run 2015-04-28 14:34:51 +00:00
Łukasz Jendrysik
3e601fbc18 main/clamav: upgrade to 0.98.6 2015-01-29 08:57:17 +01:00
Natanael Copa
28a40b21ce main/clamav: upgrade to 0.98.5 2014-11-21 08:49:24 +00:00
Timo Teräs
d911f2daaf main/clamav: force large stacks on musl
clamav assumes glibc on linux with huge stacks; but musl has smallish
default stack size similar to bsd. force clamav to manually set required
sizes to work without crashing.
2014-06-24 12:50:14 +03:00
Natanael Copa
d1b8e8d443 main/clamav: upgrade to 0.98.4 2014-06-19 09:45:06 +00:00
Natanael Copa
7958d3b5dc main/clamav: upgrade to 0.98.3 2014-05-15 08:23:31 +00:00
Leonardo Arena
656ca510ab main/clamav: check for main.cvd/cld presence at startup 2014-03-31 08:55:09 +00:00
Leonardo Arena
e3f71fbeb5 main/clamav: fix endless timeout upon daemon startup 2014-03-31 08:10:57 +00:00
Natanael Copa
f8dcfa9de4 main/clamav: upgrade to 0.98.1 2014-01-31 14:49:04 +00:00
Timo Teräs
bd095fa1bd main/clamav: fix arm build 2014-01-07 17:44:59 +00:00
Fabian Affolter
889d0d0605 main/clamav: specifiy license 2013-10-30 08:23:18 +00:00
Timo Teräs
1751d65955 main/[various]: fix build against musl (add update_config_sub) 2013-09-27 14:22:26 +00:00
Timo Teräs
41cb787e42 main/clamav: upstream now ships .conf.sample, fix packaging 2013-09-20 16:38:55 +03:00
Bartłomiej Piotrowski
5d990086dd main/clamav: remove prepare() 2013-09-20 10:40:51 +02:00
Bartłomiej Piotrowski
b041b776ef main/clamav: upgrade to 0.98 2013-09-20 10:38:28 +02:00
Natanael Copa
009064e252 main/clamav: use /sbin/nologin as shell 2013-09-04 11:51:57 +00:00
Natanael Copa
2fcce16494 main/clamav: use /sbin/nologin as shell 2013-09-03 07:48:08 +00:00
Timo Teräs
5c90471732 [all autotools packages]: normalize ./configure 2013-07-30 08:54:53 +00:00
Bartłomiej Piotrowski
9d24289e7f main/clamav: update checksums 2013-04-24 20:21:08 +02:00
Bartłomiej Piotrowski
6d6598d53a main/clamav: upgrade to 0.97.8 2013-04-24 20:15:15 +02:00
Natanael Copa
b839d8947f main/clamav: upgrade to 0.97.7 2013-03-18 15:09:24 +00:00
Natanael Copa
a2f933d8f1 main/clamav: don't ship and package with old database
We still keep the clamav-db package for compatility reasons.
2012-09-25 06:47:38 +00:00
William Pitcock
5032eb171f main/clamav: disable build for now to allow other blocked packages to build 2012-09-24 22:46:57 -05:00
William Pitcock
87d3d98758 main/clamav: update md5sum on daily.cvd 2012-09-24 22:44:56 -05:00
Natanael Copa
b27db57923 main/clamav: upgrade to 0.97.6 2012-09-24 09:47:45 +00:00
Natanael Copa
ef170b15f3 main/clamav: upgrade to 0.97.5 2012-07-04 16:17:25 +00:00
Natanael Copa
4cd38832fb main/clamav: separate clamav-db and freshclam
Having a big static db in a package is not a good idea for /var on disk
installs. We ship the db and freshclam in separate packages.

also clean up the install and init.d scripts while here.

fixes #1047
2012-04-30 15:13:30 +00:00
Natanael Copa
48f654836d main/clamav: add replaces to make upgrades work 2012-04-26 12:25:34 +00:00
Natanael Copa
e72645e493 main/clamav: upgrade to 0.97.4 2012-04-23 19:04:49 +00:00
Natanael Copa
9e6a34b3f7 main/clamav: bump pkgrel because the runtime changed 2012-03-18 12:26:18 +00:00