Browse files

glorious funtoo updates

merged:

  funtoo-overlay: 41663fc4dee7bbd770fc65f9d2a23fef9195bad5
  foo-overlay: 4e928d47e22991dc209ec57d02372c56ceff4275
  bar-overlay: 78a0865873ba50e93705d46779fd9344e60a9af3
  flora: 8af6b3b466d037b63d3ff4bfb6c359570c09beec
  lcd-filtering: dd3d9b094dbfc726ee9b3d886783a18b92f899fd
  mythtv: 00027cc812a879fe67e687843f201cd95e000a94
  • Loading branch information...
1 parent 0575c1a commit cffb788b903f50ec57114a89920a18474ecab1fd @danielrobbins danielrobbins committed Aug 29, 2012
View
3 app-admin/metalog/Manifest
@@ -1 +1,2 @@
-DIST metalog-2.tar.xz 342848 RMD160 687d7aa17f58ba0c5f4011d852d60de3d69740ef SHA1 c22e94c95c41285f5b54c98cc94849d29e0edd78 SHA256 4c7e6a6aae6b38d3e03bf34bb9256fcba68888a58c4dbbb1c7d14ba73f8d8f42
+DIST metalog-2.tar.xz 342848 SHA256 4c7e6a6aae6b38d3e03bf34bb9256fcba68888a58c4dbbb1c7d14ba73f8d8f42 SHA512 194d9ca0c5bc8addd1970362cfa7bf1a368f50a9aa7370e2c4d63eb9d9819df08df001a3a85595a74e7b16fdd78c94ffde3cd9a63962ebc9f6ed71b1a574d7cf WHIRLPOOL 23dafa1944808f40e41aee5fe6254222cebaa647e63ac503783fd07445cdc222c0724823676d5a5fe8b63496228d2629301c0dc5d88cd87e74f84841e9cef41b
+DIST metalog-3.tar.xz 360784 SHA256 0c3a1e19008b3d525eab6e5548a4e8cbb0fb235f2804dc41aace82c67ceeebe0 SHA512 2ac614bb85fe466308c4ced0842fdab5f056eda60e892189a8220719f1e06a72fce3c76842a2ac8c63a6808c20d8b7a7d8676896e14f7f54e40630ecbd21e289 WHIRLPOOL d06a23622bfcef053ac4d959952060c8c1649ea0a5e2f759612caf5819a32944b3c7f6d78233fec83944fe7b5535851d7dca4579b7849e08951da18be503ed09
View
57 app-admin/metalog/metalog-3.ebuild
@@ -0,0 +1,57 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="3"
+
+inherit eutils
+
+DESCRIPTION="A highly configurable replacement for syslogd/klogd"
+HOMEPAGE="http://metalog.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~*"
+IUSE="unicode"
+
+RDEPEND=">=dev-libs/libpcre-3.4"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils"
+
+src_configure() {
+ econf $(use_with unicode)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog README NEWS metalog.conf
+
+ # Replace stock metalog.conf with new one.
+ rm -f "${D}/etc/metalog.conf"
+ install "${FILESDIR}/metalog.conf" "${D}/etc/metalog.conf" -m 0600 -o root -g root
+
+ into /
+ dosbin "${FILESDIR}"/consolelog.sh || die
+ dosbin "${FILESDIR}/metalog-postrotate-compress.sh" || die
+
+ newinitd "${FILESDIR}"/metalog.initd metalog
+ newconfd "${FILESDIR}"/metalog.confd metalog
+}
+
+pkg_preinst() {
+ if [[ -d "${ROOT}"/etc/metalog ]] && [[ ! -e "${ROOT}"/etc/metalog.conf ]] ; then
+ mv -f "${ROOT}"/etc/metalog/metalog.conf "${ROOT}"/etc/metalog.conf
+ rmdir "${ROOT}"/etc/metalog
+ export MOVED_METALOG_CONF=true
+ else
+ export MOVED_METALOG_CONF=false
+ fi
+}
+
+pkg_postinst() {
+ if ${MOVED_METALOG_CONF} ; then
+ ewarn "The default metalog.conf file has been moved"
+ ewarn "from /etc/metalog/metalog.conf to just"
+ ewarn "/etc/metalog.conf. If you had a standard"
+ ewarn "setup, the file has been moved for you."
+ fi
+}
View
2 dev-python/httplib2/Manifest
@@ -1 +1 @@
-DIST httplib2-0.7.4.tar.gz 110136 RMD160 007d5559ffc7c27fe6ecee0bdf8180e26be3e37e SHA1 91e5cbd92216721cc1cd701f9e83a89a14384961 SHA256 d268909d2df54098ec426fafc93a933adac7b713a4edb99113ba706a43882a91
+DIST httplib2-0.7.5.tar.gz 140875 SHA256 5290d1a11fd04cb47edcb1001cefba8adfc53616d3164a4a409f41f25ea5cc37 SHA512 5d98ad6d75c1efc151baf2a291248a85ea71e95f608197229b376b4f21d336e388700b283846eaf01fab80c30fbcaec93e6e85aafadf5b330b4a5f4a270f989b WHIRLPOOL 0f95acb7c6e515a1451d8848f2f77a5a743cc7f6dfbb465f64f3048fab41e0c6bc2c9e138a3100bf70eda962fcf948536453afc00cc37d34c72f9ae346c55c3f
View
4 ...thon/httplib2/httplib2-0.7.4-r1000.ebuild → ...thon/httplib2/httplib2-0.7.5-r1000.ebuild
@@ -10,13 +10,13 @@ PYTHON_TESTS_FAILURES_TOLERANT_ABIS="*-jython"
inherit distutils
-DESCRIPTION="A comprehensive HTTP client library"
+DESCRIPTION="A comprehensive HTTP client library."
HOMEPAGE="http://code.google.com/p/httplib2/ http://pypi.python.org/pypi/httplib2"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 sparc x86 ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE=""
DEPEND="$(python_abi_depend dev-python/setuptools)"
View
2 dev-python/netaddr/Manifest
@@ -1 +1 @@
-DIST netaddr-0.7.7.tar.gz 1303385 RMD160 e3179c7d34e8601b3aa7940c9477eeb64b12d382 SHA1 5126e76b9b241c2dfcf0dfbfa22b6372194b066e SHA256 64bb6ad22b4d715ae94d67bc0c9f5ddd1ce2cd071c29bcaa77fd5f9d3ceb81c7
+DIST netaddr-0.7.9.tar.gz 1309881 SHA256 02db164a886397986ce483f3388e4f45030ed521becadfdfb02dc8fba26c15cd SHA512 8f6d36e8e82cad80a3f0737b380192a7f0c77b9355ceaada8049d8a7ea72206086bba3cd71429b324a00604136048b29a844508d5fd45540f0869870c651786a WHIRLPOOL 263f4671ed353b7efb0a81deca6b2e3adc02c2ec5ef9334e38edcb9b4e8cbd884fdaf5752a17c5a465206bb222a8e7fa23431bb2e47c549360bde6a56246c37f
View
13 ...python/netaddr/netaddr-0.7.7-r1000.ebuild → ...python/netaddr/netaddr-0.7.9-r1000.ebuild
@@ -20,6 +20,19 @@ IUSE="cli"
DEPEND="cli? ( $(python_abi_depend -e "2.5 *-jython" dev-python/ipython) )"
RDEPEND="${DEPEND}"
+src_prepare() {
+ distutils_src_prepare
+
+ # https://github.com/drkjam/netaddr/issues/33
+ sed -e "s/if sys.version_info\[0\] == 3:/if False:/" -i setup.py
+
+ # https://github.com/drkjam/netaddr/issues/34
+ sed \
+ -e "s/from netaddr.compat import _dict_items/&, _callable/" \
+ -e "s/if callable/if _callable/" \
+ -i netaddr/ip/iana.py
+}
+
src_test() {
testing() {
python_execute PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" netaddr/tests/__init__.py
View
2 dev-python/paver/Manifest
@@ -1 +1 @@
-DIST Paver-1.0.5.tar.gz 271147 RMD160 7d5874c073efdb6d1ee832c3b23c033caf0dd271 SHA1 f35f33baef532ffc9c94c92ff65664ab55793afb SHA256 43ba0644a1412629cdc54b6b177f2b6f4337031b8556ab27a73f0f48ebb1496e
+DIST Paver-1.1.1.tar.gz 304881 SHA256 7a269091c3c82dc0b862ad70e26031225c2569bca89f0913f39c766c6c8e2f7e SHA512 fd9b44ee826b47352381ebd6c79938a64f271cf2a31ea2cab591316d671066447b0df003fd535176f67bf911dcc008ae0660302ea6c637ab771f5e2c9b80f2e2 WHIRLPOOL 4ac6f7a267569395768451ebdb098f246672fb42b8aad9d09d36d03a5bf484bc3845703d4aee91cf87538dbc1105653f57ca64314db0351b3e3f1a01324cd81e
View
7 dev-python/paver/paver-1.0.5.ebuild → dev-python/paver/paver-1.1.1-r1000.ebuild
@@ -13,7 +13,7 @@ MY_PN="Paver"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Easy build, distribution and deployment scripting"
-HOMEPAGE="http://pypi.python.org/pypi/Paver"
+HOMEPAGE="http://paver.github.com/ https://github.com/paver/paver http://pypi.python.org/pypi/Paver"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
@@ -35,9 +35,6 @@ src_install() {
python_execute_function -q delete_documentation
if use doc; then
- pushd paver/docs > /dev/null
- insinto /usr/share/doc/${PF}/html
- doins -r [a-z]* _images _static
- popd > /dev/null
+ dohtml -r paver/docs/
fi
}
View
13 metadata/md5-cache/app-admin/metalog-3
@@ -0,0 +1,13 @@
+DEFINED_PHASES=configure install postinst preinst
+DEPEND=>=dev-libs/libpcre-3.4 app-arch/xz-utils
+DESCRIPTION=A highly configurable replacement for syslogd/klogd
+EAPI=3
+HOMEPAGE=http://metalog.sourceforge.net/
+IUSE=unicode
+KEYWORDS=~*
+LICENSE=GPL-2
+RDEPEND=>=dev-libs/libpcre-3.4
+SLOT=0
+SRC_URI=mirror://sourceforge/metalog/metalog-3.tar.xz
+_eclasses_=eutils f98a70ed99fbfc479df6694dc8af82ac multilib c2b85b5c63a44798c1e442147ac14c5c toolchain-funcs d3b5812eeab360bc41aa48b6cdbbc142 user d0a4d0735a6c0183d707ca919bd72f28
+_md5_=b1690c654ac29dd10706a200b841a27b
View
8 ...md5-cache/dev-python/httplib2-0.7.4-r1000 → ...md5-cache/dev-python/httplib2-0.7.5-r1000
@@ -1,14 +1,14 @@
DEFINED_PHASES=compile install postinst postrm prepare setup test
DEPEND=dev-python/setuptools[python_abis_2.5?,python_abis_2.6?,python_abis_2.7?,python_abis_3.2?,python_abis_3.3?,python_abis_2.5-jython?,python_abis_2.7-jython?,python_abis_2.7-pypy-1.8?,python_abis_2.7-pypy-1.9?] python_abis_2.5? ( dev-lang/python:2.5[ssl] ) python_abis_2.6? ( dev-lang/python:2.6[ssl] ) python_abis_2.7? ( dev-lang/python:2.7[ssl] ) python_abis_3.2? ( dev-lang/python:3.2[ssl] ) python_abis_3.3? ( dev-lang/python:3.3[ssl] ) python_abis_2.5-jython? ( dev-lang/jython:2.5[ssl] ) python_abis_2.7-jython? ( dev-lang/jython:2.7[ssl] ) python_abis_2.7-pypy-1.8? ( dev-python/pypy:1.8[ssl] ) python_abis_2.7-pypy-1.9? ( dev-python/pypy:1.9[ssl] )
-DESCRIPTION=A comprehensive HTTP client library
+DESCRIPTION=A comprehensive HTTP client library.
EAPI=4-python
HOMEPAGE=http://code.google.com/p/httplib2/ http://pypi.python.org/pypi/httplib2
IUSE=python_abis_2.5 python_abis_2.6 python_abis_2.7 python_abis_3.2 python_abis_3.3 python_abis_2.5-jython python_abis_2.7-jython python_abis_2.7-pypy-1.8 python_abis_2.7-pypy-1.9
-KEYWORDS=~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 sparc x86 ~x64-macos
+KEYWORDS=~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos
LICENSE=MIT
RDEPEND=python_abis_2.5? ( dev-lang/python:2.5[ssl] ) python_abis_2.6? ( dev-lang/python:2.6[ssl] ) python_abis_2.7? ( dev-lang/python:2.7[ssl] ) python_abis_3.2? ( dev-lang/python:3.2[ssl] ) python_abis_3.3? ( dev-lang/python:3.3[ssl] ) python_abis_2.5-jython? ( dev-lang/jython:2.5[ssl] ) python_abis_2.7-jython? ( dev-lang/jython:2.7[ssl] ) python_abis_2.7-pypy-1.8? ( dev-python/pypy:1.8[ssl] ) python_abis_2.7-pypy-1.9? ( dev-python/pypy:1.9[ssl] )
REQUIRED_USE=|| ( python_abis_2.5 python_abis_2.6 python_abis_2.7 python_abis_3.2 python_abis_3.3 python_abis_2.5-jython python_abis_2.7-jython python_abis_2.7-pypy-1.8 python_abis_2.7-pypy-1.9 )
SLOT=0
-SRC_URI=http://httplib2.googlecode.com/files/httplib2-0.7.4.tar.gz
+SRC_URI=http://httplib2.googlecode.com/files/httplib2-0.7.5.tar.gz
_eclasses_=distutils 82a876811ffd4907daba6062958daa26 python 1a2be1ad82e0d83243e3808e4edb70c5
-_md5_=b5df863b3ae9f5e4a0cb3df4d6e8b1a5
+_md5_=cf994d52ca661ce72033925cf8556ff1
View
4 .../md5-cache/dev-python/netaddr-0.7.7-r1000 → .../md5-cache/dev-python/netaddr-0.7.9-r1000
@@ -9,6 +9,6 @@ LICENSE=BSD
RDEPEND=cli? ( ( python_abis_2.6? ( dev-python/ipython[python_abis_2.6] ) python_abis_2.7? ( dev-python/ipython[python_abis_2.7] ) python_abis_3.1? ( dev-python/ipython[python_abis_3.1] ) python_abis_3.2? ( dev-python/ipython[python_abis_3.2] ) python_abis_3.3? ( dev-python/ipython[python_abis_3.3] ) python_abis_2.7-pypy-1.8? ( dev-python/ipython[python_abis_2.7-pypy-1.8] ) python_abis_2.7-pypy-1.9? ( dev-python/ipython[python_abis_2.7-pypy-1.9] ) ) ) python_abis_2.5? ( dev-lang/python:2.5 ) python_abis_2.6? ( dev-lang/python:2.6 ) python_abis_2.7? ( dev-lang/python:2.7 ) python_abis_3.1? ( dev-lang/python:3.1 ) python_abis_3.2? ( dev-lang/python:3.2 ) python_abis_3.3? ( dev-lang/python:3.3 ) python_abis_2.5-jython? ( dev-lang/jython:2.5 ) python_abis_2.7-jython? ( dev-lang/jython:2.7 ) python_abis_2.7-pypy-1.8? ( dev-python/pypy:1.8 ) python_abis_2.7-pypy-1.9? ( dev-python/pypy:1.9 )
REQUIRED_USE=|| ( python_abis_2.5 python_abis_2.6 python_abis_2.7 python_abis_3.1 python_abis_3.2 python_abis_3.3 python_abis_2.5-jython python_abis_2.7-jython python_abis_2.7-pypy-1.8 python_abis_2.7-pypy-1.9 )
SLOT=0
-SRC_URI=mirror://github/drkjam/netaddr/netaddr-0.7.7.tar.gz
+SRC_URI=mirror://github/drkjam/netaddr/netaddr-0.7.9.tar.gz
_eclasses_=distutils 82a876811ffd4907daba6062958daa26 python 1a2be1ad82e0d83243e3808e4edb70c5
-_md5_=e197a3c3fc16b44d83aabbdeb7606dbd
+_md5_=800d73ad19f31ee9b9886775e2241ade
View
6 metadata/md5-cache/dev-python/paver-1.0.5 → ...ta/md5-cache/dev-python/paver-1.1.1-r1000
@@ -2,13 +2,13 @@ DEFINED_PHASES=compile install postinst postrm prepare setup test
DEPEND=dev-python/setuptools[python_abis_2.5?,python_abis_2.6?,python_abis_2.7?,python_abis_2.5-jython?,python_abis_2.7-jython?,python_abis_2.7-pypy-1.8?,python_abis_2.7-pypy-1.9?] python_abis_2.5? ( dev-lang/python:2.5 ) python_abis_2.6? ( dev-lang/python:2.6 ) python_abis_2.7? ( dev-lang/python:2.7 ) python_abis_2.5-jython? ( dev-lang/jython:2.5 ) python_abis_2.7-jython? ( dev-lang/jython:2.7 ) python_abis_2.7-pypy-1.8? ( dev-python/pypy:1.8 ) python_abis_2.7-pypy-1.9? ( dev-python/pypy:1.9 ) test? ( dev-python/nose[python_abis_2.5?,python_abis_2.6?,python_abis_2.7?,python_abis_2.5-jython?,python_abis_2.7-jython?,python_abis_2.7-pypy-1.8?,python_abis_2.7-pypy-1.9?] )
DESCRIPTION=Easy build, distribution and deployment scripting
EAPI=4-python
-HOMEPAGE=http://pypi.python.org/pypi/Paver
+HOMEPAGE=http://paver.github.com/ https://github.com/paver/paver http://pypi.python.org/pypi/Paver
IUSE=doc python_abis_2.5 python_abis_2.6 python_abis_2.7 python_abis_2.5-jython python_abis_2.7-jython python_abis_2.7-pypy-1.8 python_abis_2.7-pypy-1.9 test
KEYWORDS=amd64 x86
LICENSE=BSD
RDEPEND=python_abis_2.5? ( dev-lang/python:2.5 ) python_abis_2.6? ( dev-lang/python:2.6 ) python_abis_2.7? ( dev-lang/python:2.7 ) python_abis_2.5-jython? ( dev-lang/jython:2.5 ) python_abis_2.7-jython? ( dev-lang/jython:2.7 ) python_abis_2.7-pypy-1.8? ( dev-python/pypy:1.8 ) python_abis_2.7-pypy-1.9? ( dev-python/pypy:1.9 )
REQUIRED_USE=|| ( python_abis_2.5 python_abis_2.6 python_abis_2.7 python_abis_2.5-jython python_abis_2.7-jython python_abis_2.7-pypy-1.8 python_abis_2.7-pypy-1.9 )
SLOT=0
-SRC_URI=mirror://pypi/P/Paver/Paver-1.0.5.tar.gz
+SRC_URI=mirror://pypi/P/Paver/Paver-1.1.1.tar.gz
_eclasses_=distutils 82a876811ffd4907daba6062958daa26 python 1a2be1ad82e0d83243e3808e4edb70c5
-_md5_=ade27d38a8563b4917b158dda443e593
+_md5_=40fca019ee3065f881e6afb9feb49fa8
View
15 metadata/md5-cache/sys-apps/openrc-0.10.2-r4
@@ -0,0 +1,15 @@
+DEFINED_PHASES=compile install postinst prepare setup unpack
+DEPEND=ncurses? ( sys-libs/ncurses ) pam? ( virtual/pam ) virtual/os-headers
+DESCRIPTION=OpenRC manages the services, startup and shutdown of a host
+EAPI=4
+HOMEPAGE=http://roy.marples.name/openrc
+IUSE=debug elibc_glibc ncurses pam selinux static-libs unicode kernel_linux kernel_FreeBSD
+KEYWORDS=*
+LICENSE=BSD-2
+PROVIDE=virtual/baselayout
+RDEPEND=kernel_linux? ( >=sys-apps/sysvinit-2.86-r11 ) kernel_FreeBSD? ( virtual/init sys-process/fuser-bsd ) ncurses? ( sys-libs/ncurses ) pam? ( virtual/pam ) >=sys-apps/baselayout-2.2 >=sys-fs/udev-135 sys-apps/iproute2
+RESTRICT=mirror
+SLOT=0
+SRC_URI=https://www.github.com/funtoo/openrc/tarball/funtoo-openrc-0.10.2-r4 -> openrc-funtoo-openrc-0.10.2-r4.tar.gz https://www.github.com/funtoo/corenetwork/tarball/1.3.1 -> corenetwork-1.3.1.tar.gz
+_eclasses_=eutils f98a70ed99fbfc479df6694dc8af82ac flag-o-matic 2c938a1fe61ea9899a2b97ea1e065f5f multilib c2b85b5c63a44798c1e442147ac14c5c pam 5c1a9ef4892062f9ec25c8ef7c1f1e52 toolchain-funcs d3b5812eeab360bc41aa48b6cdbbc142 user d0a4d0735a6c0183d707ca919bd72f28
+_md5_=18a27f71e3acafa99873237f0e32a332
View
5 profiles/package.mask/funtoo-cautionary
@@ -1,3 +1,8 @@
+# Oleg Vinichenko (27 Aug 2012)
+# mask latest nano, breaks stages, until https://bugs.gentoo.org/show_bug.cgi?id=432958
+# resolved
+=app-editors/nano-2.3.1-r2
+
# Oleg Vinichenko (11 Aug 2012)
# mask latest iproute2 per bug #430320
>=sys-apps/iproute2-3.5.0
View
2 sys-apps/openrc/Manifest
@@ -1,8 +1,10 @@
DIST corenetwork-1.2.tar.gz 12839 SHA256 9f4e1f52f42e345a9931270704b61ddb62efe00c169a84b04495516457e04284
DIST corenetwork-1.3-r1.tar.gz 13391 SHA256 d53f572c8d9c10994f6e149d1937a76e4ffe3ce35b3928cc01cd21912c9cdf93
DIST corenetwork-1.3-r2.tar.gz 13405 SHA256 5ed666055eb9a3371abd135b8cb7780c2ff61233950d82af411c2b6030b71749 SHA512 a4adab27b375ef0539752ed93a435c65b6e97af32dafd33f45713ede378c16a6460d17d48c1faf1dd3bb3b64e89320b67bf378e14fa7c987c0239e2f5e57057f WHIRLPOOL 74b13be415c10fddfc35e050ce328508f2dcd2d0faa35b3d6c4b7c56b3521e6555b17fa57ad2e0c449cdf187b9f1a28fdf3359d414b8330ff23523dd6a2c3c39
+DIST corenetwork-1.3.1.tar.gz 13477 SHA256 4b67d3c762351f12d97ac683625a4e4f1470100ece5f065b24159938c6d9bde5 SHA512 3e24c11748ef3c977bfaab89ad9a3dd9e13df12e7884a646e2a7547d886ff778eee2b5da0356871907636ee72ac6d06f784a49ef412742fda59294fe308146be WHIRLPOOL d881cda7c6ca97d3445ca00ceb077cbb4d89788b5c758a90549e6efd0acc13cd6d5d452b8e861ff15a848155b846b863fe019fea86f3576ef45b0039403c8485
DIST corenetwork-1.3.tar.gz 13321 SHA256 e77e67d1e143ab977b6a46aa12a0005f177393be4d3fbe825d1a8f05697fb38a
DIST openrc-funtoo-openrc-0.10-r1.tar.gz 214742 SHA256 a9de3984517cdf62492fdfe8df1d416bb8b2770c08bac3aa08ba8dbb8d5c4716 SHA512 a7e9b29fda2199ac41db2ccb9fb73b37855ddbd89a442ce5dd88d0813412e2bc6e9c5a0f50070537187f65c5b433fd99578e607b4c598590779b2aab85a0ca8a WHIRLPOOL 5974300117de96689804e9121f2fda5d75237a5a303d03cb870bea0f2817eb2804cc4d52cbc784a629e6bfb328625d15e1374f687696970571070c911cb62028
DIST openrc-funtoo-openrc-0.10-r2.tar.gz 214816 SHA256 5ef27ba7eb08c147d5b7ae09089e1f7f7722344f3f69048e6b76c756d41ddbf3 SHA512 9196417fc2a4f1a2035873db3d9d1800c361ba17601fc070f1be73f65e8208cfd8328ee195fdaf7a88aab271dafdb6df0245000e15826f03eb47645f7846260c WHIRLPOOL 4380781da17e357bea997bab7d2a08e74ce02fd36abd644600dea21527d0b60d68cd42d715539f3828f5baa1a5e78a586e8b966f4c348aced5b40c4409ee252f
+DIST openrc-funtoo-openrc-0.10.2-r4.tar.gz 214794 SHA256 f134da20ea689b4fff938a47177528ee40bb56c96d40deeffd5c6fdf86da898d SHA512 ff299e99e3ddca625948967a718be929cdf43ce068f8c3b52f8ba5cc3c86a55e8689ea1acb759c8e6ff24fc2e459dfbc865f7b45baaf849fb4f1bb0123b5dccc WHIRLPOOL 5821707a7c4c39a5c10f1d32079abbae1813dd2ee2d92c02aa984e539cc74bc4edb7c5b6e53d75185d2e765cf938b1870f0808b4a6bcab12247592324d874621
DIST openrc-funtoo-openrc-0.10.tar.gz 214391 SHA256 2aa36866f9e176988619be08a6d78770d30c406f4b1ea55dc912d7ee453b2cf3 SHA512 896b7207748bd7bdfbdc45cad15a914dbfe6a9cb77154cefea725ab44dc63e63ec00a383c5ad9559f0267954f19fb15bb68dadd6c7bfd85545edfd1abcb104e8 WHIRLPOOL 486b8e8a9e39e2dc2ef05062b68b1e226e483572ee87111087ee4a886e2062c01c6b606933c5d04115e8d30c0e8674125d675555736cbdbc662bbfb3d9aaa413
DIST openrc-funtoo-openrc-0.8.3.tar.gz 203837 SHA256 a410ecff9971ec9d89c8dbfd50fa299da17bde63912e1e9392be53daf22d448c SHA512 c01d80010a4fee8965886e46c72ddb546f2bc18bcb8b95074bb3893802820d1d9a39a85dc9f128d6faf77b473c3cab119055522d07b7c1d037a6c26a89d1ba6f WHIRLPOOL 6ce229b13d69b3c6010e5825c91a80d384db13667d8d1d316be5731f2b6a46843b68141d6b33fd2c3c6420a279e5b611de329efbddb91abb496aac736502e447
View
240 sys-apps/openrc/openrc-0.10.2-r4.ebuild
@@ -0,0 +1,240 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit eutils flag-o-matic multilib pam toolchain-funcs
+
+DESCRIPTION="OpenRC manages the services, startup and shutdown of a host"
+HOMEPAGE="http://roy.marples.name/openrc"
+PROVIDE="virtual/baselayout"
+RESTRICT="mirror"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="*"
+IUSE="debug elibc_glibc ncurses pam selinux static-libs unicode kernel_linux kernel_FreeBSD"
+
+RDEPEND="kernel_linux? ( >=sys-apps/sysvinit-2.86-r11 )
+ kernel_FreeBSD? ( virtual/init sys-process/fuser-bsd )
+ ncurses? ( sys-libs/ncurses )
+ pam? ( virtual/pam )
+ >=sys-apps/baselayout-2.2
+ >=sys-fs/udev-135
+ sys-apps/iproute2"
+
+DEPEND="ncurses? ( sys-libs/ncurses ) pam? ( virtual/pam ) virtual/os-headers"
+
+GITHUB_REPO="${PN}"
+GITHUB_USER="funtoo"
+GITHUB_TAG="funtoo-openrc-0.10.2-r4"
+
+NETV="1.3.1"
+GITHUB_REPO_CN="corenetwork"
+GITHUB_TAG_CN="$NETV"
+
+SRC_URI="
+ https://www.github.com/${GITHUB_USER}/${GITHUB_REPO}/tarball/${GITHUB_TAG} -> ${PN}-${GITHUB_TAG}.tar.gz
+ https://www.github.com/${GITHUB_USER}/${GITHUB_REPO_CN}/tarball/${GITHUB_TAG_CN} -> corenetwork-${NETV}.tar.gz
+ "
+
+make_args() {
+ unset LIBDIR #266688
+
+ MAKE_ARGS="${MAKE_ARGS} LIBNAME=$(get_libdir) LIBEXECDIR=/$(get_libdir)/rc"
+
+ local brand="Unknown"
+ if use kernel_linux ; then
+ MAKE_ARGS="${MAKE_ARGS} OS=Linux"
+ brand="Linux"
+ elif use kernel_FreeBSD ; then
+ MAKE_ARGS="${MAKE_ARGS} OS=FreeBSD"
+ brand="FreeBSD"
+ fi
+ if use selinux; then
+ MAKE_ARGS="${MAKE_ARGS} MKSELINUX=yes"
+ fi
+ export BRANDING="Funtoo ${brand}"
+ if ! use static-libs; then
+ MAKE_ARGS="${MAKE_ARGS} MKSTATICLIBS=no"
+ fi
+}
+
+pkg_setup() {
+ export DEBUG=$(usev debug)
+ export MKPAM=$(usev pam)
+ export MKTERMCAP=$(usev ncurses)
+}
+
+src_unpack() {
+ unpack $A
+ # rename github directories to the names we're expecting:
+ local old=${WORKDIR}/${GITHUB_USER}-${PN}-*
+ mv $old "${WORKDIR}/${P}" || die "move fail 1"
+ old="${WORKDIR}/${GITHUB_USER}-corenetwork-*"
+ mv $old "${WORKDIR}/corenetwork-${NETV}" || die "move fail 2"
+}
+
+src_prepare() {
+ sed -i 's:0444:0644:' mk/sys.mk || die
+ sed -i "/^DIR/s:/openrc:/${PF}:" doc/Makefile || die #241342
+
+ if [[ ${PV} == "9999" ]] ; then
+ local ver="git-${EGIT_VERSION:0:6}"
+ sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/git.mk || die
+ fi
+}
+src_compile() {
+ make_args
+
+ tc-export CC AR RANLIB
+ emake ${MAKE_ARGS}
+}
+
+# set_config <file> <option name> <yes value> <no value> test
+# a value of "#" will just comment out the option
+set_config() {
+ local file="${D}/$1" var=$2 val com
+ eval "${@:5}" && val=$3 || val=$4
+ [[ ${val} == "#" ]] && com="#" && val='\2'
+ sed -i -r -e "/^#?${var}=/{s:=([\"'])?([^ ]*)\1?:=\1${val}\1:;s:^#?:${com}:}" "${file}"
+}
+
+set_config_yes_no() {
+ set_config "$1" "$2" YES NO "${@:3}"
+}
+
+src_install() {
+ make_args
+ emake ${MAKE_ARGS} DESTDIR="${D}" install
+
+ # move the shared libs back to /usr so ldscript can install
+ # more of a minimal set of files
+ # disabled for now due to #270646
+ #mv "${D}"/$(get_libdir)/lib{einfo,rc}* "${D}"/usr/$(get_libdir)/ || die
+ #gen_usr_ldscript -a einfo rc
+ gen_usr_ldscript libeinfo.so
+ gen_usr_ldscript librc.so
+
+ if ! use kernel_linux; then
+ keepdir /$(get_libdir)/rc/init.d
+ fi
+ keepdir /$(get_libdir)/rc/tmp
+
+ # Backup our default runlevels
+ dodir /usr/share/"${PN}"
+ cp -PR "${D}"/etc/runlevels "${D}"/usr/share/${PN} || die
+ rm -rf "${D}"/etc/runlevels
+
+ # Setup unicode defaults for silly unicode users
+ set_config_yes_no /etc/rc.conf unicode use unicode
+
+ # Cater to the norm
+ set_config_yes_no /etc/conf.d/keymaps windowkeys '(' use x86 '||' use amd64 ')'
+
+ # On HPPA, do not run consolefont by default (bug #222889)
+ if use hppa; then
+ rm -f "${D}"/usr/share/openrc/runlevels/boot/consolefont
+ fi
+
+ # Support for logfile rotation
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/openrc.logrotate openrc
+
+ # install the gentoo pam.d file
+ newpamd "${FILESDIR}"/start-stop-daemon.pam start-stop-daemon
+
+ # Remove upstream networking parts:
+
+ for pat in ${D}/lib64/rc/net/ ${D}/etc/init.d/{net.lo,network,staticroute} \
+ ${D}/usr/share/openrc/runlevels/boot/{net.lo,network,staticroute} \
+ ${D}/etc/conf.d/{net,network,staticroute}; do
+ rm -rf "$pat" || die "Couldn't remove upstream $pat from source."
+ done
+
+ # Install funtoo networking parts:
+
+ cd ${WORKDIR}/corenetwork-${NETV} || die
+ dodoc docs/index.rst || die
+ exeinto /etc/init.d || die
+ doexe init.d/{netif.tmpl,netif.lo} || die
+ cp -a netif.d ${D}/etc || die
+ chown -R root:root ${D}/etc/netif.d || die
+ chmod -R 0644 ${D}/etc/netif.d || die
+ ln -s /etc/init.d/netif.lo ${D}/usr/share/openrc/runlevels/sysinit/netif.lo || die
+
+}
+
+add_init() {
+ local runl=$1
+ shift
+ if [ ! -e ${ROOT}/etc/runlevels/${runl} ]
+ then
+ install -d -m0755 ${ROOT}/etc/runlevels/${runl}
+ fi
+ for initd in $*
+ do
+ [[ -e ${ROOT}/etc/runlevels/${runl}/${initd} ]] && continue
+ elog "Auto-adding '${initd}' service to your ${runl} runlevel"
+ ln -snf /etc/init.d/${initd} "${ROOT}"/etc/runlevels/${runl}/${initd}
+ done
+}
+
+pkg_postinst() {
+ local runl
+ install -d -m0755 ${ROOT}/etc/runlevels
+ local runldir="${ROOT}usr/share/openrc/runlevels"
+
+ # Remove old baselayout links
+ rm -f "${ROOT}"/etc/runlevels/boot/{check{fs,root},rmnologin}
+ rm -f "${ROOT}"/etc/init.d/{depscan,runscript}.sh
+ rm -f "${ROOT}"/etc/runlevels/boot/netif.lo
+
+ # CREATE RUNLEVEL DIRECTORIES
+ # ===========================
+
+ # To ensure proper system operation, this portion of the script ensures that
+ # all of OpenRC's default initscripts in all runlevels are properly
+ # installed.
+
+ for runl in $( cd "$runldir"; echo * )
+ do
+ einfo "Processing $runl..."
+ einfo "Ensuring runlevel $runl has all required scripts..."
+ add_init $runl $( cd "$runldir/$runl"; echo * )
+ done
+
+ # Rather than try to migrate everyone using complex scripts, simply print
+ # names of initscripts that are in the user's runlevels but not provided by
+ # OpenRC. This loop can be upgraded to look for particular scripts that
+ # might have come from baselayout.
+
+ for runl in $( cd ${ROOT}/etc/runlevels; echo * )
+ do
+ [ ! -d ${runldir}/${runl} ] && continue
+ for init in $( cd "$runldir/$runl"; echo * )
+ do
+ if [ -e ${ROOT}/etc/runlevels/${runl}/${init} ] && [ ! -e ${runldir}/${runl}/${init} ]
+ then
+ echo "Initscript ${init} exists in runlevel ${runl} but not in OpenRC."
+ fi
+ done
+ done
+
+ # OTHER STUFF
+ # ===========
+
+ # update the dependency tree bug #224171
+ [[ "${ROOT}" = "/" ]] && "${ROOT}/libexec"/rc/bin/rc-depend -u
+
+ elog "You should now update all files in /etc, using etc-update"
+ elog "or equivalent before rebooting."
+ elog
+
+ if path_exists -o "${ROOT}"/etc/conf.d/local.{start,stop} ; then
+ ewarn "/etc/conf.d/local.{start,stop} are deprecated. Please convert"
+ ewarn "your files to /etc/conf.d/local and delete the files."
+ fi
+
+ ewarn "Make sure that correct symlink exist"
+ ewarn "Re-establish it by ln -s /etc/init.d/netif.tmpl /etc/init.d/netif.ethX"
+}

0 comments on commit cffb788

Please sign in to comment.