parent
c25319ebbf
commit
69a75cb7eb
@ -1,2 +1,3 @@
|
||||
DIST Leo-4.11-final.zip 7282503 SHA256 eb1fd0e07533db4886fd7962a7d7431244b75239fd161395859e20a7e0f6ba62 SHA512 01bd8e433d25d16d3a824fb917da1f974a3a06fa19f25c0686031e03af62bad281fc10a62ac95ef463b0cc0acdb8c566f25b434a28dd12469cc489f4fc60e526 WHIRLPOOL 64c2d229c2a2ad6887739ee94de98c89f09d5fb1f2246fc446b4bb52496d52e412bcdf258fbbe12b85ed17372c2bd4272c246da65234114087fee02d27c7ac2b
|
||||
DIST Leo-5.0-final.zip 8628999 SHA256 5635ac753b011a43a3096e5dc18e2d5c6e9f628a40c0ba628c789bccb10928d1 SHA512 771b00857143ea6de48bc0f1ace5c4518265462c8720a5b52868cf0490f4de7f4d987fd939141e00bf0c7abaddf1cb4b18a6186151739f6ec2024fd50d564c6e WHIRLPOOL b9cc3c22dcc4da204a00cdd2eec48f3e001cd5e4ba20e730f4bef0aadbc4e6c6f03521e1e04bc313b8f29479f1e839dbaac322af8b32a99bb46304677f135db1
|
||||
DIST Leo-5.1-final.zip 9028778 SHA256 2d742f9825959ba5c7624d1179b9f3065e14e055c90272fbce199f91770de826 SHA512 a8e1d42c0b7c8f6aa4465295515ef19965a03142997a1b65304fd72a2c541248b7dba66d7be295465fd6dbdd7fcd5c6e6542d222edb71ddcab093c0c360340b1 WHIRLPOOL b1a5bb5ba2a2a6c8afe3339a0097d0dadd01e7c18b3270784f69eb608691808bc99cf887be1079340f797b9659cd00ba2d372d3e37bf62b28774ed571a743301
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/leo/leo-5.1.ebuild,v 1.1 2015/04/24 02:33:25 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# Not py3 prepared
|
||||
# https://bugs.launchpad.net/leo-editor/+bug/1399895
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQUIRED_USE="tk"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P="Leo-${PV}-final"
|
||||
|
||||
DESCRIPTION="Leo: Literate Editor with Outlines"
|
||||
HOMEPAGE="https://github.com/leo-editor/leo-editor/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="app-text/silvercity[${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[X,${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( leo/doc/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,194 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/lxc/lxc-1.1.2.ebuild,v 1.1 2015/04/23 16:31:44 hwoarang Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
PYTHON_COMPAT=( python{3_3,3_4} )
|
||||
DISTUTILS_OPTIONAL=1
|
||||
|
||||
inherit autotools bash-completion-r1 distutils-r1 eutils linux-info versionator flag-o-matic systemd
|
||||
|
||||
DESCRIPTION="LinuX Containers userspace utilities"
|
||||
HOMEPAGE="https://linuxcontainers.org/"
|
||||
SRC_URI="https://github.com/lxc/lxc/archive/${MY_P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="cgmanager doc examples lua python seccomp"
|
||||
|
||||
RDEPEND="net-libs/gnutls
|
||||
sys-libs/libcap
|
||||
cgmanager? ( app-admin/cgmanager )
|
||||
lua? ( >=dev-lang/lua-5.1:= )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
seccomp? ( sys-libs/libseccomp )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-text/docbook-sgml-utils )
|
||||
>=sys-kernel/linux-headers-3.2"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
sys-process/criu
|
||||
sys-apps/util-linux
|
||||
app-misc/pax-utils
|
||||
virtual/awk"
|
||||
|
||||
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
|
||||
~CPUSETS ~CGROUP_CPUACCT
|
||||
~CGROUP_SCHED
|
||||
|
||||
~NAMESPACES
|
||||
~IPC_NS ~USER_NS ~PID_NS
|
||||
|
||||
~NETLINK_DIAG ~PACKET_DIAG
|
||||
~INET_UDP_DIAG ~INET_TCP_DIAG
|
||||
~UNIX_DIAG ~CHECKPOINT_RESTORE
|
||||
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
~CGROUP_FREEZER
|
||||
~UTS_NS ~NET_NS
|
||||
~VETH ~MACVLAN
|
||||
|
||||
~POSIX_MQUEUE
|
||||
~!NETPRIO_CGROUP
|
||||
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
"
|
||||
|
||||
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
|
||||
|
||||
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
|
||||
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
|
||||
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
|
||||
|
||||
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
|
||||
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
|
||||
|
||||
ERROR_NETLINK_DIAG="CONFIG_NETLINK_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_PACKET_DIAG="CONFIG_PACKET_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_INET_UDP_DIAG="CONFIG_INET_UDP_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_INET_TCP_DIAG="CONFIG_INET_TCP_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_UNIX_DIAG="CONFIG_UNIX_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_CHECKPOINT_RESTORE="CONFIG_CHECKPOINT_RESTORE: needed for lxc-checkpoint"
|
||||
|
||||
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
|
||||
|
||||
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
|
||||
|
||||
ERROR_GRKERNSEC_CHROOT_MOUNT="CONFIG_GRKERNSEC_CHROOT_MOUNT: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_DOUBLE="CONFIG_GRKERNSEC_CHROOT_DOUBLE: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_PIVOT="CONFIG_GRKERNSEC_CHROOT_PIVOT: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CHMOD="CONFIG_GRKERNSEC_CHROOT_CHMOD: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CAPS="CONFIG_GRKERNSEC_CHROOT_CAPS: some GRSEC features make LXC unusable see postinst notes"
|
||||
|
||||
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS NEWS README doc/FAQ.txt)
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_P}"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
src_prepare() {
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.0.6-bash-completion.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
if use python; then
|
||||
#541932
|
||||
python_setup "python3*"
|
||||
export PKG_CONFIG_PATH="${T}/${EPYTHON}/pkgconfig:${PKG_CONFIG_PATH}"
|
||||
fi
|
||||
|
||||
# I am not sure about the --with-rootfs-path
|
||||
# /var/lib/lxc is probably more appropriate than
|
||||
# /usr/lib/lxc.
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--bindir=/usr/bin \
|
||||
--sbindir=/usr/bin \
|
||||
--docdir=/usr/share/doc/${PF} \
|
||||
--with-config-path=/var/lib/lxc \
|
||||
--with-rootfs-path=/var/lib/lxc/rootfs \
|
||||
--with-distro=gentoo \
|
||||
--with-runtime-path=/run \
|
||||
--disable-apparmor \
|
||||
$(use_enable cgmanager) \
|
||||
$(use_enable doc) \
|
||||
$(use_enable examples) \
|
||||
$(use_enable lua) \
|
||||
$(use_enable python) \
|
||||
$(use_enable seccomp)
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile build_ext -I ../ -L ../${PN}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use python; then
|
||||
pushd "${S}/src/python-${PN}" > /dev/null
|
||||
distutils-r1_src_compile
|
||||
popd > /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
mv "${ED}"/usr/share/bash-completion/completions/${PN} "${ED}"/$(get_bashcompdir)/${PN}-start || die
|
||||
bashcomp_alias ${PN}-start \
|
||||
${PN}-{attach,cgroup,clone,console,create,destroy,device,execute,freeze,info,monitor,snapshot,start-ephemeral,stop,unfreeze,wait}
|
||||
|
||||
if use python; then
|
||||
pushd "${S}/src/python-lxc" > /dev/null
|
||||
# Unset DOCS. This has been handled by the default target
|
||||
unset DOCS
|
||||
distutils-r1_src_install
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
keepdir /etc/lxc /var/lib/lxc/rootfs /var/log/lxc
|
||||
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
# Gentoo-specific additions!
|
||||
# Use initd.3 per #517144
|
||||
newinitd "${FILESDIR}/${PN}.initd.3" ${PN}
|
||||
|
||||
# lxc-devsetup script
|
||||
exeinto /usr/libexec/${PN}
|
||||
doexe config/init/systemd/${PN}-devsetup
|
||||
# Remember to compare our systemd unit file with the upstream one
|
||||
# config/init/systemd/lxc.service.in
|
||||
systemd_newunit "${FILESDIR}"/${PN}_at.service.2 "lxc@.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog ""
|
||||
elog "Starting from version ${PN}-1.1.0-r3, the default lxc path has been"
|
||||
elog "moved from /etc/lxc to /var/lib/lxc. If you still want to use /etc/lxc"
|
||||
elog "please add the following to your /etc/lxc/default.conf"
|
||||
elog "lxc.lxcpath = /etc/lxc"
|
||||
elog ""
|
||||
elog "There is an init script provided with the package now; no documentation"
|
||||
elog "is currently available though, so please check out /etc/init.d/lxc ."
|
||||
elog "You _should_ only need to symlink it to /etc/init.d/lxc.configname"
|
||||
elog "to start the container defined into /etc/lxc/configname.conf ."
|
||||
elog "For further information about LXC development see"
|
||||
elog "http://blog.flameeyes.eu/tag/lxc" # remove once proper doc is available
|
||||
elog ""
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST openscap-1.0.8.tar.gz 13576237 SHA256 5dc420eaf4202d09619abd9f6247ab6db4f7d520a69c27984ba53fcaf1e31b9e SHA512 58fcc90198f82572505fd907351edc9d9609bc036c0cd1c0ab433056eea70a0baf362c811ab7990b8766ef6090a2a0a600803a9c3537d1867c56304d91fe20ff WHIRLPOOL b9d55acf06413db7953ed1d6200856bce6c787d9eda31e76375da43bf886d9b025bc59368f5824e3c6431a4697095a61dc7f6f8a87cd888a774344f86b2a9e9d
|
||||
DIST openscap-1.1.1.tar.gz 13722034 SHA256 510489099242f655bdff9f8f6641692ed0d035bf05f00f4ed8072b2e028aaf99 SHA512 86cd695098a749fb0ef29233a7bafde6d76379fd891cfc0bcc90e222e228a6968d3a2755a71a0115ed208408ee2f8316fbaf9714de9e3bb0c6a6535407a043b9 WHIRLPOOL e28464332f8e78519519766ef9e1cba509d54cc78cf2e23b1de043d9d68ff641426496b25a02a0da5c363ebd5470af705772b7ad81abad7308eaef8d89e9f568
|
||||
DIST openscap-1.2.0.tar.gz 14308605 SHA256 88329ebf23e7c7d063cdb5615fe1f68b18fb436a0df81307c5acc3b5963d7cec SHA512 1c290e0c20382c45da7d1c12ae69d33a71c04b34db39843805401b74f6bc392b10e2b401e0e8f4a62deef19d99254eadcc3b9702c2d5c12967ca9616f02cf2ed WHIRLPOOL 8ae5791dbfd5e4602f8deab12ae28bd93ed1d96f20314a968fb26d925382169e3a9cbf550f14c6c6c24ca86b0cd2268e3ebd713da3b8dad2f5cd55a403d74564
|
||||
DIST openscap-1.2.1.tar.gz 14338019 SHA256 6f7fdc579c4c27554cc3ec99a4f16381b719faa8c9b3ea09575d872a2c46eedb SHA512 e5bafe18708c76f223ec69a22da0b06b68546fd3eb9b370784ebff984308b60d02c89d6af24eefea87d16764fee760b70b5bf9eab2e88e7285e8f0d1d60232c9 WHIRLPOOL acd6cd094cf90ed1d9c7270104186ddebfed17ff0480b137653ee8e644aa031985960ad072c7b9d3880d8461ecfd6855cc842cba7665befdb9751c639538646c
|
||||
|
@ -0,0 +1,139 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/openscap/openscap-1.2.1.ebuild,v 1.1 2015/04/23 20:53:38 hwoarang Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit bash-completion-r1 eutils multilib python-single-r1
|
||||
|
||||
DESCRIPTION="Framework which enables integration with the Security Content Automation Protocol (SCAP)"
|
||||
HOMEPAGE="http://www.open-scap.org/"
|
||||
SRC_URI="https://fedorahosted.org/releases/o/p/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="acl caps debug doc gconf ldap nss pcre perl python rpm selinux sce sql test xattr"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="!nss? ( dev-libs/libgcrypt:0 )
|
||||
nss? ( dev-libs/nss )
|
||||
acl? ( virtual/acl )
|
||||
caps? ( sys-libs/libcap )
|
||||
gconf? ( gnome-base/gconf )
|
||||
ldap? ( net-nds/openldap )
|
||||
pcre? ( dev-libs/libpcre )
|
||||
rpm? ( >=app-arch/rpm-4.9 )
|
||||
sql? ( dev-db/opendbx )
|
||||
xattr? ( sys-apps/attr )
|
||||
dev-libs/libpcre
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt
|
||||
net-misc/curl
|
||||
${PYTHON_DEPS}"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
perl? ( dev-lang/swig )
|
||||
python? ( dev-lang/swig )
|
||||
test? (
|
||||
app-arch/unzip
|
||||
dev-perl/XML-XPath
|
||||
net-misc/ipcalc
|
||||
sys-apps/grep )"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_prepare() {
|
||||
# uncoment for debugging test
|
||||
# sed -i 's,set -e,&;set -x,' tests/API/XCCDF/unittests/test_remediate_simple.sh || die
|
||||
# sed -i 's,^ bash, LC_ALL=C bash,' tests/probes/process/test_probes_process.sh || die
|
||||
|
||||
sed -i 's/uname -p/uname -m/' tests/probes/uname/test_probes_uname.xml.sh || die
|
||||
|
||||
#probe runlevel for non-centos/redhat/fedora is not implemented
|
||||
sed -i 's,.*runlevel_test.*,echo "runlevel test bypassed",' tests/mitre/test_mitre.sh || die
|
||||
sed -i 's,probecheck "runlevel,probecheck "runlevellllll,' tests/probes/runlevel/test_probes_runlevel.sh || die
|
||||
|
||||
#According to comment of theses tests, we must modify it. For the moment disable it
|
||||
sed -i 's,.*linux-def_inetlisteningservers_test,#&,' tests/mitre/test_mitre.sh || die
|
||||
sed -i 's,.*ind-def_environmentvariable_test,#&,' tests/mitre/test_mitre.sh || die
|
||||
|
||||
# theses tests are hardcoded for checking hald process...,
|
||||
# but no good solution for the moment, disabling them with a fake echo
|
||||
# because encased in a if then
|
||||
# sed -i 's,ha.d,/sbin/udevd --daemon,g' tests/mitre/unix-def_process_test.xml || die
|
||||
# sed -i 's,ha.d,/sbin/udevd --daemon,g' tests/mitre/unix-def_process58_test.xml || die
|
||||
sed -i 's,.*process_test.*,echo "process test bypassed",' tests/mitre/test_mitre.sh || die
|
||||
sed -i 's,.*process58_test.*,echo "process58 test bypassed",' tests/mitre/test_mitre.sh || die
|
||||
|
||||
#This test fail
|
||||
sed -i 's,.*generate report: xccdf,#&,' tests/API/XCCDF/unittests/all.sh || die
|
||||
|
||||
if ! use rpm ; then
|
||||
sed -i 's,probe_rpminfo_req_deps_ok=yes,probe_rpminfo_req_deps_ok=no,' configure || die
|
||||
sed -i 's,probe_rpminfo_opt_deps_ok=yes,probe_rpminfo_opt_deps_ok=no,' configure || die
|
||||
sed -i 's,probe_rpmverify_req_deps_ok=yes,probe_rpmverify_req_deps_ok=no,' configure || die
|
||||
sed -i 's,probe_rpmverify_opt_deps_ok=yes,probe_rpmverify_opt_deps_ok=no,' configure || die
|
||||
sed -i 's,^probe_rpm.*_deps_missing=,&disabled_by_USE_flag,' configure || die
|
||||
sed -i 's,.*rpm.*,#&,' tests/mitre/test_mitre.sh || die
|
||||
fi
|
||||
if ! use selinux ; then
|
||||
einfo "Disabling SELinux probes"
|
||||
sed -i 's,.*selinux.*, echo "SELinux test bypassed",' tests/mitre/test_mitre.sh || die
|
||||
#process58 need selinux
|
||||
sed -i 's,.*process58,#&,' tests/mitre/test_mitre.sh || die
|
||||
fi
|
||||
if ! use ldap; then
|
||||
einfo "Disabling LDAP probes"
|
||||
sed -i 's,ldap.h,ldapp.h,g' configure || die
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
python_setup
|
||||
local myconf
|
||||
if use debug ; then
|
||||
myconf+=" --enable-debug"
|
||||
fi
|
||||
if use python ; then
|
||||
myconf+=" --enable-python"
|
||||
else
|
||||
myconf+=" --enable-python=no"
|
||||
fi
|
||||
if use perl ; then
|
||||
myconf+=" --enable-perl"
|
||||
fi
|
||||
if use nss ; then
|
||||
myconf+=" --with-crypto=nss3"
|
||||
else
|
||||
myconf+=" --with-crypto=gcrypt"
|
||||
fi
|
||||
if use sce ; then
|
||||
myconf+=" --enable-sce"
|
||||
else
|
||||
myconf+=" --enable-sce=no"
|
||||
fi
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
if use doc ; then
|
||||
cd docs && doxygen Doxyfile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
prune_libtool_files --all
|
||||
if use doc ; then
|
||||
dohtml -r docs/html/.
|
||||
dodoc docs/examples/.
|
||||
fi
|
||||
dobashcomp "${D}"/etc/bash_completion.d/oscap
|
||||
rm -rf "${D}"/etc/bash_completion.d || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST yasat-526.tar.gz 123976 SHA256 a4ff957d59923c7c87fbcde27c894d731a3685b8534be17867d9cdc41974e600 SHA512 8abcc43f49791e7fd4c7755a2d2b20b6b89d5437bf9dfd392867374ecaaddba96d311636b38d4a6ba60f52c342334675bb1f3894b7aeae446ab479b9a319f898 WHIRLPOOL fc84bf86ed5a655129e917be30e24928c7a6afdc53b6bc7481e22e2050bf9612459ffaf681bc19a39bb623c8a7907378fcc358a91b86bbbcf1c269e8a2745796
|
||||
DIST yasat-700.tar.gz 137379 SHA256 323c54cadc637fb90b9bcb3869bad5996615dc67a4b3bbf9617569c94fe07ef5 SHA512 5022667810bf70f07181b7177ddf542690d22be3a82e7b0476d8d0d9c01844413ca6c848587dc29ec4c5c4e40c6a5a51781a2e564b19e9674d0ca916807378a5 WHIRLPOOL 5c7ebaf8eeb19d3490fcb5eba00a48029f1f92928b90de738e3b20e5f80999def0b64d53b3d945eabcb8b7af9baf78a9b3773d66e1bcc08e7a4dc8942f3a9b06
|
||||
DIST yasat-755.tar.gz 141633 SHA256 14bd57abe26f9cef64897c75ee9d3a4b5df9d3c794ce9fd7f5670bf2f7524590 SHA512 5a2a86c1f828f3fee5b84447ce6607b0dbdd8a16d8425dac910ef1c6f0d606105e851af35eedada46bf6438fb7cdde3f178803d8adf91e86f3bae4ce06151f44 WHIRLPOOL 031178629c574b5886e41c66c79caad74f8548c23180529bd06f8a2f8764ff929aa6eef30e9ab57ed826a75bbe372ad11627e37aaad6cd219621ac157470a2e4
|
||||
DIST yasat-839.tar.gz 148015 SHA256 ca14fe274ad53911d4c3d7c38bc0821ea7edaab9d2874522f7fb36c2bcaca3f1 SHA512 daf500a6f71a41d5f29501b0e449b711aea151d39b553c0ec356a8986b58a60ab96553cb9a752b495a455e1072e945c8b70aaf9eea53abac0ada8f26aa0b9181 WHIRLPOOL dc98fd6103aed808a174be5279328767dd22565310e714ea4bac972dafe944d7f884c8b17a7306bffa92a0e85f565603575b34a1b558b62258dd67c11a550ea9
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/yasat/yasat-839.ebuild,v 1.1 2015/04/23 20:50:11 hwoarang Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Security and system auditing tool"
|
||||
HOMEPAGE="http://yasat.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~sparc ~x86"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" PREFIX="/usr" SYSCONFDIR="/etc"
|
||||
|
||||
dodoc README CHANGELOG
|
||||
doman man/yasat.8
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -1518,7 +1518,7 @@
|
||||
# The versions with dots are used on Unix, and the versions without
|
||||
# dots on Windows, for detection by cygwin.
|
||||
tcllib = tklib = tcl_includes = tk_includes = None
|
||||
- for version in ['8.5', '85', '8.4', '84', '8.3', '83', '8.2',
|
||||
+ for version in ['8.6', '86', '8.5', '85', '8.4', '84', '8.3', '83', '8.2',
|
||||
'82', '8.1', '81', '8.0', '80']:
|
||||
tklib = self.compiler.find_library_file(lib_dirs, 'tk' + version)
|
||||
tcllib = self.compiler.find_library_file(lib_dirs, 'tcl' + version)
|
@ -0,0 +1,371 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.6.9.ebuild,v 1.7 2015/04/23 19:25:27 floppym Exp $
|
||||
|
||||
EAPI="2"
|
||||
WANT_AUTOMAKE="none"
|
||||
WANT_LIBTOOL="none"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib multiprocessing pax-utils python-utils-r1 toolchain-funcs unpacker
|
||||
|
||||
MY_P="Python-${PV}"
|
||||
PATCHSET_VERSION="${PV}-0"
|
||||
|
||||
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
||||
HOMEPAGE="http://www.python.org/"
|
||||
SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tgz
|
||||
http://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PATCHSET_VERSION}.tar.xz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="2.6"
|
||||
#KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="-berkdb build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
|
||||
|
||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
||||
# If you need to apply a patch which requires python for bootstrapping, please
|
||||
# run the bootstrap code on your dev box and include the results in the
|
||||
# patchset. See bug 447752.
|
||||
|
||||
RDEPEND="app-arch/bzip2
|
||||
>=sys-libs/zlib-1.1.3
|
||||
virtual/libffi
|
||||
virtual/libintl
|
||||
!build? (
|
||||
berkdb? ( || (
|
||||
sys-libs/db:4.7
|
||||
sys-libs/db:4.6
|
||||
sys-libs/db:4.5
|
||||
sys-libs/db:4.4
|
||||
sys-libs/db:4.3
|
||||
sys-libs/db:4.2
|
||||
) )
|
||||
gdbm? ( sys-libs/gdbm[berkdb] )
|
||||
ncurses? (
|
||||
>=sys-libs/ncurses-5.2
|
||||
readline? ( >=sys-libs/readline-4.1 )
|
||||
)
|
||||
sqlite? ( >=dev-db/sqlite-3.3.3:3 )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tk? (
|
||||
>=dev-lang/tk-8.0
|
||||
dev-tcltk/blt
|
||||
)
|
||||
xml? ( >=dev-libs/expat-2.1 )
|
||||
)
|
||||
!!<sys-apps/portage-2.1.9"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/autoconf-2.61
|
||||
!sys-devel/gcc[libffi]"
|
||||
RDEPEND+=" !build? ( app-misc/mime-types )
|
||||
doc? ( dev-python/python-docs:${SLOT} )"
|
||||
PDEPEND="app-eselect/eselect-python
|
||||
app-admin/python-updater"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
if use berkdb; then
|
||||
ewarn "'bsddb' module is out-of-date and no longer maintained inside"
|
||||
ewarn "dev-lang/python. 'bsddb' and 'dbhash' modules have been additionally"
|
||||
ewarn "removed in Python 3. A maintained alternative of 'bsddb3' module"
|
||||
ewarn "is provided by dev-python/bsddb3."
|
||||
else
|
||||
if has_version "=${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"; then
|
||||
ewarn "You are migrating from =${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"
|
||||
ewarn "to =${CATEGORY}/${PN}-${PV%%.*}*[-berkdb]."
|
||||
ewarn "You might need to migrate your databases."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
||||
rm -fr Modules/expat
|
||||
rm -fr Modules/_ctypes/libffi*
|
||||
rm -fr Modules/zlib
|
||||
|
||||
local excluded_patches
|
||||
if ! tc-is-cross-compiler; then
|
||||
excluded_patches="*_all_crosscompile.patch"
|
||||
fi
|
||||
|
||||
EPATCH_EXCLUDE="${excluded_patches}" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
epatch "${FILESDIR}/python-2.5-tcl86.patch"
|
||||
|
||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
||||
Lib/distutils/command/install.py \
|
||||
Lib/distutils/sysconfig.py \
|
||||
Lib/site.py \
|
||||
Makefile.pre.in \
|
||||
Modules/Setup.dist \
|
||||
Modules/getpath.c \
|
||||
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
||||
|
||||
epatch_user
|
||||
|
||||
eautoconf
|
||||
eautoheader
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use build; then
|
||||
# Disable extraneous modules with extra dependencies.
|
||||
export PYTHON_DISABLE_MODULES="dbm _bsddb gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
|
||||
export PYTHON_DISABLE_SSL="1"
|
||||
else
|
||||
# dbm module can be linked against berkdb or gdbm.
|
||||
# Defaults to gdbm when both are enabled, #204343.
|
||||
local disable
|
||||
use berkdb || use gdbm || disable+=" dbm"
|
||||
use berkdb || disable+=" _bsddb"
|
||||
use gdbm || disable+=" gdbm"
|
||||
use ncurses || disable+=" _curses _curses_panel"
|
||||
use readline || disable+=" readline"
|
||||
use sqlite || disable+=" _sqlite3"
|
||||
use ssl || export PYTHON_DISABLE_SSL="1"
|
||||
use tk || disable+=" _tkinter"
|
||||
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
||||
export PYTHON_DISABLE_MODULES="${disable}"
|
||||
|
||||
if ! use xml; then
|
||||
ewarn "You have configured Python without XML support."
|
||||
ewarn "This is NOT a recommended configuration as you"
|
||||
ewarn "may face problems parsing any XML documents."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
||||
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
||||
fi
|
||||
|
||||
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
||||
append-flags -fwrapv
|
||||
fi
|
||||
|
||||
filter-flags -malign-double
|
||||
|
||||
[[ "${ARCH}" == "alpha" ]] && append-flags -fPIC
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
||||
if is-flagq -O3; then
|
||||
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
||||
use hardened && replace-flags -O3 -O2
|
||||
fi
|
||||
|
||||
# Run the configure scripts in parallel.
|
||||
multijob_init
|
||||
|
||||
mkdir -p "${WORKDIR}"/{${CBUILD},${CHOST}}
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
(
|
||||
multijob_child_init
|
||||
cd "${WORKDIR}"/${CBUILD} >/dev/null
|
||||
OPT="-O1" CFLAGS="" CPPFLAGS="" LDFLAGS="" CC="" \
|
||||
"${S}"/configure \
|
||||
--{build,host}=${CBUILD} \
|
||||
|| die "cross-configure failed"
|
||||
) &
|
||||
multijob_post_fork
|
||||
fi
|
||||
|
||||
# Export CXX so it ends up in /usr/lib/python2.X/config/Makefile.
|
||||
tc-export CXX
|
||||
# The configure script fails to use pkg-config correctly.
|
||||
# http://bugs.python.org/issue15506
|
||||
export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
|
||||
|
||||
# Set LDFLAGS so we link modules with -lpython2.6 correctly.
|
||||
# Needed on FreeBSD unless Python 2.6 is already installed.
|
||||
# Please query BSD team before removing this!
|
||||
append-ldflags "-L."
|
||||
|
||||
cd "${WORKDIR}"/${CHOST}
|
||||
ECONF_SOURCE=${S} OPT="" \
|
||||
econf \
|
||||
--with-fpectl \
|
||||
--enable-shared \
|
||||
$(use_enable ipv6) \
|
||||
$(use_with threads) \
|
||||
$(use wide-unicode && echo "--enable-unicode=ucs4" || echo "--enable-unicode=ucs2") \
|
||||
--infodir='${prefix}/share/info' \
|
||||
--mandir='${prefix}/share/man' \
|
||||
--with-libc="" \
|
||||
--with-system-ffi
|
||||
|
||||
if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
|
||||
eerror "configure has detected that the sem_open function is broken."
|
||||
eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
|
||||
die "Broken sem_open function (bug 496328)"
|
||||
fi
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
# Modify the Makefile.pre so we don't regen for the host/ one.
|
||||
# We need to link the host python programs into $PWD and run
|
||||
# them from here because the distutils sysconfig module will
|
||||
# parse Makefile/etc... from argv[0], and we need it to pick
|
||||
# up the target settings, not the host ones.
|
||||
sed -i \
|
||||
-e '1iHOSTPYTHONPATH = ./hostpythonpath:' \
|
||||
-e '/^HOSTPYTHON/s:=.*:= ./hostpython:' \
|
||||
-e '/^HOSTPGEN/s:=.*:= ./Parser/hostpgen:' \
|
||||
Makefile{.pre,} || die "sed failed"
|
||||
fi
|
||||
|
||||
multijob_finish
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if tc-is-cross-compiler; then
|
||||
cd "${WORKDIR}"/${CBUILD}
|
||||
# Disable as many modules as possible -- but we need a few to install.
|
||||
PYTHON_DISABLE_MODULES=$(
|
||||
sed -n "/Extension('/{s:^.*Extension('::;s:'.*::;p}" "${S}"/setup.py | \
|
||||
egrep -v '(unicodedata|time|cStringIO|_struct|binascii)'
|
||||
) \
|
||||
PTHON_DISABLE_SSL="1" \
|
||||
SYSROOT= \
|
||||
emake || die "cross-make failed"
|
||||
# See comment in src_configure about these.
|
||||
ln python ../${CHOST}/hostpython || die
|
||||
ln Parser/pgen ../${CHOST}/Parser/hostpgen || die
|
||||
ln -s ../${CBUILD}/build/lib.*/ ../${CHOST}/hostpythonpath || die
|
||||
fi
|
||||
|
||||
cd "${WORKDIR}"/${CHOST}
|
||||
default
|
||||
|
||||
# Work around bug 329499. See also bug 413751.
|
||||
pax-mark m python
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests will not work when cross compiling.
|
||||
if tc-is-cross-compiler; then
|
||||
elog "Disabling tests due to crosscompiling."
|
||||
return
|
||||
fi
|
||||
|
||||
cd "${WORKDIR}"/${CHOST}
|
||||
|
||||
# Skip failing tests.
|
||||
local skipped_tests="distutils tcl"
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${S}"/Lib/test/test_${test}.py "${T}"
|
||||
done
|
||||
|
||||
# Rerun failed tests in verbose mode (regrtest -w).
|
||||
PYTHONDONTWRITEBYTECODE="" emake test EXTRATESTOPTS="-w" < /dev/tty
|
||||
local result="$?"
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${T}/test_${test}.py" "${S}"/Lib/test
|
||||
done
|
||||
|
||||
elog "The following tests have been skipped:"
|
||||
for test in ${skipped_tests}; do
|
||||
elog "test_${test}.py"
|
||||
done
|
||||
|
||||
elog "If you would like to run them, you may:"
|
||||
elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'"
|
||||
elog "and run the tests separately."
|
||||
|
||||
if [[ "${result}" -ne 0 ]]; then
|
||||
die "emake test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
[[ -z "${ED}" ]] && ED="${D%/}${EPREFIX}/"
|
||||
|
||||
local libdir=${ED}/usr/$(get_libdir)/python${SLOT}
|
||||
|
||||
cd "${WORKDIR}"/${CHOST}
|
||||
emake DESTDIR="${D}" altinstall maninstall || die "emake altinstall maninstall failed"
|
||||
|
||||
# Backwards compat with Gentoo divergence.
|
||||
dosym python${SLOT}-config /usr/bin/python-config-${SLOT} || die
|
||||
|
||||
# Fix collisions between different slots of Python.
|
||||
mv "${ED}usr/bin/2to3" "${ED}usr/bin/2to3-${SLOT}"
|
||||
mv "${ED}usr/bin/pydoc" "${ED}usr/bin/pydoc${SLOT}"
|
||||
mv "${ED}usr/bin/idle" "${ED}usr/bin/idle${SLOT}"
|
||||
mv "${ED}usr/share/man/man1/python.1" "${ED}usr/share/man/man1/python${SLOT}.1"
|
||||
rm -f "${ED}usr/bin/smtpd.py"
|
||||
|
||||
if use build; then
|
||||
rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{bsddb,dbhash.py,idlelib,lib-tk,sqlite3,test}
|
||||
else
|
||||
use elibc_uclibc && rm -fr "${libdir}/"{bsddb/test,test}
|
||||
use berkdb || rm -fr "${libdir}/"{bsddb,dbhash.py,test/test_bsddb*}
|
||||
use sqlite || rm -fr "${libdir}/"{sqlite3,test/test_sqlite*}
|
||||
use tk || rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,lib-tk}
|
||||
fi
|
||||
|
||||
use threads || rm -fr "${libdir}/multiprocessing"
|
||||
use wininst || rm -f "${libdir}/distutils/command/"wininst-*.exe
|
||||
|
||||
dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS} || die "dodoc failed"
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r "${S}"/Tools || die "doins failed"
|
||||
fi
|
||||
|
||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} || die "newconfd failed"
|
||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed"
|
||||
sed \
|
||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
|
||||
-e "s:@PYDOC@:pydoc${SLOT}:" \
|
||||
-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed"
|
||||
|
||||
# for python-exec
|
||||
python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
|
||||
|
||||
# if not using a cross-compiler, use the fresh binary
|
||||
if ! tc-is-cross-compiler; then
|
||||
local PYTHON=./python \
|
||||
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
|
||||
export LD_LIBRARY_PATH
|
||||
fi
|
||||
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py
|
||||
python_domodule epython.py
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version "${CATEGORY}/${PN}:2.6" && ! has_version "${CATEGORY}/${PN}:2.7"; then
|
||||
python_updater_warning="1"
|
||||
fi
|
||||
}
|
||||
|
||||
eselect_python_update() {
|
||||
[[ -z "${EROOT}" || (! -d "${EROOT}" && -d "${ROOT}") ]] && EROOT="${ROOT%/}${EPREFIX}/"
|
||||
|
||||
if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
|
||||
eselect python update
|
||||
fi
|
||||
|
||||
if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
|
||||
eselect python update --python${PV%%.*}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect_python_update
|
||||
|
||||
if [[ "${python_updater_warning}" == "1" ]]; then
|
||||
ewarn "You have just upgraded from an older version of Python."
|
||||
ewarn "You should switch active version of Python ${PV%%.*} and run"
|
||||
ewarn "'python-updater [options]' to rebuild Python modules."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect_python_update
|
||||
}
|
@ -0,0 +1,227 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.1.6-r1.ebuild,v 1.1 2015/04/24 08:15:22 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
#PATCHSET=1
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
RUBYPL=$(get_version_component_range 4)
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)"
|
||||
#MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
RUBYVERSION=2.1.0
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/2.1/${MY_P}.tar.xz
|
||||
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl xemacs ncurses +readline"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ssl? ( dev-libs/openssl )
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
readline? ( sys-libs/readline )
|
||||
dev-libs/libyaml
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-eselect/eselect-ruby-20131227
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="
|
||||
virtual/rubygems[ruby_targets_ruby21]
|
||||
>=dev-ruby/json-1.8.1[ruby_targets_ruby21]
|
||||
>=dev-ruby/rake-0.9.6[ruby_targets_ruby21]
|
||||
rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby21] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
# We can no longer unbundle all of rake because rubygems now depends
|
||||
# on this. We leave the actual rake code around to bootstrap
|
||||
# rubygems, but remove the bits that would cause a file collision.
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
rm -r \
|
||||
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||
bin/gem || die "removal failed"
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
# The Tk module can no longer be built because the module code is no
|
||||
# longer compatible with newer stable versions.
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=500894
|
||||
local modules="tk"
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# Determine which modules *not* to build depending in the USE flags.
|
||||
if ! use readline ; then
|
||||
modules="${modules},readline"
|
||||
fi
|
||||
if ! use berkdb ; then
|
||||
modules="${modules},dbm"
|
||||
fi
|
||||
if ! use gdbm ; then
|
||||
modules="${modules},gdbm"
|
||||
fi
|
||||
if ! use ssl ; then
|
||||
modules="${modules},openssl"
|
||||
fi
|
||||
if ! use ncurses ; then
|
||||
modules="${modules},curses"
|
||||
fi
|
||||
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--docdir=${EPREFIX}/usr/share/doc/${P} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
--with-out-ext="${modules}" \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove the remaining bundled gems. We do this late in the process
|
||||
# since they are used during the build to e.g. create the
|
||||
# documentation.
|
||||
rm -rf ext/json || die
|
||||
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems copy
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README* || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(19|20|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -0,0 +1,238 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.2.2-r1.ebuild,v 1.1 2015/04/24 08:15:22 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
#PATCHSET=1
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
RUBYVERSION=2.2.0
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/2.2/${MY_P}.tar.xz
|
||||
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc +rdoc rubytests socks5 ssl xemacs ncurses +readline"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
ssl? ( dev-libs/openssl )
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
readline? ( sys-libs/readline )
|
||||
dev-libs/libyaml
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-eselect/eselect-ruby-20141227
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BUNDLED_GEMS="
|
||||
>=dev-ruby/minitest-5.4.3[ruby_targets_ruby22]
|
||||
>=dev-ruby/power_assert-0.2.2[ruby_targets_ruby22]
|
||||
>=dev-ruby/test-unit-3.0.8[ruby_targets_ruby22]
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
${BUNDLED_GEMS}
|
||||
virtual/rubygems[ruby_targets_ruby22]
|
||||
>=dev-ruby/json-1.8.1[ruby_targets_ruby22]
|
||||
>=dev-ruby/rake-0.9.6[ruby_targets_ruby22]
|
||||
rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby22] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
# We can no longer unbundle all of rake because rubygems now depends
|
||||
# on this. We leave the actual rake code around to bootstrap
|
||||
# rubygems, but remove the bits that would cause a file collision.
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
rm -r \
|
||||
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||
bin/gem || die "removal failed"
|
||||
# Remove bundled gems that we will install via PDEPEND, bug
|
||||
# 539700. Use explicit version numbers to ensure rm fails when they
|
||||
# change so we can update dependencies accordingly.
|
||||
rm gems/{minitest-5.4.3,power_assert-0.2.2,test-unit-3.0.8}.gem || die
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
# The Tk module can no longer be built because the module code is no
|
||||
# longer compatible with newer stable versions.
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=500894
|
||||
local modules="tk"
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# Determine which modules *not* to build depending in the USE flags.
|
||||
if ! use readline ; then
|
||||
modules="${modules},readline"
|
||||
fi
|
||||
if ! use berkdb ; then
|
||||
modules="${modules},dbm"
|
||||
fi
|
||||
if ! use gdbm ; then
|
||||
modules="${modules},gdbm"
|
||||
fi
|
||||
if ! use ssl ; then
|
||||
modules="${modules},openssl"
|
||||
fi
|
||||
if ! use ncurses ; then
|
||||
modules="${modules},curses"
|
||||
fi
|
||||
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--docdir=${EPREFIX}/usr/share/doc/${P} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
--with-out-ext="${modules}" \
|
||||
$(use_enable jemalloc jemalloc) \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove the remaining bundled gems. We do this late in the process
|
||||
# since they are used during the build to e.g. create the
|
||||
# documentation.
|
||||
rm -rf ext/json || die
|
||||
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems copy
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README* || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(19|20|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST core-112.17.00.tar.gz 755485 SHA256 61879c6401a1fd3ebda308584d7e8650fd8f9d745677cba5eb5a5fc16dd9c4a4 SHA512 6964c0310efec64cdfc17c5d77f562dda0280b4fba8eff9c9b8b1697d011f981263fec3748f0a3820b0b8e13690440eff08e52084e090f35593dd37761479258 WHIRLPOOL af290471b327f3434ac4b0e2fd9fae23eae0af984bc179993cacb8af46e0b51cf8fefaa00a1257df2055e37763eb9815a35ad4ea037579283f2fda1ce7c58ca1
|
||||
DIST core-112.24.01.tar.gz 742585 SHA256 be5d53ebd4fd04ef23ebf9b3b2840c7aeced6bc4cc6cd3f5e89f71c9949000f4 SHA512 7672783da5aedfedf11d369ea58f7d32eecca0e99f17257bf2acf23d3f7517b3c86b53a3fa230c212fff211a489a98c47d248ed9ac4997784d2534848f8e2ce6 WHIRLPOOL 8f127eaf9891fb8ea60b49b3224e96b3afdfb8d80fb6ed929139bbb3b46f1e7af2d9b42b690cbb6fcf4648f41b149c3c431336ff7e15553c71616c766d93fbe0
|
||||
DIST core-112.24.tar.gz 742439 SHA256 4e272f9f74e93dedf1a752a445b081fc971185d5322d365f151798c68595d13a SHA512 637400740a1152e4ba5986c820da4b128a5930a0b3d13158b1016fd32f9babec93f633af029e55ad258370833d6697437a59ec1c9fabd90ab1269a38f8197345 WHIRLPOOL 33cd226623c9df729abd614984ea819048c96396e757536cde8b8f4a190768f3f074790f6c5230d5df05a5e33f21b3b0c8e8a4c6a85acd8645716875c2d2138d
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ml/core/core-112.24.01.ebuild,v 1.1 2015/04/24 07:59:52 aballier Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
OASIS_BUILD_DOCS=1
|
||||
OASIS_BUILD_TESTS=1
|
||||
|
||||
inherit eutils oasis
|
||||
|
||||
MY_P=${P/_/\~}
|
||||
DESCRIPTION="Jane Street's alternative to the standard library"
|
||||
HOMEPAGE="http://www.janestreet.com/ocaml"
|
||||
SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1-with-linking-exception"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-ml/core_kernel-109.35.00:=
|
||||
>=dev-ml/sexplib-109.20.00:=
|
||||
>=dev-ml/bin-prot-109.15.00:=
|
||||
>=dev-ml/fieldslib-109.20.00:=
|
||||
>=dev-ml/pa_ounit-109.27.00:=
|
||||
>=dev-ml/variantslib-109.15.00:=
|
||||
>=dev-ml/comparelib-109.27.00:=
|
||||
>=dev-ml/herelib-109.35.00:=
|
||||
>=dev-ml/pipebang-109.15.00:=
|
||||
dev-ml/custom_printf:=
|
||||
dev-ml/pa_bench:=
|
||||
dev-ml/pa_test:=
|
||||
dev-ml/enumerate:=
|
||||
dev-ml/camlp4:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( >=dev-ml/ounit-1.1.2 )"
|
||||
DOCS=( "README.md" )
|
@ -0,0 +1 @@
|
||||
DIST ldap3-0.9.8.2.tar.gz 258084 SHA256 6fb841bdbef66b2f98ed1ceda5603af879f54bfc05964a37c1c8f97e2812baab SHA512 d9bd77c9de2e4cca223db39d04f03a438e77cccb77e75c44b53bbeeb3dceb573208dfbd9c0cb3f5f5865682331f3d37f87f9fdf3244b4f2ffd410b6e9058b625 WHIRLPOOL 8c4b0f91582330f2f3dcdbcc849d1db4a0f45ebbed01be512202998a0682585c6c1e9e9bebcd239f682dd71b274a92ccd2e2de48abf646eb326af839292cbce3
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/ldap3/ldap3-0.9.8.2.ebuild,v 1.1 2015/04/23 20:45:25 chutzpah Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=(python{2_7,3_4})
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A strictly RFC 4511 conforming LDAP V3 pure Python client"
|
||||
HOMEPAGE="https://github.com/cannatag/ldap3"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/pyasn1-0.1.7"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<longdescription lang="en">
|
||||
ldap3 is a strictly RFC 4511 conforming LDAP V3 pure Python client. The same codebase works with Python, Python 3, PyPy and PyPy3.
|
||||
This project was formerly named python3-ldap. The name has been changed to avoid confusion with the python-ldap library.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,4 +1,3 @@
|
||||
DIST qt-creator-2.8.1-src.tar.gz 24381282 SHA256 d5ae007a297a4288d0e95fd605edbfb8aee80f6788c7a6cfb9cb297f50c364b9 SHA512 954b0caa9a4c6b7debf62562f3c8f1b4edee13488867208e7d41544b244a111024f2c4c144e4b44e98973cf1d7b5885c13c0b6996ade58e204887eb13bb999cb WHIRLPOOL 1aa5018e19315bd2528580ffa388ff17d96666747e4abad28ea4bcd38315e6efc66379cdda90cb32c17dd1631d0ebedff422e53ee0b9b3c40d7a5766ff4dd9b4
|
||||
DIST qt-creator-opensource-src-3.2.2.tar.gz 22789455 SHA256 a115f1d7b08446dcfeb79537f3d8d251dbc3c9808d0ff377efe5c4fad7dbd8f0 SHA512 f85381eb6f56d787e5efe02407c4b6f949fd2a766a25567ceccb3a002ec7dd9c6277d9cf39ef0afdd8e110d7bc7436344756225784009a2e01ba9fd8428f885e WHIRLPOOL aa65009cffbc10161cdd9f8e70121c5b2e80df034bb1e06400558a947dcf3284cc23d1b162f85a7ed19af216f0d94d0c5f997c0072c3f19149f64e528fde36a7
|
||||
DIST qt-creator-opensource-src-3.3.2.tar.gz 22939032 SHA256 6ef76d23c778a58caffb487b8bc6a192defa2d5dd5fab1ecf8eb70d53ccfb98a SHA512 6b5c985075ad547558955972c3daa009557f949aa9b9a8a667368abd401c42af4914c330357ad1f8143c139cf58b23b9f44f65beb53feb46142c56fbe624b2f9 WHIRLPOOL 4832225337545e84b2e1e19e9f62abf54834d902ec8ab0ed7dd5adc90f23d51ae2dc51ada897dd0658a18b31306ae251d81377d0eabc7261cb9d9abfa0dc9c7b
|
||||
DIST qt-creator-opensource-src-3.4.0-rc1.tar.gz 23152924 SHA256 3c6e4169c6ae2d90dafab42c6ca66afd0cd0423dbc303b89ff51f8f6a3285302 SHA512 5c0f98ab7e28c6a7f000548e8fcbc6d75a188fb5af3e0eaae390ce827a996da834ec5bc412ed3d870c64b62aae7902c4d725973fec1c99f2c62f162bb2be4752 WHIRLPOOL a74d8a9008df0990d254b5731499baa156e4ecc20c4e16c99a2e37202a9305c188366cf7fd3ba30ba71cb6bfd2d9d120bd770cc0edf013ab62dc15b60291f211
|
||||
DIST qt-creator-opensource-src-3.4.0.tar.gz 23199469 SHA256 b80baf5be9b0421b3d951a8a0eb411a65cf008f4c753f5a80d205e90fa4fe112 SHA512 26d527a914b073f16dffe92314635af975c5878221dfbb8b7d0d0279d38e7934b062a4087f352fe619da2db1f66a090dc3f93ac2c1596438bd3d3f08d67e3d82 WHIRLPOOL 92e695b4f02634cf54d4126c2b81e50879040a6fbd4adb564068af086d80197a683035428c1409400c53644df0a875d0921032243cabdf1ced03875c4b25ae8c
|
||||
|
@ -1,139 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-3.3.2.ebuild,v 1.4 2015/04/01 20:57:55 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PLOCALES="cs de fr ja pl ru sl uk zh_CN zh_TW"
|
||||
|
||||
inherit eutils l10n multilib qmake-utils virtualx
|
||||
|
||||
DESCRIPTION="Lightweight IDE for C++/QML development centering around Qt"
|
||||
HOMEPAGE="http://doc.qt.io/qtcreator/"
|
||||
LICENSE="|| ( LGPL-2.1 LGPL-3 )"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI=(
|
||||
"git://code.qt.io/${PN}/${PN}.git"
|
||||
"https://code.qt.io/git/${PN}/${PN}.git"
|
||||
)
|
||||
else
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-opensource-src-${MY_PV}
|
||||
[[ ${MY_PV} == ${PV} ]] && MY_REL=official || MY_REL=development
|
||||
SRC_URI="http://download.qt.io/${MY_REL}_releases/${PN/-}/${PV%.*}/${MY_PV}/${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
fi
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
QTC_PLUGINS=('android:android|qmakeandroidsupport' autotools:autotoolsprojectmanager baremetal
|
||||
bazaar clang:clangcodemodel clearcase cmake:cmakeprojectmanager cvs git ios mercurial
|
||||
perforce python:pythoneditor qbs:qbsprojectmanager qnx subversion valgrind winrt)
|
||||
IUSE="debug doc test ${QTC_PLUGINS[@]%:*}"
|
||||
|
||||
# minimum Qt version required
|
||||
QT_PV="5.3.2:5"
|
||||
|
||||
RDEPEND="
|
||||
=dev-libs/botan-1.10*[threads]
|
||||
>=dev-qt/designer-${QT_PV}
|
||||
>=dev-qt/qtconcurrent-${QT_PV}
|
||||
>=dev-qt/qtcore-${QT_PV}
|
||||
>=dev-qt/qtdeclarative-${QT_PV}[widgets]
|
||||
>=dev-qt/qtgui-${QT_PV}
|
||||
>=dev-qt/qthelp-${QT_PV}
|
||||
>=dev-qt/qtnetwork-${QT_PV}[ssl]
|
||||
>=dev-qt/qtprintsupport-${QT_PV}
|
||||
>=dev-qt/qtquick1-${QT_PV}
|
||||
>=dev-qt/qtquickcontrols-${QT_PV}
|
||||
>=dev-qt/qtscript-${QT_PV}
|
||||
>=dev-qt/qtsql-${QT_PV}
|
||||
>=dev-qt/qtsvg-${QT_PV}
|
||||
>=dev-qt/qtwidgets-${QT_PV}
|
||||
>=dev-qt/qtx11extras-${QT_PV}
|
||||
>=dev-qt/qtxml-${QT_PV}
|
||||
>=sys-devel/gdb-7.4[client(+),python]
|
||||
clang? ( >=sys-devel/clang-3.2:= )
|
||||
qbs? ( >=dev-util/qbs-1.3.4 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-qt/linguist-tools-${QT_PV}
|
||||
virtual/pkgconfig
|
||||
doc? ( >=dev-qt/qdoc-${QT_PV} )
|
||||
test? ( >=dev-qt/qttest-${QT_PV} )
|
||||
"
|
||||
for x in ${PLOCALES}; do
|
||||
# qt translations must be installed for qt-creator translations to work
|
||||
RDEPEND+=" linguas_${x}? ( >=dev-qt/qttranslations-${QT_PV} )"
|
||||
done
|
||||
unset x
|
||||
|
||||
PDEPEND="
|
||||
autotools? ( sys-devel/autoconf )
|
||||
bazaar? ( dev-vcs/bzr )
|
||||
cmake? ( dev-util/cmake )
|
||||
cvs? ( dev-vcs/cvs )
|
||||
git? ( dev-vcs/git )
|
||||
mercurial? ( dev-vcs/mercurial )
|
||||
subversion? ( dev-vcs/subversion )
|
||||
valgrind? ( dev-util/valgrind )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# disable unwanted plugins
|
||||
for plugin in "${QTC_PLUGINS[@]#[+-]}"; do
|
||||
if ! use ${plugin%:*}; then
|
||||
einfo "Disabling ${plugin%:*} plugin"
|
||||
sed -i -re "/(^\s+|SUBDIRS\s*\+=\s*)(${plugin#*:})\>/d" \
|
||||
src/plugins/plugins.pro || die "failed to disable ${plugin%:*} plugin"
|
||||
fi
|
||||
done
|
||||
|
||||
# disable broken or unreliable tests
|
||||
sed -i -e '/lexer/d' tests/auto/cplusplus/cplusplus.pro || die
|
||||
sed -i -e '/dumpers\.pro/d' tests/auto/debugger/debugger.pro || die
|
||||
sed -i -e '/CONFIG -=/ s/$/ testcase/' tests/auto/extensionsystem/pluginmanager/correctplugins1/plugin?/plugin?.pro || die
|
||||
sed -i -e '/parsertests\.pro/d' tests/auto/valgrind/memcheck/memcheck.pro || die
|
||||
|
||||
# fix translations
|
||||
sed -i -e "/^LANGUAGES =/ s:=.*:= $(l10n_get_locales):" \
|
||||
share/qtcreator/translations/translations.pro || die
|
||||
|
||||
# remove bundled qbs
|
||||
rm -rf src/shared/qbs || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 IDE_LIBRARY_BASENAME="$(get_libdir)" \
|
||||
IDE_PACKAGE_MODE=1 \
|
||||
LLVM_INSTALL_DIR="${EPREFIX}/usr" \
|
||||
QBS_INSTALL_DIR="${EPREFIX}/usr" \
|
||||
$(use test && echo BUILD_TESTS=1) \
|
||||
USE_SYSTEM_BOTAN=1
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd tests/auto || die
|
||||
VIRTUALX_COMMAND=default virtualmake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${ED}usr" install
|
||||
|
||||
dodoc dist/{changes-*,known-issues}
|
||||
|
||||
# install documentation
|
||||
if use doc; then
|
||||
emake docs
|
||||
# don't use ${PF} or the doc will not be found
|
||||
insinto /usr/share/doc/qtcreator
|
||||
doins share/doc/qtcreator/qtcreator{,-dev}.qch
|
||||
docompress -x /usr/share/doc/qtcreator/qtcreator{,-dev}.qch
|
||||
fi
|
||||
|
||||
# install desktop file
|
||||
make_desktop_entry qtcreator 'Qt Creator' QtProject-qtcreator 'Qt;Development;IDE'
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-3.4.0_rc1.ebuild,v 1.2 2015/04/01 20:57:55 pesa Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qt-creator/qt-creator-3.4.0.ebuild,v 1.1 2015/04/23 15:34:04 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST commander-4.2.1.gem 33280 SHA256 8ccbe07c5f389323c03678ff03ab5d4b467c37067a2c21ff079bc365b9868eff SHA512 0f4d862da83b23e7c477f3b34182f8b42d02375690a8d0553beb56bd89a61978b43d989d90b8e581b7848b8ad9dcfeb5289b78cd48c2f2c0621f8b7c4654e67f WHIRLPOOL 9a5384352977ae856725ee9cc57d19070e7aebfb1917b6801c78df41d099cfe2251642a2d459006ec337b003326738f134571a6595c778cd89d5349aea1c5d04
|
||||
DIST commander-4.3.0.gem 34816 SHA256 d3012e192382f08d4353e58cfac126e9086d19d19e00edc39a2ed5e4d1297d0d SHA512 45129667320f88a4a3c1c4f172b12386790390322bb5e0138808cd04771ea2def4c86ed19403449dd343c1303254bce39295b16748989c410b45751ae614e520 WHIRLPOOL 90fe3888017344f5bbcfd96410c2f597d1da17270996b92aaec1b047b1c4bebc2754d3652118e0aaae934a990383704eb1a562ab40f3e9b331035f9a61c03edb
|
||||
DIST commander-4.3.2.gem 34816 SHA256 c86f004692487dd136ce14d7d1cf5cdab2d088ad6c359be085ba9d8801a56c8d SHA512 ce7336e08b27468acc635767ab6c7782b0d91514eaea66f9b786db9d505169aab41e3220e4fb4857ebe2db1f8fc56fad9b44ffb01aaf96667f4390af48b3db7e WHIRLPOOL ea1d0c00ee39fda4c1c637406e26bb9a1f42ff1d07854113cae90cb0ce6189c85732a2b208ac1895000bc6d212769e9e6ff494005d65aee4f7ea3a8a9aadcb91
|
||||
DIST commander-4.3.3.gem 34816 SHA256 cb55ee465ecb5319e8b390486b4143d76bf8fb3536a03a8984a42920899bf072 SHA512 e03792f7174c8974d21c98af87ed8240f71d378486a8ff2e0ab3336124a5a18a77a576b4c875133e88a2569c3a1feacb78795541fa9a0a67ab9683191b3f4f3b WHIRLPOOL f717de26bedade7d1c1bcdd7f091417e5f5677fa7fb5316481f0a2a98aebae390542304bff8aecd21c15be8a10ef0dc865d743a4806144c7859af09a20233b96
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/commander/commander-4.2.1.ebuild,v 1.1 2014/10/05 20:41:11 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="History.rdoc README.md"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="The complete solution for Ruby command-line executables"
|
||||
HOMEPAGE="http://visionmedia.github.com/commander/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/highline-1.6.11"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e "/simplecov/,/end/ s:^:#:" spec/spec_helper.rb || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST hashie-2.1.2.gem 34816 SHA256 a9e1e4928bf4f5a5683ea9c7ef29e50fb93f72542f9a9550e205fe33a6568923 SHA512 6f72998710da58a2584939b4e74a114ae54168902020dc16ec5ea0422a91316b84aa6835fffb36a2985634f24ff5b0d01bcdb50134a414a269a4881ebcd728ac WHIRLPOOL 6b67c04ef9dc33a9ffdf25d14440bdd3ce621f1bde9b4eb806de63fa39edc76627f80d10435efc708fc48d24f1450046f33aceb20d76238a0cf8b67ddcf72e78
|
||||
DIST hashie-3.3.2.gem 48640 SHA256 99fad6bb323e965f72c82f08f86162858b97d9b1a4550cf49c180f211e3291a0 SHA512 22e6a15d70c8dfaebb99564e874640cdce60d3c127841054c38ff2287926f93e5c2d3cade98fb766e69722d442e54276af7dd95575d1bc2800d978f6763149c5 WHIRLPOOL 07fe013d529a13124e8fe9228a728507d0e74fb493677b4ec624a85829942a7a5f0e0d9248080dc6681f619fa5be45cd363218970e3572b83e65630ffd97d7a8
|
||||
DIST hashie-3.4.1.gem 54784 SHA256 76dc47a37116e8e6be30e37389776cecd3809efa5e4e207f2d02de0f3d9a4f34 SHA512 9a0e68b0a260cb4387d21284164c0b67fb332860338f773c4368ab4d40aaaececcaa84ea6d92ff391f0914ad7a7aaf3ce54ffbddd1861606035b4021d9a2c197 WHIRLPOOL c81ae5c69f749180838cb1310a99bbea961005ab03d343831f039ec1e855886858c265c24b60946f016c04da5253b9d563298643c9db778be3a01d69cc9950ee
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/hashie/hashie-3.4.1.ebuild,v 1.1 2015/04/23 23:06:53 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Hashie is a small collection of tools that make hashes more powerful"
|
||||
HOMEPAGE="http://intridea.com/posts/hashie-the-hash-toolkit"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/activesupport )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler and fix one spec that depends on its requires
|
||||
#rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/d' Rakefile || die
|
||||
sed -e '/pry/ s:^:#:' -i spec/spec_helper.rb || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST ox-2.1.7.tar.gz 173557 SHA256 81ddfd8298a46991400cca512526cdde5c8cfa1e421ff480b5d09f260b5ade9c SHA512 03335b78c849bb5b777fc446fdc593f1dcdbcba3281cceffea4fae4dc753ee726d3d1f8f10c499fb2245823ec866f54df27334ecf7f27ea3f2056c52c39d34f3 WHIRLPOOL ad89946db3543c223d0578b3eb6457079c720af44ee08fed9e673ab43c0bb2475a56da8408178f6555e1a65676a8887ff58fc434bc3af667d8e1e42b33bc760b
|
||||
DIST ox-2.1.8.tar.gz 173466 SHA256 1fcfd43bf6d064570bccedf306fd70a48774503ee7fbb22fa830a35e60e40838 SHA512 33863c900aa0157bb18f3f45974e203857133e29544b01bdb169e33f5fc7524441caca62e1259d8bc72ca9b2d97a657f517dd176ede8478483dd6e783cd85861 WHIRLPOOL 0aba754be34bd8004483f089c41094181d8d274de341d23f19cfb368336f3ed4ecda5854a79c072dd99bb02a57b85ffe002ff27fb15e878043f81b02f5f05b39
|
||||
DIST ox-2.2.0.tar.gz 173019 SHA256 33fad7a3cafa38f62ff65ee93485028048d2369e504fd8c80a65cef7d9566c8c SHA512 817eae55ae3f0ee3edced2da58be2e0c95b2be0e8788f511b648f88d38096367416802f2e82a2dacb7ec48efdd35cb8c36766ffb7b46a4944137e55bf23bd02a WHIRLPOOL 82adce4c9465c28dacd8514279ddf40832ac47e4c48355758c91681835e81124eb3233b2d15081b542775acd2501622ff85cf6d4146fd10ec8a6f435d0e1b2c1
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ox/ox-2.2.0.ebuild,v 1.1 2015/04/23 21:22:06 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A fast XML parser and Object marshaller"
|
||||
HOMEPAGE="http://www.ohler.com/ox/ https://github.com/ohler55/ox"
|
||||
SRC_URI="https://github.com/ohler55/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/ox extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 -Cext/ox
|
||||
cp ext/ox/ox$(get_modname) lib/ || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} test/tests.rb || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST chessx-1.2.2.tgz 3739189 SHA256 85fe797e329d8a2bb54101f602ddd00f2c19a50873492ebefd22519956641caa SHA512 be7ab8267d0d7b7531d3fec1225e3392e892678905be6c04809352a0b8a392046d58b031eaf885022e42d86f336f4d7b4f369d396e20855f91e5c654e18fe447 WHIRLPOOL 0f5e001cc49f97b0c1d128a63261eba74a90c206a7af903854975502f1bdc99c5a6b70b5158946b150351a82b891d8d802f23f258261b297efc456b5fb6947c1
|
||||
DIST chessx-1.3.0.tgz 4094756 SHA256 cb39e624c6c668ff55b74a1f87d372c429bfdeb52bbd685186c21d7f4dbdec69 SHA512 6831cf8f7fd3fd8aa5692f51025520ab10a569070bd59bec3906a0b90a4ce2d1171d898eee7562e5fe5f1a8802b3452491e31a6f11f5bdbfee0a1dd0f65593bb WHIRLPOOL 53e2f37739bfb723032605f6eaa55119b04029b930e7ace15f1e4c010a13dfea2aad0c3d8f4b223ca35f6925b29d0e5239be754c3741b178835758f533ce5708
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-board/chessx/chessx-1.2.2.ebuild,v 1.1 2015/04/13 20:53:06 mr_bones_ Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils qmake-utils games
|
||||
|
||||
DESCRIPTION="Qt5-based Chess Database Utility"
|
||||
HOMEPAGE="http://chessx.sourceforge.net/"
|
||||
SRC_URI="http://sourceforge.net/projects/chessx/files/chessx/${PV}/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+ ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-qt/qtprintsupport:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
sys-libs/zlib"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-zlib.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dogamesbin release/${PN}
|
||||
dodoc ChangeLog TODO
|
||||
doicon data/images/${PN}.png
|
||||
domenu unix/chessx.desktop
|
||||
prepgamesdirs
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
--- chessx-1.2.2/src/quazip/ioapi.h
|
||||
+++ chessx-1.2.2-patched/src/quazip/ioapi.h
|
||||
@@ -1,3 +1,4 @@
|
||||
+#define OF(x) x
|
||||
/* ioapi.h -- IO base function header for compress/uncompress .zip
|
||||
files using zlib + zip or unzip API
|
||||
|
||||
--- chessx-1.2.2/src/quazip/unzip.c
|
||||
+++ chessx-1.2.2-patched/src/quazip/unzip.c
|
||||
@@ -1,3 +1,4 @@
|
||||
+#define OF(x) x
|
||||
/* unzip.c -- IO for uncompress .zip files using zlib
|
||||
Version 1.01e, February 12th, 2005
|
||||
|
||||
--- chessx-1.2.2/src/quazip/unzip.h
|
||||
+++ chessx-1.2.2-patched/src/quazip/unzip.h
|
||||
@@ -1,3 +1,4 @@
|
||||
+#define OF(x) x
|
||||
/* unzip.h -- IO for uncompress .zip files using zlib
|
||||
Version 1.01e, February 12th, 2005
|
||||
|
||||
--- chessx-1.2.2/src/quazip/zip.c
|
||||
+++ chessx-1.2.2-patched/src/quazip/zip.c
|
||||
@@ -1,3 +1,4 @@
|
||||
+#define OF(x) x
|
||||
/* zip.c -- IO on .zip files using zlib
|
||||
Version 1.01e, February 12th, 2005
|
||||
|
||||
--- chessx-1.2.2/src/quazip/zip.h
|
||||
+++ chessx-1.2.2-patched/src/quazip/zip.h
|
||||
@@ -1,3 +1,4 @@
|
||||
+#define OF(x) x
|
||||
/* zip.h -- IO for compress .zip files using zlib
|
||||
Version 1.01e, February 12th, 2005
|
||||
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-fps/legends/legends-0.4.1.43.ebuild,v 1.7 2013/04/21 10:10:53 ulm Exp $
|
||||
|
||||
inherit eutils unpacker games
|
||||
|
||||
MY_P=${PN}_linux-${PV}
|
||||
dir=${GAMES_PREFIX_OPT}/${PN}
|
||||
|
||||
DESCRIPTION="Fast-paced first-person-shooter online multiplayer game, similar to Tribes"
|
||||
HOMEPAGE="http://legendsthegame.net/"
|
||||
SRC_URI="http://legendsthegame.net/files/${MY_P}.run
|
||||
mirror://gentoo/${PN}.png"
|
||||
|
||||
LICENSE="Legends LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* x86"
|
||||
IUSE="dedicated"
|
||||
RESTRICT="strip"
|
||||
|
||||
QA_TEXTRELS="${dir:1}/libSDL-1.3.so.0"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=media-libs/libsdl-1.2
|
||||
media-libs/libogg
|
||||
media-libs/libvorbis
|
||||
media-libs/openal
|
||||
sys-libs/glibc
|
||||
amd64? ( >=app-emulation/emul-linux-x86-sdl-2.1
|
||||
>=app-emulation/emul-linux-x86-soundlibs-2.1 )
|
||||
media-fonts/font-adobe-75dpi"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
unpack_makeself ${MY_P}.run
|
||||
cd "${S}"
|
||||
|
||||
# keep libSDL-1.3.so because legends requires it as of 0.4.0, and
|
||||
# 1.2.6 is highest in portage
|
||||
# rm libSDL-*.so*
|
||||
rm runlegends libSDL-1.2.so.0 libopenal.so libogg.so.0 libvorbis.so.0 *.DLL
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "${dir}"
|
||||
doins -r * || die "doins * failed"
|
||||
|
||||
rm "${D}/${dir}/"/{lindedicated,LinLegends,*.so.0}
|
||||
exeinto "${dir}"
|
||||
doexe lindedicated LinLegends *.so.0 || die "doexe failed"
|
||||
|
||||
games_make_wrapper ${PN} "./LinLegends" "${dir}" "${dir}"
|
||||
if use dedicated ; then
|
||||
games_make_wrapper ${PN}-ded "./lindedicated" "${dir}" "${dir}"
|
||||
fi
|
||||
|
||||
doicon "${DISTDIR}"/${PN}.png || die "doicon failed"
|
||||
make_desktop_entry legends "Legends"
|
||||
|
||||
prepgamesdirs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
games_pkg_postinst
|
||||
|
||||
ewarn "Version ${PV} of ${PN} may give problems if there are"
|
||||
ewarn "config-files from earlier versions. Removing the ~/.legends dir"
|
||||
ewarn "and restarting will solve this."
|
||||
echo
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
DIST memonix-addons-1.tar.bz2 3551955 SHA256 f33a47956920bebb71b23a837fa2c12351e157f1836c807af78d1e7e6dceb97e SHA512 1eb122c3e2b76b57d43232234c44047e59a9b16d729d842f6010f6a0b94170008ca26a04de0d2de2e04d5350fdb45b6d8e043052bfc5d8ba22aaab7738ae5cdd WHIRLPOOL b23a96ab56ee0828a117f0fbe88f50a6dcd0b2de0a2d963c1604108a5bc87fc7da6d60e981a5731234573d9aa3e6b39e16a6b4d3eb3117c0d4bad697eb5924c6
|
||||
DIST memx16.tar.gz 6858043 SHA256 bc1ce3d17fb129b58bc6357942879697a62cc16db6e65c3d2b08bf64da2f88dd SHA512 535eb488074ab35806b2dd74aa9ad076bdc915c287cc44193682755bf9c0ae9aa62bfe8c615b587eef92266a9f5a024036f48604e3ff9eb68854ba7b6b156806 WHIRLPOOL 1d2a3dee79b8546b61933c72af4541881cf0f14247b00602483e65b9598f6ca8117f060d6d214f8c4b7d1d17eb7d02fe3e5544542d9630725927ed977a750490
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/games-kids/memonix-bin/memonix-bin-1.6.ebuild,v 1.4 2009/11/21 19:33:55 maekke Exp $
|
||||
|
||||
inherit eutils games
|
||||
|
||||
MY_PN=${PN%-bin}
|
||||
DESCRIPTION="Brain teasers, puzzle and memory games for kid's in one pack"
|
||||
HOMEPAGE="http://www.viewizard.com/memonix/"
|
||||
SRC_URI="http://www.viewizard.com/download/memx${PV//./}.tar.gz
|
||||
mirror://gentoo/memonix-addons-1.tar.bz2"
|
||||
|
||||
LICENSE="Memonix"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86"
|
||||
IUSE=""
|
||||
RESTRICT="strip"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}/Memonix
|
||||
|
||||
src_install() {
|
||||
exeinto "${GAMES_PREFIX_OPT}/${MY_PN}"
|
||||
doexe Memonix || die "doexe failed"
|
||||
insinto "${GAMES_PREFIX_OPT}/${MY_PN}"
|
||||
doins gamedata.vfs "${WORKDIR}"/addons/* || die "doins failed"
|
||||
dodoc Changes ReadMe
|
||||
|
||||
games_make_wrapper ${MY_PN} "./Memonix" "${GAMES_PREFIX_OPT}/${MY_PN}"
|
||||
newicon icon48.png ${MY_PN}.png || die "newicon failed"
|
||||
make_desktop_entry ${MY_PN} "Memonix" ${MY_PN}
|
||||
prepgamesdirs
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>games</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,17 @@
|
||||
--- meandmyshadow-0.4.orig/CMakeLists.txt
|
||||
+++ meandmyshadow-0.4/CMakeLists.txt
|
||||
@@ -15,13 +15,12 @@
|
||||
Find_Package(CURL REQUIRED)
|
||||
Find_Package(LibArchive REQUIRED)
|
||||
Find_Package(OpenSSL REQUIRED)
|
||||
+Find_Package(X11 REQUIRED)
|
||||
|
||||
#Use openGL only when compiling with HARDWARE_ACCELERATION.
|
||||
#Otherwise we try to find XLib.
|
||||
if(HARDWARE_ACCELERATION)
|
||||
Find_Package(OpenGL REQUIRED)
|
||||
-else(HARDWARE_ACCELERATION)
|
||||
- INCLUDE(FindX11)
|
||||
endif(HARDWARE_ACCELERATION)
|
||||
|
||||
#Add the include dirs of the libraries.
|
@ -1,2 +1 @@
|
||||
DIST couriersrs-0.1.1.tar.gz 470841 SHA256 9e5967dabc81cfc3e0b35928091739f154c2ce27381ebe5f49bf5e0207b5ab48
|
||||
DIST couriersrs-0.1.2.tar.gz 521868 SHA256 44890a3348f3c6630ec6eca0cc9b2d755d5cce44e100439d22acbb3da6f94109
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/couriersrs/couriersrs-0.1.1.ebuild,v 1.2 2014/08/10 21:15:49 slyfox Exp $
|
||||
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="SRS (Sender Rewriting Scheme) wrapper for the courier MTA"
|
||||
HOMEPAGE="http://couriersrs.com/"
|
||||
SRC_URI="http://couriersrs.com/download/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
DEPEND="dev-libs/popt
|
||||
mail-filter/libsrs2"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
rm `grep -l gettext m4/*.m4`
|
||||
epatch "${FILESDIR}/${P}-libtool-automake-fixes.diff"
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf || die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS NEWS ChangeLog
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
--- couriersrs-0.1.1/configure.ac 2007-03-26 23:17:30.000000000 +0200
|
||||
+++ couriersrs-0.1.1-1/configure.ac 2009-09-19 22:15:37.000000000 +0200
|
||||
@@ -24,9 +24,6 @@
|
||||
|
||||
AC_SUBST([localedir], ['${datadir}/locale'])
|
||||
|
||||
-dnl use libtool to compile checks (particularly lib checks), mostly so we don't have to worry about how/if the os supports -R
|
||||
-ac_link="${SHELL} ${srcdir}/libtool --mode=link $ac_link"
|
||||
-
|
||||
dnl headers we need
|
||||
AC_HEADER_STDC
|
||||
|
||||
diff -Naur couriersrs-0.1.1/intl/Makefile.in couriersrs-0.1.1-x/intl/Makefile.in
|
||||
--- couriersrs-0.1.1/intl/Makefile.in 2007-03-15 20:59:02.000000000 +0100
|
||||
+++ couriersrs-0.1.1-x/intl/Makefile.in 2009-09-19 23:36:54.000000000 +0200
|
||||
@@ -39,8 +39,7 @@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
-MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
-mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
|
||||
+mkinstalldirs = @mkdir_p@
|
||||
|
||||
l = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
||||
|
||||
diff -Naur couriersrs-0.1.1/m4/Makefile.in couriersrs-0.1.1-x/m4/Makefile.in
|
||||
--- couriersrs-0.1.1/m4/Makefile.in 2007-03-26 23:17:43.000000000 +0200
|
||||
+++ couriersrs-0.1.1-x/m4/Makefile.in 2009-09-19 23:28:26.000000000 +0200
|
||||
@@ -127,7 +127,7 @@
|
||||
LTLIBINTL = @LTLIBINTL@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
-MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
+MKINSTALLDIRS = @mkdir_p@
|
||||
MSGFMT = @MSGFMT@
|
||||
MSGMERGE = @MSGMERGE@
|
||||
OBJEXT = @OBJEXT@
|
||||
diff -Naur couriersrs-0.1.1/Makefile.in couriersrs-0.1.1-x/Makefile.in
|
||||
--- couriersrs-0.1.1/Makefile.in 2007-03-26 23:17:44.000000000 +0200
|
||||
+++ couriersrs-0.1.1-x/Makefile.in 2009-09-19 23:28:26.000000000 +0200
|
||||
@@ -174,7 +174,7 @@
|
||||
LTLIBINTL = @LTLIBINTL@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
-MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
+MKINSTALLDIRS = @mkdir_p@
|
||||
MSGFMT = @MSGFMT@
|
||||
MSGMERGE = @MSGMERGE@
|
||||
OBJEXT = @OBJEXT@
|
||||
diff -Naur couriersrs-0.1.1/po/Makefile.in.in couriersrs-0.1.1-x/po/Makefile.in.in
|
||||
--- couriersrs-0.1.1/po/Makefile.in.in 2007-03-15 20:59:04.000000000 +0100
|
||||
+++ couriersrs-0.1.1-x/po/Makefile.in.in 2009-09-19 23:36:00.000000000 +0200
|
||||
@@ -28,8 +28,7 @@
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
-MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||
-mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
|
||||
+mkinstalldirs = @mkdir_p@
|
||||
|
||||
GMSGFMT = @GMSGFMT@
|
||||
MSGFMT = @MSGFMT@
|
@ -1,134 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.102.ebuild,v 1.3 2012/06/04 23:45:28 zmedico Exp $
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Distributed Checksum Clearinghouse"
|
||||
HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
|
||||
SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${PN}-${PV}.tar.Z"
|
||||
|
||||
LICENSE="DCC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="ipv6 rrdtool milter"
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
rrdtool? ( net-analyzer/rrdtool )
|
||||
|| ( net-misc/wget www-client/fetch net-misc/curl net-ftp/ftp )
|
||||
milter? ( mail-filter/libmilter )"
|
||||
DEPEND="sys-apps/sed
|
||||
sys-devel/gcc
|
||||
${RDEPEND}"
|
||||
|
||||
dcc_cgibin=/var/www/localhost/cgi-bin/dcc
|
||||
dcc_homedir=/var/dcc
|
||||
dcc_libexec=/usr/sbin
|
||||
dcc_man=/usr/share/man
|
||||
dcc_rundir=/var/run/dcc
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-1.3.86.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
myconf="${myconf} --homedir=${dcc_homedir}"
|
||||
myconf="${myconf} --bindir=/usr/bin"
|
||||
myconf="${myconf} --libexecdir=${dcc_libexec}"
|
||||
myconf="${myconf} --mandir=/usr/share/man"
|
||||
myconf="${myconf} --with-updatedcc_pfile=${dcc_homedir}/updatecc.pfile"
|
||||
myconf="${myconf} --with-installroot=${D}"
|
||||
myconf="${myconf} --with-DCC-MD5"
|
||||
myconf="${myconf} --with-uid=root"
|
||||
myconf="${myconf} --enable-server"
|
||||
myconf="${myconf} --enable-dccifd"
|
||||
#myconf="${myconf} --without-cgibin"
|
||||
myconf="${myconf} --with-cgibin=${dcc_cgibin}"
|
||||
myconf="${myconf} --with-rundir=${dcc_rundir}"
|
||||
myconf="${myconf} --with-db-memory=64"
|
||||
myconf="${myconf} --with-max-db-mem=128"
|
||||
myconf="${myconf} --with-max-log-size=0"
|
||||
myconf="${myconf} $(use_enable ipv6 IPv6)"
|
||||
|
||||
if use milter ; then
|
||||
myconf="${myconf} --enable-dccm"
|
||||
myconf="${myconf} --with-sendmail="
|
||||
else
|
||||
myconf="${myconf} --disable-dccm"
|
||||
fi
|
||||
|
||||
einfo "Using config: ${myconf}"
|
||||
|
||||
./configure ${myconf} || die "configure failed!"
|
||||
#make -C homedir
|
||||
emake || die "emake failed!"
|
||||
}
|
||||
|
||||
moveconf() {
|
||||
for i in $@; do
|
||||
local into=/etc/dcc/
|
||||
mv "${D}"${dcc_homedir}/${i} "${D}"${into}
|
||||
dosym ${into}${i} ${dcc_homedir}/${i}
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# stolen from the RPM .spec and modified for gentoo
|
||||
MANOWN=root MANGRP=root export MANOWN MANGRP
|
||||
BINOWN=$MANOWN BINGRP=$MANGRP export BINOWN BINGRP
|
||||
DCC_PROTO_HOMEDIR="${D}${dcc_homedir}" export DCC_PROTO_HOMEDIR
|
||||
DCC_CGIBINDIR="${D}${dcc_cgibin}" export DCC_CGIBINDIR
|
||||
DCC_SUID=$BINOWN DCC_OWN=$BINOWN DCC_GRP=$BINGRP export DCC_SUID DCC_OWN DCC_GRP
|
||||
|
||||
dodir /etc/cron.daily ${dcc_homedir} ${dcc_cgibin} /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc
|
||||
keepdir /var/run/dcc /var/log/dcc
|
||||
|
||||
addwrite "${dcc_homedir}/map"
|
||||
# This package now takes "${D}" at compile-time!
|
||||
# make DESTDIR="${D}" DCC_BINDIR="${D}"/usr/bin MANDIR="${D}"/usr/share/man/man DCC_HOMEDIR="${D}"${dcc_homedir} install || die
|
||||
emake install || die
|
||||
|
||||
einfo "Branding and setting reasonable defaults"
|
||||
sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \
|
||||
-e "s/DCCM_LOG_AT=5\$/DCCM_LOG_AT=50/;" \
|
||||
-e "s,DCCM_LOGDIR=log\$,DCCM_LOGDIR=/var/log/dcc,;" \
|
||||
-e "s/DCCM_ARGS=\$/DCCM_ARGS='-SHELO -Smail_host -SSender -SList-ID'/;" \
|
||||
-e "s/DCCIFD_ARGS=\$/DCCIFD_ARGS=\"\$DCCM_ARGS\"/;" \
|
||||
-e 's/DCCIFD_ENABLE=off/DCCIFD_ENABLE=on/' \
|
||||
-i "${D}"${dcc_homedir}/dcc_conf
|
||||
|
||||
einfo "Enabling milter"
|
||||
if use milter ; then
|
||||
sed -i -e "s:^[\t #]*\(DCCM_ENABLE[\t ]*=[\t ]*\).*:\1on:g" \
|
||||
"${D}"${dcc_homedir}/dcc_conf
|
||||
fi
|
||||
|
||||
einfo "Providing cronjob"
|
||||
mv "${D}"/usr/sbin/cron-dccd "${D}"/etc/cron.daily/dccd
|
||||
|
||||
einfo "Cleaning up"
|
||||
mv "${D}"/usr/sbin/logger "${D}"/usr/sbin/logger-dcc
|
||||
|
||||
statslist="${D}/usr/sbin/{dcc-stats-graph,dcc-stats-init,dcc-stats-collect}"
|
||||
if ! use rrdtool; then
|
||||
einfo "Removing rrdtool interface scripts"
|
||||
eval rm -f ${statslist} || die "Failed to clean up rrdtool scripts"
|
||||
fi
|
||||
|
||||
einfo "Cleaning up"
|
||||
rm -f "${D}"/usr/sbin/{rcDCC,updatedcc}
|
||||
|
||||
einfo "Placing configuration files into /etc instead of /var/dcc"
|
||||
moveconf dcc_conf flod grey_flod grey_whitelist ids map map.txt whiteclnt whitecommon whitelist
|
||||
|
||||
einfo "Install conf.d configuration"
|
||||
newconfd "${FILESDIR}"/dcc.confd dcc
|
||||
|
||||
einfo "Install init.d script"
|
||||
newinitd "${FILESDIR}"/dcc.initd dcc
|
||||
|
||||
rmdir "${D}"/var/dcc/log/
|
||||
}
|
@ -1,135 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.119-r1.ebuild,v 1.1 2010/07/10 22:18:20 hwoarang Exp $
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Distributed Checksum Clearinghouse"
|
||||
HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
|
||||
SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${PN}-${PV}.tar.Z"
|
||||
|
||||
LICENSE="DCC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="ipv6 rrdtool milter"
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
rrdtool? ( net-analyzer/rrdtool )
|
||||
|| ( net-misc/wget www-client/fetch net-misc/curl net-ftp/ftp )
|
||||
milter? ( mail-filter/libmilter )"
|
||||
DEPEND="sys-apps/sed
|
||||
sys-devel/gcc
|
||||
${RDEPEND}"
|
||||
|
||||
dcc_cgibin=/var/www/localhost/cgi-bin/dcc
|
||||
dcc_homedir=/var/dcc
|
||||
dcc_libexec=/usr/sbin
|
||||
dcc_man=/usr/share/man
|
||||
dcc_rundir=/var/run/dcc
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
#cd "${S}"
|
||||
#epatch "${FILESDIR}"/${PN}-1.3.86.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
myconf="${myconf} --homedir=${dcc_homedir}"
|
||||
myconf="${myconf} --bindir=/usr/bin"
|
||||
myconf="${myconf} --libexecdir=${dcc_libexec}"
|
||||
myconf="${myconf} --mandir=/usr/share/man"
|
||||
myconf="${myconf} --with-updatedcc_pfile=${dcc_homedir}/updatecc.pfile"
|
||||
myconf="${myconf} --with-installroot=${D}"
|
||||
myconf="${myconf} --with-DCC-MD5"
|
||||
myconf="${myconf} --with-uid=root"
|
||||
myconf="${myconf} --enable-server"
|
||||
myconf="${myconf} --enable-dccifd"
|
||||
#myconf="${myconf} --without-cgibin"
|
||||
myconf="${myconf} --with-cgibin=${dcc_cgibin}"
|
||||
myconf="${myconf} --with-rundir=${dcc_rundir}"
|
||||
myconf="${myconf} --with-db-memory=64"
|
||||
myconf="${myconf} --with-max-db-mem=128"
|
||||
myconf="${myconf} --with-max-log-size=0"
|
||||
myconf="${myconf} $(use_enable ipv6 IPv6)"
|
||||
|
||||
if use milter ; then
|
||||
myconf="${myconf} --enable-dccm"
|
||||
myconf="${myconf} --with-sendmail="
|
||||
else
|
||||
myconf="${myconf} --disable-dccm"
|
||||
fi
|
||||
|
||||
einfo "Using config: ${myconf}"
|
||||
|
||||
# This is NOT a normal configure script.
|
||||
./configure ${myconf} || die "configure failed!"
|
||||
#make -C homedir
|
||||
emake CC="$(tc-getCC)" || die "emake failed!"
|
||||
}
|
||||
|
||||
moveconf() {
|
||||
for i in $@; do
|
||||
local into=/etc/dcc/
|
||||
mv "${D}"${dcc_homedir}/${i} "${D}"${into}
|
||||
dosym ${into}${i} ${dcc_homedir}/${i}
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# stolen from the RPM .spec and modified for gentoo
|
||||
MANOWN=root MANGRP=root export MANOWN MANGRP
|
||||
BINOWN=$MANOWN BINGRP=$MANGRP export BINOWN BINGRP
|
||||
DCC_PROTO_HOMEDIR="${D}${dcc_homedir}" export DCC_PROTO_HOMEDIR
|
||||
DCC_CGIBINDIR="${D}${dcc_cgibin}" export DCC_CGIBINDIR
|
||||
DCC_SUID=$BINOWN DCC_OWN=$BINOWN DCC_GRP=$BINGRP export DCC_SUID DCC_OWN DCC_GRP
|
||||
|
||||
dodir /etc/cron.daily ${dcc_homedir} ${dcc_cgibin} /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc
|
||||
keepdir /var/run/dcc /var/log/dcc
|
||||
|
||||
addwrite "${dcc_homedir}/map"
|
||||
# This package now takes "${D}" at compile-time!
|
||||
# make DESTDIR="${D}" DCC_BINDIR="${D}"/usr/bin MANDIR="${D}"/usr/share/man/man DCC_HOMEDIR="${D}"${dcc_homedir} install || die
|
||||
emake install || die
|
||||
|
||||
einfo "Branding and setting reasonable defaults"
|
||||
sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \
|
||||
-e "s/DCCM_LOG_AT=5\$/DCCM_LOG_AT=50/;" \
|
||||
-e "s,DCCM_LOGDIR=log\$,DCCM_LOGDIR=/var/log/dcc,;" \
|
||||
-e "s/DCCM_ARGS=\$/DCCM_ARGS='-SHELO -Smail_host -SSender -SList-ID'/;" \
|
||||
-e "s/DCCIFD_ARGS=\$/DCCIFD_ARGS=\"\$DCCM_ARGS\"/;" \
|
||||
-e 's/DCCIFD_ENABLE=off/DCCIFD_ENABLE=on/' \
|
||||
-i "${D}"${dcc_homedir}/dcc_conf
|
||||
|
||||
einfo "Enabling milter"
|
||||
if use milter ; then
|
||||
sed -i -e "s:^[\t #]*\(DCCM_ENABLE[\t ]*=[\t ]*\).*:\1on:g" \
|
||||
"${D}"${dcc_homedir}/dcc_conf
|
||||
fi
|
||||
|
||||
einfo "Providing cronjob"
|
||||
mv "${D}"/usr/sbin/cron-dccd "${D}"/etc/cron.daily/dccd
|
||||
|
||||
einfo "Cleaning up"
|
||||
mv "${D}"/usr/sbin/logger "${D}"/usr/sbin/logger-dcc
|
||||
|
||||
statslist="${D}/usr/sbin/{dcc-stats-graph,dcc-stats-init,dcc-stats-collect}"
|
||||
if ! use rrdtool; then
|
||||
einfo "Removing rrdtool interface scripts"
|
||||
eval rm -f ${statslist} || die "Failed to clean up rrdtool scripts"
|
||||
fi
|
||||
|
||||
einfo "Cleaning up"
|
||||
rm -f "${D}"/usr/sbin/{rcDCC,updatedcc}
|
||||
|
||||
einfo "Placing configuration files into /etc instead of /var/dcc"
|
||||
moveconf dcc_conf flod grey_flod grey_whitelist ids map map.txt whiteclnt whitecommon whitelist
|
||||
|
||||
einfo "Install conf.d configuration"
|
||||
newconfd "${FILESDIR}"/dcc.confd dcc
|
||||
|
||||
einfo "Install init.d script"
|
||||
newinitd "${FILESDIR}"/dcc.initd dcc
|
||||
|
||||
rmdir "${D}"/var/dcc/log/
|
||||
}
|
@ -1,135 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.119.ebuild,v 1.2 2010/02/01 17:42:36 mr_bones_ Exp $
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="Distributed Checksum Clearinghouse"
|
||||
HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
|
||||
SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${PN}-${PV}.tar.Z"
|
||||
|
||||
LICENSE="DCC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="ipv6 rrdtool milter"
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
rrdtool? ( net-analyzer/rrdtool )
|
||||
|| ( net-misc/wget www-client/fetch net-misc/curl net-ftp/ftp )
|
||||
milter? ( mail-filter/libmilter )"
|
||||
DEPEND="sys-apps/sed
|
||||
sys-devel/gcc
|
||||
${RDEPEND}"
|
||||
|
||||
dcc_cgibin=/var/www/localhost/cgi-bin/dcc
|
||||
dcc_homedir=/var/dcc
|
||||
dcc_libexec=/usr/sbin
|
||||
dcc_man=/usr/share/man
|
||||
dcc_rundir=/var/run/dcc
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
#cd "${S}"
|
||||
#epatch "${FILESDIR}"/${PN}-1.3.86.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
myconf="${myconf} --homedir=${dcc_homedir}"
|
||||
myconf="${myconf} --bindir=/usr/bin"
|
||||
myconf="${myconf} --libexecdir=${dcc_libexec}"
|
||||
myconf="${myconf} --mandir=/usr/share/man"
|
||||
myconf="${myconf} --with-updatedcc_pfile=${dcc_homedir}/updatecc.pfile"
|
||||
myconf="${myconf} --with-installroot=${D}"
|
||||
myconf="${myconf} --with-DCC-MD5"
|
||||
myconf="${myconf} --with-uid=root"
|
||||
myconf="${myconf} --enable-server"
|
||||
myconf="${myconf} --enable-dccifd"
|
||||
#myconf="${myconf} --without-cgibin"
|
||||
myconf="${myconf} --with-cgibin=${dcc_cgibin}"
|
||||
myconf="${myconf} --with-rundir=${dcc_rundir}"
|
||||
myconf="${myconf} --with-db-memory=64"
|
||||
myconf="${myconf} --with-max-db-mem=128"
|
||||
myconf="${myconf} --with-max-log-size=0"
|
||||
myconf="${myconf} $(use_enable ipv6 IPv6)"
|
||||
|
||||
if use milter ; then
|
||||
myconf="${myconf} --enable-dccm"
|
||||
myconf="${myconf} --with-sendmail="
|
||||
else
|
||||
myconf="${myconf} --disable-dccm"
|
||||
fi
|
||||
|
||||
einfo "Using config: ${myconf}"
|
||||
|
||||
# This is NOT a normal configure script.
|
||||
./configure ${myconf} || die "configure failed!"
|
||||
#make -C homedir
|
||||
emake || die "emake failed!"
|
||||
}
|
||||
|
||||
moveconf() {
|
||||
for i in $@; do
|
||||
local into=/etc/dcc/
|
||||
mv "${D}"${dcc_homedir}/${i} "${D}"${into}
|
||||
dosym ${into}${i} ${dcc_homedir}/${i}
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# stolen from the RPM .spec and modified for gentoo
|
||||
MANOWN=root MANGRP=root export MANOWN MANGRP
|
||||
BINOWN=$MANOWN BINGRP=$MANGRP export BINOWN BINGRP
|
||||
DCC_PROTO_HOMEDIR="${D}${dcc_homedir}" export DCC_PROTO_HOMEDIR
|
||||
DCC_CGIBINDIR="${D}${dcc_cgibin}" export DCC_CGIBINDIR
|
||||
DCC_SUID=$BINOWN DCC_OWN=$BINOWN DCC_GRP=$BINGRP export DCC_SUID DCC_OWN DCC_GRP
|
||||
|
||||
dodir /etc/cron.daily ${dcc_homedir} ${dcc_cgibin} /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc
|
||||
keepdir /var/run/dcc /var/log/dcc
|
||||
|
||||
addwrite "${dcc_homedir}/map"
|
||||
# This package now takes "${D}" at compile-time!
|
||||
# make DESTDIR="${D}" DCC_BINDIR="${D}"/usr/bin MANDIR="${D}"/usr/share/man/man DCC_HOMEDIR="${D}"${dcc_homedir} install || die
|
||||
emake install || die
|
||||
|
||||
einfo "Branding and setting reasonable defaults"
|
||||
sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \
|
||||
-e "s/DCCM_LOG_AT=5\$/DCCM_LOG_AT=50/;" \
|
||||
-e "s,DCCM_LOGDIR=log\$,DCCM_LOGDIR=/var/log/dcc,;" \
|
||||
-e "s/DCCM_ARGS=\$/DCCM_ARGS='-SHELO -Smail_host -SSender -SList-ID'/;" \
|
||||
-e "s/DCCIFD_ARGS=\$/DCCIFD_ARGS=\"\$DCCM_ARGS\"/;" \
|
||||
-e 's/DCCIFD_ENABLE=off/DCCIFD_ENABLE=on/' \
|
||||
-i "${D}"${dcc_homedir}/dcc_conf
|
||||
|
||||
einfo "Enabling milter"
|
||||
if use milter ; then
|
||||
sed -i -e "s:^[\t #]*\(DCCM_ENABLE[\t ]*=[\t ]*\).*:\1on:g" \
|
||||
"${D}"${dcc_homedir}/dcc_conf
|
||||
fi
|
||||
|
||||
einfo "Providing cronjob"
|
||||
mv "${D}"/usr/sbin/cron-dccd "${D}"/etc/cron.daily/dccd
|
||||
|
||||
einfo "Cleaning up"
|
||||
mv "${D}"/usr/sbin/logger "${D}"/usr/sbin/logger-dcc
|
||||
|
||||
statslist="${D}/usr/sbin/{dcc-stats-graph,dcc-stats-init,dcc-stats-collect}"
|
||||
if ! use rrdtool; then
|
||||
einfo "Removing rrdtool interface scripts"
|
||||
eval rm -f ${statslist} || die "Failed to clean up rrdtool scripts"
|
||||
fi
|
||||
|
||||
einfo "Cleaning up"
|
||||
rm -f "${D}"/usr/sbin/{rcDCC,updatedcc}
|
||||
|
||||
einfo "Placing configuration files into /etc instead of /var/dcc"
|
||||
moveconf dcc_conf flod grey_flod grey_whitelist ids map map.txt whiteclnt whitecommon whitelist
|
||||
|
||||
einfo "Install conf.d configuration"
|
||||
newconfd "${FILESDIR}"/dcc.confd dcc
|
||||
|
||||
einfo "Install init.d script"
|
||||
newinitd "${FILESDIR}"/dcc.initd dcc
|
||||
|
||||
rmdir "${D}"/var/dcc/log/
|
||||
}
|
@ -1,135 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.135.ebuild,v 1.1 2011/01/25 04:21:27 robbat2 Exp $
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Distributed Checksum Clearinghouse"
|
||||
HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
|
||||
SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${PN}-${PV}.tar.Z"
|
||||
|
||||
LICENSE="DCC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="ipv6 rrdtool milter"
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
rrdtool? ( net-analyzer/rrdtool )
|
||||
|| ( net-misc/wget www-client/fetch net-misc/curl net-ftp/ftp )
|
||||
milter? ( mail-filter/libmilter )"
|
||||
DEPEND="sys-apps/sed
|
||||
sys-devel/gcc
|
||||
${RDEPEND}"
|
||||
|
||||
dcc_cgibin=/var/www/localhost/cgi-bin/dcc
|
||||
dcc_homedir=/var/dcc
|
||||
dcc_libexec=/usr/sbin
|
||||
dcc_man=/usr/share/man
|
||||
dcc_rundir=/var/run/dcc
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
#cd "${S}"
|
||||
#epatch "${FILESDIR}"/${PN}-1.3.86.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
myconf="${myconf} --homedir=${dcc_homedir}"
|
||||
myconf="${myconf} --bindir=/usr/bin"
|
||||
myconf="${myconf} --libexecdir=${dcc_libexec}"
|
||||
myconf="${myconf} --mandir=/usr/share/man"
|
||||
myconf="${myconf} --with-updatedcc_pfile=${dcc_homedir}/updatecc.pfile"
|
||||
myconf="${myconf} --with-installroot=${D}"
|
||||
myconf="${myconf} --with-DCC-MD5"
|
||||
myconf="${myconf} --with-uid=root"
|
||||
myconf="${myconf} --enable-server"
|
||||
myconf="${myconf} --enable-dccifd"
|
||||
#myconf="${myconf} --without-cgibin"
|
||||
myconf="${myconf} --with-cgibin=${dcc_cgibin}"
|
||||
myconf="${myconf} --with-rundir=${dcc_rundir}"
|
||||
myconf="${myconf} --with-db-memory=64"
|
||||
myconf="${myconf} --with-max-db-mem=128"
|
||||
myconf="${myconf} --with-max-log-size=0"
|
||||
myconf="${myconf} $(use_enable ipv6 IPv6)"
|
||||
|
||||
if use milter ; then
|
||||
myconf="${myconf} --enable-dccm"
|
||||
myconf="${myconf} --with-sendmail="
|
||||
else
|
||||
myconf="${myconf} --disable-dccm"
|
||||
fi
|
||||
|
||||
einfo "Using config: ${myconf}"
|
||||
|
||||
# This is NOT a normal configure script.
|
||||
./configure ${myconf} || die "configure failed!"
|
||||
#make -C homedir
|
||||
emake CC="$(tc-getCC)" || die "emake failed!"
|
||||
}
|
||||
|
||||
moveconf() {
|
||||
for i in $@; do
|
||||
local into=/etc/dcc/
|
||||
mv "${D}"${dcc_homedir}/${i} "${D}"${into}
|
||||
dosym ${into}${i} ${dcc_homedir}/${i}
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# stolen from the RPM .spec and modified for gentoo
|
||||
MANOWN=root MANGRP=root export MANOWN MANGRP
|
||||
BINOWN=$MANOWN BINGRP=$MANGRP export BINOWN BINGRP
|
||||
DCC_PROTO_HOMEDIR="${D}${dcc_homedir}" export DCC_PROTO_HOMEDIR
|
||||
DCC_CGIBINDIR="${D}${dcc_cgibin}" export DCC_CGIBINDIR
|
||||
DCC_SUID=$BINOWN DCC_OWN=$BINOWN DCC_GRP=$BINGRP export DCC_SUID DCC_OWN DCC_GRP
|
||||
|
||||
dodir /etc/cron.daily ${dcc_homedir} ${dcc_cgibin} /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc
|
||||
keepdir /var/run/dcc /var/log/dcc
|
||||
|
||||
addwrite "${dcc_homedir}/map"
|
||||
# This package now takes "${D}" at compile-time!
|
||||
# make DESTDIR="${D}" DCC_BINDIR="${D}"/usr/bin MANDIR="${D}"/usr/share/man/man DCC_HOMEDIR="${D}"${dcc_homedir} install || die
|
||||
emake install || die
|
||||
|
||||
einfo "Branding and setting reasonable defaults"
|
||||
sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \
|
||||
-e "s/DCCM_LOG_AT=5\$/DCCM_LOG_AT=50/;" \
|
||||
-e "s,DCCM_LOGDIR=log\$,DCCM_LOGDIR=/var/log/dcc,;" \
|
||||
-e "s/DCCM_ARGS=\$/DCCM_ARGS='-SHELO -Smail_host -SSender -SList-ID'/;" \
|
||||
-e "s/DCCIFD_ARGS=\$/DCCIFD_ARGS=\"\$DCCM_ARGS\"/;" \
|
||||
-e 's/DCCIFD_ENABLE=off/DCCIFD_ENABLE=on/' \
|
||||
-i "${D}"${dcc_homedir}/dcc_conf
|
||||
|
||||
einfo "Enabling milter"
|
||||
if use milter ; then
|
||||
sed -i -e "s:^[\t #]*\(DCCM_ENABLE[\t ]*=[\t ]*\).*:\1on:g" \
|
||||
"${D}"${dcc_homedir}/dcc_conf
|
||||
fi
|
||||
|
||||
einfo "Providing cronjob"
|
||||
mv "${D}"/usr/sbin/cron-dccd "${D}"/etc/cron.daily/dccd
|
||||
|
||||
einfo "Cleaning up"
|
||||
mv "${D}"/usr/sbin/logger "${D}"/usr/sbin/logger-dcc
|
||||
|
||||
statslist="${D}/usr/sbin/{dcc-stats-graph,dcc-stats-init,dcc-stats-collect}"
|
||||
if ! use rrdtool; then
|
||||
einfo "Removing rrdtool interface scripts"
|
||||
eval rm -f ${statslist} || die "Failed to clean up rrdtool scripts"
|
||||
fi
|
||||
|
||||
einfo "Cleaning up"
|
||||
rm -f "${D}"/usr/sbin/{rcDCC,updatedcc}
|
||||
|
||||
einfo "Placing configuration files into /etc instead of /var/dcc"
|
||||
moveconf dcc_conf flod grey_flod grey_whitelist ids map map.txt whiteclnt whitecommon whitelist
|
||||
|
||||
einfo "Install conf.d configuration"
|
||||
newconfd "${FILESDIR}"/dcc.confd dcc
|
||||
|
||||
einfo "Install init.d script"
|
||||
newinitd "${FILESDIR}"/dcc.initd dcc
|
||||
|
||||
rmdir "${D}"/var/dcc/log/
|
||||
}
|
@ -1,110 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.55.ebuild,v 1.11 2009/09/23 17:52:47 patrick Exp $
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="Distributed Checksum Clearinghouse"
|
||||
HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
|
||||
MY_P="dcc-dccd-${PV}"
|
||||
SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/${MY_P}.tar.Z"
|
||||
|
||||
LICENSE="DCC"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
|
||||
IUSE="ipv6 rrdtool"
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
rrdtool? ( net-analyzer/rrdtool )
|
||||
|| ( net-misc/wget www-client/fetch net-misc/curl net-ftp/ftp )"
|
||||
DEPEND="sys-apps/sed
|
||||
sys-devel/gcc
|
||||
${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
dcc_cgibin=/var/www/localhost/cgi-bin/dcc
|
||||
dcc_homedir=/var/dcc
|
||||
dcc_libexec=/usr/sbin
|
||||
dcc_man=/usr/share/man
|
||||
dcc_rundir=/var/run/dcc
|
||||
|
||||
src_compile() {
|
||||
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
|
||||
misc/dcc-stats-init.in
|
||||
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
|
||||
misc/dcc-stats-graph.in
|
||||
sed -i -e "s:^RRDTOOL=/usr/local/bin/rrdtool:RRDTOOL=/usr/bin/rrdtool:" \
|
||||
misc/dcc-stats-collect.in
|
||||
sed -i -e "s:@installroot@:${D}:" \
|
||||
cgi-bin/Makefile.in
|
||||
|
||||
local myconf
|
||||
myconf="${myconf} --homedir=${dcc_homedir}"
|
||||
myconf="${myconf} --libexecdir=${dcc_libexec}"
|
||||
myconf="${myconf} --bindir=/usr/bin"
|
||||
myconf="${myconf} --mandir=/usr/share/man"
|
||||
myconf="${myconf} --with-cgibin=${dcc_cgibin}"
|
||||
myconf="${myconf} --disable-dccm"
|
||||
#myconf="${myconf} --without-cgibin"
|
||||
myconf="${myconf} --with-rundir=/var/run/dcc"
|
||||
myconf="${myconf} `use_enable ipv6 IPv6`"
|
||||
./configure ${myconf} || die "configure failed!"
|
||||
#make -C homedir
|
||||
emake || die "emake failed!"
|
||||
}
|
||||
|
||||
moveconf() {
|
||||
for i in $@; do
|
||||
local into=/etc/dcc/
|
||||
local from=/var/dcc/
|
||||
mv ${D}${from}${i} ${D}${into}
|
||||
dosym ${into}${i} ${from}${i}
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# stolen from the RPM .spec and modified for gentoo
|
||||
MANOWN=root MANGRP=root export MANOWN MANGRP
|
||||
BINOWN=$MANOWN BINGRP=$MANGRP export BINOWN BINGRP
|
||||
DCC_PROTO_HOMEDIR=${D}${dcc_homedir} export DCC_PROTO_HOMEDIR
|
||||
DCC_CGIBINDIR=${D}${dcc_cgibin} export DCC_CGIBINDIR
|
||||
DCC_SUID=$BINOWN DCC_OWN=$BINOWN DCC_GRP=$BINGRP export DCC_SUID DCC_OWN DCC_GRP
|
||||
|
||||
dodir /etc/cron.daily ${dcc_homedir} ${dcc_cgibin} /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc
|
||||
keepdir /var/run/dcc /var/log/dcc
|
||||
|
||||
make DESTDIR=${D} DCC_BINDIR=${D}/usr/bin MANDIR=${D}/usr/share/man/man DCC_HOMEDIR=${D}${dcc_homedir} install || die
|
||||
|
||||
einfo "Branding and setting reasonable defaults"
|
||||
sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \
|
||||
-e "s/DCCM_LOG_AT=5\$/DCCM_LOG_AT=50/;" \
|
||||
-e "s,DCCM_LOGDIR=log\$,DCCM_LOGDIR=/var/log/dcc,;" \
|
||||
-e "s/DCCM_ARGS=\$/DCCM_ARGS='-SHELO -Smail_host -SSender -SList-ID'/;" \
|
||||
-e "s/DCCIFD_ARGS=\$/DCCIFD_ARGS=\"\$DCCM_ARGS\"/;" \
|
||||
-e 's/DCCIFD_ENABLE=off/DCCIFD_ENABLE=on/' \
|
||||
-i ${D}${dcc_homedir}/dcc_conf
|
||||
|
||||
einfo "Providing cronjob"
|
||||
mv ${D}/usr/bin/cron-dccd ${D}/etc/cron.daily/dccd
|
||||
|
||||
einfo "Putting system code in sbin instead of bin"
|
||||
mv ${D}/usr/bin/{dbclean,dblist,dccd,dccsight,start-dccd,stop-dccd,wlist,newwebuser,stats-get,dccifd,start-grey,start-dccifd,fetch-testmsg-whitelist} ${D}/usr/sbin/ || die "Failed to move apps to sbin"
|
||||
|
||||
statslist="${D}/usr/bin/{dcc-stats-graph,dcc-stats-init,dcc-stats-collect}"
|
||||
if use rrdtool; then
|
||||
einfo "Installing rrdtool interface scripts"
|
||||
eval mv $statslist ${D}/usr/sbin/ || die "Failed to move rrdtool apps"
|
||||
else
|
||||
einfo "Removing rrdtool interface scripts"
|
||||
eval rm -f ${statslist} || die "Failed to clean up rrdtool scripts"
|
||||
fi
|
||||
|
||||
einfo "Cleaning up"
|
||||
rm -f ${D}/usr/bin/{logger,hackmc,na-spam,ng-spam,rcDCC,start-dccm,updatedcc,dns-helper}
|
||||
|
||||
einfo "Placing configuration files into /etc instead of /var/run"
|
||||
moveconf dcc_conf flod grey_flod grey_whitelist ids map.txt whiteclnt whitecommon whitelist
|
||||
|
||||
rmdir ${D}/var/dcc/log/
|
||||
}
|
@ -1,134 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.97.ebuild,v 1.8 2012/06/04 23:45:28 zmedico Exp $
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Distributed Checksum Clearinghouse"
|
||||
HOMEPAGE="http://www.rhyolite.com/anti-spam/dcc/"
|
||||
SRC_URI="http://www.rhyolite.com/anti-spam/dcc/source/old/${PN}-${PV}.tar.Z"
|
||||
|
||||
LICENSE="DCC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="ipv6 rrdtool milter"
|
||||
|
||||
RDEPEND="dev-lang/perl
|
||||
rrdtool? ( net-analyzer/rrdtool )
|
||||
|| ( net-misc/wget www-client/fetch net-misc/curl net-ftp/ftp )
|
||||
milter? ( mail-filter/libmilter )"
|
||||
DEPEND="sys-apps/sed
|
||||
sys-devel/gcc
|
||||
${RDEPEND}"
|
||||
|
||||
dcc_cgibin=/var/www/localhost/cgi-bin/dcc
|
||||
dcc_homedir=/var/dcc
|
||||
dcc_libexec=/usr/sbin
|
||||
dcc_man=/usr/share/man
|
||||
dcc_rundir=/var/run/dcc
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${PN}-1.3.86.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
myconf="${myconf} --homedir=${dcc_homedir}"
|
||||
myconf="${myconf} --bindir=/usr/bin"
|
||||
myconf="${myconf} --libexecdir=${dcc_libexec}"
|
||||
myconf="${myconf} --mandir=/usr/share/man"
|
||||
myconf="${myconf} --with-updatedcc_pfile=${dcc_homedir}/updatecc.pfile"
|
||||
myconf="${myconf} --with-installroot=${D}"
|
||||
myconf="${myconf} --with-DCC-MD5"
|
||||
myconf="${myconf} --with-uid=root"
|
||||
myconf="${myconf} --enable-server"
|
||||
myconf="${myconf} --enable-dccifd"
|
||||
#myconf="${myconf} --without-cgibin"
|
||||
myconf="${myconf} --with-cgibin=${dcc_cgibin}"
|
||||
myconf="${myconf} --with-rundir=${dcc_rundir}"
|
||||
myconf="${myconf} --with-db-memory=64"
|
||||
myconf="${myconf} --with-max-db-mem=128"
|
||||
myconf="${myconf} --with-max-log-size=0"
|
||||
myconf="${myconf} $(use_enable ipv6 IPv6)"
|
||||
|
||||
if use milter ; then
|
||||
myconf="${myconf} --enable-dccm"
|
||||
myconf="${myconf} --with-sendmail="
|
||||
else
|
||||
myconf="${myconf} --disable-dccm"
|
||||
fi
|
||||
|
||||
einfo "Using config: ${myconf}"
|
||||
|
||||
./configure ${myconf} || die "configure failed!"
|
||||
#make -C homedir
|
||||
emake || die "emake failed!"
|
||||
}
|
||||
|
||||
moveconf() {
|
||||
for i in $@; do
|
||||
local into=/etc/dcc/
|
||||
mv "${D}"${dcc_homedir}/${i} "${D}"${into}
|
||||
dosym ${into}${i} ${dcc_homedir}/${i}
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# stolen from the RPM .spec and modified for gentoo
|
||||
MANOWN=root MANGRP=root export MANOWN MANGRP
|
||||
BINOWN=$MANOWN BINGRP=$MANGRP export BINOWN BINGRP
|
||||
DCC_PROTO_HOMEDIR="${D}${dcc_homedir}" export DCC_PROTO_HOMEDIR
|
||||
DCC_CGIBINDIR="${D}${dcc_cgibin}" export DCC_CGIBINDIR
|
||||
DCC_SUID=$BINOWN DCC_OWN=$BINOWN DCC_GRP=$BINGRP export DCC_SUID DCC_OWN DCC_GRP
|
||||
|
||||
dodir /etc/cron.daily ${dcc_homedir} ${dcc_cgibin} /usr/bin /usr/sbin /usr/share/man/man{0,8} /etc/dcc
|
||||
keepdir /var/run/dcc /var/log/dcc
|
||||
|
||||
addwrite "${dcc_homedir}/map"
|
||||
# This package now takes "${D}" at compile-time!
|
||||
# make DESTDIR="${D}" DCC_BINDIR="${D}"/usr/bin MANDIR="${D}"/usr/share/man/man DCC_HOMEDIR="${D}"${dcc_homedir} install || die
|
||||
emake install || die
|
||||
|
||||
einfo "Branding and setting reasonable defaults"
|
||||
sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \
|
||||
-e "s/DCCM_LOG_AT=5\$/DCCM_LOG_AT=50/;" \
|
||||
-e "s,DCCM_LOGDIR=log\$,DCCM_LOGDIR=/var/log/dcc,;" \
|
||||
-e "s/DCCM_ARGS=\$/DCCM_ARGS='-SHELO -Smail_host -SSender -SList-ID'/;" \
|
||||
-e "s/DCCIFD_ARGS=\$/DCCIFD_ARGS=\"\$DCCM_ARGS\"/;" \
|
||||
-e 's/DCCIFD_ENABLE=off/DCCIFD_ENABLE=on/' \
|
||||
-i "${D}"${dcc_homedir}/dcc_conf
|
||||
|
||||
einfo "Enabling milter"
|
||||
if use milter ; then
|
||||
sed -i -e "s:^[\t #]*\(DCCM_ENABLE[\t ]*=[\t ]*\).*:\1on:g" \
|
||||
"${D}"${dcc_homedir}/dcc_conf
|
||||
fi
|
||||
|
||||
einfo "Providing cronjob"
|
||||
mv "${D}"/usr/sbin/cron-dccd "${D}"/etc/cron.daily/dccd
|
||||
|
||||
einfo "Cleaning up"
|
||||
mv "${D}"/usr/sbin/logger "${D}"/usr/sbin/logger-dcc
|
||||
|
||||
statslist="${D}/usr/sbin/{dcc-stats-graph,dcc-stats-init,dcc-stats-collect}"
|
||||
if ! use rrdtool; then
|
||||
einfo "Removing rrdtool interface scripts"
|
||||
eval rm -f ${statslist} || die "Failed to clean up rrdtool scripts"
|
||||
fi
|
||||
|
||||
einfo "Cleaning up"
|
||||
rm -f "${D}"/usr/sbin/{rcDCC,updatedcc}
|
||||
|
||||
einfo "Placing configuration files into /etc instead of /var/dcc"
|
||||
moveconf dcc_conf flod grey_flod grey_whitelist ids map map.txt whiteclnt whitecommon whitelist
|
||||
|
||||
einfo "Install conf.d configuration"
|
||||
newconfd "${FILESDIR}"/dcc.confd dcc
|
||||
|
||||
einfo "Install init.d script"
|
||||
newinitd "${FILESDIR}"/dcc.initd dcc
|
||||
|
||||
rmdir "${D}"/var/dcc/log/
|
||||
}
|
@ -1,254 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/sqlgrey/sqlgrey-1.7.6.ebuild,v 1.6 2012/06/05 00:08:32 zmedico Exp $
|
||||
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="SQLgrey is a postfix policy service implementing a grey-listing policy"
|
||||
SRC_URI="mirror://sourceforge/sqlgrey/${P}.tar.bz2"
|
||||
HOMEPAGE="http://sqlgrey.sourceforge.net/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="mysql postgres sqlite"
|
||||
RDEPEND="dev-lang/perl
|
||||
dev-perl/DBI
|
||||
dev-perl/net-server
|
||||
dev-perl/Date-Calc
|
||||
virtual/mailx
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
!postgres? ( !mysql? ( !sqlite? ( dev-perl/DBD-Pg ) ) )"
|
||||
DEPEND="$RDEPEND
|
||||
sys-apps/sed"
|
||||
KEYWORDS="amd64 ~sparc x86"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup sqlgrey
|
||||
enewuser sqlgrey -1 -1 /var/spool/sqlgrey sqlgrey
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
epatch "${FILESDIR}/${P}-init.patch"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
|
||||
make gentoo-install ROOTDIR="${D}"
|
||||
dodoc HOWTO FAQ README README.OPTINOUT README.PERF TODO Changelog
|
||||
|
||||
# keeps SQLgrey data in /var/spool/sqlgrey
|
||||
diropts -m0775 -o sqlgrey -g sqlgrey
|
||||
keepdir /var/spool/sqlgrey
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
einfo "To make use of greylisting, please update your postfix config."
|
||||
einfo
|
||||
einfo "Put something like this in /etc/postfix/main.cf:"
|
||||
einfo " smtpd_recipient_restrictions ="
|
||||
einfo " ..."
|
||||
einfo " check_policy_service inet:127.0.0.1:2501"
|
||||
einfo
|
||||
einfo "Remember to restart Postfix after that change. Also remember"
|
||||
einfo "to make the daemon start durig boot:"
|
||||
einfo " rc-update add sqlgrey default"
|
||||
einfo
|
||||
echo
|
||||
einfo "To setup SQLgrey to run out-of-the-box on your system, run:"
|
||||
einfo "emerge --config ${PN}"
|
||||
echo
|
||||
ewarn "Read the documentation for more info (perldoc sqlgrey) or the"
|
||||
ewarn "included howto /usr/share/doc/${PF}/HOWTO.gz"
|
||||
echo
|
||||
ewarn "If you are using MySQL >= 4.1 use \"latin1\" as charset for"
|
||||
ewarn "the SQLgrey db"
|
||||
echo
|
||||
ebeep 2
|
||||
epause 5
|
||||
}
|
||||
|
||||
pkg_config () {
|
||||
|
||||
# SQLgrey configuration file
|
||||
local SQLgrey_CONFIG="/etc/sqlgrey/sqlgrey.conf"
|
||||
local SQLgrey_DB_USER_NAME="sqlgrey"
|
||||
local SQLgrey_DB_NAME="sqlgrey"
|
||||
|
||||
# Check if a password is set in sqlgrey.conf
|
||||
local SQLgrey_CONF_PWD=""
|
||||
if [ -f "${SQLgrey_CONFIG}" ]; then
|
||||
if (grep -iq "^[\t ]*db_pass[\t ]*=[\t ]*.*$" ${SQLgrey_CONFIG}); then
|
||||
# User already has a db_pass entry
|
||||
SQLgrey_CONF_PWD="$(sed -n 's:^[\t ]*db_pass[\t ]*=[\t ]*\(.*\)[\t ]*:\1:gIp' ${SQLgrey_CONFIG})"
|
||||
else
|
||||
SQLgrey_CONF_PWD=""
|
||||
fi
|
||||
else
|
||||
ewarn "SQLgrey configuration missing. Exiting now."
|
||||
echo
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Check if we need SQLgrey to configure for this system or not
|
||||
local SQLgrey_DB_HOST="localhost"
|
||||
local SQLgrey_KEY_INPUT="l,r,x"
|
||||
einfo "SQLgrey database backend configuration"
|
||||
einfo " Please select where SQLgrey database will run:"
|
||||
einfo " [l] Database backend runs on localhost"
|
||||
einfo " [r] Database backend runs on remote host"
|
||||
einfo " [x] Exit"
|
||||
echo
|
||||
einfo " Press one of the keys [${SQLgrey_KEY_INPUT}]: "
|
||||
while true; do
|
||||
read -n 1 -s SQLgrey_ACCESS_TYPE
|
||||
case "${SQLgrey_ACCESS_TYPE}" in
|
||||
"r" | "R" )
|
||||
SQLgrey_ACCESS_TYPE="r"
|
||||
einfo " remote setup"
|
||||
read -p " Please enter the remote hostname: " SQLgrey_DB_HOST
|
||||
echo
|
||||
break
|
||||
;;
|
||||
"l" | "L" )
|
||||
SQLgrey_ACCESS_TYPE="l"
|
||||
einfo " local setup"
|
||||
echo
|
||||
break
|
||||
;;
|
||||
"x" | "X" )
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Generate random password
|
||||
if [[ "${SQLgrey_CONF_PWD}" == "" ]]; then
|
||||
einfo "Generating random database user password..."
|
||||
local SQLgrey_PWD_MATRIX="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
|
||||
local SQLgrey_DB_USER_PWD=""
|
||||
while [ "${n:=1}" -le "16" ]; do
|
||||
SQLgrey_DB_USER_PWD="${SQLgrey_DB_USER_PWD}${SQLgrey_PWD_MATRIX:$(($RANDOM%${#SQLgrey_PWD_MATRIX})):1}"
|
||||
let n+=1
|
||||
done
|
||||
else
|
||||
einfo "Reusing current database user password..."
|
||||
local SQLgrey_DB_USER_PWD="${SQLgrey_CONF_PWD}"
|
||||
fi
|
||||
echo
|
||||
|
||||
# Configure the various database backends
|
||||
local SQLgrey_KEY_INPUT=""
|
||||
einfo "Creating SQLgrey database backend data and configuration"
|
||||
einfo " Please select what kind of database you like to use:"
|
||||
if use postgres || has_version dev-perl/DBD-Pg ; then
|
||||
einfo " [p] PostgreSQL"
|
||||
SQLgrey_KEY_INPUT="${SQLgrey_KEY_INPUT},p"
|
||||
fi
|
||||
if use mysql || has_version dev-perl/DBD-mysql ; then
|
||||
einfo " [m] MySQL"
|
||||
SQLgrey_KEY_INPUT="${SQLgrey_KEY_INPUT},m"
|
||||
fi
|
||||
if use sqlite || has_version dev-perl/DBD-SQLite ; then
|
||||
einfo " [s] SQLite"
|
||||
SQLgrey_KEY_INPUT="${SQLgrey_KEY_INPUT},s"
|
||||
fi
|
||||
einfo " [x] Exit"
|
||||
SQLgrey_KEY_INPUT="${SQLgrey_KEY_INPUT},x"
|
||||
echo
|
||||
einfo " Press one of the keys [${SQLgrey_KEY_INPUT:1}]: "
|
||||
while true; do
|
||||
read -n 1 -s SQLgrey_DB_TYPE
|
||||
case "${SQLgrey_DB_TYPE}" in
|
||||
"p" | "P" )
|
||||
SQLgrey_DB_TYPE="p"
|
||||
einfo " PostgreSQL database backend"
|
||||
echo
|
||||
break
|
||||
;;
|
||||
"m" | "M" )
|
||||
SQLgrey_DB_TYPE="m"
|
||||
einfo " MySQL database backend"
|
||||
echo
|
||||
break
|
||||
;;
|
||||
"s" | "S" )
|
||||
SQLgrey_DB_TYPE="s"
|
||||
einfo " SQLite database backend"
|
||||
echo
|
||||
break
|
||||
;;
|
||||
"x" | "X" )
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# If we don't use SQLite, the password must not be set
|
||||
if [[ ( "${SQLgrey_DB_TYPE}" != "s" ) && ( "${SQLgrey_CONF_PWD}" != "" ) ]]; then
|
||||
ewarn "This configuration is only for new installations. You seem to"
|
||||
ewarn "have already a modified sqlgrey.conf"
|
||||
ewarn "Do you want to continue?"
|
||||
SQLgrey_KEY_INPUT="y,n"
|
||||
einfo " Press one of the keys [$SQLgrey_KEY_INPUT]: "
|
||||
while true; do
|
||||
read -n 1 -s SQLgrey_Ignore
|
||||
case "$SQLgrey_Ignore" in
|
||||
"y"|"Y" )
|
||||
break
|
||||
;;
|
||||
"n"|"N" )
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
|
||||
## Per-RDBMS configuration ##
|
||||
# POSTGRESQL
|
||||
if [[ "${SQLgrey_DB_TYPE}" == "p" ]] ; then
|
||||
|
||||
ewarn "If prompted for a password, please enter your PgSQL postgres password"
|
||||
ewarn ""
|
||||
|
||||
einfo "Creating SQLgrey PostgreSQL database \"${SQLgrey_DB_NAME}\" and user \"${SQLgrey_DB_USER_NAME}\""
|
||||
/usr/bin/psql -h ${SQLgrey_DB_HOST} -d template1 -U postgres -c "CREATE USER ${SQLgrey_DB_USER_NAME} WITH PASSWORD '${SQLgrey_DB_USER_PWD}' NOCREATEDB NOCREATEUSER; CREATE DATABASE ${SQLgrey_DB_NAME}; GRANT ALL PRIVILEGES ON DATABASE ${SQLgrey_DB_NAME} TO ${SQLgrey_DB_USER_NAME}; GRANT ALL PRIVILEGES ON SCHEMA public TO ${SQLgrey_DB_USER_NAME}; UPDATE pg_database SET datdba=(SELECT usesysid FROM pg_shadow WHERE usename='${SQLgrey_DB_USER_NAME}') WHERE datname='${SQLgrey_DB_NAME}';"
|
||||
|
||||
einfo "Changing SQLgrey configuration in sqlgrey.conf"
|
||||
sed -i "s:^[# ]*\(db_type[ \t]*= \).*:\1Pg:gI" ${SQLgrey_CONFIG}
|
||||
sed -i "s:^[# ]*\(db_user[ \t]*= \).*:\1${SQLgrey_DB_USER_NAME}:gI" ${SQLgrey_CONFIG}
|
||||
sed -i "s:^[# ]*\(db_pass[ \t]*= \).*:\1${SQLgrey_DB_USER_PWD}:gI" ${SQLgrey_CONFIG}
|
||||
sed -i "s:^[# ]*\(db_host[ \t]*= \).*:\1${SQLgrey_DB_HOST}:gI" ${SQLgrey_CONFIG}
|
||||
sed -i "s:^[# ]*\(db_name[ \t]*= \).*:\1${SQLgrey_DB_NAME}:gI" ${SQLgrey_CONFIG}
|
||||
elif [[ "${SQLgrey_DB_TYPE}" == "m" ]] ; then
|
||||
# MYSQL
|
||||
ewarn "If prompted for a password, please enter your MySQL root password"
|
||||
ewarn ""
|
||||
|
||||
einfo "Creating SQLgrey MySQL database \"${SQLgrey_DB_NAME}\" and user \"${SQLgrey_DB_USER_NAME}\""
|
||||
echo -ne " "
|
||||
/usr/bin/mysql -u root -h ${SQLgrey_DB_HOST} -p -e "CREATE DATABASE IF NOT EXISTS ${SQLgrey_DB_NAME} CHARACTER SET latin1; GRANT ALL ON ${SQLgrey_DB_NAME}.* TO ${SQLgrey_DB_USER_NAME}@${SQLgrey_DB_HOST} IDENTIFIED BY '${SQLgrey_DB_USER_PWD}';FLUSH PRIVILEGES;" -D mysql
|
||||
echo
|
||||
|
||||
einfo "Changing SQLgrey configuration in sqlgrey.conf"
|
||||
sed -i "s:^[# ]*\(db_type[ \t]*= \).*:\1mysql:gI" ${SQLgrey_CONFIG}
|
||||
sed -i "s:^[# ]*\(db_user[ \t]*= \).*:\1${SQLgrey_DB_USER_NAME}:gI" ${SQLgrey_CONFIG}
|
||||
sed -i "s:^[# ]*\(db_pass[ \t]*= \).*:\1${SQLgrey_DB_USER_PWD}:gI" ${SQLgrey_CONFIG}
|
||||
sed -i "s:^[# ]*\(db_host[ \t]*= \).*:\1${SQLgrey_DB_HOST}:gI" ${SQLgrey_CONFIG}
|
||||
sed -i "s:^[# ]*\(db_name[ \t]*= \).*:\1${SQLgrey_DB_NAME}:gI" ${SQLgrey_CONFIG}
|
||||
elif [[ "${SQLgrey_DB_TYPE}" == "s" ]] ; then
|
||||
einfo "Changing SQLgrey configuration in sqlgrey.conf"
|
||||
sed -i "s:^[# ]*\(db_type[ \t]*= \).*:\1SQLite:gI" ${SQLgrey_CONFIG}
|
||||
sed -i "s:^[# ]*\(db_name[ \t]*= \).*:\1${SQLgrey_DB_NAME}:gI" ${SQLgrey_CONFIG}
|
||||
sed -i "s:^[# ]*\(db_user[ \t]*=.*\)$:# \1:gI" ${SQLgrey_CONFIG}
|
||||
sed -i "s:^[# ]*\(db_pass[ \t]*= .*\)$:# \1:gI" ${SQLgrey_CONFIG}
|
||||
sed -i "s:^[# ]*\(db_host[ \t]*= .*\)$:# \1:gI" ${SQLgrey_CONFIG}
|
||||
sed -i "s:^[# ]*\(db_cleandelay[ \t]*= .*\)$:# \1:gI" ${SQLgrey_CONFIG}
|
||||
fi
|
||||
echo
|
||||
if [[ "${SQLgrey_DB_TYPE}" != "s" ]]; then
|
||||
einfo "Note: the database password is stored in $SQLgrey_CONFIG"
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST zdkimfilter-0.5.tar.gz 182097 SHA256 c522d11f77122ff5caa626b04f9e8940e37bbb5be55fc55d196c3c9369f6fffd SHA512 1c7c5fe81c15aedf21d16491f5f97b2717455c878017808b707159f79fabdbfa7959beb135f5b5f09eae072a311e88ee1e9a29b7679bc112b600e4353c380dd3 WHIRLPOOL c98f25b013ca8ab4ae21e4981b80937ab82c119bf15aadd59a2d4555a98a404a9fc2edda1837865515a74bc0a5cd11062e96bccffadce6a872b7f0743e279697
|
||||
DIST zdkimfilter-1.1.tar.gz 473348 SHA256 be55fae98c3e7826a00f74896b91b625fe436aaf94bc2dc7d4770f64f98f2100 SHA512 6f1c54fe22f0c3cb3aaa347df89c0541b7f06dc68c80820820dd80d3ee46e6c2a369efb70d2eab217564728adc17086c76c878c58be13735c1db14d069832cfb WHIRLPOOL 6490a76dc17ee976b36ae3e0a9412e9fdc6b8236be56998e3a322fb35d2cfd84aca33e77c256fa01a54b9ca8e5b9cab75695ff695ad3b90bfade5e118faa8de8
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/mail-filter/zdkimfilter/zdkimfilter-0.5.ebuild,v 1.2 2011/02/27 00:32:53 dragonheart Exp $
|
||||
|
||||
EAPI=2
|
||||
DESCRIPTION="DKIM filter for Courier-MTA"
|
||||
HOMEPAGE="http://www.tana.it/sw/zdkimfilter"
|
||||
SRC_URI="http://www.tana.it/sw/zdkimfilter/${P}.tar.gz"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug mysql opendbx"
|
||||
|
||||
DEPEND=">=mail-filter/opendkim-2.2.0
|
||||
mail-mta/courier
|
||||
opendbx? ( >=dev-db/opendbx-1.4.0 )
|
||||
mysql? ( >=virtual/mysql-5.0 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use mysql && myconf="--with-backends='mysql'"
|
||||
|
||||
econf $(use_enable debug) \
|
||||
$(use_enable opendbx utils) \
|
||||
${myconf} \
|
||||
|| die "failed to configure"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
rm "${D}"/etc/courier/filters/zdkimfilter.conf
|
||||
diropts -o mail -g mail
|
||||
dodir /etc/courier/filters/keys
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST libgig-3.2.1.tar.bz2 323762 SHA256 ba49c2a315a45315faef0a0526c47f50ae23b3fac98b2aa275f4c75ae3f018c9
|
||||
DIST libgig-3.3.0.tar.bz2 338119 SHA256 d22a3c7ba13d920c1d4b6c218107ad105622ae9d1236ffbce007b98547774425
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- src/helper.h~ 2007-09-09 12:36:23.000000000 +0200
|
||||
+++ src/helper.h 2008-06-23 14:13:48.454816674 +0200
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
+#include <algorithm>
|
||||
|
||||
#if defined(WIN32) && !HAVE_CONFIG_H
|
||||
# include "../win32/libgig_private.h" // like config.h, automatically generated by Dev-C++
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libgig/libgig-3.2.1.ebuild,v 1.4 2014/08/10 21:08:47 slyfox Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="a C++ library for loading Gigasampler files and DLS (Downloadable Sounds) Level 1/2 files"
|
||||
HOMEPAGE="http://www.linuxsampler.org/libgig/"
|
||||
SRC_URI="http://download.linuxsampler.org/packages/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=media-libs/libsndfile-1.0.2
|
||||
>=media-libs/audiofile-0.2.3"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${PN}-gcc-4.3.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf
|
||||
emake -j1 || die "emake failed."
|
||||
|
||||
if use doc; then
|
||||
emake -j1 docs || die "emake docs failed."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO
|
||||
|
||||
if use doc; then
|
||||
dohtml -r doc/html/*
|
||||
fi
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST libopendaap-0.2.3.tar.bz2 360110 SHA256 facdffd3ca53354841e1fee8eb7496559a0b49ec4b0b98f95d28bcdeb3633a42
|
||||
DIST libopendaap-0.3.0.tar.bz2 365682 SHA256 e56129ce7a3e28cf7aeed58d06cb839eadf0bd0df88923cd854cf23d3c3956c8
|
||||
DIST libopendaap-0.4.0.tar.bz2 241953 SHA256 6defc33534b32c7f9bdf057c1593c098cf7b6272ed20100f8b8a28c2d8e42b3c
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libopendaap/libopendaap-0.2.3.ebuild,v 1.11 2013/11/06 04:41:31 patrick Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A library which enables applications to discover and connect to iTunes(R) music shares"
|
||||
SRC_URI="http://crazney.net/programs/itunes/files/${P}.tar.bz2"
|
||||
HOMEPAGE="http://crazney.net/programs/itunes/libopendaap.html"
|
||||
|
||||
LICENSE="MIT APSL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ppc"
|
||||
IUSE=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-types.h
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/libopendaap/libopendaap-0.3.0.ebuild,v 1.6 2013/11/06 04:41:31 patrick Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A library which enables applications to discover and connect to iTunes(R) music shares"
|
||||
SRC_URI="http://crazney.net/programs/itunes/files/${P}.tar.bz2"
|
||||
HOMEPAGE="http://crazney.net/programs/itunes/libopendaap.html"
|
||||
|
||||
LICENSE="MIT APSL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-types.h
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST skstream-0.3.6.tar.bz2 265649 SHA256 e25344ef2fbe49befc9613dcdd9d6ce740cfe096aa4c2683e536c12858f52bfc SHA512 fea9256cc6e643bc70c8347304bec863ba4e265d2257cd9de65699373f0b3fa0f933ec9f27a9db82b4ef74f889cf06374d18db3350b22d00b33e1e8d42d54a86 WHIRLPOOL c09be193aa14ab1189d228445a93b7466241c82de1aa3d9c6874515cc0038ce515d6b8c272a89b2c826d6cfe052be9459a490a749ffeb126e93ec4829efb6cf0
|
||||
DIST skstream-0.3.8.tar.bz2 300818 SHA256 9fd9c40c85ec9b3733922ac2a905e1092bc6020bed7f6ea50de3a459999504e3 SHA512 64b476671eed12fc84acdf204feb8584373cb4454613faea9b2f876a89fab135b47d4ad51eb8b9738582ec4688d60f5410803bee3a579d266cffa90129caefa1 WHIRLPOOL 760efb2208f16b0fe91edb58398ecf75356a9ef1a5199558b8f9904e594a66819b29e0c159efd57ca1947709d66886023b1fa4437894618163badde770714829
|
||||
DIST skstream-0.3.9.tar.bz2 326088 SHA256 1ce821690988ef71d04ffa815fd6275637adb15c0b3575fefc8d1a83afa76e10 SHA512 88cf67a76c9983eaa50d2350a6895a1782e77d9e9794084999770989436a3306d1f4d4d4a6ddfa199235f1dc0518d65988cd1956fdd2ce5306fd6b2246db91d9 WHIRLPOOL a28d949e646f990013ec96e58d60bab97c3a397adb9c002b3989aad3dedbc0df8f2f359b8498d0a0c5214e2a595184fdce5d004e0728a5dd183e2c834f6c5fff
|
||||
|
@ -1,21 +0,0 @@
|
||||
--- skstream/skstreamconfig.h.in.old 2008-11-06 21:15:03.000000000 +0100
|
||||
+++ skstream/skstreamconfig.h.in 2008-11-06 21:15:21.000000000 +0100
|
||||
@@ -38,6 +38,7 @@
|
||||
#if @SKSTREAM_UNIX_HEADER_FLAG@
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
+ #include <cstring>
|
||||
#endif
|
||||
#if @SKSTREAM_BEOS_HEADER_FLAG@
|
||||
#include <net/socket.h>
|
||||
--- ping/ping.cpp.old 2009-01-23 16:35:39.000000000 +0100
|
||||
+++ ping/ping.cpp 2009-01-23 16:35:59.000000000 +0100
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <utility>
|
||||
|
||||
#include <cstdio>
|
||||
+#include <cstdlib>
|
||||
|
||||
#include <time.h>
|
||||
#include <signal.h> // to trap Ctrl+C : SIGINT
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- skstream/skstream.h.old 2009-06-05 11:12:47.000000000 +0200
|
||||
+++ skstream/skstream.h 2009-06-05 11:13:47.000000000 +0200
|
||||
@@ -30,6 +30,7 @@
|
||||
#define RGJ_FREE_STREAM_H_
|
||||
|
||||
#include <iostream>
|
||||
+#include <cstdio>
|
||||
|
||||
#include <skstream/sksocket.h>
|
||||
|
@ -1,50 +0,0 @@
|
||||
--- test/skservertest.h.old 2009-01-23 16:54:43.000000000 +0100
|
||||
+++ test/skservertest.h 2009-01-23 16:54:52.000000000 +0100
|
||||
@@ -165,7 +165,6 @@
|
||||
|
||||
void testAccept()
|
||||
{
|
||||
- CPPUNIT_ASSERT(skserver->accept() != INVALID_SOCKET);
|
||||
}
|
||||
|
||||
void testOpen()
|
||||
--- test/socketbuftest.h.old 2009-01-23 16:53:48.000000000 +0100
|
||||
+++ test/socketbuftest.h 2009-01-23 16:54:11.000000000 +0100
|
||||
@@ -139,8 +139,6 @@
|
||||
|
||||
void testGetOutpeer()
|
||||
{
|
||||
- sockaddr_storage sain = socketBuffer->getOutpeer();
|
||||
-
|
||||
//these tests are no longer useful
|
||||
|
||||
//check the port was set
|
||||
@@ -152,8 +150,6 @@
|
||||
|
||||
void testGetInpeer()
|
||||
{
|
||||
- sockaddr_storage sain = socketBuffer->getInpeer();
|
||||
-
|
||||
//these tests don't do anything it seems. hopefully some better
|
||||
//ones will surface at some point.
|
||||
|
||||
|
||||
--- test/basicskstreamtest.h.old 2009-01-23 17:12:29.000000000 +0100
|
||||
+++ test/basicskstreamtest.h 2009-01-23 17:12:49.000000000 +0100
|
||||
@@ -226,16 +226,6 @@
|
||||
|
||||
void testSetBroadcast()
|
||||
{
|
||||
- if(!skstream->setBroadcast(true))
|
||||
- {
|
||||
- std::cout << std::endl;
|
||||
- std::cout << "Error with broadcast: " <<
|
||||
- strerror(skstream->getLastError()) << std::endl;
|
||||
-
|
||||
- CPPUNIT_ASSERT(false);
|
||||
- }
|
||||
-
|
||||
- CPPUNIT_ASSERT(skstream->setBroadcast(false));
|
||||
}
|
||||
|
||||
void testClose()
|
@ -1,20 +0,0 @@
|
||||
--- test/childskstreamtest.h.old 2011-09-26 16:14:47.733708252 +0200
|
||||
+++ test/childskstreamtest.h 2011-09-26 16:16:32.021385992 +0200
|
||||
@@ -109,9 +109,6 @@
|
||||
//some macros for building the suite() method
|
||||
CPPUNIT_TEST_SUITE(tcpskstreamtest);
|
||||
CPPUNIT_TEST(testConstructor_1);
|
||||
- CPPUNIT_TEST(testConstructor_2);
|
||||
- CPPUNIT_TEST(testOpen);
|
||||
- CPPUNIT_TEST(testOpenNonblock);
|
||||
CPPUNIT_TEST_SUITE_END();
|
||||
|
||||
private:
|
||||
@@ -245,7 +242,6 @@
|
||||
{
|
||||
//some macros for building the suite() method
|
||||
CPPUNIT_TEST_SUITE(rawskstreamtest);
|
||||
- CPPUNIT_TEST(testConstructor_1);
|
||||
CPPUNIT_TEST_SUITE_END();
|
||||
|
||||
public:
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/skstream/skstream-0.3.6.ebuild,v 1.10 2012/08/26 17:28:26 armin76 Exp $
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="FreeSockets - Portable C++ classes for IP (sockets) applications"
|
||||
SRC_URI="mirror://sourceforge/worldforge/${P}.tar.bz2"
|
||||
HOMEPAGE="http://www.worldforge.org/"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? ( dev-util/cppunit )"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
edos2unix ping/ping.cpp
|
||||
epatch "${FILESDIR}"/${P}-gcc43.patch \
|
||||
"${FILESDIR}"/${P}-glibc2101.patch \
|
||||
"${FILESDIR}"/${P}-test.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die "make install died"
|
||||
dodoc AUTHORS ChangeLog NEWS README README.FreeSockets TODO \
|
||||
|| die "Installing docs failes"
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/skstream/skstream-0.3.8.ebuild,v 1.5 2012/11/13 02:48:22 mr_bones_ Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit base eutils
|
||||
|
||||
DESCRIPTION="FreeSockets - Portable C++ classes for IP (sockets) applications"
|
||||
HOMEPAGE="http://www.worldforge.org/"
|
||||
SRC_URI="mirror://sourceforge/worldforge/${P}.tar.bz2"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? ( dev-util/cppunit )"
|
||||
RDEPEND=""
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-test.patch )
|
||||
DOCS=( AUTHORS ChangeLog NEWS README README.FreeSockets TODO )
|
@ -1,3 +1,2 @@
|
||||
DIST varconf-0.6.5.tar.bz2 250014 SHA256 3cdb5ac58e0e8ebea79d86de509574109866db3fe367b18d80c089999400807e
|
||||
DIST varconf-0.6.6.tar.bz2 251689 SHA256 9f7e966b6753c256485c9e40ce1ce1c9cdccbf11ec70eb3f580915234f64311f
|
||||
DIST varconf-0.6.7.tar.bz2 272485 SHA256 b22dfe8b4f2ec081060545fa4b6c28b78c4b702b0621cc0eea1651bbd9fb0095
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- varconf/variable.cpp.old 2008-11-06 19:42:50.000000000 +0100
|
||||
+++ varconf/variable.cpp 2008-11-06 19:46:48.000000000 +0100
|
||||
@@ -28,6 +28,7 @@
|
||||
|
||||
#include <string>
|
||||
#include <cstdio>
|
||||
+#include <stdlib.h>
|
||||
|
||||
#ifdef __WIN32__
|
||||
#include <tchar.h>
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/varconf/varconf-0.6.5.ebuild,v 1.7 2014/08/10 21:12:34 slyfox Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A configuration system designed for the STAGE server"
|
||||
SRC_URI="mirror://sourceforge/worldforge/${P}.tar.bz2"
|
||||
HOMEPAGE="http://www.worldforge.org/dev/eng/libraries/varconf"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2.1"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/libsigc++-2.0"
|
||||
DEPEND="$RDEPEND
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-gcc43.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
dodoc AUTHORS ChangeLog NEWS README THANKS TODO \
|
||||
|| die "Installing doc failed"
|
||||
}
|
@ -0,0 +1,140 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/ardour/ardour-4.0-r2.ebuild,v 1.1 2015/04/24 07:16:52 nativemad Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='threads(+)'
|
||||
|
||||
inherit eutils toolchain-funcs flag-o-matic python-any-r1 waf-utils
|
||||
|
||||
DESCRIPTION="Digital Audio Workstation"
|
||||
HOMEPAGE="http://ardour.org/"
|
||||
|
||||
if [ ${PV} = 9999 ]; then
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="http://git.ardour.org/ardour/ardour.git"
|
||||
inherit git-2
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/Ardour/ardour/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="4"
|
||||
IUSE="altivec doc jack nls lv2 cpu_flags_x86_sse"
|
||||
|
||||
RDEPEND="media-libs/aubio
|
||||
media-libs/liblo
|
||||
sci-libs/fftw:3.0
|
||||
media-libs/freetype:2
|
||||
>=dev-libs/glib-2.10.1:2
|
||||
>=dev-cpp/glibmm-2.32.0
|
||||
>=x11-libs/gtk+-2.8.1:2
|
||||
>=dev-libs/libxml2-2.6:2
|
||||
>=media-libs/libsndfile-1.0.18
|
||||
>=media-libs/libsamplerate-0.1
|
||||
>=media-libs/rubberband-1.6.0
|
||||
>=media-libs/libsoundtouch-1.6.0
|
||||
media-libs/flac
|
||||
media-libs/raptor:2
|
||||
>=media-libs/liblrdf-0.4.0-r20
|
||||
>=gnome-base/libgnomecanvas-2
|
||||
media-libs/vamp-plugin-sdk
|
||||
dev-libs/libxslt
|
||||
dev-libs/libsigc++:2
|
||||
>=dev-cpp/gtkmm-2.16:2.4
|
||||
>=dev-cpp/libgnomecanvasmm-2.26:2.6
|
||||
media-libs/alsa-lib
|
||||
x11-libs/pango
|
||||
x11-libs/cairo
|
||||
media-libs/libart_lgpl
|
||||
virtual/libusb:0
|
||||
dev-libs/boost
|
||||
>=media-libs/taglib-1.7
|
||||
net-misc/curl
|
||||
jack? ( >=media-sound/jack-audio-connection-kit-0.120 )
|
||||
lv2? (
|
||||
>=media-libs/slv2-0.6.1
|
||||
media-libs/lilv
|
||||
media-libs/sratom
|
||||
dev-libs/sord
|
||||
>=media-libs/suil-0.6.10
|
||||
>=media-libs/lv2-1.4.0
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
virtual/pkgconfig
|
||||
>=media-sound/jack-audio-connection-kit-0.120
|
||||
nls? ( sys-devel/gettext )
|
||||
doc? ( app-doc/doxygen[dot] )"
|
||||
if ! [ ${PV} = 9999 ]; then
|
||||
DEPEND="${DEPEND}"
|
||||
fi
|
||||
|
||||
src_unpack() {
|
||||
if [ ${PV} = 9999 ]; then
|
||||
git-2_src_unpack
|
||||
else
|
||||
unpack ${A}
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare(){
|
||||
if ! [ ${PV} = 9999 ]; then
|
||||
epatch "${FILESDIR}"/${PN}-4.0-revision-naming.patch
|
||||
touch "${S}/libs/ardour/revision.cc"
|
||||
fi
|
||||
$(use lv2 || epatch "${FILESDIR}"/${PN}-4.0-lv2.patch)
|
||||
epatch "${FILESDIR}"/${PN}-3.5.403-sse.patch
|
||||
sed -e 's/'FLAGS\'\,\ compiler_flags'/'FLAGS\'\,\ program_flags'/g' -i "${S}"/wscript
|
||||
sed -e 's/'compiler_flags.append\ \(\'-DPROGRAM_'/'program_flags.append\ \(\'-DPROGRAM_'/g' -i "${S}"/wscript
|
||||
sed -e '/compiler_flags\ \=\ \[\]/a \ \ \ \ program_flags\ \=\ \[\]' -i "${S}"/wscript
|
||||
append-flags "-lboost_system"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use cpu_flags_x86_sse; then
|
||||
MARCH=$(get-flag march)
|
||||
for ARCHWOSSE in i686 i486; do
|
||||
if [[ ${MARCH} = ${ARCHWOSSE} ]]; then
|
||||
for SSEOPT in -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2; do
|
||||
is-flag ${SSEOPT} && SSEON="yes"
|
||||
done
|
||||
if [ -z ${SSEON} ]; then
|
||||
append-flags -msse
|
||||
elog "You enabled sse but use an march that does not support sse!"
|
||||
elog "We add -msse to the cflags now, but please consider switching your march in make.conf!"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
fi
|
||||
tc-export CC CXX
|
||||
mkdir -p "${D}"
|
||||
waf-utils_src_configure \
|
||||
--destdir="${D}" \
|
||||
--prefix=/usr \
|
||||
--configdir=/etc \
|
||||
--optimize \
|
||||
--no-jack-metadata \
|
||||
$(use jack && echo "--with-backends=alsa,jack" || echo "--with-backends=alsa --no-jack --libjack=weak") \
|
||||
$(use lv2 && echo "--lv2" || echo "--no-lv2") \
|
||||
$(use nls && echo "--nls" || echo "--no-nls") \
|
||||
$({ use altivec || use cpu_flags_x86_sse; } && echo "--fpu-optimization" || echo "--no-fpu-optimization") \
|
||||
$(use doc && echo "--docs")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
waf-utils_src_install
|
||||
mv ${PN}.1 ${PN}${SLOT}.1
|
||||
doman ${PN}${SLOT}.1
|
||||
newicon icons/icon/ardour_icon_mac.png ${PN}${SLOT}.png
|
||||
make_desktop_entry ardour4 ardour4 ardour4 AudioVideo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you are using Ardour and want to keep its development alive"
|
||||
elog "then please consider to do a donation upstream at ardour.org. Thanks!"
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/cdstatus/cdstatus-0.94a.ebuild,v 1.16 2009/06/05 10:56:19 ssuominen Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils
|
||||
|
||||
MY_P=${PN}${PV}
|
||||
|
||||
DESCRIPTION="Tool for diagnosing cdrom drive and digital data (audio) extraction"
|
||||
HOMEPAGE="http://cdstatus.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/cdstatus/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-gentoo.diff
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin cdstatus || die "dobin failed"
|
||||
fperms 755 /usr/bin/cdstatus
|
||||
dodoc docs/*
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/cdstatus/cdstatus-0.95.04.ebuild,v 1.8 2009/06/19 21:10:56 ranger Exp $
|
||||
|
||||
EAPI=2
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Tool for diagnosing cdrom drive and digital data (audio) extraction"
|
||||
HOMEPAGE="http://cdstatus.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/cdstatus/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Copy cdstatus.cfg from /usr/share/cdstatus.cfg"
|
||||
elog "to your home directory and edit as needed."
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
*** cdstatus_cddb.c.orig Sat Aug 9 10:03:45 2003
|
||||
--- cdstatus_cddb.c Sat Aug 9 10:04:01 2003
|
||||
***************
|
||||
*** 8,13 ****
|
||||
--- 8,14 ----
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
+ #include <errno.h>
|
||||
|
||||
/* to get started, i hard-coded the hostname. need to use a file to store
|
||||
site info in, and get updated site lists to use hosts from and such */
|
@ -1,2 +1 @@
|
||||
DIST codecgraph-20090522.tar.gz 66824 SHA256 6a5ccf0995c2eb971cf0289c946fc84ba122f3f5ef5d4f0cf1228e367e55c379
|
||||
DIST codecgraph-20120114.tar.gz 94168 SHA256 24dca78c6a8cf894385df304d29f348d48868000d5ffbd03bf12c5b4f9805106
|
||||
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-sound/codecgraph/codecgraph-20090522.ebuild,v 1.2 2014/08/10 21:04:44 slyfox Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Generates a graph based on the ALSA description of an HD Audio codec"
|
||||
HOMEPAGE="http://helllabs.org/codecgraph/"
|
||||
SRC_URI="http://helllabs.org/codecgraph/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/python
|
||||
media-gfx/graphviz"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
media-gfx/imagemagick"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${PV}-makefile-prefix.diff"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake || die "make failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die
|
||||
dodoc codecs.txt README BUGS IDEAS
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
--- codecgraph-20080422/Makefile.orig 2008-04-22 16:50:14.000000000 +0100
|
||||
+++ codecgraph-20080422/Makefile 2008-04-22 16:50:21.000000000 +0100
|
||||
@@ -1,4 +1,4 @@
|
||||
-PREFIX = /usr/local
|
||||
+PREFIX = /usr
|
||||
DOTTY = dot
|
||||
|
||||
samples = \
|
@ -1,8 +0,0 @@
|
||||
--- codecgraph-20080507/Makefile.ORIG 2008-05-08 00:38:37.000000000 +0100
|
||||
+++ codecgraph-20080507/Makefile 2008-05-08 00:38:58.000000000 +0100
|
||||
@@ -1,4 +1,4 @@
|
||||
-PREFIX = /usr/local
|
||||
+PREFIX = /usr
|
||||
DOTTY = dot
|
||||
|
||||
samples = \
|
@ -1,18 +0,0 @@
|
||||
diff -uNr codecgraph-20090522.ORIG//Makefile codecgraph-20090522/Makefile
|
||||
--- codecgraph-20090522.ORIG//Makefile 2010-11-21 13:34:06.000000000 +0000
|
||||
+++ codecgraph-20090522/Makefile 2010-11-21 13:34:25.000000000 +0000
|
||||
@@ -1,4 +1,4 @@
|
||||
-PREFIX = /usr/local
|
||||
+PREFIX = /usr
|
||||
DOTTY = dot
|
||||
|
||||
samples = \
|
||||
@@ -62,7 +62,7 @@
|
||||
install:
|
||||
install -m755 -D codecgraph $(DESTDIR)$(PREFIX)/bin/codecgraph
|
||||
install -m755 -D codecgraph.py $(DESTDIR)$(PREFIX)/bin/codecgraph.py
|
||||
- install -m644 -D codecgraph.1 $(DESTDIR)$(PREFIX)/man/man1/codecgraph.1
|
||||
+ install -m644 -D codecgraph.1 $(DESTDIR)$(PREFIX)/share/man/man1/codecgraph.1
|
||||
|
||||
thumbs: png
|
||||
for p in $(pngfiles);do \
|
@ -1 +1 @@
|
||||
Thu, 23 Apr 2015 13:36:59 +0000
|
||||
Fri, 24 Apr 2015 08:36:50 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue