Przemyslaw Pawelczyk
1688eb68a5
testing/[various]: Bump pkgrel for .pre-install scripts fixes.
...
* testing/at: Properly set primary group in .pre-install.
testing/at/at.pre-install
* testing/ejabberd: Fix .pre-install script broken since 9716bc3570be.
testing/ejabberd/ejabberd.pre-install
* testing/rrdbot: Remove bogus comment in .pre-install script.
testing/rrdbot/rrdbot.pre-install
* testing/[various]: Add group and use it as primary in .pre-* scripts.
testing/dbmail/dbmail.pre-install
testing/dspam/dspam.pre-install
testing/opensips/opensips.pre-install
testing/pdns/pdns.pre-install
testing/qpage/qpage.pre-install
testing/rrdbot/rrdbot.pre-install
testing/wt/wt.pre-install
2016-06-07 07:20:09 +00:00
Przemyslaw Pawelczyk
a835b69165
testing/[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:
- testing/dbmail
- testing/dspam
- testing/opensips
- testing/pdns
- testing/qpage
- testing/rrdbot
- testing/wt
2016-06-07 07:20:09 +00:00
Leonardo Arena
f238c5097a
testing/opensips: needs linux-headers
2016-04-25 14:41:24 +00:00
Przemyslaw Pawelczyk
26abb36b0d
testing/[various]: bump pkgrel for pre-install fixes
2016-04-25 07:11:52 +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
William Pitcock
ba2600dc6e
Set all packages with arch="x86 x86_64" to arch="all".
2011-01-13 06:06:02 -06:00
Natanael Copa
8457985d61
testing/*: add arch
2010-12-13 16:02:13 +00:00
Natanael Copa
f82efb7c0c
testing/opensips: upgrade to 1.6.3
2010-10-04 11:45:19 +00:00
Natanael Copa
d40af55829
testing/opensips: dont depend on uclibc
2010-05-06 08:57:03 +00:00
Natanael Copa
3ae0a67fc9
main/testing/opensips: start service after firewall
2009-09-16 08:50:06 +00:00
Natanael Copa
fb1384b92f
testing/opensips: set permissions on config file
2009-05-12 15:32:03 +00:00
Natanael Copa
58183010cf
testing/opensips: added init.d and pre/post install scripts
2009-05-12 11:40:48 +00:00
Natanael Copa
09b207e0f1
testing/opensips: fix install locations
2009-05-12 09:51:02 +00:00
Natanael Copa
f3b3d5d429
testing/opensips: install to correct prefix
2009-05-07 08:06:04 +00:00
Michael Mason
b528361d88
unstable/opensips moved to testing/opensips
2009-04-09 16:33:54 +00:00