diff options
author | Nathan Phillip Brink <binki@gentoo.org> | 2013-01-27 07:31:35 +0000 |
---|---|---|
committer | Nathan Phillip Brink <binki@gentoo.org> | 2013-01-27 07:31:35 +0000 |
commit | 7e6824170cdb9b0f180b5a60115f051087ac036d (patch) | |
tree | 1d5fcbce16995ccdda1ca3a6c3000726a1ba986c /net-irc | |
parent | bump to EAPI=4, patch ldaptor-prem_test.patch to disable 1 test premature to ... (diff) | |
download | historical-7e6824170cdb9b0f180b5a60115f051087ac036d.tar.gz historical-7e6824170cdb9b0f180b5a60115f051087ac036d.tar.bz2 historical-7e6824170cdb9b0f180b5a60115f051087ac036d.zip |
Create /var/run/unrealircd in the initscript instead of when installing the package, fixing bug #453598 by Flameeyes (and supporting tmpfs /var/run).
Package-Manager: portage-2.2.0_alpha161-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0x743A52E86BA81050
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/unrealircd/ChangeLog | 9 | ||||
-rw-r--r-- | net-irc/unrealircd/Manifest | 32 | ||||
-rw-r--r-- | net-irc/unrealircd/files/unrealircd.initd | 13 | ||||
-rw-r--r-- | net-irc/unrealircd/unrealircd-3.2.10.ebuild | 8 | ||||
-rw-r--r-- | net-irc/unrealircd/unrealircd-3.2.9.ebuild | 8 |
5 files changed, 45 insertions, 25 deletions
diff --git a/net-irc/unrealircd/ChangeLog b/net-irc/unrealircd/ChangeLog index 989787c12c44..cb57fe40ff60 100644 --- a/net-irc/unrealircd/ChangeLog +++ b/net-irc/unrealircd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-irc/unrealircd -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.97 2012/12/26 18:54:02 jdhore Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/ChangeLog,v 1.98 2013/01/27 07:31:25 binki Exp $ + + 27 Jan 2013; Nathan Phillip Brink <binki@gentoo.org> files/unrealircd.initd, + unrealircd-3.2.10.ebuild, unrealircd-3.2.9.ebuild: + Create /var/run/unrealircd in the initscript instead of when installing the + package, fixing bug #453598 by Flameeyes (and supporting tmpfs /var/run). *unrealircd-3.2.10 (26 Dec 2012) diff --git a/net-irc/unrealircd/Manifest b/net-irc/unrealircd/Manifest index 0d67a8fc26ec..986b93963998 100644 --- a/net-irc/unrealircd/Manifest +++ b/net-irc/unrealircd/Manifest @@ -1,23 +1,29 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 AUX unrealircd-3.2.9-disabled-stacked-extbans.patch 800 SHA256 b4005233ead9a7af056a4c33281ffcda3027cfd3af617e39b1de5438162863bc SHA512 586f59bf47e1fbe422979efd6219a7f8d9c1f648a342110910e26be6e8407383dc16af30a9791fde58712b21e4e216fa2f5b7ccfb001bc893f934f831031002d WHIRLPOOL 54ca41b6f129ea125f4fa23259edcb096d5eaedd0b00faf9f5a8f6254ab8085f5894881ce275a15e7a85382302ada1c04de2b1075ad4be5cab9207b9c2f58146 AUX unrealircd.confd-r1 1339 SHA256 d06a0d17b12171f7b83c8e9ab5ecb84ab5a98a0310b12f3eb969a5046a26f70a SHA512 88bff1811e86034eff6327e88fd95b6dd3cb243ee9dc6aab0d01dcf690b9d18f88ae4f3fe13e5a0728e6220e0dc7d0601a125c30cc914dbb242201a4bde2d751 WHIRLPOOL b25b05944af47b672c4603c1f11cc7e29abf2d0e9f7074815da6a8ab76650590ce0fc3d5d61bd97ec4ab283b50e2274799e1344389f6e6fc372d5ab3a9560fe6 -AUX unrealircd.initd 951 SHA256 a94b9a6215544f3c9df0f196e96b3e039fa4a982d3bfb8c282ba80028ac3b8e6 SHA512 7065c93be7e575d46bab1089db3dc92b007fbaf50d4ee930009a5008f1fe1b4b55656155e810034bc03bc3d80a2e1bea9b92601f4b87fb30106ec23e313298aa WHIRLPOOL f241bb1795e5483537e61d521db1ecce5caa36f623f40b2d8c09174fdf002edc77e89daf15ff1a00945bb19c3e28b35677e8544f7871364cd82bebbbf9b86216 +AUX unrealircd.initd 1253 SHA256 5eb5be0b5d4d0ea3edb0b3829fe787401f3a1d8c51bbcde52fa612630b561fca SHA512 57aa1028bc2fb65894e71feb57669ec238c884475456b0a8eaac6b117835a905e5a24275bdd4400b327a662c99b06887e2c701ca077420ca6e140227d04181cd WHIRLPOOL 312f31f3c52c94f1228b955e63c79e7fbbc10eb7d6cce98a39521d8df89a5506068de7420f1d73302d801ac32ed7f6e018c29dc52e2011bec63a72fec01e516d DIST Unreal3.2.10.tar.gz 3132312 SHA256 91a6fb61072fae60ad4620b1c45ad594b4c636871e838e75f1cc9dbe261c5df2 SHA512 fdd656ff014e74d2213bf52fb56f73abcfebdb201e1fa4ef5f4ef76e99fbee4ae128458c718a57beff49cbc132dd1b4408ffb137a080327d12f190a74e9d4712 WHIRLPOOL 28f39831c16720c97a7415e2a07b4a853f3f1526d77d8441f3f19956d5a9531ca93bbea33c1d8d62d33547db240f2f52651b303d73ea56a2c6871ddba49f459a DIST Unreal3.2.9.tar.gz 3064571 SHA256 3f581a331825d9179f5367ea6367dd0dc71c7ba615ac3c0134332086bee0e1d8 SHA512 6f18c2e9282c2417d34fa4ace8be183394ec896abcb9f9b0d87fb61013360a6281fb151a73b03379c5fcc1f30235ba6c3420c709df273cf1887f8e7d95d6a686 WHIRLPOOL e589a4c02de158e14b9e52a4297a73b1c107a724e13526447907714d7eee4f21a7a8d70f8f301a137847dc6cb83f6424d0c128a9b9a526ef0ce0d09f675dc874 -EBUILD unrealircd-3.2.10.ebuild 4506 SHA256 2bd6d0398a6dad9d1d8dcb0c52a62e911a22c5af5a18f483e1506aef28cb5c5f SHA512 153b31e0f3d30daecbd963aec998c1cd82c7fcda5911732da16b2255bceca341925fbf78bed7304c6252152a4e4043de11acea6a98ab434150127cc14d858e8b WHIRLPOOL 27bdb90b0a3e1cae1c118baf4b47b6fda3197867cc0a1417d69873636a722f141e98128e4b6400f81e9befc47f870887525f7b2807a1a7d0b2577177f551218e -EBUILD unrealircd-3.2.9.ebuild 4672 SHA256 ac5e15c849aed000d8c9b66de16a58cb09555bbbc3d87c88b6f745adb05cdfe4 SHA512 a8ffb6ff629f3d02857407dfad23300d82d646c371a540f23d9c69d84c9f0fc6e5da6ad82d1b92942525730d85922d94449db299319cbb2cbd232f83c925ce88 WHIRLPOOL 7243a55dd2cef1a6f43e2b41018c13fd610dba2e72d1ff31de2c6c752236383003658c265d4156287944cea20c6558b0a218bec7e7f7868411caa78e11dab2bb -MISC ChangeLog 14743 SHA256 c426dee8cd824f18499b8eff9bb7696677dcbf1de93cf6e56bd59ad179777a0c SHA512 a0f4d9f2c5d3018c2afa273850441fbbe4c2c5ea99620cca4f789a46204ed3684980bf5d69c261988774377fe4d8992342021c99c656eb4c7cf168cad65d57c5 WHIRLPOOL 863838f7be7e3a8316f18f14ea53ac36d7158f85b7503c58f62a9c60a581152d561a77a9ac1ce39e145d7554fdeef1f8f58c0e71884b6c34877e8c361551ffdd +EBUILD unrealircd-3.2.10.ebuild 4497 SHA256 8192cd2a47c7c8059cb69f2947c7526f2fe08f3227ace8b9c58125282211d47a SHA512 eff41382456241e412639273182939e949fc93f522e7200d79e2b4f3d4d0c62cd3ca32070603606cd2c583df40642f176cef78aa44749b48f70f9ceb73b55cbe WHIRLPOOL 0cbdd31e51959c255b4a8fec2c9cbe7d62ec9661d64e780b338255a5fd95b29388be25c1c06c31512fcbb8948bd7c8153b71ee0a863726a4efb10dc1f3f0aeae +EBUILD unrealircd-3.2.9.ebuild 4663 SHA256 6d6189af7404305ebcd93c6f7c19384ab78618dca9814023d44d10a2da2c613d SHA512 395284497e05aa6b9997db5cb4fbc996e3cbb3d57677232cb3b6bcf42a74a705067da5801652b9ec2a5a540c79aa55e783aee5a40bb53a0c7f44c17cff5e3d45 WHIRLPOOL a2d88dd8e959df4eaa512e07d39a90916b16aded23d4244191da21a6b6961be982d56a12363cd5af932003a4ab246902f279f80120a718bbe7c13306cc0015c0 +MISC ChangeLog 15029 SHA256 312d2426dd7fe561cb64e1b953409c1f412d9173c64ee5439747b531ac536faa SHA512 c776eae4a7cf03a6d70401cb325ca8f816e9c389b553b445aa83945975e7ffb3bb23d08195fcc059fa34e22c3a3cec68bf73e99ebd018089e6ebc7d6bacbb1ff WHIRLPOOL 785db037e80081bd3e7e38288f385df9d32784957fd5a5f66d886c357a031366d562dd6a0c1c156c88282338ac9f440417b3a522f035a0c54df80e6b8058dd0f MISC metadata.xml 1107 SHA256 d4b8197e572fd775c6876f9809f6e183ca3a5146d3c0525166d1b008b15d8f87 SHA512 9644861ddc9fc7898aa25ce05cc952a4d5d13450ca12123039b2cc2c8bf09636aa493c16416c27ceec95b505c277d421dba5033fe12d847e1184d12c3e81f5e8 WHIRLPOOL 564b4ca5d4a1d8cd956f89d32749e4ce0108b524012560d9b8345886e9fc572e5978bdeb00429cbdf43e5c9de330bb5b4feb02ded728d461971acb948b391ac2 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2.0.14 (GNU/Linux) -iQEcBAEBCgAGBQJQ20fLAAoJEPUd7O0j6ekAjKEH/Ak+040BQN8LXxjnxxWDbuqZ -vfYTpqcM44J2b1N1e9LWEOnk5O1vv/3iHae0XuYKEGyZ81msWumqlrjiTjueYjUm -KM5Fu1fXniv8nvctKgg7jxvkztH3b94e9rC++iRkzVUvpHEZKS8m0KdBDQjIoprR -vOdNTMvJAElYqcmTq7Y3uRj7pZn8l91n3Cd2Mo85iWFiHydbGy3bWntF3BlkP0BJ -2Ay9nWcMMvUex9J8ctCoH/vZHyrawrn8I/AlWHJdcxxEKxpYsyoLcmlJm2CeQDiO -aedAmLhrVZmzzS7xDkuTvxKOkVHEs8RrFnh15qU07Dr/UYhaG0wcrRNkS4E/b/4= -=xa2V +iQIcBAEBCAAGBQJRBNfRAAoJEHQ6UuhrqBBQYkUQAJZOFMUXjOh7rbH/AVNF+QyT +ufgeVbwJFXcLqxFiAIALTK8IVIalbYhxQY4ugNPW7kQUk3f6KLzQQxYmWxqlOCiU +2pNCC8ebCni6+uxGQkzm45ltZTpkFGJ2XaXeaEfZei7TF136ZcxtQZ2s2LilKHlZ +aCahLcI8pESy3D/kTpXMQE67z/eW8VU5lQlRkFW+tQnCuSjaJtIPH5PBRjdu+VWr +d9pqjKOiBtes1dd4bjsWmn2b96Oh7VA0wrwlBXxRqUzw8nJUQLvoLyVSTyLUTVy0 +kchDKHBc5QoeBpnyIYnDkGI3PV9GQ7sZxHY2doBOReoP2FzIH1O4H2BWjrZ9zh51 +MS9iFKqMgXuvJH0ftD8XDQDVDItfd8maSfASrzeYDSauHmygcnV3HUB5yZSOFSiv +FIgFN7nm+/i4oY4tR1g1Pl1oIIvoMXYHmSerw67cEZs36wHWcLbaaYNAffJNvtkf +CGuSrPVdOBc9vrfykvcUDtgQ+oHRe/0cfT9QB0skGTXilgXEoYAg3mPTdxW1raDl +TBzTq93fY7OtlhraJ9grpROG13R+THv2M3zXLE0SV4XKZw4TsreYemBB6ZaA8mnI +ewn58Ne0gTPqSWW6m9rMsM6E5KBNrLjvLuouW7uzpb6MEgsZKSPG314p7p6Zy5qf +LXsPV30QbxahNeZxX2B3 +=3/Y2 -----END PGP SIGNATURE----- diff --git a/net-irc/unrealircd/files/unrealircd.initd b/net-irc/unrealircd/files/unrealircd.initd index eb39a57080e6..356e4e1cf5ec 100644 --- a/net-irc/unrealircd/files/unrealircd.initd +++ b/net-irc/unrealircd/files/unrealircd.initd @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/files/unrealircd.initd,v 1.2 2011/12/21 18:25:03 binki Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/files/unrealircd.initd,v 1.3 2013/01/27 07:31:25 binki Exp $ extra_started_commands="reload" @@ -16,6 +16,15 @@ depend() { } start() { + UNREALIRCD_PIDFILEDIR=${UNREALIRCD_PIDFILE%/*} + if ! [ -d "${UNREALIRCD_PIDFILEDIR}" ]; then + ebegin "Creating ${UNREALIRCD_PIDFILEDIR} for ${SVCNAME}" + mkdir "${UNREALIRCD_PIDFILEDIR}" \ + && chown :unrealircd "${UNREALIRCD_PIDFILEDIR}" \ + && chmod 770 "${UNREALIRCD_PIDFILEDIR}" + eend $? + fi + ebegin "Starting ${SVCNAME}" start-stop-daemon --start --quiet --exec /usr/bin/unrealircd \ --user ${UNREALIRCD_USER} --pidfile "${UNREALIRCD_PIDFILE}" -- -f "${UNREALIRCD_CONF}" ${UNREALIRCD_OPTS} diff --git a/net-irc/unrealircd/unrealircd-3.2.10.ebuild b/net-irc/unrealircd/unrealircd-3.2.10.ebuild index c6af92143db5..ca646b283186 100644 --- a/net-irc/unrealircd/unrealircd-3.2.10.ebuild +++ b/net-irc/unrealircd/unrealircd-3.2.10.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/unrealircd-3.2.10.ebuild,v 1.1 2012/12/26 18:54:02 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/unrealircd-3.2.10.ebuild,v 1.2 2013/01/27 07:31:25 binki Exp $ EAPI=4 @@ -74,7 +74,7 @@ src_configure() { } src_install() { - keepdir /var/{lib,log,run}/unrealircd + keepdir /var/{lib,log}/unrealircd newbin src/ircd unrealircd @@ -110,7 +110,7 @@ src_install() { newconfd "${FILESDIR}"/unrealircd.confd-r1 unrealircd fperms 700 /etc/unrealircd - fowners -R unrealircd /{etc,var/{lib,log,run}}/unrealircd + fowners -R unrealircd /{etc,var/{lib,log}}/unrealircd } pkg_postinst() { diff --git a/net-irc/unrealircd/unrealircd-3.2.9.ebuild b/net-irc/unrealircd/unrealircd-3.2.9.ebuild index 01b4cfe11d88..6052d37ba53f 100644 --- a/net-irc/unrealircd/unrealircd-3.2.9.ebuild +++ b/net-irc/unrealircd/unrealircd-3.2.9.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/unrealircd-3.2.9.ebuild,v 1.7 2012/05/03 06:27:13 jdhore Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/unrealircd-3.2.9.ebuild,v 1.8 2013/01/27 07:31:25 binki Exp $ EAPI=4 @@ -77,7 +77,7 @@ src_configure() { } src_install() { - keepdir /var/{lib,log,run}/unrealircd + keepdir /var/{lib,log}/unrealircd newbin src/ircd unrealircd @@ -115,7 +115,7 @@ src_install() { newconfd "${FILESDIR}"/unrealircd.confd-r1 unrealircd fperms 700 /etc/unrealircd - fowners -R unrealircd /{etc,var/{lib,log,run}}/unrealircd + fowners -R unrealircd /{etc,var/{lib,log}}/unrealircd } pkg_postinst() { |