7718 changed files with 17162 additions and 44391 deletions
-
4app-accessibility/at-spi2-atk/at-spi2-atk-2.12.1.ebuild
-
4app-accessibility/at-spi2-core/at-spi2-core-2.12.0.ebuild
-
4app-accessibility/eflite/eflite-0.4.1-r2.ebuild
-
6app-accessibility/eflite/eflite-0.4.1.ebuild
-
6app-accessibility/festival-it/festival-it-1.0-r2.ebuild
-
6app-accessibility/festival-ru/festival-ru-0.5.ebuild
-
6app-accessibility/mbrola/mbrola-3.0.1h-r5.ebuild
-
6app-accessibility/mbrola/mbrola-3.0.1h-r6.ebuild
-
6app-accessibility/perlbox-voice/perlbox-voice-0.09-r1.ebuild
-
6app-accessibility/pidgin-festival/pidgin-festival-2.4.ebuild
-
6app-accessibility/speakup/speakup-3.1.6.ebuild
-
6app-accessibility/speakup/speakup-3.1.6_p201011120508.ebuild
-
6app-accessibility/speakup/speakup-9999.ebuild
-
4app-admin/killproc/killproc-2.13-r1.ebuild
-
2app-admin/setools/Manifest
-
177app-admin/setools/setools-3.3.8-r2.ebuild
-
164app-admin/setools/setools-3.3.8-r4.ebuild
-
11app-admin/sshguard/files/sshguard-1.5-day-starts-with-0.patch
-
58app-admin/sshguard/sshguard-1.5-r3.ebuild
-
4app-admin/webapp-config/webapp-config-1.52-r1.ebuild
-
12app-arch/lz4/lz4-0_p120.ebuild
-
3app-arch/lz4/metadata.xml
-
4app-arch/unrar/unrar-5.1.6.ebuild
-
6app-benchmarks/bonnie++/bonnie++-1.93c.ebuild
-
6app-benchmarks/bonnie++/bonnie++-1.95.ebuild
-
6app-benchmarks/bonnie++/bonnie++-1.96-r1.ebuild
-
6app-benchmarks/bonnie++/bonnie++-1.96.ebuild
-
4app-benchmarks/bonnie++/bonnie++-1.97.ebuild
-
6app-benchmarks/bonnie/bonnie-2.0.6-r1.ebuild
-
6app-benchmarks/bonnie/bonnie-2.0.6.ebuild
-
6app-benchmarks/httperf/httperf-0.8.ebuild
-
6app-benchmarks/httperf/httperf-0.9.0-r1.ebuild
-
6app-benchmarks/httperf/httperf-0.9.0-r2.ebuild
-
6app-benchmarks/jmeter/jmeter-2.0.1-r2.ebuild
-
6app-benchmarks/jmeter/jmeter-2.0.1-r3.ebuild
-
6app-benchmarks/jmeter/jmeter-2.0.1-r4.ebuild
-
4app-benchmarks/jmeter/jmeter-2.0.1-r5.ebuild
-
6app-benchmarks/piozone/piozone-1.0-r2.ebuild
-
6app-benchmarks/piozone/piozone-1.0-r3.ebuild
-
6app-benchmarks/stress/stress-0.18.6.ebuild
-
6app-benchmarks/stress/stress-1.0.0.ebuild
-
6app-benchmarks/stress/stress-1.0.1.ebuild
-
6app-benchmarks/stress/stress-1.0.3.ebuild
-
6app-benchmarks/stress/stress-1.0.4.ebuild
-
49app-crypt/ccid/ccid-1.4.17-r1.ebuild
-
50app-crypt/ccid/files/92_pcscd_ccid-2.rules
-
4app-crypt/gpgme/gpgme-1.3.2-r1.ebuild
-
4app-editors/mg/mg-20140414.ebuild
-
6app-emulation/aqemu/aqemu-0.8.2-r2.ebuild
-
4app-emulation/cloud-init/cloud-init-0.7.5-r1.ebuild
-
4app-emulation/crossover-bin/crossover-bin-12.1.2-r1.ebuild
-
4app-emulation/crossover-bin/crossover-bin-12.2.0-r1.ebuild
-
4app-emulation/crossover-bin/crossover-bin-12.2.1-r1.ebuild
-
4app-emulation/crossover-bin/crossover-bin-12.2.2.ebuild
-
4app-emulation/crossover-bin/crossover-bin-12.5.0.ebuild
-
8app-emulation/crossover-office-bin/Manifest
-
4app-emulation/docker/docker-1.0.0.ebuild
-
4app-emulation/docker/docker-1.0.1.ebuild
-
4app-emulation/docker/docker-1.1.0.ebuild
-
6app-emulation/ganeti-htools/ganeti-htools-0.2.8.ebuild
-
6app-emulation/ganeti-htools/ganeti-htools-0.3.0.ebuild
-
6app-emulation/ganeti-htools/ganeti-htools-0.3.1.ebuild
-
4app-emulation/libcacard/libcacard-0.1.2.ebuild
-
6app-emulation/libvirt-snmp/libvirt-snmp-0.0.2-r2.ebuild
-
6app-emulation/libvirt-snmp/libvirt-snmp-0.0.3.ebuild
-
24app-emulation/libvirt/files/libvirt-1.2.6-numa.patch
-
4app-emulation/libvirt/libvirt-1.2.6.ebuild
-
1app-emulation/playonlinux/Manifest
-
17app-emulation/playonlinux/files/playonlinux-4.2.4-binary-plugin.patch
-
35app-emulation/playonlinux/files/playonlinux-4.2.4-pol-bash.patch
-
33app-emulation/playonlinux/files/playonlinux-pkg.1
-
33app-emulation/playonlinux/files/playonlinux.1
-
118app-emulation/playonlinux/playonlinux-4.2.4.ebuild
-
9app-emulation/qemu/metadata.xml
-
17app-emulation/qemu/qemu-2.0.0-r1.ebuild
-
3app-emulation/qemu/qemu-2.0.0.ebuild
-
135app-emulation/qemu/qemu-2.1.0.ebuild
-
135app-emulation/qemu/qemu-9999.ebuild
-
6app-emulation/qtemu/qtemu-1.0.5.ebuild
-
6app-emulation/spice-protocol/spice-protocol-0.12.3.ebuild
-
6app-emulation/spice-protocol/spice-protocol-0.12.5.ebuild
-
6app-emulation/spice-protocol/spice-protocol-0.12.6.ebuild
-
4app-emulation/spice-protocol/spice-protocol-0.12.7.ebuild
-
4app-emulation/spice-vdagent/spice-vdagent-0.10.1.ebuild
-
4app-emulation/spice-vdagent/spice-vdagent-0.12.0.ebuild
-
4app-emulation/spice-vdagent/spice-vdagent-0.8.1-r1.ebuild
-
6app-emulation/spice/spice-0.12.2.ebuild
-
4app-emulation/spice/spice-0.12.3-r1.ebuild
-
4app-emulation/spice/spice-0.12.4-r1.ebuild
-
4app-emulation/spice/spice-0.12.5.ebuild
-
6app-emulation/vov/vov-2.0.0.ebuild
-
6app-emulation/wine-doors/wine-doors-0.1.3.ebuild
-
11app-i18n/ibus-qt/files/ibus-qt-1.3-doc.patch
-
4app-i18n/ibus-qt/ibus-qt-1.3.3.ebuild
-
9app-leechcraft/lc-azoth/lc-azoth-9999.ebuild
-
1app-leechcraft/lc-azoth/metadata.xml
-
11app-leechcraft/lc-xproxy/lc-xproxy-9999.ebuild
-
1app-misc/byobu/Manifest
-
42app-misc/byobu/byobu-5.84.ebuild
-
6app-misc/unfoo/unfoo-1.0.6.ebuild
@ -1,5 +1,3 @@ |
|||
DIST setools-3.3.8-01-fedora-patches.tar.gz 1128 SHA256 420b852d4209d07b73cec84586e000e7a6a719135ea677711abf97d420840bb6 SHA512 1aa2cc50c307929b522e029a552bfd545aef07656d1983289b0ea9be67aa94c07272a59c17630fc09fd79b06845ada318cdfa48d6cc243a24026e015c23b9634 WHIRLPOOL 25ae2b15fb15060fd0d34c55f4cc098b70a3a616f5334b092657a9c5df037b7fcf00fd185f33ba142e47d46c36b2fb7e9434021d6e987832fe833367a50d7449 |
|||
DIST setools-3.3.8-01-gentoo-patches.tar.gz 5798 SHA256 3b8fa933617e42f1fe857b2b8b9ae949ea01324f98f17837e988714562b076b8 SHA512 bcca3678b3f3a3abdbac2d05b1007329249e0dda4f84a9c40c3030cdf22f7815a47bcfa68d7c70836ec1b8b2cbfd8c370d7cd7d09c41b3d4983ec23d79468e56 WHIRLPOOL 5a6072e512754caf7af32a626b3213d6a543c51cc0ff67bbd9b3f6bb822a0b8e406f7e245c9d459be27e2d6ecef527633b889aface5bffc2e04cc15f881529bb |
|||
DIST setools-3.3.8-02-gentoo-patches.tar.gz 6296 SHA256 d386e82ebc0070548a401756985854b79674d7b144076b28f4eaf37fccc0fa1a SHA512 d86ff65f23e54a659eeb2e91d71075e8667d972adcc698709c64f33a9702bb196ef0ded4b5d415f8e5b6a552bfddaaf52b42aa71fb21299f29ca2b7ae230adf1 WHIRLPOOL cd50fbd2f7732f447c224000cd2ebf30c17728217f2e0529d297a110e2ea016498b9bce3dc5209ab8e2cd5091e70e55fb85296bb818567ebe781df74d9aaddf5 |
|||
DIST setools-3.3.8-03-gentoo-patches.tar.gz 6584 SHA256 8eac460b7dc2ee5e2f23148cdbf187316edd78ce0ec7ebbb6b0f68d6ad33d86a SHA512 5458dab5775b558e287f946c299753be5cb5eb6c1c2b9df0e32c7cfa758bb5316d142aa6338d3019f5f1eeb72876e4d5ed4939b0dbfe7b7e01c08a19a086bacc WHIRLPOOL e1afa6bb28f3aee2f3acdc66efd8ca02548c4f8e5707052ea455f1db558126f069d63278251630ee68bf4987157279161006975cb14d44055492228fa476cd72 |
|||
DIST setools-3.3.8.tar.bz2 951428 SHA256 44387ecc9a231ec536a937783440cd8960a72c51f14bffc1604b7525e341e999 SHA512 2c42ee9904174ed6c6fc129e374ec3591925094ab0ef65001b0104e365c5634bf4a79f28369608c80199d8f59fafaa5f274107c04c129c380eeef7adb0c32667 WHIRLPOOL 11c4065809909764f4364b78df1a8030d189315601b882919ccacb5fb147c1b3a061c5bbf9ced3c243d4615ab7727e9db0c89e931a884ae8b317ae3a879e5371 |
@ -1,177 +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/setools/setools-3.3.8-r2.ebuild,v 1.2 2013/06/27 17:05:33 swift Exp $ |
|||
|
|||
EAPI="2" |
|||
PYTHON_DEPEND="python? *" |
|||
SUPPORT_PYTHON_ABIS="1" |
|||
RESTRICT_PYTHON_ABIS="*-jython *-pypy-* 3.*" |
|||
|
|||
inherit autotools java-pkg-opt-2 python eutils |
|||
|
|||
DESCRIPTION="SELinux policy tools" |
|||
HOMEPAGE="http://www.tresys.com/selinux/selinux_policy_tools.shtml" |
|||
SRC_URI="http://oss.tresys.com/projects/setools/chrome/site/dists/${P}/${P}.tar.bz2 |
|||
http://dev.gentoo.org/~swift/patches/setools/${P}-01-fedora-patches.tar.gz |
|||
http://dev.gentoo.org/~swift/patches/setools/${P}-01-gentoo-patches.tar.gz" |
|||
|
|||
LICENSE="GPL-2" |
|||
SLOT="0" |
|||
KEYWORDS="amd64 x86" |
|||
IUSE="X debug java python" |
|||
|
|||
DEPEND=">=sys-libs/libsepol-2.1.4 |
|||
sys-libs/libselinux |
|||
sys-devel/bison |
|||
sys-devel/flex |
|||
>=dev-db/sqlite-3.2:3 |
|||
dev-libs/libxml2:2 |
|||
virtual/pkgconfig |
|||
java? ( |
|||
dev-lang/swig:1 |
|||
>=virtual/jdk-1.4 |
|||
) |
|||
python? ( dev-lang/swig:1 ) |
|||
X? ( |
|||
>=dev-lang/tk-8.4.9 |
|||
>=gnome-base/libglade-2.0 |
|||
>=x11-libs/gtk+-2.8:2 |
|||
)" |
|||
|
|||
RDEPEND=">=sys-libs/libsepol-2.1.4 |
|||
sys-libs/libselinux |
|||
>=dev-db/sqlite-3.2:3 |
|||
dev-libs/libxml2:2 |
|||
java? ( >=virtual/jre-1.4 ) |
|||
X? ( |
|||
>=dev-lang/tk-8.4.9 |
|||
>=dev-tcltk/bwidget-1.8 |
|||
>=gnome-base/libglade-2.0 |
|||
>=x11-libs/gtk+-2.8:2 |
|||
)" |
|||
|
|||
RESTRICT="test" |
|||
|
|||
pkg_setup() { |
|||
if use java; then |
|||
java-pkg-opt-2_pkg_setup |
|||
fi |
|||
|
|||
if use python; then |
|||
python_pkg_setup |
|||
PYTHON_DIRS="libapol/swig/python libpoldiff/swig/python libqpol/swig/python libseaudit/swig/python libsefs/swig/python python" |
|||
fi |
|||
} |
|||
|
|||
src_prepare() { |
|||
EPATCH_MULTI_MSG="Applying various (Fedora-provided) setools fixes... " \ |
|||
EPATCH_SUFFIX="patch" \ |
|||
EPATCH_SOURCE="${WORKDIR}" \ |
|||
EPATCH_FORCE="yes" \ |
|||
epatch |
|||
|
|||
EPATCH_MULTI_MSG="Applying various (Gentoo) setool fixes... " \ |
|||
EPATCH_SUFFIX="patch" \ |
|||
EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \ |
|||
EPATCH_FORCE="yes" \ |
|||
epatch |
|||
|
|||
# Disable broken check for SWIG version. |
|||
sed -e "s/AC_PROG_SWIG(2.0.0)/AC_PROG_SWIG/" -i configure.ac || die "sed failed" |
|||
# Use swig1.3 |
|||
sed -e 's/AC_PATH_PROG(\[SWIG\],\[swig\])/AC_PATH_PROG([SWIG],[swig1.3])/' -i m4/ac_pkg_swig.m4 || die "failed to set swig1.3" |
|||
# Fix build failure due to double __init__.py installation |
|||
sed -e "s/^wrappedpy_DATA = qpol.py \$(pkgpython_PYTHON)/wrappedpy_DATA = qpol.py/" -i libqpol/swig/python/Makefile.am || die |
|||
|
|||
local dir |
|||
for dir in ${PYTHON_DIRS}; do |
|||
# Python bindings are built/installed manually. |
|||
sed -e "s/MAYBE_PYSWIG = python/MAYBE_PYSWIG =/" -i ${dir%python}Makefile.am || die "sed failed" |
|||
# Make PYTHON_LDFLAGS replaceable during running `make`. |
|||
sed -e "/^AM_LDFLAGS =/s/@PYTHON_LDFLAGS@/\$(PYTHON_LDFLAGS)/" -i ${dir}/Makefile.am || die "sed failed" |
|||
done |
|||
|
|||
# temporary work around bug #424581 until automake-1.12 is stable (then |
|||
# depend on it). Need to use MKDIR_P in the mean time for 1.12+. |
|||
has_version ">=sys-devel/automake-1.12.1" && { find . -name 'Makefile.*' -exec sed -i -e 's:mkdir_p:MKDIR_P:g' {} + || die; } |
|||
|
|||
eautoreconf |
|||
|
|||
# Disable byte-compilation of Python modules. |
|||
echo '#!/bin/sh' > py-compile |
|||
|
|||
epatch_user |
|||
} |
|||
|
|||
src_configure() { |
|||
econf \ |
|||
--with-java-prefix=${JAVA_HOME} \ |
|||
--disable-selinux-check \ |
|||
--disable-bwidget-check \ |
|||
$(use_enable python swig-python) \ |
|||
$(use_enable java swig-java) \ |
|||
$(use_enable X swig-tcl) \ |
|||
$(use_enable X gui) \ |
|||
$(use_enable debug) |
|||
|
|||
# work around swig c99 issues. it does not require |
|||
# c99 anyway. |
|||
sed -i -e 's/-std=gnu99//' "${S}/libseaudit/swig/python/Makefile" |
|||
} |
|||
|
|||
src_compile() { |
|||
emake || die "Failed to build setools" |
|||
|
|||
if use python; then |
|||
local dir |
|||
for dir in ${PYTHON_DIRS}; do |
|||
python_copy_sources ${dir} |
|||
building() { |
|||
emake \ |
|||
SWIG_PYTHON_CPPFLAGS="-I$(python_get_includedir)" \ |
|||
PYTHON_LDFLAGS="$(python_get_library -l)" \ |
|||
pyexecdir="$(python_get_sitedir)" \ |
|||
pythondir="$(python_get_sitedir)" |
|||
} |
|||
python_execute_function \ |
|||
--action-message "Building of Python bindings from ${dir} directory with \$(python_get_implementation) \$(python_get_version)" \ |
|||
--failure-message "Building of Python bindings from ${dir} directory with \$(python_get_implementation) \$(python_get_version) failed" \ |
|||
-s --source-dir ${dir} \ |
|||
building |
|||
done |
|||
fi |
|||
} |
|||
|
|||
src_install() { |
|||
emake DESTDIR="${D}" install || die "emake install failed" |
|||
|
|||
if use python; then |
|||
local dir |
|||
for dir in ${PYTHON_DIRS}; do |
|||
installation() { |
|||
emake \ |
|||
DESTDIR="${D}" \ |
|||
pyexecdir="$(python_get_sitedir)" \ |
|||
pythondir="$(python_get_sitedir)" \ |
|||
install |
|||
} |
|||
python_execute_function \ |
|||
--action-message "Installation of Python bindings from ${dir} directory with \$(python_get_implementation) \$(python_get_version)" \ |
|||
--failure-message "Installation of Python bindings from ${dir} directory with \$(python_get_implementation) \$(python_get_version) failed" \ |
|||
-s --source-dir ${dir} \ |
|||
installation |
|||
done |
|||
fi |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
if use python; then |
|||
python_mod_optimize setools |
|||
fi |
|||
} |
|||
|
|||
pkg_postrm() { |
|||
if use python; then |
|||
python_mod_cleanup setools |
|||
fi |
|||
} |
@ -1,164 +0,0 @@ |
|||
# Copyright 1999-2014 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-3.3.8-r4.ebuild,v 1.2 2014/03/24 19:53:38 swift Exp $ |
|||
|
|||
EAPI="5" |
|||
PYTHON_COMPAT=( python2_7 ) |
|||
|
|||
inherit autotools java-pkg-opt-2 python-r1 eutils |
|||
|
|||
DESCRIPTION="SELinux policy tools" |
|||
HOMEPAGE="http://www.tresys.com/selinux/selinux_policy_tools.shtml" |
|||
SRC_URI="http://oss.tresys.com/projects/setools/chrome/site/dists/${P}/${P}.tar.bz2 |
|||
http://dev.gentoo.org/~swift/patches/setools/${P}-01-fedora-patches.tar.gz |
|||
http://dev.gentoo.org/~swift/patches/setools/${P}-02-gentoo-patches.tar.gz" |
|||
|
|||
LICENSE="GPL-2" |
|||
SLOT="0" |
|||
KEYWORDS="amd64 x86" |
|||
IUSE="X debug java python" |
|||
|
|||
DEPEND=">=sys-libs/libsepol-2.1.4 |
|||
sys-libs/libselinux |
|||
sys-devel/bison |
|||
sys-devel/flex |
|||
>=dev-db/sqlite-3.2:3 |
|||
dev-libs/libxml2:2 |
|||
virtual/pkgconfig |
|||
java? ( |
|||
dev-lang/swig:1 |
|||
>=virtual/jdk-1.4 |
|||
) |
|||
python? ( |
|||
${PYTHON_DEPS} |
|||
dev-lang/swig:1 |
|||
) |
|||
X? ( |
|||
>=dev-lang/tk-8.4.9 |
|||
>=gnome-base/libglade-2.0 |
|||
>=x11-libs/gtk+-2.8:2 |
|||
)" |
|||
|
|||
RDEPEND=">=sys-libs/libsepol-2.1.4 |
|||
sys-libs/libselinux |
|||
>=dev-db/sqlite-3.2:3 |
|||
dev-libs/libxml2:2 |
|||
java? ( >=virtual/jre-1.4 ) |
|||
X? ( |
|||
>=dev-lang/tk-8.4.9 |
|||
>=dev-tcltk/bwidget-1.8 |
|||
>=gnome-base/libglade-2.0 |
|||
>=x11-libs/gtk+-2.8:2 |
|||
)" |
|||
|
|||
RESTRICT="test" |
|||
# setools dirs that contain python code to build |
|||
PYTHON_DIRS="libapol/swig/python libpoldiff/swig/python libqpol/swig/python libseaudit/swig/python libsefs/swig/python python" |
|||
|
|||
pkg_setup() { |
|||
local myld=$(tc-getLD) |
|||
|
|||
if use java; then |
|||
java-pkg-opt-2_pkg_setup |
|||
fi |
|||
|
|||
${myld} -v | grep -q "GNU gold" && \ |
|||
ewarn "Bug #467136 shows us that the gold linker doesn't work with setools for now." |
|||
} |
|||
|
|||
src_prepare() { |
|||
EPATCH_MULTI_MSG="Applying various (Fedora-provided) setools fixes... " \ |
|||
EPATCH_SUFFIX="patch" \ |
|||
EPATCH_SOURCE="${WORKDIR}" \ |
|||
EPATCH_FORCE="yes" \ |
|||
epatch |
|||
|
|||
EPATCH_MULTI_MSG="Applying various (Gentoo) setool fixes... " \ |
|||
EPATCH_SUFFIX="patch" \ |
|||
EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \ |
|||
EPATCH_FORCE="yes" \ |
|||
epatch |
|||
|
|||
# Disable broken check for SWIG version. |
|||
sed -e "s/AC_PROG_SWIG(2.0.0)/AC_PROG_SWIG/" -i configure.ac || die "sed failed" |
|||
# Use swig1.3 |
|||
sed -e 's/AC_PATH_PROG(\[SWIG\],\[swig\])/AC_PATH_PROG([SWIG],[swig1.3])/' -i m4/ac_pkg_swig.m4 || die "failed to set swig1.3" |
|||
# Fix build failure due to double __init__.py installation |
|||
sed -e "s/^wrappedpy_DATA = qpol.py \$(pkgpython_PYTHON)/wrappedpy_DATA = qpol.py/" -i libqpol/swig/python/Makefile.am || die |
|||
|
|||
local dir |
|||
for dir in ${PYTHON_DIRS}; do |
|||
# Python bindings are built/installed manually. |
|||
sed -e "s/MAYBE_PYSWIG = python/MAYBE_PYSWIG =/" -i ${dir%python}Makefile.am || die "sed failed" |
|||
# Make PYTHON_LDFLAGS replaceable during running `make`. |
|||
sed -e "/^AM_LDFLAGS =/s/@PYTHON_LDFLAGS@/\$(PYTHON_LDFLAGS)/" -i ${dir}/Makefile.am || die "sed failed" |
|||
done |
|||
|
|||
# temporary work around bug #424581 until automake-1.12 is stable (then |
|||
# depend on it). Need to use MKDIR_P in the mean time for 1.12+. |
|||
has_version ">=sys-devel/automake-1.12.1" && { find . -name 'Makefile.*' -exec sed -i -e 's:mkdir_p:MKDIR_P:g' {} + || die; } |
|||
|
|||
eautoreconf |
|||
|
|||
# Disable byte-compilation of Python modules. |
|||
echo '#!/bin/sh' > py-compile |
|||
|
|||
epatch_user |
|||
} |
|||
|
|||
src_configure() { |
|||
econf \ |
|||
--with-java-prefix=${JAVA_HOME} \ |
|||
--disable-selinux-check \ |
|||
--disable-bwidget-check \ |
|||
$(use_enable python swig-python) \ |
|||
$(use_enable java swig-java) \ |
|||
$(use_enable X swig-tcl) \ |
|||
$(use_enable X gui) \ |
|||
$(use_enable debug) |
|||
|
|||
# work around swig c99 issues. it does not require |
|||
# c99 anyway. |
|||
sed -i -e 's/-std=gnu99//' "${S}/libseaudit/swig/python/Makefile" |
|||
} |
|||
|
|||
src_compile() { |
|||
emake LD="$(tc-getLD).bfd" || die "Failed to build setools" |
|||
|
|||
if use python; then |
|||
building() { |
|||
python_export PYTHON_INCLUDEDIR |
|||
python_export PYTHON_SITEDIR |
|||
python_export PYTHON_LIBS |
|||
emake LD="$(tc-getLD).bfd" \ |
|||
SWIG_PYTHON_CPPFLAGS="-I${PYTHON_INCLUDEDIR}" \ |
|||
PYTHON_LDFLAGS="${PYTHON_LIBS}" \ |
|||
pyexecdir="${PYTHON_SITEDIR}" \ |
|||
pythondir="${PYTHON_SITEDIR}" \ |
|||
-C ${1}; |
|||
} |
|||
local dir |
|||
for dir in ${PYTHON_DIRS}; do |
|||
python_foreach_impl building ${dir}; |
|||
done |
|||
fi |
|||
} |
|||
|
|||
src_install() { |
|||
emake DESTDIR="${D}" install || die "emake install failed" |
|||
|
|||
if use python; then |
|||
installation() { |
|||
python_export PYTHON_SITEDIR |
|||
emake DESTDIR="${D}" \ |
|||
pyexecdir="${PYTHON_SITEDIR}" \ |
|||
pythondir="${PYTHON_SITEDIR}" \ |
|||
-C ${1} install |
|||
} |
|||
|
|||
local dir |
|||
for dir in ${PYTHON_DIRS}; do |
|||
python_foreach_impl installation ${dir}; |
|||
done |
|||
fi |
|||
} |
@ -0,0 +1,11 @@ |
|||
--- a/src/parser/attack_scanner.l
|
|||
+++ b/src/parser/attack_scanner.l
|
|||
@@ -72,7 +72,7 @@
|
|||
|
|||
|
|||
MONTH (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) |
|||
-DAYNO [1-9][0-9]?
|
|||
+DAYNO [0-9][0-9]?
|
|||
HOUR (0|1)[0-9]|2[0-4] |
|||
MINPS [0-5][0-9] |
|||
WORD [a-zA-Z0-9][-_a-zA-Z0-9]+ |
@ -0,0 +1,58 @@ |
|||
# Copyright 1999-2014 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/sshguard-1.5-r3.ebuild,v 1.1 2014/08/05 10:22:37 jer Exp $ |
|||
|
|||
EAPI=5 |
|||
inherit eutils flag-o-matic |
|||
|
|||
DESCRIPTION="protects hosts from brute force attacks against ssh" |
|||
HOMEPAGE="http://sshguard.sourceforge.net/" |
|||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
|||
|
|||
LICENSE="BSD" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~x86 ~x86-fbsd" |
|||
IUSE="ipfilter kernel_FreeBSD kernel_linux" |
|||
|
|||
CDEPEND="kernel_linux? ( net-firewall/iptables ) |
|||
kernel_FreeBSD? ( !ipfilter? ( sys-freebsd/freebsd-pf ) )" |
|||
DEPEND="${CDEPEND} |
|||
sys-devel/flex" |
|||
RDEPEND="${CDEPEND} |
|||
sys-apps/openrc |
|||
virtual/logger" |
|||
|
|||
DOCS=( README Changes scripts/sshguard_backendgen.sh ) |
|||
|
|||
src_prepare() { |
|||
sed -i -e '/OPTIMIZER_CFLAGS=/d' configure || die |
|||
epatch "${FILESDIR}"/${P}-day-starts-with-0.patch |
|||
} |
|||
|
|||
src_configure() { |
|||
# Needed for usleep(3), see "nasty" in src/sshguard_logsuck.c |
|||
append-cppflags -D_BSD_SOURCE |
|||
|
|||
local myconf |
|||
if use kernel_linux; then |
|||
einfo "Selected firewall backend: iptables" |
|||
myconf="--with-firewall=iptables" |
|||
elif use kernel_FreeBSD; then |
|||
if use ipfilter; then |
|||
einfo "Selected firewall backend: ipfw" |
|||
myconf="--with-firewall=ipfw" |
|||
else |
|||
einfo "Selected firewall backend: pf" |
|||
myconf="--with-firewall=pf" |
|||
fi |
|||
fi |
|||
|
|||
econf ${myconf} |
|||
} |
|||
|
|||
src_install() { |
|||
default |
|||
dodoc examples/* |
|||
newinitd "${FILESDIR}"/${PN}.initd ${PN} |
|||
newconfd "${FILESDIR}"/${PN}.confd ${PN} |
|||
} |
@ -0,0 +1,49 @@ |
|||
# Copyright 1999-2014 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/ccid/ccid-1.4.17-r1.ebuild,v 1.1 2014/08/04 22:09:43 flameeyes Exp $ |
|||
|
|||
EAPI=5 |
|||
|
|||
STUPID_NUM="4091" |
|||
|
|||
inherit eutils toolchain-funcs udev autotools-utils |
|||
|
|||
DESCRIPTION="CCID free software driver" |
|||
HOMEPAGE="http://pcsclite.alioth.debian.org/ccid.html" |
|||
SRC_URI="http://alioth.debian.org/frs/download.php/file/${STUPID_NUM}/${P}.tar.bz2" |
|||
|
|||
LICENSE="GPL-2" |
|||
SLOT="0" |
|||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
|||
IUSE="twinserial +usb" |
|||
|
|||
RDEPEND=">=sys-apps/pcsc-lite-1.8.3 |
|||
usb? ( virtual/libusb:1 )" |
|||
DEPEND="${RDEPEND} |
|||
kernel_linux? ( virtual/pkgconfig )" |
|||
|
|||
DOCS=( README AUTHORS ) |
|||
|
|||
src_configure() { |
|||
local myeconfargs=( |
|||
LEX=: |
|||
$(use_enable twinserial) |
|||
$(use_enable usb libusb) |
|||
) |
|||
|
|||
autotools-utils_src_configure |
|||
} |
|||
|
|||
src_install() { |
|||
autotools-utils_src_install |
|||
|
|||
if use kernel_linux; then |
|||
# note: for eudev support, rules probably will always need to be |
|||
# installed to /usr |
|||
|
|||
# ccid >=1.4.11 version changed the rules drastically in a minor |
|||
# release to no longer use the pcscd group. Using the old ones in |
|||
# the mean time. |
|||
udev_newrules "${FILESDIR}"/92_pcscd_ccid-2.rules 92-pcsc-ccid.rules |
|||
fi |
|||
} |
@ -0,0 +1,50 @@ |
|||
# udev rules to set the access rights of CCID smart card readers |
|||
# so they can be used by pcscd |
|||
|
|||
# $Id: 92_pcscd_ccid-2.rules,v 1.1 2014/08/04 22:09:43 flameeyes Exp $ |
|||
|
|||
# Gemplus PCMCIA Card |
|||
#SUBSYSTEMS=="pcmcia", DRIVERS=="serial_cs", ACTION=="add", ATTRS{prod_id1}=="Gemplus", ATTRS{prod_id2}=="SerialPort", ATTRS{prod_id3}=="GemPC Card", RUN+="/usr/sbin/pcscd --hotplug" |
|||
|
|||
# If not adding the device, go away |
|||
ACTION!="add", GOTO="pcscd_ccid_rules_end" |
|||
SUBSYSTEM!="usb", GOTO="pcscd_ccid_rules_end" |
|||
ENV{DEVTYPE}!="usb_device", GOTO="pcscd_ccid_rules_end" |
|||
|
|||
# Kobil mIDentity |
|||
ATTRS{idVendor}=="0d46", ATTRS{idProduct}=="4081", RUN+="/usr/sbin/Kobil_mIDentity_switch" |
|||
|
|||
# generic CCID device (bInterfaceClass = 0x0b) |
|||
# change group from default "root" to "pcscd" |
|||
ENV{ID_USB_INTERFACES}=="*:0b0000:*", ENV{PCSCD}="1" |
|||
|
|||
# set USB power management to auto. "power/level" has been deprecated in |
|||
# Linux 2.6.35 and replaced by "power/control" |
|||
ENV{ID_USB_INTERFACES}==":0b0000:", RUN+="/bin/sh -c 'if test -e /sys/$env{DEVPATH}/power/control; then echo auto > /sys/$env{DEVPATH}/power/control; elif test -e /sys/$env{DEVPATH}/power/level; then echo auto > /sys/$env{DEVPATH}/power/level; fi'" |
|||
|
|||
# non CCID generic (InterfaceClass: 0xFF) |
|||
# CherrySmartTerminalST2XXX.txt |
|||
ATTRS{idVendor}=="046a", ATTRS{idProduct}=="003e", ENV{PCSCD}="1" |
|||
# DellSK-3106.txt |
|||
ATTRS{idVendor}=="413c", ATTRS{idProduct}=="2100", ENV{PCSCD}="1" |
|||
# MySmartPad.txt |
|||
ATTRS{idVendor}=="09be", ATTRS{idProduct}=="0002", ENV{PCSCD}="1" |
|||
# SCR3310-NTTCom USB SmartCard Reader |
|||
ATTRS{idVendor}=="04e6", ATTRS{idProduct}=="511a", ENV{PCSCD}="1" |
|||
# SCR331-DI USB Smart Card Reader |
|||
ATTRS{idVendor}=="04e6", ATTRS{idProduct}=="5120", ENV{PCSCD}="1" |
|||
# SCR331-DI.txt |
|||
ATTRS{idVendor}=="04e6", ATTRS{idProduct}=="5111", ENV{PCSCD}="1" |
|||
# SDI010.txt |
|||
ATTRS{idVendor}=="04e6", ATTRS{idProduct}=="5121", ENV{PCSCD}="1" |
|||
# SPR532.txt |
|||
ATTRS{idVendor}=="04e6", ATTRS{idProduct}=="e003", ENV{PCSCD}="1" |
|||
# Verisign_secure_storage_token.txt |
|||
ATTRS{idVendor}=="08e6", ATTRS{idProduct}=="1359", ENV{PCSCD}="1" |
|||
# Verisign_secure_token.txt |
|||
ATTRS{idVendor}=="08e6", ATTRS{idProduct}=="ace0", ENV{PCSCD}="1" |
|||
# SchlumbergerSema Cyberflex Access e-gate |
|||
ATTRS{idVendor}=="0973", ATTRS{idProduct}=="0003", ENV{PCSCD}="1" |
|||
|
|||
# All done |
|||
LABEL="pcscd_ccid_rules_end" |
@ -1,4 +1,4 @@ |
|||
DIST install-crossover-standard-6.0.0.sh 20086564 RMD160 0d850f9a0b670aba19228f1bbcc8164c0b6f384f SHA1 a16855c0382a9bee7831b14378fb5dc22aa50051 SHA256 0b49f6a0fe866078ccd10fee476836a4eea99904c6b9827e3c47e12b613d1342 |
|||
DIST install-crossover-standard-6.0.1.sh 20097976 RMD160 5159c223b6c9160ec82e91b18345d0b3fbc46e2f SHA1 c41b10e26fa46449e3370af55b621b7adffe1666 SHA256 cc77a25d46f09b357b7d0ecb86c6749db052bc91622d291a18732aa3803894e2 |
|||
DIST install-crossover-standard-6.1.0.sh 24481498 RMD160 3f65fc3f19e1c222c10c85c943af1cea0f246890 SHA1 ea7589851bf27b9e70e092a18dcd7d35859f2460 SHA256 d36938d7a53767e6169eb05565f8a3ae8313f3ceee6a5912c6497f39ca08afbf |
|||
DIST install-crossover-standard-6.2.0.sh 23632049 RMD160 dc0156afe069579f70dec55052655f7328ca1035 SHA1 4ceb3d05b4eb0f7c66df9cf833847799c156c0e3 SHA256 5ddd35d5271b49ec43ed128e9efd122c1792e1718e6e4024aa263ae0212c4320 |
|||
DIST install-crossover-standard-6.0.0.sh 20086564 SHA256 0b49f6a0fe866078ccd10fee476836a4eea99904c6b9827e3c47e12b613d1342 |
|||
DIST install-crossover-standard-6.0.1.sh 20097976 SHA256 cc77a25d46f09b357b7d0ecb86c6749db052bc91622d291a18732aa3803894e2 |
|||
DIST install-crossover-standard-6.1.0.sh 24481498 SHA256 d36938d7a53767e6169eb05565f8a3ae8313f3ceee6a5912c6497f39ca08afbf |
|||
DIST install-crossover-standard-6.2.0.sh 23632049 SHA256 5ddd35d5271b49ec43ed128e9efd122c1792e1718e6e4024aa263ae0212c4320 |
@ -1,13 +1,13 @@ |
|||
# Copyright 1999-2012 Gentoo Foundation |
|||
# Copyright 1999-2014 Gentoo Foundation |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti-htools/ganeti-htools-0.2.8.ebuild,v 1.4 2012/03/07 17:56:06 slyfox Exp $ |
|||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti-htools/ganeti-htools-0.2.8.ebuild,v 1.5 2014/08/06 06:44:36 patrick Exp $ |
|||
|
|||
EAPI="2" |
|||
|
|||
inherit eutils multilib |
|||
|
|||
DESCRIPTION="Cluster tools for fixing common allocation problems on Ganeti 2.0 |
|||
clusters." |
|||
clusters" |
|||