56 Commits

Author SHA1 Message Date
Corentin Henry
8db3f0e97e main/dhcp: add /sbin/dhclient-script
fix https://bugs.alpinelinux.org/issues/4855
2016-04-28 13:48:15 +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
Sören Tempel
6a1452d60e main/dhcp: upgrade to 4.3.4 2016-04-01 15:55:12 +02:00
Leonardo Arena
22e7e93285 main/dhcp: security fix CVE-2015-8605 2016-01-15 10:56:49 +00:00
Natanael Copa
01aa8019e9 main/dhcp: upgrade to 4.3.3 2015-09-07 11:58:22 +02:00
Natanael Copa
0087c52e2b main/dhcp: upgrade to 4.3.2 2015-04-30 12:03:04 +00:00
Carlo Landmeter
33c09599e4 main/dhcp: add linux-headers 2015-04-28 20:47:15 +02:00
Natanael Copa
6bf81f56e8 main/*: replace all sbin/runscript with sbin/openrc-run 2015-04-28 14:34:51 +00:00
Natanael Copa
f3ca0f9bf6 main/dhcp: upgrade to 4.3.1 2014-08-13 11:21:25 +00:00
Andrew Manison
ea57d35da5 dhcp: Added dbg (debug symbols) sub-package 2014-03-03 15:41:53 +00:00
Natanael Copa
f68a5e15aa main/dhcp: upgrade to 4.3.0 2014-02-05 09:32:01 +00:00
Timo Teräs
9edb877588 main/dhcp: fix musl build 2013-10-28 13:41:31 +00:00
Natanael Copa
3068bfe157 main/dhcp: use /sbin/nologin as shell 2013-09-04 11:53:35 +00:00
Natanael Copa
b67d1f8161 main/dhcp: use /sbin/nologin as shell 2013-09-03 07:49:19 +00:00
Timo Teräs
5c90471732 [all autotools packages]: normalize ./configure 2013-07-30 08:54:53 +00:00
Natanael Copa
baaedc4fe5 main/dhcp: upgrade to 4.2.5_p1 2013-04-01 15:35:10 +00:00
Natanael Copa
5f983b94da main/dhcp: upgrade to 4.2.5 2013-01-10 15:25:23 +00:00
Natanael Copa
6729dca35c main/dhcp: upgrade to 4.2.4_p2 2012-09-13 09:31:31 +00:00
Natanael Copa
08cec6cc81 main/dhcp: create /var/run/dhcp directory in subpackage
ref #1343
2012-08-30 06:53:45 +00:00
Natanael Copa
900d0a2ada main/dhcp: upgrade to 4.2.4_p1 2012-08-02 09:44:50 +00:00
Natanael Copa
4dd7f4884b main/dhcp: upgrade to 4.2.4 2012-06-06 06:31:18 +00:00
Natanael Copa
078a07c625 main/dhcp: replace opts in init.d script
ref #943
2012-01-19 09:04:44 +00:00
Natanael Copa
62c41093ed main/dhcp: upgrade to 4.2.3_p2 2012-01-13 21:14:01 +00:00
Natanael Copa
6f79a5e802 main/dhcp: security upgrade to 4.2.3_p1 (CVE-2011-4539)
fixes #876
2011-12-16 08:53:24 +01:00
Natanael Copa
099ac85038 main/dhcp: upgrade to 4.2.3 2011-10-20 09:46:15 +00:00
Natanael Copa
d07e64528a main/dhcp: Security upgrade to 4.2.2
CVE-2011-2748
CVE-2011-2749
2011-08-11 11:08:17 +00:00
Natanael Copa
4e576fa5c6 main/dhcp: fix license 2011-06-08 14:05:33 +00:00
Natanael Copa
166b811f9b main/dhcp: upgrade to 4.2.1_p1 2011-04-07 06:10:35 +00:00
Natanael Copa
d02760455e main/dhcp: upgrade to 4.2.1 2011-03-02 20:44:01 +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
e6227c3f0d main/dhcp: upgrade to 4.2.0_p2 2010-12-12 11:25:46 +00:00
Natanael Copa
965684eda7 main/dhcp: upgrade to 4.2.0_p1 2010-11-03 09:04:29 +00:00
Natanael Copa
7ef8b8376c main/dhcp: build fix. needs perl 2010-07-20 08:13:44 +00:00
Natanael Copa
ffcc6eee06 main/dhcp: upgrade to 4.2.0 2010-07-20 06:21:03 +00:00
Andrew Manison
6e8020140b Merge remote branch 'alpine/master'
Conflicts:
	main/man-pages/APKBUILD
2010-07-14 15:39:29 +00:00
Leonardo Arena
a0af8b737f main/dhcp: upgrade to 4.1.1-P1
fixes CVE-2010-2156
2010-07-07 06:34:58 +00:00
Natanael Copa
71c7b5f579 main/dhcp: upgrade to 4.1.1_p1 2010-07-05 13:31:49 +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
0e1bf50148 Merge remote branch 'alpine/master' 2010-04-20 15:03:46 +00:00
Natanael Copa
0096ba8a96 main/dhcp: fix for ipv6 2010-04-20 11:52:59 +00:00
Andrew Manison
c9214a0549 Changes to package builds to fix missing/changed/broken source archives. 2010-04-04 16:51:44 -04:00
Natanael Copa
8a458ebd3d main/dhcp: ship dhcrelay init script in proper package 2010-02-26 14:01:21 +00:00
Natanael Copa
73fa6dfb7b main/dhcp: fix path to dhcrelay.pid 2010-02-17 14:09:55 +00:00
Natanael Copa
669e19155d main/dhcp: create dhcrelay subpackage with init.d script
fixes #281
2010-02-16 17:33:21 +00:00