parent
a905b2919c
commit
77e6f07eb1
@ -0,0 +1,12 @@
|
||||
diff -ur glance-2013.2.orig/doc/source/conf.py glance-2013.2/doc/source/conf.py
|
||||
--- doc/source/conf.py 2013-10-17 21:39:46.000000000 +0800
|
||||
+++ doc/source/conf.py 2013-11-13 18:51:29.099839976 +0800
|
||||
@@ -250,8 +250,3 @@
|
||||
|
||||
# If false, no module index is generated.
|
||||
#latex_use_modindex = True
|
||||
-
|
||||
-# Example configuration for intersphinx: refer to the Python standard library.
|
||||
-intersphinx_mapping = {'python': ('http://docs.python.org/', None),
|
||||
- 'nova': ('http://nova.openstack.org', None),
|
||||
- 'swift': ('http://swift.openstack.org', None)}
|
@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2012.2.4-r4.ebuild,v 1.1 2013/09/12 04:47:49 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Provides services for discovering, registering, and retrieving
|
||||
virtual machine images with Openstack"
|
||||
HOMEPAGE="https://launchpad.net/glance"
|
||||
SRC_URI="http://launchpad.net/${PN}/folsom/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ldap mysql postgres +sqlite +swift"
|
||||
REQUIRED_USE="|| ( ldap mysql postgres sqlite )"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-python/boto-2.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/anyjson[${PYTHON_USEDEP}]
|
||||
>=dev-python/eventlet-0.9.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/kombu[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/paste[${PYTHON_USEDEP}]
|
||||
dev-python/pastedeploy[${PYTHON_USEDEP}]
|
||||
dev-python/pycrypto[${PYTHON_USEDEP}]
|
||||
dev-python/python-glanceclient[${PYTHON_USEDEP}]
|
||||
dev-python/routes[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-migrate-0.7[${PYTHON_USEDEP}]
|
||||
=dev-python/webob-1.0.8-r1[${PYTHON_USEDEP}]
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]
|
||||
swift? (
|
||||
>=dev-python/python-swiftclient-1.2[${PYTHON_USEDEP}]
|
||||
<dev-python/python-swiftclient-2[${PYTHON_USEDEP}]
|
||||
)
|
||||
sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-0.7.10[sqlite,${PYTHON_USEDEP}] )
|
||||
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-0.7.10[mysql,${PYTHON_USEDEP}] )
|
||||
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-0.7.10[postgres,${PYTHON_USEDEP}] )
|
||||
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/glance-gbug-474064-folsom.patch"
|
||||
)
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
newconfd "${FILESDIR}/glance.confd" glance
|
||||
newinitd "${FILESDIR}/glance.initd" glance
|
||||
|
||||
for function in api registry scrubber; do
|
||||
dosym /etc/init.d/glance /etc/init.d/glance-${function}
|
||||
done
|
||||
|
||||
diropts -m 0750
|
||||
dodir /var/run/glance /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber
|
||||
#removed because it conflicts with glanceclient, which we install in rdepend
|
||||
rm ${D}"/usr/bin/glance" ${D}"/usr/bin/glance-python2.7"
|
||||
|
||||
keepdir /etc/glance
|
||||
keepdir /var/log/glance
|
||||
keepdir /var/lib/glance/images
|
||||
keepdir /var/lib/glance/scrubber
|
||||
insinto /etc/glance
|
||||
|
||||
doins "etc/glance-api-paste.ini"
|
||||
doins "etc/glance-api.conf"
|
||||
doins "etc/glance-cache.conf"
|
||||
doins "etc/glance-registry-paste.ini"
|
||||
doins "etc/glance-registry.conf"
|
||||
doins "etc/glance-scrubber.conf"
|
||||
doins "etc/logging.cnf.sample"
|
||||
doins "etc/policy.json"
|
||||
doins "etc/schema-image.json"
|
||||
}
|
@ -0,0 +1,128 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2013.2-r1.ebuild,v 1.1 2013/11/13 12:30:45 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Provides services for discovering, registering, and retrieving
|
||||
virtual machine images with Openstack"
|
||||
HOMEPAGE="https://launchpad.net/glance"
|
||||
SRC_URI="http://launchpad.net/${PN}/havana/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc mysql postgres +sqlite +swift test"
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.5.21[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.12[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-exclude[${PYTHON_USEDEP}]
|
||||
>=dev-python/openstack-nose-plugin-0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/nosehtmloutput-0.0.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.24-r1[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-0.6.1[${PYTHON_USEDEP}]
|
||||
dev-python/mysql-python[${PYTHON_USEDEP}]
|
||||
dev-python/psycopg[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyxattr-0.5.0[${PYTHON_USEDEP}]
|
||||
=dev-python/pep8-1.4.5[${PYTHON_USEDEP}]
|
||||
=dev-python/pyflakes-0.7.2[${PYTHON_USEDEP}]
|
||||
=dev-python/flake8-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/hacking-0.5.6[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-0.9.6[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? ( dev-python/oslo-sphinx )"
|
||||
#=dev-python/pysendfile-2.0.0 & dev-python/qpid-python need making and adding to portage under test?
|
||||
#note to self, wsgiref is a python builtin, no need to package it
|
||||
#>=dev-python/wsgiref-0.1.2[${PYTHON_USEDEP}]
|
||||
|
||||
RDEPEND=">=dev-python/pbr-0.5.21[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}]
|
||||
sqlite? ( >=dev-python/sqlalchemy-0.7.8[sqlite,${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-0.7.99[sqlite,${PYTHON_USEDEP}] )
|
||||
mysql? ( >=dev-python/sqlalchemy-0.7.8[mysql,${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-0.7.99[mysql,${PYTHON_USEDEP}] )
|
||||
postgres? ( >=dev-python/sqlalchemy-0.7.8[postgres,${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-0.7.99[postgres,${PYTHON_USEDEP}] )
|
||||
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/routes-1.12.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
|
||||
<dev-python/webob-1.3[${PYTHON_USEDEP}]
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]
|
||||
>=dev-python/boto-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-migrate-0.7.2[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
>=dev-python/kombu-2.4.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.2.0[${PYTHON_USEDEP}]
|
||||
swift? (
|
||||
>=dev-python/python-swiftclient-1.5[${PYTHON_USEDEP}]
|
||||
<dev-python/python-swiftclient-2[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/lxml-2.3[${PYTHON_USEDEP}]
|
||||
dev-python/paste[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-1.3.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/jsonschema-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-cinderclient-1.0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-0.3.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-sphinx_mapping.patch )
|
||||
|
||||
python_compile_all() {
|
||||
use doc && "${PYTHON}" setup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests glance/ -I test_notifier.py || die "tests failed under python2.7"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
newconfd "${FILESDIR}/glance.confd" glance
|
||||
newinitd "${FILESDIR}/glance-2.initd" glance
|
||||
|
||||
for function in api registry scrubber; do
|
||||
dosym /etc/init.d/glance /etc/init.d/glance-${function}
|
||||
done
|
||||
|
||||
diropts -m 0750
|
||||
dodir /var/run/glance /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber
|
||||
keepdir /etc/glance
|
||||
keepdir /var/log/glance
|
||||
keepdir /var/lib/glance/images
|
||||
keepdir /var/lib/glance/scrubber
|
||||
insinto /etc/glance
|
||||
|
||||
doins "etc/glance-api-paste.ini"
|
||||
doins "etc/glance-api.conf"
|
||||
doins "etc/glance-cache.conf"
|
||||
doins "etc/glance-registry-paste.ini"
|
||||
doins "etc/glance-registry.conf"
|
||||
doins "etc/glance-scrubber.conf"
|
||||
doins "etc/logging.cnf.sample"
|
||||
doins "etc/policy.json"
|
||||
doins "etc/schema-image.json"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,41 +1,17 @@
|
||||
AUX 3.4/syslog-ng-3.4.2-autotools.patch 1313 SHA256 20b6fc12f119d548536435ad7c5e166488443eeebe8ee08e30adefa6038aafa3 SHA512 c5b84bc32c9b019452b8b3f369dc4689e40b59dc392e448412e14730679d452d4323d70ae73cc6fd126a44df6331c18d2168f05675a399e2ba868115944880ed WHIRLPOOL f7bc249b6ea28db74661b6682ff3c377b80ffeaa28412bfa378686f435a617d972a81d8dfc9382f2f8c44062ee35fc9e3217ef40a04d55f1bcf6578fb88e2c63
|
||||
AUX 3.4/syslog-ng-3.4.2-compile.patch 239 SHA256 1400220d00e35261afdb93e9f199e5527ad8f6cd14f0b1fc7f89e6668b09979a SHA512 f8ec051d4fecb88f26279bb510ff892e93b9a211b5bd9312f734846a3108a6645d1de355c5d3aadb6fddd8e01bba40fd6489a6bf8f6a2f73466016b24bcbe930 WHIRLPOOL e7550d9def8c94e81eb9b7501d79b79acaa6fe6aeada4cf0840b72e65520a529010c8aa36df6221639226f2a53ee78f28993219364b2d500a49daa0261b78f55
|
||||
AUX 3.4/syslog-ng-3.4.3-autotools.patch 693 SHA256 077dd0b6a232a0ab0d9fe14979dd0ba290125e7161894d749fac6c3ff80e42fa SHA512 6b7d05d01c926bae5f13d5db61cc84f9a7a506ce80060fe02f674594d4c05f236d4ec80465ab1ba74b8e80c2047178053b7b0ec33f6273758c6690f5e63059b1 WHIRLPOOL 930bab476889e26131532acbbeb9075d27ee67c00b4cf56344090eaf1e75d653c97efe4e435f9ded8188c7e9ca59a60958602ed5d91afec913bfcdd8cced6097
|
||||
AUX 3.4/syslog-ng-3.4.4-autotools.patch 693 SHA256 077dd0b6a232a0ab0d9fe14979dd0ba290125e7161894d749fac6c3ff80e42fa SHA512 6b7d05d01c926bae5f13d5db61cc84f9a7a506ce80060fe02f674594d4c05f236d4ec80465ab1ba74b8e80c2047178053b7b0ec33f6273758c6690f5e63059b1 WHIRLPOOL 930bab476889e26131532acbbeb9075d27ee67c00b4cf56344090eaf1e75d653c97efe4e435f9ded8188c7e9ca59a60958602ed5d91afec913bfcdd8cced6097
|
||||
AUX 3.4/syslog-ng.conf.gentoo 1332 SHA256 949c0f2a9f4351be23249ba1b7763b5d4ff9ab4907c1211cc3e92b6bc9705c8e SHA512 bdbcfa27368ed75daac153d91c50555bea892f492639a2448e47a6f38a9b84808eedd35db09347a385c70725ab8349798f624aa5e2f730fb99b2986d05afb1a4 WHIRLPOOL d639db780aa07438e1a33b85cf3f388782f84fe884b95303605ccd58bf95232e5e013c5d491b44034e7d90121064b9c749d91c2fa6352ccb44db90d12d792d82
|
||||
AUX 3.4/syslog-ng.conf.gentoo.fbsd 727 SHA256 d45f4befbf3f098a4a3e7bff80a6536931c3386eb94145f8e7495d9eb8ece0fc SHA512 a8f94d3cd4f120c3cb69f4e938877f62e87f7a6a3f422575e130b49ed3fa37effc6dc0c53398031602f9bcf26a1ce3b5267701483f045829960796098e843fb0 WHIRLPOOL 37ceec9bb7a1cc829b1eeb1aa8e9af162b67e90e03d862bc215150e011ad8be433270d658029fd72963d2486c72f5046e9d6e007a62f170c1295d61d68b62ca4
|
||||
AUX 3.4/syslog-ng.conf.gentoo.hardened 4658 SHA256 5efb3976249fd44d01af2c287f35e9c3a61e74909b4f7d9f63dabc32eb4e3f74 SHA512 d326832592b016b3fec1119ff90c4898fc4351bbeccff32295712229e955b72ea80a282cbcb527862371c5899446ee4747f95fe898e36338c47683121598140e WHIRLPOOL e1eb845712cbff8a3a3f656689b1c8a1573882cc9850211bba22eb5cf46adc2337799fa4992d17e5e32a67ea7ae4f7ff65034dcb1606a6ccb82f565d1ef80098
|
||||
AUX 3.4/syslog-ng.confd 1496 SHA256 d28c269c8aa2876a389aefdc76b18bcd30eb6653ea1e54a0eb6fb596568643b6 SHA512 792258acfb78caabc2078f0c7c1fb6c61fe0ad91ca45d4901a0257d687e51edbf81ca67a304ead345579855ae2ba0a7fd8b82f1e80e798d4b6c339c31b687afb WHIRLPOOL 3552c19038489743740acf5e77df83d54bb750547055a6c0711a2d6ec9b97fb1389e33142e2fdbc42a9dc84c69b67329657bf1c519492e2c0a2a71a7a8c78444
|
||||
AUX 3.4/syslog-ng.rc6 2052 SHA256 f2a180881e061963b1cb85aef0b06e54141158009ca8770d6e7a4832a451052f SHA512 f90e205391c716dc19ceae02b410e134a3763426dc7df22058d2624f43f474139e7771f7e38fb1aa3072de7da5e2cac91fc8270c8ae2967c392d56a9bd3bec96 WHIRLPOOL 2d448a7dfea10f25e82954adfe4b77c80a1017a89a3f701384074d5daced1ff44e81d877e71063ee20a230565b64b199b03541bb0d10065634f3130a05122331
|
||||
AUX README.hardened 358 SHA256 712e5bb70d79e416237ccd69a73e0b8deaf7d9bfbb92a0c85554a12bebbaf6bc SHA512 75b4af1543436506e28d9b0e2625985ab864d1452604b1514ec030df822c36d90ae062508381610cc1f750082a52545f8678102dc475abff15f0f3c9a838128e WHIRLPOOL 7980551efe131b736c2542f7d066e2442201be3e541dc0036e92de1c5379d945148164b628b47ec5c5379c1e50ead7120f653c63ab78feefe69c5753998c0295
|
||||
AUX syslog-ng-3.3.5-afsocket.patch 1384 SHA256 d363ad6ee2d994ff7f3e32b6ea2ad3889033023332ffd76d963313716dc0dc59 SHA512 8704cf813778e72ce70f8e8b88c53ebf570880ff591c5b3d9c4239e72fa97223f9e492473096b82b89b61edeb2cadcd8bb9794fb0a83b4755ad691637b193929 WHIRLPOOL d7c5aeaec98eeeda80713033c891fa916b52f9591e46031b0b032a1a8340c29fb41ebb3d96203f0d5e3670a07502061f0e1c08e14d766870fdc4d30e40dab41e
|
||||
AUX syslog-ng-3.3.5-compile.patch 250 SHA256 831476d524a2fb32fe944a960f5adb4f97fde6ded8d84eb1ad9ef00b5f1a9354 SHA512 ad865b18cb8ea8509abeced4f42b9fd303e2a3f41ff9c58fd23ee5331b6248409a54963ee15dc5803c9f69532809048fd996e9197e9d459b03ccbd3ba2b5c9fd WHIRLPOOL 3f36605448b10eeddf6aeaeede64815edc5b48371c65270d6b83758477cdfcc79e7361521ff00f5922da5b1aff5c17c6e1ed4b36ef649f4c3a95020ccec2d422
|
||||
AUX syslog-ng-3.3.5-gprocess.patch 1583 SHA256 da5267e191690a38d63304f5943e79a3384bbb797f38e10604af85595e925402 SHA512 6a08ebaa96a54cdbb441d95632f98e74bf410f9c2db74238c60b0eca02094eab6c237d38d000cb63995586914b2414f8e8aa7d0c1e9f031befeaf03b04bf3056 WHIRLPOOL d9bf12718783fb66727381eed0040d2b3f4c61be9498ac1dd87a57a14eff418ad9dea854c6edbc11c8bf82c902016c8742a8cb09973189b2991c6db322a1ce9f
|
||||
AUX syslog-ng-3.3.5-include.patch 277 SHA256 6b0742fa215d32394ac050aeef94a386febb51cd6090dd37ac5b7d42cdc410e2 SHA512 e972a222b973561499cd993066d6c56be7c0a4ff5fdedb193515dc9d4be1a5db06f7fa32b07c340852d2de4fff48d5f14dbb1654eec9d90e84817e6a729ff060 WHIRLPOOL cb1974a043296f1c6c3ede5742e6eccebbabd9be4313c17d737cd64d3ed346d9d0bf21b7ef6b4b55e4a86c9ee20365fbd483421711fae6c87b01ff99d9e88ed5
|
||||
AUX syslog-ng-3.3.5-threading.patch 2079 SHA256 fd9801c75214b8351ae9e1c0effa787aa544c8a1bc8f00f6dc7c1dd85ad1b41c SHA512 022a5d6bbaa6d1ff61442e9c090ccd5cefad4f1ffa176e0a24a67400f3c6630f8796b7fe9c31f00a27f72eb18f6fd13f890be5811b342b1893ef49baca85c31b WHIRLPOOL 1be1f0d2eb92e15d9291bdf5e8e58a2e415a737a6a58961bca7b821644a62927dab469eb434d449c3380d9f0307d31cc811d389ac09c5079fa4a85e15996ae5a
|
||||
AUX syslog-ng-3.3.5-utmpx.patch 3878 SHA256 c9ba3ba7da7e0c9bdb2a3fd65b771b6f3847d6a02d04c434f6753a63f1a96c32 SHA512 59c8a5dd36713e45adf535803d2e97d9779b5d8117a19317ffc853f9f0ea3923d50ade6703e5c4535adca5b7bb4387968a99d71242457deb0e402cd98d47a939 WHIRLPOOL f564e2e128a7758cc08ec0d5281f0e1965fef6532dd2099d2d4f55a217237bb6952663975eedef54e1b03987bbb45a18d31c74f91270291635cd84f6aca760c1
|
||||
AUX syslog-ng.conf.gentoo.3.2 1314 SHA256 91221fe7aeb6dff126dd878f541366d00918a278f46348f6f763ad2cbc01ea19 SHA512 3f04a8c28a363a0765055f865019d90b1c3975fb98b23e485683d691b550412434c9377c7e7ebd18903b88839ecf35fc3f00f77c366674be79441d7f354e2adb WHIRLPOOL aefa50909ed717c547c1a2cbccc69e40dc631fdc9d9cac8f4f402743b79941fc0cc54a232db4d3fa094e5ace54358c85a2ba1bfc4b39d4e242020224eb036d12
|
||||
AUX syslog-ng.conf.gentoo.3.3 1330 SHA256 e0ff88d28e0fa9b5b2b96b13df2f14f1957996959a95f7ec6135b51b242a98cd SHA512 c5534f3a2848609922eda12e68cdfcbfc8b85e09abde86a02635f7da93bd564c811635773b524979fc025626dc83f044f645796c5fe1d62e215056eac532f343 WHIRLPOOL 41f2ccea194ce84837d7d86ad915c0029f27e2b40fb7cf76b8caa04c6e95f99d20452624a9989266a0067b21b4e40a7a1247b02353d028ff66e782e82550485f
|
||||
AUX syslog-ng.conf.gentoo.fbsd.3.2 689 SHA256 7249cb13fff50e2695a427fe4dc1285dad6838f576304cb6ddde0c53ff9814ad SHA512 a1fa4b59f9e643395cb0c08763cc6fdc101a9b35bc47fbf3021be09c9cb3c6061a216f7a23866a23e8e9c4a5de3d84ac17bac085f5c1b344c2df632cb5a8892e WHIRLPOOL 6c93e1d72abd6f5132be57846142a4a334b120671d456fd25b90e3f7a7e3c0c2a1ae9d5b2d5e2da3f18c27569e74dfd68cda5d2c74e60fe0ff88e2794884f5d1
|
||||
AUX syslog-ng.conf.gentoo.fbsd.3.3 705 SHA256 0e916b38410c274970ef5e42ee26d184cf51a868eb87d323cc2698a332295403 SHA512 00eedb20b6c30516669733e73a6aa884311bb94ff46cf723fd21ca02636b5888b37d1895402cc2249a79568f0c7feaaefb1e0a333dce6445c42fe30b5b9f557c WHIRLPOOL 46d67f7d893ada5698da1bfca80c71ca93070462904ba3a5cac5f5172605ddcfe5bf1c77a133191621338cd7d00fffee3e64c5788b30a5129fe12cb3ebd9a9f0
|
||||
AUX syslog-ng.conf.gentoo.hardened.3.2 4573 SHA256 1ed9f8dc0be045bb3064b0ae237adf865689b35c9da58d19ce69367d709191e2 SHA512 db110ff70f707c66155f6b7bf37e76c3f7a7d4c7c616aa95d64c83b78c6e2fdeefc242b1ccdeb9fa09f09a62fcc934942d581c22fd8a13af1abbf73f2aab831d WHIRLPOOL 3fa5d639297015899d825fe6688a5830c287b52099ae4b29ce4822ea349379806d6f9693fd31505dc34d093bbf393669ed8d1a20eb6e808f7f0c9566b2c91883
|
||||
AUX syslog-ng.conf.gentoo.hardened.3.3 4589 SHA256 41b64bbcc0074eb7ef852a31f54c9ff4e54115f1be74b1cb76a1f953fc46c03d SHA512 56d4ffca7f0be0cb1cdd372c88876a2e7ebab793b5303e7a726db344975664a0e0b0d7e88d9634b6640ce94d22663d00c4c4a9edd1a386bf9067563b0e39b900 WHIRLPOOL 66574d9a4abcdce49b62c0aa8e30d571ffa63e34a8f81e72e14d84f14e14e6f1251aca5246f803a9f86a0974a987291f48300916a58f0df197d4761d97075a9e
|
||||
AUX syslog-ng.confd 150 SHA256 8319ca8e39a5dab5ddc82eede088e1f58ff25deef330804648000359cb736a3f SHA512 a223387e383bfc477eace35ebad3d4be596c6fa862b207fb211484ae258891f202dfb731a07a5ce91de33aa64f3b65ca0015ed4ca1b6ddebfad5a2869835b344 WHIRLPOOL be830476c67d7a33167231bbcd5d1ccf19310f1d387bfb03d663153e564a379f827f7af30bc40bb7ffc06914c3ed55ee0d56000abcc86e1c6a2c262f00702d79
|
||||
AUX syslog-ng.logrotate 354 SHA256 e8e1b6d87f8217c77c0bfbe3095cac0c4edcb72473cbd1423bf2ae7bffee8ca3 SHA512 c3dc48bd0525947d728c51ac79faa05b481d5ad7dc4f52ed69d2f5a4344fe71c3e06591fe058ef5dcb8ea6cf089954e9a312d510e129727b35a6e32d8e9ec5e8 WHIRLPOOL 34e5efedceed29fadfc99165a70407a2bd64e4df05818f8da831840bf16e287c2e54c47cdb81393f581e14c84407137dc18b5a17b840eb0587877803e8b8be41
|
||||
AUX syslog-ng.logrotate.hardened 1742 SHA256 f2c9f99c7dd73e709e5edb7be99de5a13058baab29d3c922ab9366ddd50eda8f SHA512 2f751bc34e2de833b764f4fc1ccb2fc0337c1d3f84bd30194897972270ef6fc502ff3822912921a15479bea273bc0aa4eeec8c68d672ce1edcdcb5cfed70926a WHIRLPOOL b80fe444f140f842677dc59cef7d19e777429e2983a808c264bed1436f505052bc239f8238ad5d739d50eb21e1f36b5f52d45010d6b3b3ae8fd296a7c4939608
|
||||
AUX syslog-ng.rc6.3 1888 SHA256 ac0d736d2a69e9b912edc1649029ba9c214371aed4d382402fc52e2840b7f0e4 SHA512 d45ca24e32040da43787815512ed90c75641a20c7feec570a11d3f1e25bc85b5b351ce497dfddc878b7ad6cf767a432737f4cae933a1b6bfdb129630cea0a0e0 WHIRLPOOL 1d1afe8fcd2a6ef6f7888e0fb0eb21bb51abab3407cf149515a4807aa7897d51716c693fa275a1c326558a24c43739640357a6fe2f4fd8bd6b47f5474d14621d
|
||||
AUX syslog-ng.rc6.3.3 2381 SHA256 19bbd35abc9f54ce368e1ccf46b6e4af6eec304906e432bb9968d50a01d18284 SHA512 a95d03aa4caeafc0250c036b05fddc715607a7b720af19651a644ed168337b38b33be0316671ea77ebaaedfb021bf0fb352d42c9e25bdc281debfae913290e54 WHIRLPOOL ab28a6eece135f0f0a2ec6577aee8bdb17aa1abbf7b65aaf04ff179e1271e63a2de22909f4ab5bbed67d8a869aa3c2a88e02bd247e7a2b32d117e1089cbf9bc0
|
||||
DIST syslog-ng_3.2.5.tar.gz 1448844 SHA256 ffc9f3a0ebea836c1c737b1ff49efe731d885af1d8aacf9eca79d9144eeefa89 SHA512 f155a56b77c2a8e0e7809a98644394c9d4132e356c3190cda8b8d23a4cf28814bee02c53a1f2e8991c97302a8f1fe7410f8b2fa80f52bc1b7db2f09e26fa9dc8 WHIRLPOOL 0157a1f7611a0637acc54802b2ddb0e796e441dc304c702fece85e39e4ef31f5c5a95198ed264317fbebd805368955df63c6fe38580b74eaaa6e614a4b2e83ef
|
||||
DIST syslog-ng_3.3.5.tar.gz 2495235 SHA256 dcca69869ab3cf2afda6db0dad549b6be717f6cf6aa6d7f27ca10f9c4c6aaa75 SHA512 eaac6376c527bbf6730943670a2dfac1c8765837335ca509cbebf120279a31d13f7b813fe1dde72761bcf185320619b84b650b1e037ccf0fe94966e93c3415c3 WHIRLPOOL a2d32798219897c86b43f3dbf6e2be5bf6c704d896a664afe3a0f13f8b98c6e9839fcfc3bf2fb89f1e4764ad13878329e1c33ea2c85f17921505030f8eda9b1a
|
||||
DIST syslog-ng_3.4.2.tar.gz 3354842 SHA256 f2585b42e7341bc53490aa59c5f405df506536bf0672bf71f9567ea78590f381 SHA512 94d1c8008c72a7fb82c86eb4ff666cacee26e2b1d7100f58a0ea5293e4efc74ad9608a7b1e72b217f9e6ead4b6ad82f5cf9e00dfcb230a03d3243f5c51fd5305 WHIRLPOOL ddb721e940e674a74079fb150213e7595f2a52eb8709f1a032bf6def93906b6f93c9a5131991946b1e19a026ca8162c40d7c7e537498f29a3d33b401c678611a
|
||||
DIST syslog-ng_3.4.3.tar.gz 3074800 SHA256 8a00c342036109e6cc1d441aaed12438134bc884ca3492c36902ff9120a107ee SHA512 c225db659ed188104d14a03fd05bdf56a215bce240d6c2d6191c9a43e71f5bcf7abd5a05cf14aa05336506c8d60017100bb0779f5ae88ebc66223e9b0e2eea83 WHIRLPOOL e0ebbef83994179df9d098bd23f28d2bf2b15618816861e959b5bd09fe387b8c03a3c75904326bfa995cb18f0f78b5b082209a724bcb355e3ee2037ab54ced6d
|
||||
DIST syslog-ng_3.4.4.tar.gz 3200073 SHA256 6e7b7c53777ebda040f6167ad223cc958ea6472e4b4265b3eb7adef61f571caf SHA512 e479a0fde8300f5f3ede3482e89ab3da9896cfd8f18777d2ec46fa9b80667b3e699e482afd17efb0bc0ab73d580d0efc0caf5237a8f830c14963fdbe4790d82c WHIRLPOOL 7aa01b03852a4703b319d103435b4b45fff8162a7743617d872b13d84f5eb14d92f6d420e78af9f2d9e78305beff75b982441736a927e3f2dbf18bb486b8fa01
|
||||
DIST syslog-ng_3.4.5.tar.gz 3202771 SHA256 b8a69d8131efc2378d9149ff54e99f91ea1c47c69e0f4629395d910c7ff71bfb SHA512 41662ba0726a78fb55ffd08532c80b43cf8c06c6c207d9e2bc4558d5772531b602e20a6d8c0d2f0c453e757589b80d1942c533c6a5c6249092cfcb209fc94e4b WHIRLPOOL f52a95eaa9346fd383db2c7ca256a1226ceac0d59354f872ac5c047e234e4b3a379e13e18dc36bb91dbc1b6c43f1f916345c2ccde7cd421348bf21922d1767f6
|
||||
EBUILD syslog-ng-3.2.5.ebuild 2852 SHA256 2f0de5b0f8296b0d4e4d00c206bea5b1b28f31ff1c51879ec72dd3aa8f306375 SHA512 c751b8975e62c884d1c5f034b53e10d27d08f0b9e745f63e5e150e3e2b77dfedb43223443172b9150cac5737ed541f22205173d4bcd9816b3878a3e4a89c42eb WHIRLPOOL c4bda63c10d006f7cc7dbeb78a9f272a10d70ca33bb060953c92f5b7b33c618d4f94f4b0b3022c010cd0c5d389fe261dcd638ec9e8813f3c1ae1ee88e100350d
|
||||
EBUILD syslog-ng-3.3.5-r1.ebuild 4168 SHA256 5471ae33faa88989b7fae5981ba9f75f66622bc388d9110ee1230c6c7ff3a1e9 SHA512 b8a966271f5c5a60f1750b7573b301aa113dc642e53cee2bee08b02439ecc0c01be332460d814d96ba8617eb397b6ce70bc357c4a2d4145ba166ee1fcf4f51f0 WHIRLPOOL eb1861e630599aa8c20ea94dd21f0ce5dded50b7aaa6989ee39a1bbcf9684e91c63a6340b27b1ebc385e51cdb0658dc28521fd60df75a8695602589ea57c8d36
|
||||
EBUILD syslog-ng-3.4.2.ebuild 3170 SHA256 d1cee5b7133cf08dca76f693e28900134ad147ed5a2116e839e535fd9c75c86a SHA512 410952417ad699e6973ccc628ec62ca779480081a6dff8a93f0d82d6dd3a844d56c1620c0fb44cc5c391212f3259c8c3fd3a5b3232bcf9da3eb6f1cd2347638a WHIRLPOOL 659169212d51bdfe1e3431dc9c7201185505c6da0d697277e1e0510784fca528429171347fdfe9927661d92d883d6b8aff5202780a5755e2a1508e5cf2150c21
|
||||
EBUILD syslog-ng-3.4.3.ebuild 3190 SHA256 04fee5ae9a498d6d02562e5294bbd02583c3edd35341e6279e09f9a96c6091e9 SHA512 f6dd587d682a998737bef107c2e26dd3eaf95c74e712c8973f6b65b19e638df74d9646c37629cd45e50e8962cd4b2d9611cc7e7b31b6e5716594edc561819e7c WHIRLPOOL bdf33e52bc27aced288447ca331f6a0f6a4043559cec6abf64bfb536b5135678bb78291f23b72937f0925aac1fd43732176bd19b897cd9ad06bded7d38d451eb
|
||||
EBUILD syslog-ng-3.4.4.ebuild 3217 SHA256 5e68a8eced606cb34414e1c58c4fd57a16541201fba8cf3b3070696b410438d8 SHA512 8ea1f43afd2a68443c050d06cc67606d0f6baeaeab13a91e66492aca8e1d921dcdcdc168b6c809e93fa61b0d97f37bce3e520c7d43014e5a3b2925c8a7bd9d28 WHIRLPOOL a3ddbbf42d2f236247ba460319b901245f110437512639c36d2288ac30a00712e2e1eb9a3d7a01b41da8e167b5dcd8abcb1103b9764648f2718c866356d4fa40
|
||||
EBUILD syslog-ng-3.4.2.ebuild 3180 SHA256 dc447a4a8d60ca561cff3177d840373383238aea33cac6a9e8a78b457b59128f SHA512 1eb44b612553f52fb06fc44baa4d389a93fb28c3db5d29058904163f2c39ef3c7c5c8110b4bd726040e0e527f789d395ea8706e3e913ff5fe761f20d1562d021 WHIRLPOOL a8db8ff769d557cab3f1f2be1e6be5801789eabc3dd9d9b93efbd80732105e5e25ae21b329aa1b468da7a5c884a610d8a2f15b506df2fa829d827db96e8759b9
|
||||
EBUILD syslog-ng-3.4.5.ebuild 3086 SHA256 53fce5489375ca6d8d0c1eb7dbda626945aaa4c9c5e6a23e5c40ef3a4dc8747f SHA512 22642515ab099e68aa5982cbd18a79723d7d157377b9d8b2d6ca326f185417c6e73d68f1ee8eef167f5ac38204634b33187a6a63010144b208f9dc7fca519fbe WHIRLPOOL 4b56e332ad93ea4e2eeab65672ba84238814da6714faf5ac0e50b36d291887d4dd1522685fe3e736c7979dc3387ebf6433193020b49451187f0f6d6ef20bb404
|
||||
MISC ChangeLog 50539 SHA256 8407a29120dfb878778c5c929227f8be30f1e1793f0a05cce40ec3a54ada2720 SHA512 7d0797e08852d832a9a3e789968770809ec48e6db2f657f82702b356f3b382278996e6bf2b3cf9acccb292b075db7e88134609cfcb0919216a45bbde91ee0984 WHIRLPOOL 7f3de5398e40afefb65d391dbf8918f677fb3060e77e6eed067d40971f145aa23bc585c1f9487b448cdfb8f7244034c3b14960fa032d3e1eacd1d65b5fb8f7c4
|
||||
MISC metadata.xml 622 SHA256 080a769b5f0dd360ac36a746667a70a85a8e857553da07dc5272005c097125ba SHA512 afc895b14a063c88fac179d3a588e0d77e507a7bd8a9bd93091989f5df959e002696d281364ef28d293546b191e2ab8a67eba59d2e1006f97640b57a302c4e1c WHIRLPOOL c634c831dc48c370a21f37abf5c4a96a0c11463fa69dd26c632f0b294af5f1372416d4bfb941eaa842cdc247587684aff14498e65e490cc4e16db6ae2aaff1b2
|
||||
MISC ChangeLog 51723 SHA256 cb41aaba7f59c66af94cdd0a48da854dd5ebd64f6037638bea7533942cdeeda8 SHA512 b0525dc47883d881858f5376caed09c664f27a0b785998978f302a8234fe8b105cc2450fb6c2aea2b4b046a80b5d4dea4992679999b939d31424309616174b64 WHIRLPOOL 211ab351b1c9e4637322dfa897e3507ba877cff71739f4e10d4e8dab238a9f8fdc4c930a9405ef5822ba7d0a26703cd5236514aacfc88d2ce42667f0cda34748
|
||||
MISC metadata.xml 561 SHA256 cc93ce76904abc1f2a13151577282e3f676b1589574f614b71d9df9bcd005aee SHA512 b043ebae39aff0868be738d94a9e741703337ca0c6bbd57f58a98e559c29b306d6306050090e02959b5681ae51f629103e40378e40b2a301b4fca2d0f799f39e WHIRLPOOL 82bf6f04d2309e64fa581fa2e616cbd2b8d0ab26e511645fee2d8c29753aa2d371a55e803cfea4e0eee048cbf161052bc3dacc6bc03f5e475f5650b5b2318da8
|
||||
|
@ -1,19 +0,0 @@
|
||||
--- syslog-ng-3.4.1.orig/modules/afmongodb/libmongo-client/configure.ac
|
||||
+++ syslog-ng-3.4.1/modules/afmongodb/libmongo-client/configure.ac
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADERS(config.h)
|
||||
|
||||
AC_ARG_WITH([versioned-symbols], AC_HELP_STRING([--with-versioned-symbols],[Use versioned symbols]),[dnl
|
||||
vsymldflags="-Wl,--version-script,\${srcdir}/libmongo-client.ver -Wl,-O1"
|
||||
@@ -24,7 +24,6 @@
|
||||
dnl ***************************************************************************
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
||||
-AM_PROG_CC_STDC
|
||||
AC_PROG_MAKE_SET
|
||||
PKG_PROG_PKG_CONFIG
|
||||
LT_INIT([shared])
|
@ -1,19 +0,0 @@
|
||||
--- syslog-ng-3.4.1.orig/modules/afmongodb/libmongo-client/configure.ac
|
||||
+++ syslog-ng-3.4.1/modules/afmongodb/libmongo-client/configure.ac
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
||||
-AM_CONFIG_HEADER(config.h)
|
||||
+AC_CONFIG_HEADERS(config.h)
|
||||
|
||||
AC_ARG_WITH([versioned-symbols], AC_HELP_STRING([--with-versioned-symbols],[Use versioned symbols]),[dnl
|
||||
vsymldflags="-Wl,--version-script,\${srcdir}/libmongo-client.ver -Wl,-O1"
|
||||
@@ -24,7 +24,6 @@
|
||||
dnl ***************************************************************************
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
||||
-AM_PROG_CC_STDC
|
||||
AC_PROG_MAKE_SET
|
||||
PKG_PROG_PKG_CONFIG
|
||||
LT_INIT([shared])
|
@ -1,38 +0,0 @@
|
||||
From algernon@balabit.hu Fri Apr 20 12:06:44 2012
|
||||
Date: Fri, 20 Apr 2012 18:06:31 +0200
|
||||
From: Gergely Nagy <algernon@balabit.hu>
|
||||
Reply-To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu>
|
||||
To: syslog-ng@lists.balabit.hu
|
||||
Subject: [syslog-ng] [PATCH] afsocket: Fix unix-dgram initialisation
|
||||
|
||||
When initializing an unix-dgram socket, set self->fd to the acquired
|
||||
socket FD, so that fds inherited from systemd actually get used and
|
||||
polled on.
|
||||
|
||||
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
|
||||
---
|
||||
modules/afsocket/afsocket.c | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/modules/afsocket/afsocket.c b/modules/afsocket/afsocket.c
|
||||
index 5b192f4..c1bee5c 100644
|
||||
--- a/modules/afsocket/afsocket.c
|
||||
+++ b/modules/afsocket/afsocket.c
|
||||
@@ -679,7 +679,7 @@ afsocket_sd_init(LogPipe *s)
|
||||
if (sock == -1 && !afsocket_open_socket(self->bind_addr, !!(self->flags & AFSOCKET_STREAM), &sock))
|
||||
return self->super.super.optional;
|
||||
}
|
||||
- self->fd = -1;
|
||||
+ self->fd = sock;
|
||||
|
||||
if (!self->setup_socket(self, sock))
|
||||
{
|
||||
--
|
||||
1.7.9.1
|
||||
|
||||
|
||||
______________________________________________________________________________
|
||||
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
|
||||
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
|
||||
FAQ: http://www.balabit.com/wiki/syslog-ng-faq
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- ./lib/scratch-buffers.c.orig 2012-01-20 17:44:43.871103296 -0500
|
||||
+++ ./lib/scratch-buffers.c 2012-01-20 17:44:56.313552034 -0500
|
||||
@@ -24,6 +24,7 @@
|
||||
|
||||
#include "tls-support.h"
|
||||
#include "scratch-buffers.h"
|
||||
+#include "misc.h"
|
||||
|
||||
TLS_BLOCK_START
|
||||
{
|
@ -1,44 +0,0 @@
|
||||
From algernon@balabit.hu Fri Apr 20 10:34:44 2012
|
||||
Date: Fri, 20 Apr 2012 16:34:05 +0200
|
||||
From: Gergely Nagy <algernon@balabit.hu>
|
||||
Reply-To: Syslog-ng users' and developers' mailing list <syslog-ng@lists.balabit.hu>
|
||||
To: syslog-ng@lists.balabit.hu
|
||||
Subject: [syslog-ng] [PATCH] lib/gprocess.c: Ignore SIGHUP inside the supervisor.
|
||||
|
||||
Reloading syslog-ng's config is often done via a killall -HUP
|
||||
syslog-ng command, which also sends a signal to the
|
||||
supervisor. However, the supervisor did not handle said signal, thus
|
||||
it exited as is the default for it.
|
||||
|
||||
To work around this issue, lets ignore SIGHUP inside the supervisor.
|
||||
|
||||
Reported-by: Patrick Hemmer
|
||||
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
|
||||
---
|
||||
lib/gprocess.c | 4 +++-
|
||||
1 files changed, 3 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/lib/gprocess.c b/lib/gprocess.c
|
||||
index aaefbab..9246d88 100644
|
||||
--- a/lib/gprocess.c
|
||||
+++ b/lib/gprocess.c
|
||||
@@ -1110,7 +1110,9 @@ g_process_perform_supervise(void)
|
||||
g_process_message("Initialization failed but the daemon did not exit, even when forced to, trying to recover; pid='%d'", pid);
|
||||
continue;
|
||||
}
|
||||
-
|
||||
+
|
||||
+ sigignore(SIGHUP);
|
||||
+
|
||||
if (process_opts.check_fn && (process_opts.check_period >= 0))
|
||||
{
|
||||
gint i = 1;
|
||||
--
|
||||
1.7.9.1
|
||||
|
||||
|
||||
______________________________________________________________________________
|
||||
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
|
||||
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
|
||||
FAQ: http://www.balabit.com/wiki/syslog-ng-faq
|
||||
|
@ -1,12 +0,0 @@
|
||||
--- a/lib/ivykis/modules/iv_event_raw.c 2012-01-29 13:15:33.000000000 +0100
|
||||
+++ b/lib/ivykis/modules/iv_event_raw.c 2012-04-30 16:01:17.480317290 +0200
|
||||
@@ -37,6 +37,8 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+#include <sys/eventfd.h>
|
||||
+
|
||||
#ifndef EFD_NONBLOCK
|
||||
#define EFD_NONBLOCK 04000
|
||||
#endif
|
||||
|
@ -1,61 +0,0 @@
|
||||
From c0afec5b46eb3508fd3b1449e37b7e550f7d35e2 Mon Sep 17 00:00:00 2001
|
||||
From: Gergely Nagy <algernon@balabit.hu>
|
||||
Date: Fri, 08 Jun 2012 15:28:33 +0200
|
||||
Subject: dnscache: Fix a memory corruption when destroying the DNS cache
|
||||
|
||||
The DNS cache gets destroyed every time a worker thread quits, which
|
||||
is fine, as most of the dns cache variables are thread local.
|
||||
|
||||
However, dns_cache_hosts is not, it's a global static, and
|
||||
dns_cache_destroy() was freeing that aswell.
|
||||
|
||||
The solution is to not free dns_cache_hosts when a worker stops, but
|
||||
do so when syslog-ng stops. This patch introduces dns_cache_deinit()
|
||||
which does just that, and removes the same thing from
|
||||
dns_cache_destroy(), which now only touches thread-local variables.
|
||||
|
||||
Reported-by: EgonB <egon@local.ee>
|
||||
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
|
||||
---
|
||||
diff --git a/lib/dnscache.c b/lib/dnscache.c
|
||||
index 49102b7..9cdc2c0 100644
|
||||
--- a/lib/dnscache.c
|
||||
+++ b/lib/dnscache.c
|
||||
@@ -361,6 +361,12 @@ dns_cache_destroy(void)
|
||||
cache_last.prev = NULL;
|
||||
persist_first.next = NULL;
|
||||
persist_last.prev = NULL;
|
||||
+}
|
||||
+
|
||||
+void
|
||||
+dns_cache_deinit(void)
|
||||
+{
|
||||
if (dns_cache_hosts)
|
||||
g_free(dns_cache_hosts);
|
||||
+ dns_cache_hosts = NULL;
|
||||
}
|
||||
diff --git a/lib/dnscache.h b/lib/dnscache.h
|
||||
index 8bae5f1..647ba19 100644
|
||||
--- a/lib/dnscache.h
|
||||
+++ b/lib/dnscache.h
|
||||
@@ -34,5 +34,6 @@ void dns_cache_store(gboolean persistent, gint family, void *addr, const gchar *
|
||||
void dns_cache_set_params(gint cache_size, gint expire, gint expire_failed, const gchar *hosts);
|
||||
void dns_cache_init(void);
|
||||
void dns_cache_destroy(void);
|
||||
+void dns_cache_deinit(void);
|
||||
|
||||
#endif
|
||||
diff --git a/lib/mainloop.c b/lib/mainloop.c
|
||||
index 1203098..e294fa3 100644
|
||||
--- a/lib/mainloop.c
|
||||
+++ b/lib/mainloop.c
|
||||
@@ -585,6 +585,7 @@ main_loop_exit_finish(void)
|
||||
/* deinit the current configuration, as at this point we _know_ that no
|
||||
* threads are running. This will unregister ivykis tasks and timers
|
||||
* that could fire while the configuration is being destructed */
|
||||
+ dns_cache_deinit();
|
||||
cfg_deinit(current_configuration);
|
||||
iv_quit();
|
||||
}
|
||||
--
|
||||
cgit v0.8.3.4-1-gaabc
|
@ -1,139 +0,0 @@
|
||||
From 4b450a09da83bc8e27bd7c8adccea3f125387fa7 Mon Sep 17 00:00:00 2001
|
||||
From: Gergely Nagy <algernon@balabit.hu>
|
||||
Date: Tue, 5 Jun 2012 14:40:08 +0200
|
||||
Subject: [PATCH] afuser: Use utmpx when available, instead of utmp
|
||||
|
||||
FreeBSD 9 removed support for utmp, and one must use the
|
||||
POSIX-specified utmpx instead. The same utmpx is available on Linux
|
||||
too (and it is the same as utmp there).
|
||||
|
||||
The patch below converts afuser to use utmpx when available, utmp
|
||||
otherwise. It is based on the post-build sed magic applied to
|
||||
syslog-ng within the FreeBSD ports collection, with other bits based
|
||||
on a patch from Alex Zimnitsky.
|
||||
|
||||
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
|
||||
---
|
||||
configure.in | 4 ++--
|
||||
lib/utils.c | 2 +-
|
||||
lib/utils.h | 7 ++++++-
|
||||
modules/afuser/afuser.c | 20 +++++++++++++++++++-
|
||||
4 files changed, 28 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index aafb980..c76d7d9 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -383,7 +383,7 @@ dnl ***************************************************************************
|
||||
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADER(dmalloc.h)
|
||||
-AC_CHECK_HEADERS(strings.h getopt.h stropts.h sys/strlog.h door.h sys/capability.h sys/prctl.h)
|
||||
+AC_CHECK_HEADERS(strings.h getopt.h stropts.h sys/strlog.h door.h sys/capability.h sys/prctl.h utmpx.h)
|
||||
AC_CHECK_HEADERS(tcpd.h)
|
||||
|
||||
|
||||
@@ -479,7 +479,7 @@ if test "x$enable_linux_caps" = "xyes" -o "x$enable_linux_caps" = "xauto"; then
|
||||
AC_CHECK_LIB(cap, cap_set_proc, LIBCAP_LIBS="-lcap")
|
||||
fi
|
||||
|
||||
-AC_CHECK_FUNCS(strdup strtol strtoll strtoimax inet_aton inet_ntoa getopt_long getaddrinfo getutent pread pwrite strcasestr memrchr localtime_r gmtime_r)
|
||||
+AC_CHECK_FUNCS(strdup strtol strtoll strtoimax inet_aton inet_ntoa getopt_long getaddrinfo getutent getutxent pread pwrite strcasestr memrchr localtime_r gmtime_r)
|
||||
old_LIBS=$LIBS
|
||||
LIBS=$BASE_LIBS
|
||||
AC_CHECK_FUNCS(clock_gettime)
|
||||
diff --git a/lib/utils.c b/lib/utils.c
|
||||
index 2b5c525..3c05426 100644
|
||||
--- a/lib/utils.c
|
||||
+++ b/lib/utils.c
|
||||
@@ -47,7 +47,7 @@ int inet_aton(const char *cp, struct in_addr *addr)
|
||||
}
|
||||
#endif
|
||||
|
||||
-#ifndef HAVE_GETUTENT
|
||||
+#if !defined(HAVE_GETUTENT) && !defined(HAVE_GETUTXENT)
|
||||
|
||||
static int utent_fd = -1;
|
||||
|
||||
diff --git a/lib/utils.h b/lib/utils.h
|
||||
index 86e3a7f..a0f3dcc 100644
|
||||
--- a/lib/utils.h
|
||||
+++ b/lib/utils.h
|
||||
@@ -28,13 +28,18 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
+
|
||||
+#ifdef HAVE_UTMPX_H
|
||||
+#include <utmpx.h>
|
||||
+#else
|
||||
#include <utmp.h>
|
||||
+#endif
|
||||
|
||||
#ifndef HAVE_INET_ATON
|
||||
int inet_aton(const char *cp, struct in_addr *addr);
|
||||
#endif
|
||||
|
||||
-#ifndef HAVE_GETUTENT
|
||||
+#if !defined(HAVE_GETUTENT) && !defined(HAVE_GETUTXENT)
|
||||
struct utmp *getutent(void);
|
||||
void endutent(void);
|
||||
#endif
|
||||
diff --git a/modules/afuser/afuser.c b/modules/afuser/afuser.c
|
||||
index 8f170e5..7d082b2 100644
|
||||
--- a/modules/afuser/afuser.c
|
||||
+++ b/modules/afuser/afuser.c
|
||||
@@ -25,7 +25,13 @@
|
||||
#include "alarms.h"
|
||||
#include "messages.h"
|
||||
|
||||
+#ifdef HAVE_UTMPX_H
|
||||
+#include <utmpx.h>
|
||||
+#define ut_name ut_user
|
||||
+#else
|
||||
#include <utmp.h>
|
||||
+#endif
|
||||
+
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
@@ -46,7 +52,11 @@
|
||||
{
|
||||
AFUserDestDriver *self = (AFUserDestDriver *) s;
|
||||
gchar buf[8192];
|
||||
+#ifdef HAVE_UTMPX_H
|
||||
+ struct utmpx *ut;
|
||||
+#else
|
||||
struct utmp *ut;
|
||||
+#endif
|
||||
GString *timestamp;
|
||||
time_t now;
|
||||
|
||||
@@ -63,7 +73,11 @@
|
||||
g_string_free(timestamp, TRUE);
|
||||
|
||||
/* NOTE: there's a private implementations of getutent in utils.c on Systems which do not provide one. */
|
||||
- while ((ut = getutent()))
|
||||
+#ifdef HAVE_GETUTXENT
|
||||
+ while ((ut = getutxent()))
|
||||
+#else
|
||||
+ while ((ut = getutent()))
|
||||
+#endif
|
||||
{
|
||||
#if HAVE_MODERN_UTMP
|
||||
if (ut->ut_type == USER_PROCESS &&
|
||||
@@ -106,7 +120,11 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
+#if HAVE_UTMPX_H
|
||||
+ endutxent();
|
||||
+#else
|
||||
endutent();
|
||||
+#endif
|
||||
finish:
|
||||
log_msg_ack(msg, path_options);
|
||||
log_msg_unref(msg);
|
||||
--
|
||||
1.7.10
|
||||
|
@ -1,37 +0,0 @@
|
||||
@version: 3.2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3.2,v 1.1 2011/01/18 17:44:14 mr_bones_ Exp $
|
||||
#
|
||||
# Syslog-ng default configuration file for Gentoo Linux
|
||||
|
||||
options {
|
||||
chain_hostnames(no);
|
||||
|
||||
# The default action of syslog-ng is to log a STATS line
|
||||
# to the file every 10 minutes. That's pretty ugly after a while.
|
||||
# Change it to every 12 hours so you get a nice daily update of
|
||||
# how many messages syslog-ng missed (0).
|
||||
stats_freq(43200);
|
||||
# The default action of syslog-ng is to log a MARK line
|
||||
# to the file every 20 minutes. That's seems high for most
|
||||
# people so turn it down to once an hour. Set it to zero
|
||||
# if you don't want the functionality at all.
|
||||
mark_freq(3600);
|
||||
};
|
||||
|
||||
source src {
|
||||
unix-stream("/dev/log" max-connections(256));
|
||||
internal();
|
||||
file("/proc/kmsg");
|
||||
};
|
||||
|
||||
destination messages { file("/var/log/messages"); };
|
||||
|
||||
# By default messages are logged to tty12...
|
||||
destination console_all { file("/dev/tty12"); };
|
||||
# ...if you intend to use /dev/console for programs like xconsole
|
||||
# you can comment out the destination line above that references /dev/tty12
|
||||
# and uncomment the line below.
|
||||
#destination console_all { file("/dev/console"); };
|
||||
|
||||
log { source(src); destination(messages); };
|
||||
log { source(src); destination(console_all); };
|
@ -1,38 +0,0 @@
|
||||
@version: 3.3
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.3.3,v 1.2 2011/10/04 23:15:44 mr_bones_ Exp $
|
||||
#
|
||||
# Syslog-ng default configuration file for Gentoo Linux
|
||||
|
||||
options {
|
||||
threaded(yes);
|
||||
chain_hostnames(no);
|
||||
|
||||
# The default action of syslog-ng is to log a STATS line
|
||||
# to the file every 10 minutes. That's pretty ugly after a while.
|
||||
# Change it to every 12 hours so you get a nice daily update of
|
||||
# how many messages syslog-ng missed (0).
|
||||
stats_freq(43200);
|
||||
# The default action of syslog-ng is to log a MARK line
|
||||
# to the file every 20 minutes. That's seems high for most
|
||||
# people so turn it down to once an hour. Set it to zero
|
||||
# if you don't want the functionality at all.
|
||||
mark_freq(3600);
|
||||
};
|
||||
|
||||
source src {
|
||||
unix-stream("/dev/log" max-connections(256));
|
||||
internal();
|
||||
file("/proc/kmsg");
|
||||
};
|
||||
|
||||
destination messages { file("/var/log/messages"); };
|
||||
|
||||
# By default messages are logged to tty12...
|
||||
destination console_all { file("/dev/tty12"); };
|
||||
# ...if you intend to use /dev/console for programs like xconsole
|
||||
# you can comment out the destination line above that references /dev/tty12
|
||||
# and uncomment the line below.
|
||||
#destination console_all { file("/dev/console"); };
|
||||
|
||||
log { source(src); destination(messages); };
|
||||
log { source(src); destination(console_all); };
|
@ -1,24 +0,0 @@
|
||||
@version: 3.2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd.3.2,v 1.1 2011/01/18 17:44:14 mr_bones_ Exp $
|
||||
#
|
||||
# Syslog-ng default configuration file for Gentoo FreeBSD
|
||||
#
|
||||
options {
|
||||
chain_hostnames(no);
|
||||
|
||||
# The default action of syslog-ng is to log a STATS line
|
||||
# to the file every 10 minutes. That's pretty ugly after a while.
|
||||
# Change it to every 12 hours so you get a nice daily update of
|
||||
# how many messages syslog-ng missed (0).
|
||||
stats_freq(43200);
|
||||
};
|
||||
|
||||
source src {
|
||||
unix-dgram("/var/run/log");
|
||||
internal();
|
||||
file("/dev/klog");
|
||||
};
|
||||
|
||||
destination messages { file("/var/log/messages"); };
|
||||
|
||||
log { source(src); destination(messages); };
|
@ -1,25 +0,0 @@
|
||||
@version: 3.3
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.fbsd.3.3,v 1.2 2011/10/04 23:15:44 mr_bones_ Exp $
|
||||
#
|
||||
# Syslog-ng default configuration file for Gentoo FreeBSD
|
||||
#
|
||||
options {
|
||||
threaded(yes);
|
||||
chain_hostnames(no);
|
||||
|
||||
# The default action of syslog-ng is to log a STATS line
|
||||
# to the file every 10 minutes. That's pretty ugly after a while.
|
||||
# Change it to every 12 hours so you get a nice daily update of
|
||||
# how many messages syslog-ng missed (0).
|
||||
stats_freq(43200);
|
||||
};
|
||||
|
||||
source src {
|
||||
unix-dgram("/var/run/log");
|
||||
internal();
|
||||
file("/dev/klog");
|
||||
};
|
||||
|
||||
destination messages { file("/var/log/messages"); };
|
||||
|
||||
log { source(src); destination(messages); };
|
@ -1,111 +0,0 @@
|
||||
@version: 3.2
|
||||
# Copyright 2005-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened.3.2,v 1.1 2011/01/18 17:44:14 mr_bones_ Exp $
|
||||
|
||||
#
|
||||
# Syslog-ng configuration file, compatible with default hardened installations.
|
||||
#
|
||||
|
||||
options {
|
||||
chain_hostnames(no);
|
||||
stats_freq(43200);
|
||||
};
|
||||
|
||||
source src {
|
||||
unix-stream("/dev/log");
|
||||
internal();
|
||||
};
|
||||
source kernsrc {
|
||||
file("/proc/kmsg");
|
||||
};
|
||||
|
||||
#source net { udp(); };
|
||||
#log { source(net); destination(net_logs); };
|
||||
#destination net_logs { file("/var/log/HOSTS/$HOST/$YEAR$MONTH$DAY.log"); };
|
||||
|
||||
destination authlog { file("/var/log/auth.log"); };
|
||||
destination _syslog { file("/var/log/syslog"); };
|
||||
destination cron { file("/var/log/cron.log"); };
|
||||
destination daemon { file("/var/log/daemon.log"); };
|
||||
destination kern { file("/var/log/kern.log"); file("/dev/tty12"); };
|
||||
destination lpr { file("/var/log/lpr.log"); };
|
||||
destination user { file("/var/log/user.log"); };
|
||||
destination uucp { file("/var/log/uucp.log"); };
|
||||
#destination ppp { file("/var/log/ppp.log"); };
|
||||
destination mail { file("/var/log/mail.log"); };
|
||||
|
||||
destination avc { file("/var/log/avc.log"); };
|
||||
destination audit { file("/var/log/audit.log"); };
|
||||
destination pax { file("/var/log/pax.log"); };
|
||||
destination grsec { file("/var/log/grsec.log"); };
|
||||
|
||||
destination mailinfo { file("/var/log/mail.info"); };
|
||||
destination mailwarn { file("/var/log/mail.warn"); };
|
||||
destination mailerr { file("/var/log/mail.err"); };
|
||||
|
||||
destination newscrit { file("/var/log/news/news.crit"); };
|
||||
destination newserr { file("/var/log/news/news.err"); };
|
||||
destination newsnotice { file("/var/log/news/news.notice"); };
|
||||
|
||||
destination debug { file("/var/log/debug"); };
|
||||
destination messages { file("/var/log/messages"); };
|
||||
destination console { usertty("root"); };
|
||||
destination console_all { file("/dev/tty12"); };
|
||||
#destination loghost { udp("loghost" port(999)); };
|
||||
|
||||
destination xconsole { pipe("/dev/xconsole"); };
|
||||
|
||||
filter f_auth { facility(auth); };
|
||||
filter f_authpriv { facility(auth, authpriv); };
|
||||
filter f_syslog { not facility(authpriv, mail); };
|
||||
filter f_cron { facility(cron); };
|
||||
filter f_daemon { facility(daemon); };
|
||||
filter f_kern { facility(kern); };
|
||||
filter f_lpr { facility(lpr); };
|
||||
filter f_mail { facility(mail); };
|
||||
filter f_user { facility(user); };
|
||||
filter f_uucp { facility(uucp); };
|
||||
#filter f_ppp { facility(ppp); };
|
||||
filter f_news { facility(news); };
|
||||
filter f_debug { not facility(auth, authpriv, news, mail); };
|
||||
filter f_messages { level(info..warn)
|
||||
and not facility(auth, authpriv, mail, news); };
|
||||
filter f_emergency { level(emerg); };
|
||||
|
||||
filter f_info { level(info); };
|
||||
|
||||
filter f_notice { level(notice); };
|
||||
filter f_warn { level(warn); };
|
||||
filter f_crit { level(crit); };
|
||||
filter f_err { level(err); };
|
||||
|
||||
filter f_avc { message(".*avc: .*"); };
|
||||
filter f_audit { message("^(\\[.*\..*\] |)audit.*") and not message(".*avc: .*"); };
|
||||
filter f_pax { message("^(\\[.*\..*\] |)PAX:.*"); };
|
||||
filter f_grsec { message("^(\\[.*\..*\] |)grsec:.*"); };
|
||||
|
||||
log { source(src); filter(f_authpriv); destination(authlog); };
|
||||
log { source(src); filter(f_syslog); destination(_syslog); };
|
||||
log { source(src); filter(f_cron); destination(cron); };
|
||||
log { source(src); filter(f_daemon); destination(daemon); };
|
||||
log { source(kernsrc); filter(f_kern); destination(kern); };
|
||||
log { source(src); filter(f_lpr); destination(lpr); };
|
||||
log { source(src); filter(f_mail); destination(mail); };
|
||||
log { source(src); filter(f_user); destination(user); };
|
||||
log { source(src); filter(f_uucp); destination(uucp); };
|
||||
log { source(kernsrc); filter(f_pax); destination(pax); };
|
||||
log { source(kernsrc); filter(f_grsec); destination(grsec); };
|
||||
log { source(kernsrc); filter(f_audit); destination(audit); };
|
||||
log { source(kernsrc); filter(f_avc); destination(avc); };
|
||||
log { source(src); filter(f_mail); filter(f_info); destination(mailinfo); };
|
||||
log { source(src); filter(f_mail); filter(f_warn); destination(mailwarn); };
|
||||
log { source(src); filter(f_mail); filter(f_err); destination(mailerr); };
|
||||
log { source(src); filter(f_news); filter(f_crit); destination(newscrit); };
|
||||
log { source(src); filter(f_news); filter(f_err); destination(newserr); };
|
||||
log { source(src); filter(f_news); filter(f_notice); destination(newsnotice); };
|
||||
log { source(src); filter(f_debug); destination(debug); };
|
||||
log { source(src); filter(f_messages); destination(messages); };
|
||||
log { source(src); filter(f_emergency); destination(console); };
|
||||
#log { source(src); filter(f_ppp); destination(ppp); };
|
||||
log { source(src); destination(console_all); };
|
@ -1,112 +0,0 @@
|
||||
@version: 3.3
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened.3.3,v 1.2 2011/10/04 23:15:44 mr_bones_ Exp $
|
||||
|
||||
#
|
||||
# Syslog-ng configuration file, compatible with default hardened installations.
|
||||
#
|
||||
|
||||
options {
|
||||
threaded(yes);
|
||||
chain_hostnames(no);
|
||||
stats_freq(43200);
|
||||
};
|
||||
|
||||
source src {
|
||||
unix-stream("/dev/log");
|
||||
internal();
|
||||
};
|
||||
source kernsrc {
|
||||
file("/proc/kmsg");
|
||||
};
|
||||
|
||||
#source net { udp(); };
|
||||
#log { source(net); destination(net_logs); };
|
||||
#destination net_logs { file("/var/log/HOSTS/$HOST/$YEAR$MONTH$DAY.log"); };
|
||||
|
||||
destination authlog { file("/var/log/auth.log"); };
|
||||
destination _syslog { file("/var/log/syslog"); };
|
||||
destination cron { file("/var/log/cron.log"); };
|
||||
destination daemon { file("/var/log/daemon.log"); };
|
||||
destination kern { file("/var/log/kern.log"); file("/dev/tty12"); };
|
||||
destination lpr { file("/var/log/lpr.log"); };
|
||||
destination user { file("/var/log/user.log"); };
|
||||
destination uucp { file("/var/log/uucp.log"); };
|
||||
#destination ppp { file("/var/log/ppp.log"); };
|
||||
destination mail { file("/var/log/mail.log"); };
|
||||
|
||||
destination avc { file("/var/log/avc.log"); };
|
||||
destination audit { file("/var/log/audit.log"); };
|
||||
destination pax { file("/var/log/pax.log"); };
|
||||
destination grsec { file("/var/log/grsec.log"); };
|
||||
|
||||
destination mailinfo { file("/var/log/mail.info"); };
|
||||
destination mailwarn { file("/var/log/mail.warn"); };
|
||||
destination mailerr { file("/var/log/mail.err"); };
|
||||
|
||||
destination newscrit { file("/var/log/news/news.crit"); };
|
||||
destination newserr { file("/var/log/news/news.err"); };
|
||||
destination newsnotice { file("/var/log/news/news.notice"); };
|
||||
|
||||
destination debug { file("/var/log/debug"); };
|
||||
destination messages { file("/var/log/messages"); };
|
||||
destination console { usertty("root"); };
|
||||
destination console_all { file("/dev/tty12"); };
|
||||
#destination loghost { udp("loghost" port(999)); };
|
||||
|
||||
destination xconsole { pipe("/dev/xconsole"); };
|
||||
|
||||
filter f_auth { facility(auth); };
|
||||
filter f_authpriv { facility(auth, authpriv); };
|
||||
filter f_syslog { not facility(authpriv, mail); };
|
||||
filter f_cron { facility(cron); };
|
||||
filter f_daemon { facility(daemon); };
|
||||
filter f_kern { facility(kern); };
|
||||
filter f_lpr { facility(lpr); };
|
||||
filter f_mail { facility(mail); };
|
||||
filter f_user { facility(user); };
|
||||
filter f_uucp { facility(uucp); };
|
||||
#filter f_ppp { facility(ppp); };
|
||||
filter f_news { facility(news); };
|
||||
filter f_debug { not facility(auth, authpriv, news, mail); };
|
||||
filter f_messages { level(info..warn)
|
||||
and not facility(auth, authpriv, mail, news); };
|
||||
filter f_emergency { level(emerg); };
|
||||
|
||||
filter f_info { level(info); };
|
||||
|
||||
filter f_notice { level(notice); };
|
||||
filter f_warn { level(warn); };
|
||||
filter f_crit { level(crit); };
|
||||
filter f_err { level(err); };
|
||||
|
||||
filter f_avc { message(".*avc: .*"); };
|
||||
filter f_audit { message("^(\\[.*\..*\] |)audit.*") and not message(".*avc: .*"); };
|
||||
filter f_pax { message("^(\\[.*\..*\] |)PAX:.*"); };
|
||||
filter f_grsec { message("^(\\[.*\..*\] |)grsec:.*"); };
|
||||
|
||||
log { source(src); filter(f_authpriv); destination(authlog); };
|
||||
log { source(src); filter(f_syslog); destination(_syslog); };
|
||||
log { source(src); filter(f_cron); destination(cron); };
|
||||
log { source(src); filter(f_daemon); destination(daemon); };
|
||||
log { source(kernsrc); filter(f_kern); destination(kern); };
|
||||
log { source(src); filter(f_lpr); destination(lpr); };
|
||||
log { source(src); filter(f_mail); destination(mail); };
|
||||
log { source(src); filter(f_user); destination(user); };
|
||||
log { source(src); filter(f_uucp); destination(uucp); };
|
||||
log { source(kernsrc); filter(f_pax); destination(pax); };
|
||||
log { source(kernsrc); filter(f_grsec); destination(grsec); };
|
||||
log { source(kernsrc); filter(f_audit); destination(audit); };
|
||||
log { source(kernsrc); filter(f_avc); destination(avc); };
|
||||
log { source(src); filter(f_mail); filter(f_info); destination(mailinfo); };
|
||||
log { source(src); filter(f_mail); filter(f_warn); destination(mailwarn); };
|
||||
log { source(src); filter(f_mail); filter(f_err); destination(mailerr); };
|
||||
log { source(src); filter(f_news); filter(f_crit); destination(newscrit); };
|
||||
log { source(src); filter(f_news); filter(f_err); destination(newserr); };
|
||||
log { source(src); filter(f_news); filter(f_notice); destination(newsnotice); };
|
||||
log { source(src); filter(f_debug); destination(debug); };
|
||||
log { source(src); filter(f_messages); destination(messages); };
|
||||
log { source(src); filter(f_emergency); destination(console); };
|
||||
#log { source(src); filter(f_ppp); destination(ppp); };
|
||||
log { source(src); destination(console_all); };
|
@ -1,62 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.rc6.3,v 1.6 2013/04/28 05:24:13 mr_bones_ Exp $
|
||||
|
||||
extra_commands="checkconfig"
|
||||
extra_started_commands="reload"
|
||||
|
||||
depend() {
|
||||
# Make networking dependency conditional on configuration
|
||||
case $(sed 's/#.*//' /etc/syslog-ng/syslog-ng.conf) in
|
||||
*source*tcp*|*source*udp*|*destination*tcp*|*destination*udp*)
|
||||
need net
|
||||
use stunnel ;;
|
||||
esac
|
||||
|
||||
config /etc/syslog-ng/syslog-ng.conf
|
||||
use clock
|
||||
need hostname localmount
|
||||
after bootmisc
|
||||
provide logger
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [ ! -e /etc/syslog-ng/syslog-ng.conf ] ; then
|
||||
eerror "You need to create /etc/syslog-ng/syslog-ng.conf first."
|
||||
eerror "An example can be found in /etc/syslog-ng/syslog-ng.conf.sample"
|
||||
return 1
|
||||
fi
|
||||
syslog-ng -s -f /etc/syslog-ng/syslog-ng.conf
|
||||
|
||||
# the start and reload functions have their own eends so
|
||||
# avoid calling this twice when there are no problems
|
||||
[ $? -eq 0 ] || eend $? "Configuration error. Please fix your configfile (/etc/syslog-ng/syslog-ng.conf)"
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
ebegin "Starting syslog-ng"
|
||||
[ -n "${SYSLOG_NG_OPTS}" ] && SYSLOG_NG_OPTS="-- ${SYSLOG_NG_OPTS}"
|
||||
start-stop-daemon --start --pidfile /var/run/syslog-ng.pid --exec /usr/sbin/syslog-ng ${SYSLOG_NG_OPTS}
|
||||
eend $? "Failed to start syslog-ng"
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping syslog-ng"
|
||||
start-stop-daemon --stop --pidfile /var/run/syslog-ng.pid
|
||||
eend $? "Failed to stop syslog-ng"
|
||||
sleep 1 # needed for syslog-ng to stop in case we're restarting
|
||||
}
|
||||
|
||||
reload() {
|
||||
if [ ! -f /var/run/syslog-ng.pid ]; then
|
||||
eerror "syslog-ng isn't running"
|
||||
return 1
|
||||
fi
|
||||
checkconfig || return 1
|
||||
ebegin "Reloading configuration and re-opening log files"
|
||||
start-stop-daemon --signal HUP \
|
||||
--pidfile /var/run/syslog-ng.pid
|
||||
eend $?
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.rc6.3.3,v 1.3 2013/04/28 04:50:34 mr_bones_ Exp $
|
||||
|
||||
extra_commands="checkconfig"
|
||||
extra_started_commands="reload"
|
||||
|
||||
description_checkconfig="Check the configuration file that will be used by \"start\""
|
||||
description_reload="Reload the configuration without exiting"
|
||||
|
||||
SYSLOG_NG_SERVICE=${SVCNAME#*.}
|
||||
SYSLOG_NG_SERVICE=${SYSLOG_NG_SERVICE:-syslog-ng}
|
||||
|
||||
SYSLOG_NG_CONFIGFILE=${SYSLOG_NG_CONFIGFILE:-/etc/syslog-ng/${SYSLOG_NG_SERVICE}.conf}
|
||||
SYSLOG_NG_PIDFILE=${SYSLOG_NG_PIDFILE:-/var/run/${SVCNAME}.pid}
|
||||
SYSLOG_NG_OPTS="--cfgfile ${SYSLOG_NG_CONFIGFILE} --pidfile ${SYSLOG_NG_PIDFILE} ${SYSLOG_NG_OPTS}"
|
||||
|
||||
depend() {
|
||||
# Make networking dependency conditional on configuration
|
||||
if [ -f "${SYSLOG_NG_CONFIGFILE}" ]; then
|
||||
case `sed 's/#.*//' "${SYSLOG_NG_CONFIGFILE}"` in
|
||||
*source*tcp*|*source*udp*|*destination*tcp*|*destination*udp*)
|
||||
need net
|
||||
use stunnel ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
config "${SYSLOG_NG_CONFIGFILE}"
|
||||
use clock
|
||||
need hostname localmount
|
||||
after bootmisc
|
||||
provide logger
|
||||
}
|
||||
|
||||
checkconfig() {
|
||||
if [ ! -e "${SYSLOG_NG_CONFIGFILE}" ] ; then
|
||||
eerror "You need to create ${SYSLOG_NG_CONFIGFILE} first."
|
||||
eerror "An example can be found in /usr/share/doc/syslog"
|
||||
|
||||
return 1
|
||||
fi
|
||||
syslog-ng -s -f "${SYSLOG_NG_CONFIGFILE}"
|
||||
|
||||
# the start and reload functions have their own eends so
|
||||
# avoid calling this twice when there are no problems
|
||||
[ $? -eq 0 ] || eend $? "Configuration error. Please fix your configfile (${SYSLOG_NG_CONFIGFILE})"
|
||||
}
|
||||
|
||||
start() {
|
||||
checkconfig || return 1
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
[ -n "${SYSLOG_NG_OPTS}" ] && SYSLOG_NG_OPTS="-- ${SYSLOG_NG_OPTS}"
|
||||
start-stop-daemon --start --pidfile "${SYSLOG_NG_PIDFILE}" --exec /usr/sbin/syslog-ng ${SYSLOG_NG_OPTS}
|
||||
eend $? "Failed to start ${SVCNAME}"
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon --stop --pidfile "${SYSLOG_NG_PIDFILE}"
|
||||
eend $? "Failed to stop ${SVCNAME}"
|
||||
sleep 1 # needed for syslog-ng to stop in case we're restarting
|
||||
}
|
||||
|
||||
reload() {
|
||||
if [ ! -f "${SYSLOG_NG_PIDFILE}" ]; then
|
||||
eerror "${SVCNAME} isn't running"
|
||||
return 1
|
||||
fi
|
||||
checkconfig || return 1
|
||||
ebegin "Reloading configuration and re-opening log files"
|
||||
start-stop-daemon --signal HUP --pidfile "${SYSLOG_NG_PIDFILE}"
|
||||
eend $?
|
||||
}
|
@ -1,94 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-3.2.5.ebuild,v 1.8 2012/05/03 18:02:22 jdhore Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit autotools fixheadtails eutils multilib
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
DESCRIPTION="syslog replacement with advanced filtering features"
|
||||
HOMEPAGE="http://www.balabit.com/products/syslog_ng/"
|
||||
SRC_URI="http://www.balabit.com/downloads/files/syslog-ng/sources/${PV}/source/syslog-ng_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
|
||||
IUSE="caps hardened ipv6 +pcre selinux spoof-source sql ssl tcpd"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
pcre? ( dev-libs/libpcre )
|
||||
spoof-source? ( net-libs/libnet )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
>=dev-libs/eventlog-0.2.12
|
||||
>=dev-libs/glib-2.10.1:2
|
||||
caps? ( sys-libs/libcap )
|
||||
sql? ( >=dev-db/libdbi-0.8.3 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/flex"
|
||||
|
||||
src_prepare() {
|
||||
ht_fix_file configure.in
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--enable-dynamic-linking \
|
||||
--sysconfdir=/etc/syslog-ng \
|
||||
--localstatedir=/var/lib/misc \
|
||||
--with-pidfile-dir=/var/run \
|
||||
--with-module-dir=/usr/$(get_libdir)/syslog-ng \
|
||||
$(use_enable caps linux-caps) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable spoof-source) \
|
||||
$(use_enable sql) \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable tcpd tcp-wrapper)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README \
|
||||
contrib/syslog-ng.conf* \
|
||||
contrib/syslog2ng "${FILESDIR}/syslog-ng.conf."*
|
||||
|
||||
# Install default configuration
|
||||
insinto /etc/syslog-ng
|
||||
if use hardened || use selinux ; then
|
||||
newins "${FILESDIR}/syslog-ng.conf.gentoo.hardened.${PV%.*}" syslog-ng.conf || die
|
||||
elif use userland_BSD ; then
|
||||
newins "${FILESDIR}/syslog-ng.conf.gentoo.fbsd.${PV%.*}" syslog-ng.conf || die
|
||||
else
|
||||
newins "${FILESDIR}/syslog-ng.conf.gentoo.${PV%.*}" syslog-ng.conf || die
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
# Install snippet for logrotate, which may or may not be installed
|
||||
if use hardened || use selinux ; then
|
||||
newins "${FILESDIR}/syslog-ng.logrotate.hardened" syslog-ng || die
|
||||
else
|
||||
newins "${FILESDIR}/syslog-ng.logrotate" syslog-ng || die
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/syslog-ng.rc6.${PV%%.*}" syslog-ng || die
|
||||
newconfd "${FILESDIR}/syslog-ng.confd" syslog-ng || die
|
||||
keepdir /etc/syslog-ng/patterndb.d
|
||||
find "${D}" -type f -name '*.la' -exec rm {} + || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# bug #355257
|
||||
if ! has_version app-admin/logrotate ; then
|
||||
echo
|
||||
elog "It is highly recommended that app-admin/logrotate be emerged to"
|
||||
elog "manage the log files. ${PN} installs a file in /etc/logrotate.d"
|
||||
elog "for logrotate to use."
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,139 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-3.3.5-r1.ebuild,v 1.3 2013/05/08 20:47:41 mr_bones_ Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit autotools eutils multilib
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
DESCRIPTION="syslog replacement with advanced filtering features"
|
||||
HOMEPAGE="http://www.balabit.com/products/syslog_ng/"
|
||||
SRC_URI="http://www.balabit.com/downloads/files/syslog-ng/sources/${MY_PV}/source/syslog-ng_${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="caps hardened ipv6 json mongodb +pcre selinux spoof-source sql ssl static tcpd"
|
||||
RESTRICT="test"
|
||||
|
||||
LIBS_DEPEND="
|
||||
spoof-source? ( net-libs/libnet )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
!static? (
|
||||
>=dev-libs/eventlog-0.2.12
|
||||
>=dev-libs/glib-2.10.1:2 )
|
||||
json? ( >=dev-libs/json-glib-0.12 )
|
||||
caps? ( sys-libs/libcap )
|
||||
sql? ( >=dev-db/libdbi-0.8.3 )"
|
||||
RDEPEND="
|
||||
!static? (
|
||||
pcre? ( dev-libs/libpcre )
|
||||
${LIBS_DEPEND}
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
${LIBS_DEPEND}
|
||||
static? (
|
||||
>=dev-libs/eventlog-0.2.12[static-libs]
|
||||
>=dev-libs/glib-2.10.1:2[static-libs] )
|
||||
virtual/pkgconfig
|
||||
sys-devel/flex"
|
||||
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-compile.patch \
|
||||
"${FILESDIR}"/${P}-afsocket.patch \
|
||||
"${FILESDIR}"/${P}-gprocess.patch \
|
||||
"${FILESDIR}"/${P}-include.patch \
|
||||
"${FILESDIR}"/${P}-threading.patch \
|
||||
"${FILESDIR}"/${P}-utmpx.patch
|
||||
sed -i \
|
||||
-e '/libsyslog_ng_crypto_la_LIBADD/s/$/ -lssl -lcrypto/' \
|
||||
lib/Makefile.am || die
|
||||
sed -i \
|
||||
-e 's/AM_PROG_CC_STDC/AC_PROG_CC/' \
|
||||
-e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
|
||||
configure.in || die
|
||||
sed -i \
|
||||
-e 's/AM_PROG_CC_STDC/AC_PROG_CC/' \
|
||||
-e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
|
||||
modules/afmongodb/libmongo-client/configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use static ; then
|
||||
myconf="${myconf} --enable-static-linking"
|
||||
else
|
||||
myconf="${myconf} --enable-dynamic-linking"
|
||||
fi
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--disable-systemd \
|
||||
--with-ivykis=internal \
|
||||
--sysconfdir=/etc/syslog-ng \
|
||||
--localstatedir=/var/lib/misc \
|
||||
--with-pidfile-dir=/var/run \
|
||||
--with-module-dir=/usr/$(get_libdir)/syslog-ng \
|
||||
$(use_enable caps linux-caps) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable json) \
|
||||
$(use_with json json-glib) \
|
||||
$(use_enable mongodb) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable spoof-source) \
|
||||
$(use_enable sql) \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable tcpd tcp-wrapper) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS \
|
||||
contrib/syslog-ng.conf* \
|
||||
contrib/syslog2ng "${FILESDIR}/syslog-ng.conf."*
|
||||
|
||||
# Install default configuration
|
||||
insinto /etc/syslog-ng
|
||||
if use hardened || use selinux ; then
|
||||
newins "${FILESDIR}/syslog-ng.conf.gentoo.hardened.${PV%.*}" syslog-ng.conf || die
|
||||
elif use userland_BSD ; then
|
||||
newins "${FILESDIR}/syslog-ng.conf.gentoo.fbsd.${PV%.*}" syslog-ng.conf || die
|
||||
else
|
||||
newins "${FILESDIR}/syslog-ng.conf.gentoo.${PV%.*}" syslog-ng.conf || die
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
# Install snippet for logrotate, which may or may not be installed
|
||||
if use hardened || use selinux ; then
|
||||
newins "${FILESDIR}/syslog-ng.logrotate.hardened" syslog-ng || die
|
||||
else
|
||||
newins "${FILESDIR}/syslog-ng.logrotate" syslog-ng || die
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/syslog-ng.rc6.${PV%.*}" syslog-ng || die
|
||||
newconfd "${FILESDIR}/syslog-ng.confd" syslog-ng || die
|
||||
keepdir /etc/syslog-ng/patterndb.d
|
||||
find "${D}" -type f -name '*.la' -exec rm {} + || die
|
||||
rmdir "${D}"/usr/libexec
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For detailed documentation please see the upstream website:"
|
||||
elog "http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.3-guides/syslog-ng-ose-v3.3-guide-admin-en.html/index.html"
|
||||
|
||||
# bug #355257
|
||||
if ! has_version app-admin/logrotate ; then
|
||||
echo
|
||||
elog "It is highly recommended that app-admin/logrotate be emerged to"
|
||||
elog "manage the log files. ${PN} installs a file in /etc/logrotate.d"
|
||||
elog "for logrotate to use."
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-3.4.3.ebuild,v 1.2 2013/10/14 16:21:55 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils multilib systemd
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
DESCRIPTION="syslog replacement with advanced filtering features"
|
||||
HOMEPAGE="http://www.balabit.com/network-security/syslog-ng"
|
||||
SRC_URI="http://www.balabit.com/downloads/files/syslog-ng/sources/${MY_PV}/source/syslog-ng_${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="caps dbi geoip ipv6 json mongodb +pcre smtp spoof-source ssl systemd tcpd"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
pcre? ( dev-libs/libpcre )
|
||||
spoof-source? ( net-libs/libnet:1.1 )
|
||||
ssl? ( dev-libs/openssl:= )
|
||||
smtp? ( net-libs/libesmtp )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
>=dev-libs/eventlog-0.2.12
|
||||
>=dev-libs/glib-2.10.1:2
|
||||
json? ( >=dev-libs/json-c-0.9 )
|
||||
caps? ( sys-libs/libcap )
|
||||
geoip? ( >=dev-libs/geoip-1.5.0 )
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
systemd? ( sys-apps/systemd )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/flex"
|
||||
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV%.*}/${P}-autotools.patch
|
||||
mv configure.in configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-ivykis=internal \
|
||||
--with-libmongo-client=internal \
|
||||
--sysconfdir=/etc/syslog-ng \
|
||||
--localstatedir=/var/lib/syslog-ng \
|
||||
--with-pidfile-dir=/var/run \
|
||||
--with-module-dir=/usr/$(get_libdir)/syslog-ng \
|
||||
$(systemd_with_unitdir) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable caps linux-caps) \
|
||||
$(use_enable geoip) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable json) \
|
||||
$(use_enable mongodb) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable smtp) \
|
||||
$(use_enable spoof-source) \
|
||||
$(use_enable dbi sql) \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable tcpd tcp-wrapper)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS NEWS contrib/syslog-ng.conf* contrib/syslog2ng \
|
||||
"${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo.hardened" \
|
||||
"${FILESDIR}/syslog-ng.logrotate.hardened" \
|
||||
"${FILESDIR}/README.hardened"
|
||||
|
||||
# Install default configuration
|
||||
insinto /etc/syslog-ng
|
||||
if use userland_BSD ; then
|
||||
newins "${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo.fbsd" syslog-ng.conf
|
||||
else
|
||||
newins "${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo" syslog-ng.conf
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/syslog-ng.logrotate" syslog-ng
|
||||
|
||||
newinitd "${FILESDIR}/${PV%.*}/syslog-ng.rc6" syslog-ng
|
||||
newconfd "${FILESDIR}/${PV%.*}/syslog-ng.confd" syslog-ng
|
||||
keepdir /etc/syslog-ng/patterndb.d /var/lib/syslog-ng
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For detailed documentation please see the upstream website:"
|
||||
elog "http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.4-guides/en/syslog-ng-ose-v3.4-guide-admin/html/index.html"
|
||||
|
||||
# bug #355257
|
||||
if ! has_version app-admin/logrotate ; then
|
||||
echo
|
||||
elog "It is highly recommended that app-admin/logrotate be emerged to"
|
||||
elog "manage the log files. ${PN} installs a file in /etc/logrotate.d"
|
||||
elog "for logrotate to use."
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,105 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-3.4.4.ebuild,v 1.1 2013/10/17 16:08:09 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils multilib systemd
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
DESCRIPTION="syslog replacement with advanced filtering features"
|
||||
HOMEPAGE="http://www.balabit.com/network-security/syslog-ng"
|
||||
SRC_URI="http://www.balabit.com/downloads/files/syslog-ng/sources/${MY_PV}/source/syslog-ng_${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="caps dbi geoip ipv6 json mongodb +pcre smtp spoof-source ssl systemd tcpd"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
pcre? ( dev-libs/libpcre )
|
||||
spoof-source? ( net-libs/libnet:1.1 )
|
||||
ssl? ( dev-libs/openssl:= )
|
||||
smtp? ( net-libs/libesmtp )
|
||||
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
|
||||
>=dev-libs/eventlog-0.2.12
|
||||
>=dev-libs/glib-2.10.1:2
|
||||
json? ( >=dev-libs/json-c-0.9 )
|
||||
caps? ( sys-libs/libcap )
|
||||
geoip? ( >=dev-libs/geoip-1.5.0 )
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
systemd? ( sys-apps/systemd )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/flex"
|
||||
|
||||
S=${WORKDIR}/${PN}-${MY_PV}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV%.*}/${P}-autotools.patch
|
||||
mv configure.in configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-ivykis=internal \
|
||||
--with-libmongo-client=internal \
|
||||
--sysconfdir=/etc/syslog-ng \
|
||||
--localstatedir=/var/lib/syslog-ng \
|
||||
--with-pidfile-dir=/var/run \
|
||||
--with-module-dir=/usr/$(get_libdir)/syslog-ng \
|
||||
$(systemd_with_unitdir) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable caps linux-caps) \
|
||||
$(use_enable geoip) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable json) \
|
||||
$(use_enable mongodb) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable smtp) \
|
||||
$(use_enable spoof-source) \
|
||||
$(use_enable dbi sql) \
|
||||
$(use_enable ssl) \
|
||||
$(use_enable tcpd tcp-wrapper)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# -j1 for bug #484470
|
||||
emake -j1 DESTDIR="${D}" install
|
||||
|
||||
dodoc AUTHORS NEWS contrib/syslog-ng.conf* contrib/syslog2ng \
|
||||
"${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo.hardened" \
|
||||
"${FILESDIR}/syslog-ng.logrotate.hardened" \
|
||||
"${FILESDIR}/README.hardened"
|
||||
|
||||
# Install default configuration
|
||||
insinto /etc/syslog-ng
|
||||
if use userland_BSD ; then
|
||||
newins "${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo.fbsd" syslog-ng.conf
|
||||
else
|
||||
newins "${FILESDIR}/${PV%.*}/syslog-ng.conf.gentoo" syslog-ng.conf
|
||||
fi
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/syslog-ng.logrotate" syslog-ng
|
||||
|
||||
newinitd "${FILESDIR}/${PV%.*}/syslog-ng.rc6" syslog-ng
|
||||
newconfd "${FILESDIR}/${PV%.*}/syslog-ng.confd" syslog-ng
|
||||
keepdir /etc/syslog-ng/patterndb.d /var/lib/syslog-ng
|
||||
prune_libtool_files --modules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For detailed documentation please see the upstream website:"
|
||||
elog "http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.4-guides/en/syslog-ng-ose-v3.4-guide-admin/html/index.html"
|
||||
|
||||
# bug #355257
|
||||
if ! has_version app-admin/logrotate ; then
|
||||
echo
|
||||
elog "It is highly recommended that app-admin/logrotate be emerged to"
|
||||
elog "manage the log files. ${PN} installs a file in /etc/logrotate.d"
|
||||
elog "for logrotate to use."
|
||||
echo
|
||||
fi
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/adie/adie-1.7.41.ebuild,v 1.1 2013/09/13 20:47:41 mabi Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/adie/adie-1.7.43.ebuild,v 1.1 2013/11/13 21:51:23 mabi Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ganeti-2.9.0.ebuild,v 1.1 2013/11/13 03:39:15 chutzpah Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ganeti-2.9.1.ebuild,v 1.1 2013/11/13 19:17:00 chutzpah Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python2_{6,7})
|
@ -1,7 +1,21 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX rssh-2.3.3-envvars.patch 7087 SHA256 d407531c9717306dbd5e1b3bbb587b5ce5d9f6b6440edb51d2d9f6c64401d4b6 SHA512 405b756724a4e4bf1bb43d2994716e35a9eb812b77fcaf51b74a9ceac1bc75cad8e1fe62084134e8da21e2cb7a976498811685c9554fa7d2fce047d5d47af283 WHIRLPOOL abde37ed282a96a0c7f411826c9716e1dda2b76a4a86690e491a99d672fd11c97cc20754045ea275282396c7504ab6e0ac5b03642e02ff1fde3152cfe7f12376
|
||||
DIST rssh-2.3.3.tar.gz 119510 SHA256 1940912c2485f8531e4461de06bd2aebc607d2a89805debb7ac81002fa6fd07f SHA512 a5aeeca30217224830ca96acbf257a59c0da602ed541120d7a69695a352dfe6617b9fd8df7340f3363f4f807b47d1db20b60c10dcc8ef3a208968e3f9cb1c3ee WHIRLPOOL 2db29c430880bf37b7daceece8510fef54662cc3d10e75b693c425231d00b55c4d39c75cd539a088c8547d6caf10ff7c3b994c3ff2eb7e606bb3dcecd3362f05
|
||||
DIST rssh-2.3.4.tar.gz 113315 SHA256 f30c6a760918a0ed39cf9e49a49a76cb309d7ef1c25a66e77a41e2b1d0b40cd9 SHA512 c1a77abdf4abe5f936fb1c9c008fc81fabf7b624d69ed31fe2ae5619dfa4a79f1d4a4f2daa5291a36d40353fa2168e74e5ba61294230d702fcdc88ae0d520487 WHIRLPOOL a2fa86922780bdc5f34536aa5840a76902841024b0bc35220098e9d40e087c28578c37417c92ffca5035898c47f50d5de5d18609a3087ceb25eb532bd6b26092
|
||||
EBUILD rssh-2.3.3-r2.ebuild 886 SHA256 cb4e1c273027b3335a869785a8f37800af17140543729e28fd85d3023a1d92d4 SHA512 9bb707b550b5866b13d7f04664272499938878f477604a99c681be4d700abcfc843c1d1320e8682ae4f4f96fd69ed25598399043a28d1d97c490cf0386d88ca3 WHIRLPOOL 7bac2858f5337ac434fdc196ea0d5f5d16b413ec829fa684cd0644a76f06d39cde3dffa839805b36d46cf0e5cd34dd5a9ddb2efb195c61e8c1d2a2b5c5c89d0c
|
||||
EBUILD rssh-2.3.4.ebuild 935 SHA256 eb4890f48a94efb87c084fc4a26fbc3053c9c3b0c574841047bd2a737cb65e18 SHA512 07d4ebfe4065b0757668be53491506d2d98c986450c68877bc6244c30c9dc192edce19556ff90a5fe336235b3ec18b86dccb1c57d32a1cd6d63e2ff4490d1883 WHIRLPOOL 2e3a18503def6c1868ecb0cb2f99a518e5135df9bebd9f7ca20026008276c2981a5a5b9ecc607d1bd552f6ee31e76ff4beb74b9cee55ee6d9617d3dfaae9f4fa
|
||||
MISC ChangeLog 4446 SHA256 de9de654f9c29759ce5e0f3192645f8c0104c6f6087993123212b3ac9c8ce690 SHA512 5e3c9bcf427d2f47c68c830c5fec6d66815f40fec6e19c01b4996963c0a1c0b5ca684237554bb4bf407d60ad72c4da6b5943c4e77a6714317e52b6f7496d7132 WHIRLPOOL 25dd4dd7a8d2c44ff519a9845d285738fbd1a076d5c5747b35ba02c9b9dd2aa0ced545a78d49740453538cbfd80302d7cb66a1f18a07848bce69f6101d7fd6d8
|
||||
EBUILD rssh-2.3.4.ebuild 938 SHA256 bc388b57a508bf6109e246c12e592a963cb20a603f8b5ed80ba262227189a811 SHA512 376609289129fab790918b892a5db9e8b760a94f68aebaae16127a1606c14c94ebe52834d44de78ec908d2102a33b68291dfca5e5f0d7946d32d170a3cb6c693 WHIRLPOOL 49553793a6cf5d54bc59fe9fbe8ad1b0a00ed351450528fc1f0d27f56c9e2d35036d2461f2e11bc46812ee47b3d176b9b4fb4b9e62a012c4886ba0aa49a8b112
|
||||
MISC ChangeLog 4547 SHA256 a05306bf98d2a5518fdccf80a333ccfe7ef02b2a2e1c970bb329282fca949094 SHA512 63fa3df42e805e3e08ea7a931daaf33a69ea07940e5612aba51b631342171e22237ca153d3be1181736dc36c57d636a33b2fd855e3371b10c418a8edcc9b49ac WHIRLPOOL 93165f938dc8db5fdc65045734d29ba31d9a914d224f784da456fc4ee2613bd558aaaca65b6090214873e11b0e9c43701ab778e0f173b79189b5fc71cfbbf733
|
||||
MISC metadata.xml 272 SHA256 0c365913714b5beca9b01b87b60c5fba58bd64d4f17dbd9a4e64868deb580883 SHA512 d2da213b9baf03d4f971320319f676e2908cebca4b8074fef4ccd21548667ebcabdd4a176285be4b780c332cb7aa7069f3622752a10714ebdf1f34ba955c77cc WHIRLPOOL 3d18689d59870ee8c1ba8ee8312a17ec01e4f99ccecc69ce09fe468f1c5bcc53ddb11969243e794abab7f80837beac4fcd256daecfc3155c6bd784a9af60d06b
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJSg7DkAAoJEOeBhlrCAAWGiMIH/2Kedje6pmid3FSas1PsVfQt
|
||||
pJNIrmtRWBMJ0FeHGqVNOZMBHpYHJpcsyKEbv0cpV5SdBzp/GWtwv17pnl714Qou
|
||||
tQy8cFFoTsRUzb2kHugF+TQ+knOSC23zTwyMBcfBpDYgM6DbkooZEzEPEtoWs0pd
|
||||
DCWcag/6q93bI/wKbuVOhbhnUfsm0zjGN5gGAVVX5FW6LcR7agN8Rs4TBWZUtfuB
|
||||
1hVpZbt28PnreKNWCe5JxK4bdi1Bccu0moQib7AWJzqpu7fzcGZ8tmg7NBpWGaC7
|
||||
s/zD2kgiob5/E7N8UFSElNSnTcOV54zO8HKSvvu++ANoBCyj8XZYJON+Tin/hIU=
|
||||
=5jON
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,98 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside-tools/pyside-tools-0.2.15.ebuild,v 1.1 2013/11/14 01:02:29 pesa Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
CMAKE_IN_SOURCE_BUILD="1"
|
||||
|
||||
PYTHON_DEPEND="2:2.6 3:3.2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5 3.1 3.3 *-jython 2.7-pypy-*"
|
||||
PYTHON_TESTS_RESTRICTED_ABIS="3.*"
|
||||
|
||||
VIRTUALX_COMMAND="cmake-utils_src_test"
|
||||
|
||||
inherit eutils cmake-utils python vcs-snapshot virtualx
|
||||
|
||||
DESCRIPTION="PySide development tools (lupdate, rcc, uic)"
|
||||
HOMEPAGE="http://qt-project.org/wiki/PySide"
|
||||
SRC_URI="https://github.com/PySide/Tools/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pyside-1.2.0[X]
|
||||
>=dev-python/shiboken-1.2.0
|
||||
>=dev-qt/qtcore-4.7.0:4
|
||||
>=dev-qt/qtgui-4.7.0:4
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/0.2.13-fix-pysideuic-test-and-install.patch
|
||||
|
||||
python_copy_sources
|
||||
|
||||
preparation() {
|
||||
if [[ $(python_get_version -l --major) == 3 ]]; then
|
||||
rm -fr pysideuic/port_v2
|
||||
else
|
||||
rm -fr pysideuic/port_v3
|
||||
fi
|
||||
|
||||
sed -i -e "/pkg-config/ s:shiboken:&-python${PYTHON_ABI}:" \
|
||||
tests/rcc/run_test.sh || die
|
||||
}
|
||||
python_execute_function -s preparation
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local mycmakeargs=(
|
||||
-DPYTHON_BASENAME="-python${PYTHON_ABI}"
|
||||
-DPYTHON_SUFFIX="-python${PYTHON_ABI}"
|
||||
-DSITE_PACKAGE="$(python_get_sitedir)"
|
||||
$(cmake-utils_use_build test TESTS)
|
||||
)
|
||||
CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_configure
|
||||
}
|
||||
python_execute_function -s configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
compilation() {
|
||||
CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_make
|
||||
}
|
||||
python_execute_function -s compilation
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
CMAKE_USE_DIR="${BUILDDIR}" virtualmake
|
||||
}
|
||||
python_execute_function -s testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
CMAKE_USE_DIR="${BUILDDIR}" cmake-utils_src_install DESTDIR="${T}/images/${PYTHON_ABI}"
|
||||
}
|
||||
python_execute_function -s installation
|
||||
python_merge_intermediate_installation_images "${T}/images"
|
||||
|
||||
dodoc AUTHORS ChangeLog
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize pysideuic
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup pysideuic
|
||||
}
|
@ -0,0 +1,131 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/pyside-1.2.1.ebuild,v 1.1 2013/11/14 00:46:04 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2} )
|
||||
|
||||
inherit multilib cmake-utils python-r1 virtualx
|
||||
|
||||
MY_P="${PN}-qt4.8+${PV}"
|
||||
|
||||
DESCRIPTION="Python bindings for the Qt framework"
|
||||
HOMEPAGE="http://qt-project.org/wiki/PySide"
|
||||
SRC_URI="http://download.qt-project.org/official_releases/${PN}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="X declarative designer help kde multimedia opengl phonon script scripttools sql svg test webkit xmlpatterns"
|
||||
|
||||
REQUIRED_USE="
|
||||
declarative? ( X )
|
||||
designer? ( X )
|
||||
help? ( X )
|
||||
multimedia? ( X )
|
||||
opengl? ( X )
|
||||
phonon? ( X )
|
||||
scripttools? ( X script )
|
||||
sql? ( X )
|
||||
svg? ( X )
|
||||
test? ( X )
|
||||
webkit? ( X )
|
||||
"
|
||||
|
||||
# Minimal supported version of Qt.
|
||||
QT_PV="4.7.0:4"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/shiboken-${PV}[${PYTHON_USEDEP}]
|
||||
>=dev-qt/qtcore-${QT_PV}
|
||||
X? (
|
||||
>=dev-qt/qtgui-${QT_PV}[accessibility]
|
||||
>=dev-qt/qttest-${QT_PV}
|
||||
)
|
||||
declarative? ( >=dev-qt/qtdeclarative-${QT_PV} )
|
||||
designer? ( || ( dev-qt/designer:4 <dev-qt/qtgui-4.8.5:4 ) )
|
||||
help? ( >=dev-qt/qthelp-${QT_PV} )
|
||||
multimedia? ( >=dev-qt/qtmultimedia-${QT_PV} )
|
||||
opengl? ( >=dev-qt/qtopengl-${QT_PV} )
|
||||
phonon? (
|
||||
kde? ( media-libs/phonon )
|
||||
!kde? ( || ( >=dev-qt/qtphonon-${QT_PV} media-libs/phonon ) )
|
||||
)
|
||||
script? ( >=dev-qt/qtscript-${QT_PV} )
|
||||
sql? ( >=dev-qt/qtsql-${QT_PV} )
|
||||
svg? ( >=dev-qt/qtsvg-${QT_PV}[accessibility] )
|
||||
webkit? ( >=dev-qt/qtwebkit-${QT_PV} )
|
||||
xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-qt/qtgui-${QT_PV}
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
DOCS=( ChangeLog )
|
||||
|
||||
src_prepare() {
|
||||
# Fix generated pkgconfig file to require the shiboken
|
||||
# library suffixed with the correct python version.
|
||||
sed -i -e '/^Requires:/ s/shiboken$/&@SHIBOKEN_PYTHON_SUFFIX@/' \
|
||||
libpyside/pyside.pc.in || die
|
||||
|
||||
if use prefix; then
|
||||
cp "${FILESDIR}"/rpath.cmake .
|
||||
sed \
|
||||
-i '1iinclude(rpath.cmake)' \
|
||||
CMakeLists.txt || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_build test TESTS)
|
||||
$(cmake-utils_use_disable X QtGui)
|
||||
$(cmake-utils_use_disable X QtTest)
|
||||
$(cmake-utils_use_disable declarative QtDeclarative)
|
||||
$(cmake-utils_use_disable designer QtDesigner)
|
||||
$(cmake-utils_use_disable designer QtUiTools)
|
||||
$(cmake-utils_use_disable help QtHelp)
|
||||
$(cmake-utils_use_disable multimedia QtMultimedia)
|
||||
$(cmake-utils_use_disable opengl QtOpenGL)
|
||||
$(cmake-utils_use_disable phonon)
|
||||
$(cmake-utils_use_disable script QtScript)
|
||||
$(cmake-utils_use_disable scripttools QtScriptTools)
|
||||
$(cmake-utils_use_disable sql QtSql)
|
||||
$(cmake-utils_use_disable svg QtSvg)
|
||||
$(cmake-utils_use_disable webkit QtWebKit)
|
||||
$(cmake-utils_use_disable xmlpatterns QtXmlPatterns)
|
||||
)
|
||||
|
||||
configuration() {
|
||||
local mycmakeargs=(
|
||||
-DPYTHON_SUFFIX="-${EPYTHON}"
|
||||
"${mycmakeargs[@]}"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
python_foreach_impl configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl cmake-utils_src_make
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
local VIRTUALX_COMMAND="cmake-utils_src_test"
|
||||
python_foreach_impl virtualmake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
cmake-utils_src_install
|
||||
mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-${EPYTHON}}.pc || die
|
||||
}
|
||||
python_foreach_impl installation
|
||||
}
|
@ -1,26 +1,26 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA512
|
||||
|
||||
DIST python-uinput-0.10.1.tar.gz 21549 SHA256 bf11ba44850f56142de1f4ac883322ad4f5b14d8c149c01f90e9d96f8ada9c9f SHA512 ec1767fc40071d299ca5955163a0ee1ad9ff896d462037c305f4fdfb6b05be4b360699b1a966a40571c742ac5699c0468c2537787483fa6fe1a0cc19e533ee5a WHIRLPOOL 6c083b28e48093df85e0648e3756abf7a02f55daa89dee9dd7bd629b9d6a81c9bd4e8129e682a856a7bc7fae8ea0f05ed8ebfa279e0d843d44e9e6729f4a64f2
|
||||
DIST python-uinput-0.9.tar.gz 18260 SHA256 2cd5ea90bf83bc3ce56e3d2897de9133080e940f1396551d21305aac43611295 SHA512 bd31b963ce1134670d2b49d243f0613d32355c41c511a13b9963ecca531806d9fa41c8b6cc10717bda16328cdd6b8ab175202dfa774b55372d81f21aba692e65 WHIRLPOOL 25f99d22a8f47217878f28a9357cd3e679c050e165cd8a1c965181559114567df6e8a1059098d0141a3328dd03fe078368b74fe632257512c77f1765853f581e
|
||||
EBUILD python-uinput-0.9.ebuild 754 SHA256 60a40beb9076577cea667793d63aca537fe0ce263abbc5ccd73c76ca7c643d5e SHA512 1f9169f740e6bfa2aa101760ea5cf427d565a6936ea5d1ec7320ff7bcea926a6036fe6a06e03cb8b24fba9956aafd7270587a3e582ee0e946bce98b759b68bb8 WHIRLPOOL 756465812c570be8b2cd3f02a6d20a911e79fa8f516bf3787eb488ea08017ed066e1a7f01ed268239de6624556d794d34190c86f8cd23913c835e964afac7ee1
|
||||
MISC ChangeLog 490 SHA256 76f25cae3f2509b0fd361e8c8b6cc477c4d53b00f5256e16dd1ee0d77932e5dc SHA512 63d67aa3c87ef96abf4abe4f1a4542767c1c37aa0d282609d7ade6773bc453c6994399a2c59d3c50532d134ab118510bdb1044c839b9bfc307d4f98adb301319 WHIRLPOOL ff0d023e410a8aa7bec88e2cbe1f6cc5be784dfcc5e2e26cd2cd3c7654bc04ceb2c78ae0888b06cbc826ac8d2431f9697d08e05818a7ad912240f05a034c062e
|
||||
MISC metadata.xml 236 SHA256 ef63e4935283a07ddebf5880923d5b32af605c5f7c389339986dd5ce137159a4 SHA512 841fb088975d757270ad14d802833606b04972a79bea2a2d4d52857961687b2144efd88cdd2770d7a5214dd7da3425bf9c79355e373cc9b4911bf8f214cb4b86 WHIRLPOOL b00f0e72e1297982bc2d2514e7d13650d777eb7c3dd1854847d39f090dcbe91f093280cbeaf73a1b10b6f5cbb255d64609d202312ad0128f3dea51fd72c248b7
|
||||
EBUILD python-uinput-0.10.1.ebuild 715 SHA256 46614835af6e0eb1a4c7650137dc3276539e66eff436edb87b7fb2e377d0cf72 SHA512 2e52ebb89166aaef10501ff626acf7e7409b206de44e38fd8f926e4caa51dd9416e2cc776ec952e393d0b7c842f7af493f030121e7b28ae3722ea039de2b0f12 WHIRLPOOL 985583365ddbe0a96f99c77063245b4eb737b235bfcacba70bb0d08715b1eb276e7230f4f1425921d5ff35c867f0848556ae2b701fbaac9d5718c80b0624c72e
|
||||
EBUILD python-uinput-0.9.ebuild 748 SHA256 9c363052c9ad680b40fc5b09477057d919ac37009ea397fbaeca794994ed5252 SHA512 1b5d64d4f970d7f5acf88c3c41acc7bbb56dd859e4a2eada39a98eb03373af75636922c9474583a984f8c46abb18d646c7ed9d28df267443a74fa234204775ae WHIRLPOOL 76956ab661c63298c6a3bd35b77f3bd2ea7a6ed57a2bdda2f4b5545ee3a684f0f1c7b6ed5cef0a465ee2a7a6266965552e5a526f76f2bac11ec9adb3d8050a25
|
||||
MISC ChangeLog 791 SHA256 4013a330934833d341074cd8ab704e3aafcf36b4436a59fda98bbeffb47a73cc SHA512 55ce08206c86b97be73874be1ce2c8b12644e5a364084ca11bfc71d03ebfbdcd0e9470412964e04f2ab906e3a9c4e5982c88f52ad24f63069f1e58d78e93d5f2 WHIRLPOOL 02b6520905f366496eccb76e407f05b7f922c674dddaf874cc3e07eb383a039563f51921747c0e2c97b202122241ab129e74c917dca964ce22e47984c5f37a19
|
||||
MISC metadata.xml 241 SHA256 ef5b246149f6b12f50cbc156c456bb2eabba3f43ab13f600311543422585c088 SHA512 a8395b21d4903b546fb72adf738da07d548b598bc228e6681b9f07e52dfd4590bdb7ea6b2fa7802bc61319016a6204b5803f34206552ac2b564c30d6a681c6b6 WHIRLPOOL d6e19ce86b385b0d5915f642fb19c3acd22af874bbae83a27fcff65b6a3ee95d86f282daa26c59803c9d726f8158b1bdd3acae0534c8bf103513f1dc87b64cee
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.21 (GNU/Linux)
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQJ8BAEBCABmBQJSKNKkXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
|
||||
MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOGOUP/ieu2rOOTZuztrGmlybw88WH
|
||||
fFKmdEEYDxkH2z9CY3V6SD8B4oeUOpAhwW/9gALYqyXinJyfd+GdrCDtGLnGmpl7
|
||||
g1I7Oo+8Tm0qf8tcDhA/Z22m/1zPuz27klO77M3naHmGk77KbtiH/kHtUnA1pwTt
|
||||
+qTgZCtsTjQRtXrktn3ZgrwKrKCip5L3Nbd9H2f41+YmaAvU5nH9cG+edYC8rr7W
|
||||
LfxvJDcJZDfmaBOhqp/3JoyJAWOQJWQ4AH4gAOMb78HuujYfGaSp0L/dMW9olc9g
|
||||
Hsw6lRFJF4iwG8JxfeQsT9hrBLb5SeZI89qIcu+SsMoa0P7VQOvWKb6G1fiyAwqB
|
||||
Pf2bBGYSJNGSRrscqDzd88pWprME+UB7hb/3LKwx3ieeZZtEFQJqq91TtLJFwKxJ
|
||||
0124sIigjXiAo+cYDe5sfrC2jmL4A383sP0veB70BWkO9sVaFWqSCKmqTlPU7Ddo
|
||||
iDduhMua/2fN0GLuHW5vTtuAa/FuLAGuyXIKqXP/RPziv3E8XqO/AAOvUU0AmSO4
|
||||
gzgZ5COVCvoJXvRdmRLTkW7WNG2c00W5Pbty+ztegSQo/xA5LyqIVLGV9xk2Ogje
|
||||
XVBiY1ooQGFkuAO0onKGDTlQgwzWUcjA0coAoiMAMKWTjIvCOgchjjzjkU95uAwl
|
||||
XjbarkR9wM0itwoCT45f
|
||||
=b89a
|
||||
iQIcBAEBCgAGBQJSg1S5AAoJELnU8jG9FVirOlEQAINN8mObMbIPjqpRPXg3nQpv
|
||||
eCs7Y9MFkt7w3BymUHPIXzrS/3sK//sw0Q9jKS1JMf+JIXv6U9ccG4D7McgIrtAd
|
||||
CD39nlB3agbPFSsNYxJE1g7wzKH7+YNJT3YiKqZxyvHA4O17pBNS5zOba/Lg77ec
|
||||
/24SufS2lkpFak1NsTBpcbr4fUZ9hPCD4gzy4tpM173XOvr7aV0aayvXnFysvI1V
|
||||
G1u3JGJHJk4XTvvVc50vk6kYExGiLparrWkrj6jL0zA7sMZb4M0+YIx2ExxszBUN
|
||||
ajsMMZ09DO7+e4ATQG/fg+YWw+Z4wayocbGAZITKwiPBNBC3/3YoxzSEZwVskDBG
|
||||
4F3t0SgSukxjCG1sd1moZr9VdpnhmV+QMu5sQejNlLCk1ywuopduXxzWVNzpspXm
|
||||
+IViX5UkiYb7m6uVkwZzW36NsehwjRcty/FmerJyPxp+MpJ8AuTVvqhg5wHHVrpD
|
||||
w8x8KIV2PkPGyq0b/OVakn26Q1+10Z1j4ltz+faG25lX0n8voJegNXf6+pzj+NHG
|
||||
w1vfH8XqXmHjrQZ3DPjPcRsW/z0/f3ktq5ge9Wb/getCx/ESDkLW0/7ODwQgi86h
|
||||
fC8kkMw5B9TwJ6/4YEqVZcLT4RPjPqezrmDdnRyaehsEjIlz4qsKXFrHRZAzqJC6
|
||||
1CFKN8ZHiSIn+zTPNR5t
|
||||
=OpV5
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">python-uinput</remote-id>
|
||||
</upstream>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">python-uinput</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-uinput/python-uinput-0.10.1.ebuild,v 1.1 2013/11/13 10:30:16 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=(python{2_{6,7},3_{2,3}})
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Pythonic API to the Linux uinput kernel module"
|
||||
HOMEPAGE="http://tjjr.fi/sw/python-uinput/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="virtual/udev"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
python_prepare_all() {
|
||||
sed \
|
||||
-e "s:libudev.so.0:libudev.so:g" \
|
||||
-i setup.py || die
|
||||
rm libsuinput/src/libudev.h || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
# ChangeLog for dev-python/qpid-python
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/qpid-python/ChangeLog,v 1.1 2013/11/14 00:44:19 idella4 Exp $
|
||||
|
||||
*qpid-python-0.20 (14 Nov 2013)
|
||||
|
||||
14 Nov 2013; Ian Delaney <idella4@gentoo.org> +metadata.xml,
|
||||
+qpid-python-0.20.ebuild:
|
||||
Package needed for app-admin/glance, ebuild prepped by me
|
@ -0,0 +1,14 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST qpid-python-0.20.tar.gz 226543 SHA256 0344ffd3af3c03d77e90b0700111b00c18a65770b826a63dfe75806ec8ff22f8 SHA512 c3cc466c3b1e13443c9ac1e04d8dfab8fbdb4460fcc828b91e9d520cacdfa69589ccd1928d8d0cb4012c4d0a22ae9e6dc2803488863ccc53bb568e97f8251b44 WHIRLPOOL 1e7061e9005bf787e8a04ac078a2ff6927e69f101e99507f93a4c283cd18c561523ca910186f1d14c161468e35ef738f2a1ac8f5da04b329c7cc8cd75309f490
|
||||
EBUILD qpid-python-0.20.ebuild 1257 SHA256 181de264b1b7ba678af04f1be5e7b0c7a7d5c814c3176e0ee1a9c777d3a5ef40 SHA512 031789eb27894d7397f73019363ba7c047db215e2f1ed387f66a20c58f33af17ddfebed00a10b9ec491bbf9d926abd3300729bd6282155762342b15326aecd46 WHIRLPOOL 345dc0dc3bbb5ef739dc64f313b948f3a30e4eb85415102cb8d436bb15d85fa1f3c0c911accf4cfcf626dabe3518b42ada82ea6fbf99c36e43b2039279bbdf57
|
||||
MISC ChangeLog 402 SHA256 ad0479528c2ddd3ef5856b7a523ffa875542f8eed11810e8169bc9aca6dcb064 SHA512 abe5ae979a4773049b4e9f594b3a5c1ce72485f746b69f5a3c23dc7557b6865257d47dcba0a2bad523ff4f52b4291eca329029f7953f57ba212ce1510b4b711d WHIRLPOOL ef5622e8b0842d4669ddced9571eb8216dce86154b94f223f25b85a835820f7f48b922fc2ec37480741366663672f3ea7c6f3658cc63a4d1dbd6282ff94b9736
|
||||
MISC metadata.xml 170 SHA256 613f5f63dffc78a75b8e12bd0df1ba7f27afccc7532b809c6ed14de1007bdc25 SHA512 2de67dccf7cc4fe6837c3efb996e16621dc7ddbf58ac725c5f57d0bc8c64036a2adab320f124da571d31bdbedd9aca46aa867a9186b7cee8500855360b6dfb5e WHIRLPOOL 7aa8b64e7a8fa384484d69f4fa024536e537ce70ba49c738f52977912418e2ada990a4626072b0f2c56dedc743a0c81800db6ea271ebd18c87542ec2ba6dd4ed
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlKEHPUACgkQso7CE7gHKw0VcgCgkCD6IGwxIDGT6saN7FbhofdP
|
||||
h8UAoMA8qdbb46j2+k8Zn24FtFOtROFX
|
||||
=HTmS
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>openstack</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/qpid-python/qpid-python-0.20.ebuild,v 1.1 2013/11/14 00:44:19 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A high-speed platform independent enterprise messaging system for Apache"
|
||||
HOMEPAGE="http://qpid.apache.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && "${PYTHON}" setup.py doc_option
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# For now rm failing tests requiring making a connection, ? via a running broker
|
||||
# Seems 'we' need figure how to start a broker
|
||||
sed -e 's:def testReconnect:def _testReconnect:' \
|
||||
-e 's:testEstablish:_&:' \
|
||||
-e 's:testOpen:_&:' \
|
||||
-e 's:testReconnectURLs:_&:' \
|
||||
-e 's:testTcpNodelay:_&:' \
|
||||
-e 's:testOpenCloseResourceLeaks:_&:' \
|
||||
-e 's:testReconnect:_&:' \
|
||||
-i qpid/tests/messaging/endpoints.py
|
||||
./qpid-python-test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local HTML_DOCS=( ../"${P}"-python2_7/doc/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,29 +1,29 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
Hash: SHA256
|
||||
|
||||
AUX qscintilla-python-2.5.1-disable_stripping.patch 610 SHA256 ebcab9b869bb0e7b8dd51e24c43df30abdb477f09666d49b8f9aee6d2bf659f1 SHA512 88a19c8d7233d62df08f8cd57173b7819955e14c8f92f618b29dcb268168a5ba70973da835d1493a66bf2d53427ed0615e904aa2398e47e4dc15dce10a20204f WHIRLPOOL ca4566405bd831b0f4ec8a2ec617545dfc3d4adbb54c695ff0e2e97ef5c7d9cc376aec2b46cffeac96b5b2687db5a8d94b18ec6c699c589ad01e46b535568814
|
||||
DIST QScintilla-gpl-2.6.2.tar.gz 2662469 SHA256 fac245ecfa11676b0003ef605489f87332c2efe039a4111821aec61bb936c264 SHA512 5d92c70182817f34141c4166a41807a3ef506c38cc2cd3c83d140eeca329e4aa6f1fa379bb9422da95d65a3385eefc27b0948b342af89c93eeca49f233a63a81 WHIRLPOOL 9c2676e61c2706cc0d57fe7ba0fc00cd45f5a12646c8ffe9fbcd197b204cbbadbdc42a93781d07dbd7b198bbbb45584d74b6752173d150096ce900ef0de222cd
|
||||
DIST QScintilla-gpl-2.7.1.tar.gz 2841363 SHA256 490e9679868704e02840f21c4892b3b939088060c17782d938895513988bfb92 SHA512 7e1c003ac210f27e60666385fa4b0b42b20371b48ac4a05b0a5740c963beaa5403df42e2d516bbe6e9eb3d2ad1e5acb5825fcb3d0b4aabfbe971ecae3c86296b WHIRLPOOL e1be53bf00122dffcba5704fb66f105f420386a7357088d8d92c01297769a24dffd0d5ffdb38a2949b0300427c72e6713094940abe2c5b95314801bb0d7cf235
|
||||
DIST QScintilla-gpl-2.7.2.tar.gz 2842625 SHA256 14b47d686dc1586321f84fcf3c9a911ddaace37a1cb0b1e6a6195e252e5bb69c SHA512 d3ca9d75687687210ca6ae3599fd44bfbbad8c99d6d38aaf1c92c83250dc0c5af1c713bdd74d077d0fb9ba1eccbd5e2910eef855d3656392c33c4832d46ff7fb WHIRLPOOL 1ea4a189a5998755afaa0fad111a7f2153e5ecbe13290d62930cce992b0159040de9cb304e848705abc3d0f1909a82fde908d8179ddd9de05970323cee5ffebe
|
||||
DIST QScintilla-gpl-2.8.tar.gz 2917864 SHA256 41d32af71501bdfdfc0668f304ba7d7c15019462795e9441d3b23fc054fdfb71 SHA512 531cec5fb89037f79b71bfd07bc94f2744b8b43c7cf8376d102bd4c85d91af1213ac39cce0cb19e8b90d2fbcda47a8617d1b787dbbadaf6270b66660d7d72cd4 WHIRLPOOL 39eb0231fb6c557f49de1abf8c851dd22dd6416841acecf2350a0dcb23f500f571c1bab67a7e5c28d0c31c142781feb32c8475e5a9840dfbfe6decaa6909df80
|
||||
EBUILD qscintilla-python-2.6.2.ebuild 1367 SHA256 0aac8832cf406c24fe44b39402cde061851e140d54c08c24fa90c16a5d5a2db2 SHA512 8ebbaf876a463f9cd9c2cef82a7f13289d139d4c96e1ae783210972f99a9c164256855767d33ba706e2e69a5f469c55cfba0fc693c87a424e5869a519a3cbeae WHIRLPOOL 0bcac92c75171dd2ae06411356d0677eae57bddbf9a66cc7a2840dad2f366fb6f1107c5a7471ab894cc3cb6ec6f52ccf9390f594d4f29e7f9ceca954fb0e98fa
|
||||
EBUILD qscintilla-python-2.7.1.ebuild 1633 SHA256 fdb01ad8227d72b8db106637574d8a8d43fb23493de420e34882c89d175a7f20 SHA512 058c1b201e55639e6175d885ad94ab0ab7d5d74bd88a43c7143b69e923862ad36fa9b0b56968654742c6679d9201e5d86518900421e0f4734d64e8dc9c8ed9bf WHIRLPOOL 91d31beb5eabf9723c313bb005b2171be7745e959738c6c62534b4d75ffd5ba812dd1c607e813a99e24fe31b5cba9445716f5e7c29c37dd42eb08efd54264223
|
||||
EBUILD qscintilla-python-2.7.2.ebuild 1624 SHA256 5b901114600f37f5c066bfa97b928cb46b46cfda7723fd2266bd603b74c12f52 SHA512 762f80df0c1eb3432381fdacb665e100bd4c2b3b95826430c5ad5c27810f8c288abe93e2d360bf1c9b06bd4c65800ccf93e252b53eef2adf2ad1eb477509d3eb WHIRLPOOL 4971024f9255d2f64bbea76b241a2d3d54226fe06add8d352f9508316b86946ca0fdc371ea8f9c69a939290e4d8461959c958ef467eed618cc99d5b732af88fe
|
||||
MISC ChangeLog 15059 SHA256 eef96723f72e460839187f53eb7af91198cc54ec97877fc0902c27f52e39f007 SHA512 26d51b40f64da694864fde7c238abda87249fa2db967940160f9ae099cc7c36036c17d04fe4dfff84640a82dc8e7c4302e6b7ab52a8de275fa327aef6270e327 WHIRLPOOL ac7d228191cd4f184709db2829691fef3b944c22bfd39cb7f1a192eee8688037b2f284c130c9dec2a9c3b44924ee93bd6e964222c17e847abf72ce7a9f80b189
|
||||
EBUILD qscintilla-python-2.8.ebuild 1629 SHA256 f3541e02b3595b1c73f8e4345dc8abe369ef1725c17ab8fa53ede275bb1480b0 SHA512 cfb7bd728f2b23547ec16d12239c91b70f9d1ee6192f15b97ab93a4a90e8a66f2f799e257231bfc73d53367ebe452654a5c75e0c9eb399e348e10d2d30312b25 WHIRLPOOL ebe443817a7bde37aabb99b1c8382b21d0e3dc4b5e73450f23e7b6cee71dffb3c9c72f0a41c2663709ef893f142d8a8ee86c1a22f687c952ce0b31c6410077e0
|
||||
MISC ChangeLog 15231 SHA256 a735c9ce87097f7e2a01d3d46c99d191ae8f476f237a4d57bd87675206306e3a SHA512 70ff1bfda87c7799e40dfc55b5fbdd1bd1c553750fda05660395a690a74e0ecdf9569e8f45b22630cbe895e323e11895747eb6ecbc44a41cece5a263e576255b WHIRLPOOL 97dd5feb6176deb0d7921c5795c1f12019e8ab4d0abfae2b0da81338b37f81f10c9b86dcca297079308d3adedf9e0ebd75cd1b057fa3730a2ccd9dcd5e6228ff
|
||||
MISC metadata.xml 387 SHA256 61ea93c0d748d8192fe9abdd96998b5ea111d1bfecbed8de48ad8ab4716817aa SHA512 ae9bb1323ae76d4d151827280896cbcc4102ad1e3116905b290f6321050a608cb8feaed784ae1fc00a4610ba07de034d1e665803e0305297c158fa9c99a4fba4 WHIRLPOOL 9c0527e8b3044e5f9c1e5b7e6ae5246b29164cc72791ff962b636a5a9d0c128d783c3f81345c4bffa7f93392495ad360ca8060baa95de455eff8d990600f457d
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.20 (GNU/Linux)
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCgAGBQJSKNqGAAoJELp701BxlEWfDvwP/1MjBFbzWUIhBBAQWP0C3EHD
|
||||
EzpsF8i8CzQzVxbu9jhTPWn3asrsbkhjmQyrWMeyG4h46fXiZKE1zG/uTjSA+zU5
|
||||
+hd//vcjYL73UipoErknQe1XZEFX+A6HZxfT4B0CEnE+beU/paWOetKr3m/KeHAP
|
||||
wj1diBwQB18rfMiDnL7M3Ew2SdHo+D6TBlJuy/GMj9X59nSHLje+2UpLXl8LE8AE
|
||||
uKPOh71jv24+PlBKZ2pZ7JC9xRKZQVpJhbxb1Gq4w5xg1danKbZpn+4R/P4ZRAN5
|
||||
+llgG4Ycd7cOUPxcHszVAqboigTMFJV8WnjBPDX8AatBgyJk7+qdm1eqeT8zjEyK
|
||||
lb7gMlMZvTuX+SK/E/ElkNo+NihMslobF3IaXWxp+Ij+StVq3kRtDSwv/YxcC8vy
|
||||
50SEnuf1mEovOQoG4nH3/32JxJIyn/qCdceIcmpeWB99vy1CZ06wI/Q5Hm5XZBX6
|
||||
ptzwI0rSFtpG2b52u665yuC4hWxSSuLNDLGK2RwTt7moq69osrMUKMppcj9c/1yN
|
||||
Mi3KoJzW2zU/Mvzt3AXHqkhoh1MMdbo/SXgGnZVkcWu2v8owCAQwAvX7x1YxqqqF
|
||||
iKxSTYyQJPGq195wG6e0l0CeZSFkQyUPwlv7ZtKrH2dOAuxNylrIoc2hm34ZHEaC
|
||||
fTGNE9y8PYjh+Rw6mchp
|
||||
=4P/h
|
||||
iQIcBAEBCAAGBQJShCh8AAoJENXLsxwXqFxyD30QAIsweIbRsFdkKrE0VcXJ4qw0
|
||||
xNxQeLs63xokPigssT6mvQ9ZLbUsfrGM9XDIGPeD+PEyUSZ48EC6IQfd1rXtzaxp
|
||||
tsDGvLXleRTGO31S7Q0tdgFILiNKYwxZ1Bcfjk+bg46oZSfi2Z8fvT6E71CBNmDE
|
||||
II9nycdKAzj9be/5brqkjuBXXk9N+uzC7IXbBhcjBWSK5RGkSVHkBNeRFmDOyEGx
|
||||
QtizNrLsLh++/Y0sQHJD98kQfiRlvZVuaS/yQZ96OZB//B1oqOkIwMeJK1vob8EU
|
||||
Q0l44DDJLGIZm1c0wVWQOG6MvxI8bAndJF6pLKbV+/N/iTHuQCNu169RhLrtEw5J
|
||||
NRpzV5DhWCHzlSXNefdkOI4oR7HkXHeU/NMSAo7jRF2Qf2elHEGASxSWP7iQlADv
|
||||
DiNKbkL7jQPPnvlHGxbwF99bCINaEFLUzpB1c0wXxbi/yrBUj3LhbqHE8vLXf+NF
|
||||
sDNubVU9Y3Tk11RZV5tjn4V/gb0zO/HM+yVA8dCHa7AMD2JMYO4rxK7BPf2ylez1
|
||||
YAqHxn3I5OfZTL3tcJ2ahAWKTYG2LQxmR7w1qbL7NJ7QFmtLasEvuq7SKO4L7AVr
|
||||
16CV9y6FnkmcZyqAB/WsRIFptPmVP6V550cqYP7oekDXtKgEb0kruEeneB27tnZZ
|
||||
jE/MG8AouqHpo6kRxgh+
|
||||
=8Fca
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/qscintilla-python/qscintilla-python-2.7.1.ebuild,v 1.3 2013/09/05 18:46:48 mgorny Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/qscintilla-python/qscintilla-python-2.8.ebuild,v 1.1 2013/11/14 01:33:47 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/shiboken/shiboken-1.2.1.ebuild,v 1.1 2013/11/14 00:27:21 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2} )
|
||||
|
||||
inherit multilib cmake-utils python-r1
|
||||
|
||||
DESCRIPTION="A tool for creating Python bindings for C++ libraries"
|
||||
HOMEPAGE="http://qt-project.org/wiki/PySide"
|
||||
SRC_URI="http://download.qt-project.org/official_releases/pyside/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.6.32
|
||||
>=dev-libs/libxslt-1.1.19
|
||||
>=dev-qt/qtcore-4.7.0:4
|
||||
>=dev-qt/qtxmlpatterns-4.7.0:4
|
||||
!dev-python/apiextractor
|
||||
!dev-python/generatorrunner
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
>=dev-qt/qtgui-4.7.0:4
|
||||
>=dev-qt/qttest-4.7.0:4
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog )
|
||||
|
||||
src_prepare() {
|
||||
# Fix inconsistent naming of libshiboken.so and ShibokenConfig.cmake,
|
||||
# caused by the usage of a different version suffix with python >= 3.2
|
||||
sed -i -e "/get_config_var('SOABI')/d" \
|
||||
cmake/Modules/FindPython3InterpWithDebug.cmake || die
|
||||
|
||||
if use prefix; then
|
||||
cp "${FILESDIR}"/rpath.cmake .
|
||||
sed \
|
||||
-i '1iinclude(rpath.cmake)' \
|
||||
CMakeLists.txt || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local mycmakeargs=(
|
||||
-DPYTHON_EXECUTABLE="${PYTHON}"
|
||||
-DPYTHON_SITE_PACKAGES="$(python_get_sitedir)"
|
||||
-DPYTHON_SUFFIX="-${EPYTHON}"
|
||||
$(cmake-utils_use_build test TESTS)
|
||||
)
|
||||
|
||||
if [[ ${EPYTHON} == python3* ]]; then
|
||||
mycmakeargs+=(
|
||||
-DUSE_PYTHON3=ON
|
||||
-DPYTHON3_INCLUDE_DIR="$(python_get_includedir)"
|
||||
-DPYTHON3_LIBRARY="$(python_get_library_path)"
|
||||
)
|
||||
fi
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
python_foreach_impl configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl cmake-utils_src_make
|
||||
}
|
||||
|
||||
src_test() {
|
||||
python_foreach_impl cmake-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
cmake-utils_src_install
|
||||
mv "${ED}"usr/$(get_libdir)/pkgconfig/${PN}{,-${EPYTHON}}.pc || die
|
||||
}
|
||||
python_foreach_impl installation
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
# ChangeLog for dev-ruby/afm
|
||||
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/afm/ChangeLog,v 1.1 2013/11/14 02:14:09 mrueg Exp $
|
||||
|
||||
*afm-0.2.0_p20130408 (14 Nov 2013)
|
||||
|
||||
14 Nov 2013; Manuel Rüger <mrueg@gentoo.org> +afm-0.2.0_p20130408.ebuild,
|
||||
+metadata.xml:
|
||||
Initial version.
|
@ -0,0 +1,4 @@
|
||||
DIST afm-0.2.0_p20130408.tar.gz 14070 SHA256 13ffc3b148bddf6caf3840657151b8d9dacd7142ef62d160a5135d9f0be9a31b SHA512 f6d7733705425b2db2f7bf429f9cfa99910e6e319e519c3878a877076c80bdc2ff2eaa6d53d7e42781f96671f38fed6d62ea1a6756c373c3b27b10a7496720ae WHIRLPOOL aaf1b4c892c6aa4e545c06361163c53d84d9d3b0f3561dbc99e4bd64ce8948b3b93c71edff04faabe527aa6152818e07da5f0a7da139f26d3bdee74e5c32875d
|
||||
EBUILD afm-0.2.0_p20130408.ebuild 840 SHA256 244b2d64a419a0f9a3a535790aed874eae69cc7d8069d52c76668c608f5875a3 SHA512 f03597467de34294c58a5e10041d7028b70f85b8c2e291792736926bb36bd9dd9259b2167dd1f3dc1ffb2c83eec54d9217c034fe0dbeb3be6fd1d4a40bca989f WHIRLPOOL 886a710851c73816689b7be2cfabc2cafad8081402e99c79400756862e3dde393b8c1b0d082e298084a7c6f91f76054bc16b26a39294906441d587981e7e337a
|
||||
MISC ChangeLog 345 SHA256 efbbde867fd66b839c77e4494b50fd2f2013cedcb6da4037763ed75f03ef9f38 SHA512 06bfa303831fb2a903c41992a338832831f055428e8e9d5f8830b67f51c23a6976ec4c51db67f7456da3e587130c9c67853e8d70e10913b3b0f2f95d09509048 WHIRLPOOL a9ee8486b6359bf834f8a8885125aba34a0747d15865460cbb501fa0a39498adfc9ec2e9e176da78c89ecfc91a491aab9b91db3486b365e37a017b2462e9452e
|
||||
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/afm/afm-0.2.0_p20130408.ebuild,v 1.1 2013/11/14 02:14:09 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A very simple library to read Adobe Font Metrics files"
|
||||
HOMEPAGE="https://github.com/halfbyte/afm"
|
||||
COMMIT_ID="6765e6e7002efbdc92bc5eb6c7fee4bd25729081"
|
||||
SRC_URI="https://github.com/halfbyte/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RUBY_S=${PN}-${COMMIT_ID}
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/shoulda )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm Gemfile || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib -Itest test/test_afm.rb || die
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -1,4 +1,14 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST docile-1.1.0.gem 13824 SHA256 1bef6efabc15c0a03eb9dc8716cf1c90c4b61cf6fd08b9dcea980b9033509a7d SHA512 954089d9b387c4c0f4adc80a3722c63ba8ca5ac3b4ec7812ae644c06bad8e41b98515613f6539d1debcbfe7e5db5feadc654d39296dab62534afdd7a0e84d0dc WHIRLPOOL dee452db1486854b33334af957459af45acf72f7be9fc511bea1a840b66ea2b8a24148b7f43deedc421f5db75680067a8ed4e1be4df6b94b34986970bcd581e3
|
||||
EBUILD docile-1.1.0.ebuild 725 SHA256 024b33bd7e1d7451cb3798461947667270c4ab10519d9bf553600ac47b7a9010 SHA512 7547dfdb97cec4de61e2b24da0c2c1edd37cf5143139de1d6ffbcbc6de94d2b776b6dc716210940360460491dc36fc2757872a507d8ad822ee34336aeee6a487 WHIRLPOOL aeb1dca5018282116556953a800b23e5f3dfa118677aa699d98ace6824d594b6bc8c2ba27bbdead0e4c5c10f1ba2bc780ac385f2fde3f70bf687f70e2dcecf6f
|
||||
MISC ChangeLog 337 SHA256 c3cac12f601d6f09e8c71f0664d289c2549b44e1d7c4375ea2908f23b6c1a0ea SHA512 6aaccaa7c890452a7ddb21ab8afc06bd8f5e617a7716a45fbdc09bef9beb554af034d282a1edebe8fc2f564644e73511f75a0eeee3d963c814a77cc99226ab5d WHIRLPOOL 2ce15dccb5f45555061ddf637a6ebb0296372fceee7a48853e5b9f3a12e203fca976c06dd0d7dcd518d6e0c2c001b10a9397eee4e1f77804647d5f79b0fa389d
|
||||
EBUILD docile-1.1.0.ebuild 739 SHA256 121000f6b72db5afa8766614752feec46799e2121eb4da65ea18ed750e42bbf4 SHA512 17514304ca3f585855af60189bb83c14cb875bbece2b861d66bb778a7a36e61486ed38017922ea8712667f58cd2fe4aa1fef844cdf649146172e73ede37a894b WHIRLPOOL a3fe7c312006c6f7d0bc4d121c47f93a8f0a28637a5d27083b900a9c2e7d894a540ee816a143ed9b9fa1d6aa0259d7601a18a2f39ff1b05d7b449ec09323e8e9
|
||||
MISC ChangeLog 431 SHA256 d72020cf7593c0b3b4b906ac5d4c171a34580462e35106f76a410543ce5f2615 SHA512 4c6683922d3251c6e7b31f6cfdc775c9c10d1608ccf9046b40c4ceef8c272b8deaee7955e3dec10308e98e378a321120cc231166d8589ed362a81993d3c32d03 WHIRLPOOL cd9b1441f26608f22bd2cb870bb4f56b18587898498740de77e58220cda9904ba2c9077cf6acb5150c4c90f112e766a9f913efb794e7341f15b8c662ae2f8334
|
||||
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iF4EAREIAAYFAlKDJuQACgkQiIP6VqMIqNdW9wD+KXvMiU6jvyow5H0ke3JNOZBH
|
||||
zoTclOduE//jDXo7qsAA/jbAEqRCyORmhefp+YHiDI9nPXMxgvFfGgr74PvMbsy8
|
||||
=zu90
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-termios/ruby-termios-1.0.0.ebuild,v 1.2 2013/11/13 19:03:06 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20"
|
||||
|
||||
inherit multilib ruby-ng
|
||||
|
||||
DESCRIPTION="A Ruby interface to termios"
|
||||
HOMEPAGE="http://arika.org/ruby/termios"
|
||||
SRC_URI="https://github.com/arika/ruby-termios/archive/version_${PV//./_}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~mips ~ppc ~x86 ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="${PN}-version_${PV//./_}"
|
||||
|
||||
# Tests require a normal TTY, bug 340575. They should all pass when run
|
||||
# manually.
|
||||
RESTRICT=test
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext V=1
|
||||
cp ext/termios$(get_modname) lib/ || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib test/test0.rb || die "tests failed"
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
emake V=1 -Cext DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
dodoc ChangeLog README termios.rd
|
||||
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue