parent
4e76a8ec15
commit
d6b67136b9
@ -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
|
||||
|
@ -0,0 +1,24 @@
|
||||
From https://www.redhat.com/archives/libvir-list/2014-July/msg01076.html
|
||||
|
||||
diff --git a/src/util/virnuma.c b/src/util/virnuma.c
|
||||
index 46f48d2..7a11a3b 100644
|
||||
--- a/src/util/virnuma.c
|
||||
+++ b/src/util/virnuma.c
|
||||
@@ -390,7 +390,7 @@ virNumaGetMaxCPUs(void)
|
||||
}
|
||||
|
||||
|
||||
-#ifdef HAVE_NUMA_BITMASK_ISBITSET
|
||||
+#if WITH_NUMACTL && HAVE_NUMA_BITMASK_ISBITSET
|
||||
/**
|
||||
* virNumaNodeIsAvailable:
|
||||
* @node: node to check
|
||||
@@ -485,7 +485,7 @@ virNumaGetDistances(int node ATTRIBUTE_UNUSED,
|
||||
{
|
||||
*distances = NULL;
|
||||
*ndistances = 0;
|
||||
- VIR_DEBUG("NUMA distance information isn't availble on this host");
|
||||
+ VIR_DEBUG("NUMA distance information isn't available on this host");
|
||||
return 0;
|
||||
}
|
||||
#endif
|
@ -1,2 +1,3 @@
|
||||
DIST PlayOnLinux_4.1.1.tar.gz 4010031 SHA256 eb314836ac798c7cbafdc76dc0660b2178610d3dc557d97aa7c72dfc0dee8e63 SHA512 4062f6a507e613bc46a118571fc0c6560b20adf3dd4707f581730bf1877a1fbbb234558bedd2b3be81c5ff8f9429dbc6c2030f9ad5b3b5174ff3908c3d0c43fd WHIRLPOOL 87270a50bc356cccd7347aca78d2fd63812701c8cc407b33b94636e11601d5d1bf9e7fefbf4c86195e1e4fd62506ba8c1a0e4107e93185552410ae6ec5004011
|
||||
DIST PlayOnLinux_4.1.9.tar.gz 4040628 SHA256 b2c061150451481c3bb038734f49cb2c487a3325c54554ba3c7fffb9a215244c SHA512 71c2ac2479a47398f26804be1e15fdd29c6de66ab26fc00596f354bedc9bac33c23437a8e0e2fac93979117693e28101e581549398d3633eca49f9b10270cd21 WHIRLPOOL d0c3c019e9d95eb67f2ae3a30cf6403da7225619d36168ad360edf0055e9f41052009845e379abd2f788c78702f607ffb4ea856b2b7fdda978e50c07c9ef3ebc
|
||||
DIST PlayOnLinux_4.2.4.tar.gz 4638249 SHA256 cc6f9c41c9f91278d995d14b7be6bd86c765cf41351c80e885df29da40b57554 SHA512 1f200e43da4e43b6687cc05243cb9375d312c5382d4d82f06f574cc4a1a4322568ed429abc463d830cfcc1a818d0cc93147fbc60858a6b19872b55a479c8c58c WHIRLPOOL d09c5439a618d99af0ae380cb39a8e92acd47869190f984981e9cdc91272da48c6731457d0a23383c47219371bdf9d6018fe89a7acaaba32fc96221b58406d99
|
||||
|
@ -0,0 +1,17 @@
|
||||
Description: Remove binary code from the package
|
||||
Upstream ships a binary plugin in the archive. This plugin is not necessary to
|
||||
get PlayOnLinux working and it still can be downloaded from upstream.
|
||||
Forwarded: not-needed
|
||||
Author: Bertrand Marc <beberking@gmail.com>
|
||||
--- a/plugins/plugins.lst
|
||||
+++ b/plugins/plugins.lst
|
||||
@@ -21,9 +21,6 @@
|
||||
|
||||
## in fact empty line is also ignored because it's more easy to read =)
|
||||
|
||||
-##Capture
|
||||
-capture;Capture_2.4.3.pol;Capture;enable;2.4.3;11;1;0
|
||||
-
|
||||
##Screencap
|
||||
screencap;ScreenCap_0.0.4.pol;ScreenCap;enable;0.0.4;1;1;1
|
||||
|
@ -0,0 +1,35 @@
|
||||
diff --git a/etc/pol_bash b/etc/pol_bash
|
||||
index 7911f05..bd891e4 100644
|
||||
--- a/etc/pol_bash
|
||||
+++ b/etc/pol_bash
|
||||
@@ -29,7 +29,15 @@ export HISTCONTROL=ignoreboth
|
||||
shopt -s checkwinsize
|
||||
|
||||
# make less more friendly for non-text input files, see lesspipe(1)
|
||||
-[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
|
||||
+less_pipe_cmd=$(lesspipe 2> /dev/null)
|
||||
+if [ "$less_pipe_cmd" == export* ]; then
|
||||
+ eval "$(lesspipe)"
|
||||
+else
|
||||
+ if [ -x /usr/bin/lesspipe ]; then
|
||||
+ export LESSOPEN='| lesspipe %s'
|
||||
+ fi
|
||||
+fi
|
||||
+unset less_pipe_cmd
|
||||
|
||||
# set variable identifying the chroot you work in (used in the prompt below)
|
||||
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
|
||||
@@ -73,7 +81,9 @@ fi
|
||||
# enable programmable completion features (you don't need to enable
|
||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||
# sources /etc/bash.bashrc).
|
||||
-if [ -f /etc/bash_completion ]; then
|
||||
- . /etc/bash_completion
|
||||
-fi
|
||||
-
|
||||
+for bashcomp in /etc/{bash_completion,profile.d/bash-completion.sh}; do
|
||||
+ if [ -r "$bashcomp" ]; then
|
||||
+ . "$bashcomp"
|
||||
+ fi
|
||||
+done
|
||||
+unset bashcomp
|
@ -0,0 +1,33 @@
|
||||
.TH PLAYONLINUX-PKG 1 "February 6, 2009"
|
||||
|
||||
.SH NAME
|
||||
playonlinux-pkg \- tool to manage playonlinux packages
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B playonlinux-pkg
|
||||
.RI [ options ]
|
||||
.RI [ package ]
|
||||
|
||||
.SH DESCRIPTION
|
||||
.B playonlinux-pkg
|
||||
is a tool to install or manage the playonlinux packages
|
||||
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.I "-b, --browse"
|
||||
Choose a file.
|
||||
.TP
|
||||
.I "-e, --extract"
|
||||
Extract the package.
|
||||
.TP
|
||||
.I "-i, --install"
|
||||
Install the package.
|
||||
.TP
|
||||
.I "-h, --help"
|
||||
Show usage.
|
||||
|
||||
.SH AUTHOR
|
||||
playonlinux was written by Quentin Pâris <qparis@playonlinux.com>.
|
||||
.PP
|
||||
This manual page was written by Bertrand Marc <beberking@gmail.com>,
|
||||
for the Debian project (but may be used by others).
|
@ -0,0 +1,33 @@
|
||||
.TH PLAYONLINUX 1 "February 6, 2009"
|
||||
|
||||
.SH NAME
|
||||
PlayOnLinux \- front-end for Wine
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B playonlinux
|
||||
.RI [ options ]
|
||||
|
||||
.SH DESCRIPTION
|
||||
.B PlayOnLinux
|
||||
is a front-end for Wine. It allows you to easily install and use numerous games and software designed to run with Microsoft®'s Windows®.
|
||||
.br
|
||||
Few games are compatible with GNU/Linux at the moment and it certainly is a factor preventing the migration to this system.
|
||||
.P
|
||||
.B PlayOnLinux
|
||||
performs installations in
|
||||
.I ~/.PlayOnLinux
|
||||
and uses separate Wine prefixes to avoid conflicts between applications.
|
||||
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.I --version
|
||||
Show version number and exit.
|
||||
.TP
|
||||
.I "--run <prog>"
|
||||
Run directly the specified program.
|
||||
|
||||
.SH AUTHOR
|
||||
playonlinux was written by Quentin Pâris <qparis@playonlinux.com>.
|
||||
.PP
|
||||
This manual page was written by Bertrand Marc <beberking@gmail.com>,
|
||||
for the Debian project (but may be used by others).
|
@ -0,0 +1,118 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/playonlinux/playonlinux-4.2.4.ebuild,v 1.1 2014/08/05 00:54:27 zx2c4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit gnome2-utils python-single-r1 games
|
||||
|
||||
MY_PN="PlayOnLinux"
|
||||
|
||||
DESCRIPTION="Set of scripts to easily install and use Windows games and software"
|
||||
HOMEPAGE="http://playonlinux.com/"
|
||||
SRC_URI="http://www.playonlinux.com/script_files/${MY_PN}/${PV}/${MY_PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="winbind"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-emulation/wine
|
||||
app-arch/cabextract
|
||||
app-arch/p7zip
|
||||
app-arch/unzip
|
||||
app-crypt/gnupg
|
||||
dev-python/wxpython:2.8[${PYTHON_USEDEP}]
|
||||
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] )
|
||||
net-misc/wget
|
||||
x11-apps/mesa-progs
|
||||
x11-terms/xterm
|
||||
media-gfx/icoutils
|
||||
|| ( net-analyzer/netcat net-analyzer/netcat6 )
|
||||
winbind? ( net-fs/samba[winbind] ) "
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
# TODO:
|
||||
# Having a real install script and let playonlinux use standard filesystem
|
||||
# architecture to prevent having everything installed into GAMES_DATADIR
|
||||
# It will let using LANGUAGES easily
|
||||
# How to deal with Microsoft Fonts installation asked every time ?
|
||||
# How to deal with wine version installed ? (have a better mgmt of system one)
|
||||
# Look at debian pkg: http://packages.debian.org/sid/playonlinux
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
games_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-4.2.4-pol-bash.patch"
|
||||
epatch "${FILESDIR}/${PN}-4.2.4-binary-plugin.patch"
|
||||
|
||||
python_fix_shebang .
|
||||
|
||||
# remove playonmac
|
||||
rm etc/{playonmac.icns,terminal.applescript} || die
|
||||
|
||||
# remove desktop integration
|
||||
rm etc/{PlayOnLinux.desktop,PlayOnLinux.directory,playonlinux-Programmes.menu} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# all things without exec permissions
|
||||
insinto "${GAMES_DATADIR}/${PN}"
|
||||
doins -r resources lang lib etc plugins
|
||||
|
||||
# bash/ install
|
||||
exeinto "${GAMES_DATADIR}/${PN}/bash"
|
||||
find "${S}/bash" -type f -exec doexe '{}' +
|
||||
exeinto "${GAMES_DATADIR}/${PN}/bash/expert"
|
||||
find "${S}/bash/expert" -type f -exec doexe '{}' +
|
||||
|
||||
# python/ install
|
||||
python_moduleinto "${GAMES_DATADIR}/${PN}"
|
||||
python_domodule python
|
||||
|
||||
# main executable files
|
||||
exeinto "${GAMES_DATADIR}/${PN}"
|
||||
doexe ${PN}{,-pkg,-bash,-shell,-url_handler}
|
||||
|
||||
# icons
|
||||
doicon -s 128 etc/${PN}.png
|
||||
for size in 16 22 32; do
|
||||
newicon -s $size etc/${PN}$size.png ${PN}.png
|
||||
done
|
||||
|
||||
doman "${FILESDIR}"/playonlinux{,-pkg}.1
|
||||
dodoc CHANGELOG.md
|
||||
|
||||
games_make_wrapper ${PN} "./${PN}" "${GAMES_DATADIR}/${PN}"
|
||||
games_make_wrapper ${PN}-pkg "./${PN}-pkg" "${GAMES_DATADIR}/${PN}"
|
||||
make_desktop_entry ${PN} ${MY_PN} ${PN} Game
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
elog "Installed softwares and games with playonlinux have not been removed."
|
||||
elog "To remove them, you can re-install playonlinux and remove them using it"
|
||||
elog "or do it manually by removing .PlayOnLinux/ in your home directory."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- CMakeLists.txt.old 2014-08-04 15:26:19.636569061 +0200
|
||||
+++ CMakeLists.txt 2014-08-04 15:26:54.637618456 +0200
|
||||
@@ -77,7 +77,7 @@
|
||||
pkg_check_modules(IBUS REQUIRED ibus-1.0>=1.3.7)
|
||||
|
||||
# check doxygen
|
||||
-find_package(Doxygen REQUIRED)
|
||||
+find_package(Doxygen)
|
||||
|
||||
# =====
|
||||
# Define variables
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/byobu/byobu-5.84.ebuild,v 1.1 2014/08/04 16:44:37 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A set of profiles for the GNU Screen console window manager (app-misc/screen)"
|
||||
HOMEPAGE="http://byobu.co"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P/-/_}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="screen"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/newt[${PYTHON_USEDEP}]
|
||||
screen? ( app-misc/screen )
|
||||
!screen? ( app-misc/tmux )"
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
|
||||
# Set default system backend to screen
|
||||
if use screen ; then
|
||||
sed -i -e 's/#\(BYOBU_BACKEND\).*/\1="screen"/' etc/byobu/backend || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Create symlinks for backends
|
||||
dosym ${PN} /usr/bin/${PN}-screen
|
||||
dosym ${PN} /usr/bin/${PN}-tmux
|
||||
|
||||
docompress -x /usr/share/doc/${PN}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue