parent
6e3939e636
commit
584e97a848
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST abrt-2.0.12.tar.gz 1090121 BLAKE2B 272f486bd166a33fea3e340763b3443b5643a650fe16ad326e249309c355f214c67937456dd2d8f3e7cdac65cb85bd8030e6b89671f427085a05dca64b8f874d SHA512 5432205edb4483fb1883b9bcebab48784b16dd9e72c3a929ea0d50c48dab638d80f136b6b0d7648d8ec9fcb79d5ce8c1be37d36301d3b2b151868901be82a63a
|
||||
DIST abrt-2.10.9.tar.gz 6830234 BLAKE2B ec96b915103c8b8157eb64c98791d283225091d0f2aa7b78520bfae1bee22f43703715fabc43828c750aa7e84eea4a886878d411670b7b4ad31ca49b96d387f3 SHA512 1ff7e2edf29085fb03c569b67e8bf2bc83aaf4dd77730e5fc96184453224f83dd0632eaf85a7ad03351fdfaea3d4ed50e8a89eb28d82151f95bd34eb1850f93c
|
||||
|
@ -0,0 +1,114 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||
|
||||
inherit autotools gnome2-utils python-single-r1 systemd user
|
||||
|
||||
DESCRIPTION="Automatic bug detection and reporting tool"
|
||||
HOMEPAGE="https://github.com/abrt/abrt/wiki/ABRT-Project"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug selinux"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
>=dev-libs/glib-2.43:2
|
||||
>=dev-libs/libreport-2.9.5[python]
|
||||
dev-libs/libxml2
|
||||
dev-libs/nss
|
||||
>=gnome-base/gsettings-desktop-schemas-3.15.1
|
||||
sys-apps/dbus
|
||||
sys-apps/systemd
|
||||
sys-auth/polkit
|
||||
sys-fs/inotify-tools
|
||||
x11-libs/gtk+:3
|
||||
>=x11-libs/libnotify-0.7"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-arch/cpio
|
||||
dev-libs/elfutils
|
||||
dev-python/argcomplete
|
||||
dev-python/argh
|
||||
dev-python/humanize
|
||||
sys-apps/util-linux
|
||||
>=sys-devel/gdb-7"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/asciidoc
|
||||
app-text/xmlto
|
||||
dev-libs/satyr[${PYTHON_USEDEP}]
|
||||
>=dev-util/intltool-0.35.0
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/gettext-0.17"
|
||||
|
||||
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||
|
||||
RESTRICT="test" # tests *may* be broken due to all the RHEL crap. explore later.
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
|
||||
enewgroup abrt
|
||||
enewuser abrt -1 -1 -1 abrt
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# pyhook test is sensitive to the format of python's error messages, and
|
||||
# fails with certain python versions
|
||||
sed -e '/pyhook.at/ d' \
|
||||
-i tests/Makefile.* tests/testsuite.at || die "sed remove pyhook tests failed"
|
||||
./gen-version || die # Needed to be run before autoreconf
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
myeconfargs=(
|
||||
--libdir="${EPREFIX}/$(get_libdir)"
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
--without-bodhi
|
||||
# package breaks due to not finding libreport-web with bodhi plugin enabled
|
||||
--without-rpm
|
||||
$(usex selinux "" "--without-selinux")
|
||||
--without-python2
|
||||
# Fixes "syntax error in VERSION script" and we aren't supporting Python2 anyway
|
||||
--with-python3
|
||||
--without-pythondoc
|
||||
# package breaks due to no sphinx-build-3
|
||||
--without-pythontests
|
||||
# kill tests for now until they can be explored.
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
keepdir /var/run/abrt
|
||||
# /var/spool/abrt is created by dev-libs/libreport
|
||||
|
||||
diropts -m 700 -o abrt -g abrt
|
||||
keepdir /var/spool/abrt-upload
|
||||
|
||||
diropts -m 775 -o abrt -g abrt
|
||||
keepdir /var/cache/abrt-di
|
||||
|
||||
find "${D}" -name '*.la' -exec rm -f {} + || die
|
||||
|
||||
newinitd "${FILESDIR}/${PN}-2.0.12-r1-init" abrt
|
||||
newconfd "${FILESDIR}/${PN}-2.0.12-r1-conf" abrt
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,8 +1,3 @@
|
||||
DIST aerospike-amc-community-3.6.10.1.all.x86_64.deb 1434334 BLAKE2B a632ebfece64b9cb2d86246819b3c57df9970b002e6503d1768b5d590058bc1e3c0eafdf4e9cc8061c128c5438542160b8c9039718ac18e7053b6213169dad98 SHA512 2f9d208c501800d7a73d419347883ff9b4f8d65e76238c8676f1f04ad6c38aae2c9746ea65ed0d4ef36bcc9419a3a70b4d95f42aea72556935cdb3e82d943f05
|
||||
DIST aerospike-amc-community-3.6.11.all.x86_64.deb 1434296 BLAKE2B 9892604fb2a5b88e45b1b857bb5ec37c49376cf3f33be4d4ae9ad010336c3c2ac81ec9311fc314b0cb4f50dd01f102e3210fa3e126af699eb94dd4476a546f10 SHA512 e6396d8328f1021bbe4505bd63d4b4835857f151d58e0bb089f18ad7b3115d4893e9b3aaac18321f26150e6d1d2f15eadcd39d2f361af145426dee0c8fd9e90d
|
||||
DIST aerospike-amc-community-3.6.12.all.x86_64.deb 1436482 BLAKE2B ddb128add54b11b3c94c7bf119eb86ec3d4576b486adb89f0b653d8cb6e315e4aaf5178a5f923f5163cc20dd7dc25831214481cf4fbe5d615f0aa15eb360fdde SHA512 d02e02db2c041bdb4ed8392dc2703840fc7eec5a7de8f5bbb24db61538631302c94f0bcffe8e31c8e03ec2ca35b8ea82f49d713cdfe2c1e14d0a078b53fb9695
|
||||
DIST aerospike-amc-community-3.6.13.all.x86_64.deb 1436414 BLAKE2B cd823dd1c546fe69948ef3f77fa8bf0a68a8d95ed3ee778272b84c39b1b1bc4e5afef803931ce859fd957421f4816358590a3c1e0845fdc524a0f029b52ce828 SHA512 8077f8c51aab39ca701eb1ada633a3a378e02fed39ef2e565fed57fa57cf12da6c69a2b3d93e179110c29043a0a5a114512d30752eab6356e1b819ae490d23bb
|
||||
DIST aerospike-amc-community-3.6.8.2.all.x86_64.deb 1429424 BLAKE2B 591f9982af0f9c696211fca341fc521b7e096f0cb57a0c0f0ff8d807422dfbcf121f31d87c7c3d89143c2e1e1bf96b2161531c3bad998cc5d3a069e545951e3f SHA512 ed1b82f825888ce2985b77d75e2e9988f87a241159fc0452af12892f66c37ec0d88f7edd2be6fce6d06184a5c09305f5e9727af48774e55b6290402fa406abc3
|
||||
DIST aerospike-amc-community-3.6.8.all.x86_64.deb 1429404 BLAKE2B efebdb3d1d9136b0a1fcf5aa09d8c293cc552b32895070afc1557752d304a88f3da9970f178b8e30a0c8b9ac0762c18af93ab9446e3ba6e12a70b57c8d179370 SHA512 de44333471307410461bd53266b84fdc9fa92f7115012eb4b29b3ad415dd471ca3d9bf1a7c52bec7063df02a7e600dce9366910a089751dd19163cc212574d28
|
||||
DIST aerospike-amc-community-3.6.9.all.x86_64.deb 1431182 BLAKE2B 6ba0618d048e7aa57b11a13dc92b9a838de2e26a316ae1fa35bf157656c3463e2933667dc96323648f28c5013093d59c7bf460906e2f7ff04ac3d9bd94f7e7c2 SHA512 67059ef2b96c4cf69b8a2edacb3edc711a18889b7eee16a038c63e8176d80e4b5ff23f126c0c16113a529e181b9c6f16601cbfa0251b0b12231ad7a23b8bc65e
|
||||
DIST aerospike-amc-community-4.0.17.tar.gz 7868123 BLAKE2B 86ada2e5af69b9306dc10b5386d21bd4459fff8a05672f289511f1b4efc27b1bd114cdd7bf9e5d6656fa3911ca111c8eabaa178a564f2ff9e6ab64c4a88a0145 SHA512 3dce8e8d435f70685498083d50818c1655faa61125391424c0ff99ea50618df4f9f3c3ddc7be5c64aba7118e75c5c3f24f7c5bfe834ba7fb504fa7d72bd00db3
|
||||
DIST aerospike-amc-community-4.0.19.tar.gz 7868527 BLAKE2B 69835bdf3d7f1a4b23cd63bb7344c50b6bbbdc04fd55b2d6ec5783a429a442fa6cdf985c77cb4ac73f8ac0663ed2524c8d7a853e970cc086335cf810fd9eaecf SHA512 821de8569bf020b9a2b829e71aab5d48d25639620468aa0b3ed28dc24e0d57bc61be60939425c0a69c418602fa2fbf5ef60f1870edb3f04fa40a2a2aca281218
|
||||
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server"
|
||||
HOMEPAGE="http://www.aerospike.com"
|
||||
SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-crypt/gcr
|
||||
dev-python/eventlet
|
||||
dev-python/flask
|
||||
dev-python/greenlet
|
||||
dev-python/setproctitle
|
||||
www-servers/gunicorn"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mkdir "${P}"
|
||||
tar -xf data.tar.xz -C "${S}" || die
|
||||
tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv opt/amc/amc/* opt/amc/
|
||||
rm -rf opt/amc/amc
|
||||
rm -f opt/amc/install
|
||||
rm -f opt/amc/bin/uninstall
|
||||
rm -f opt/amc/bin/amc_*.sh
|
||||
rm -f opt/amc/bin/gunicorn
|
||||
rm -rf opt/amc/server/site-packages/
|
||||
rm -rf opt/amc/server/setups/
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins opt/amc/config/logrotate amc
|
||||
rm -f opt/amc/config/logrotate
|
||||
|
||||
insinto /etc/cron.daily
|
||||
newins opt/amc/config/logcron amc
|
||||
rm -f opt/amc/config/logcron
|
||||
|
||||
sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die
|
||||
|
||||
insinto /etc/amc/config
|
||||
doins -r opt/amc/config/*
|
||||
rm -rf opt/amc/config/
|
||||
|
||||
echo "${PV}" > opt/amc/amc_version
|
||||
|
||||
insinto /opt/amc/
|
||||
doins -r opt/amc/*
|
||||
|
||||
keepdir /var/log/amc
|
||||
|
||||
newinitd "${FILESDIR}"/amc.init amc
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server"
|
||||
HOMEPAGE="http://www.aerospike.com"
|
||||
SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-crypt/gcr
|
||||
dev-python/eventlet
|
||||
dev-python/flask
|
||||
dev-python/greenlet
|
||||
dev-python/setproctitle
|
||||
www-servers/gunicorn"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mkdir "${P}"
|
||||
tar -xf data.tar.xz -C "${S}" || die
|
||||
tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv opt/amc/amc/* opt/amc/
|
||||
rm -rf opt/amc/amc
|
||||
rm -f opt/amc/install
|
||||
rm -f opt/amc/bin/uninstall
|
||||
rm -f opt/amc/bin/amc_*.sh
|
||||
rm -f opt/amc/bin/gunicorn
|
||||
rm -rf opt/amc/server/site-packages/
|
||||
rm -rf opt/amc/server/setups/
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins opt/amc/config/logrotate amc
|
||||
rm -f opt/amc/config/logrotate
|
||||
|
||||
insinto /etc/cron.daily
|
||||
newins opt/amc/config/logcron amc
|
||||
rm -f opt/amc/config/logcron
|
||||
|
||||
sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die
|
||||
|
||||
insinto /etc/amc/config
|
||||
doins -r opt/amc/config/*
|
||||
rm -rf opt/amc/config/
|
||||
|
||||
echo "${PV}" > opt/amc/amc_version
|
||||
|
||||
insinto /opt/amc/
|
||||
doins -r opt/amc/*
|
||||
|
||||
keepdir /var/log/amc
|
||||
|
||||
newinitd "${FILESDIR}"/amc.init amc
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server"
|
||||
HOMEPAGE="http://www.aerospike.com"
|
||||
SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-crypt/gcr
|
||||
dev-python/eventlet
|
||||
dev-python/flask
|
||||
dev-python/greenlet
|
||||
dev-python/setproctitle
|
||||
www-servers/gunicorn"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mkdir "${P}"
|
||||
tar -xf data.tar.xz -C "${S}" || die
|
||||
tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv opt/amc/amc/* opt/amc/
|
||||
rm -rf opt/amc/amc
|
||||
rm -f opt/amc/install
|
||||
rm -f opt/amc/bin/uninstall
|
||||
rm -f opt/amc/bin/amc_*.sh
|
||||
rm -f opt/amc/bin/gunicorn
|
||||
rm -rf opt/amc/server/site-packages/
|
||||
rm -rf opt/amc/server/setups/
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins opt/amc/config/logrotate amc
|
||||
rm -f opt/amc/config/logrotate
|
||||
|
||||
insinto /etc/cron.daily
|
||||
newins opt/amc/config/logcron amc
|
||||
rm -f opt/amc/config/logcron
|
||||
|
||||
sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die
|
||||
|
||||
insinto /etc/amc/config
|
||||
doins -r opt/amc/config/*
|
||||
rm -rf opt/amc/config/
|
||||
|
||||
echo "${PV}" > opt/amc/amc_version
|
||||
|
||||
insinto /opt/amc/
|
||||
doins -r opt/amc/*
|
||||
|
||||
keepdir /var/log/amc
|
||||
|
||||
newinitd "${FILESDIR}"/amc.init amc
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server"
|
||||
HOMEPAGE="http://www.aerospike.com"
|
||||
SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-crypt/gcr
|
||||
dev-python/eventlet
|
||||
dev-python/flask
|
||||
dev-python/greenlet
|
||||
dev-python/setproctitle
|
||||
www-servers/gunicorn"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mkdir "${P}"
|
||||
tar -xf data.tar.xz -C "${S}" || die
|
||||
tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv opt/amc/amc/* opt/amc/
|
||||
rm -rf opt/amc/amc
|
||||
rm -f opt/amc/install
|
||||
rm -f opt/amc/bin/uninstall
|
||||
rm -f opt/amc/bin/amc_*.sh
|
||||
rm -f opt/amc/bin/gunicorn
|
||||
rm -rf opt/amc/server/site-packages/
|
||||
rm -rf opt/amc/server/setups/
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins opt/amc/config/logrotate amc
|
||||
rm -f opt/amc/config/logrotate
|
||||
|
||||
insinto /etc/cron.daily
|
||||
newins opt/amc/config/logcron amc
|
||||
rm -f opt/amc/config/logcron
|
||||
|
||||
sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die
|
||||
|
||||
insinto /etc/amc/config
|
||||
doins -r opt/amc/config/*
|
||||
rm -rf opt/amc/config/
|
||||
|
||||
echo "${PV}" > opt/amc/amc_version
|
||||
|
||||
insinto /opt/amc/
|
||||
doins -r opt/amc/*
|
||||
|
||||
keepdir /var/log/amc
|
||||
|
||||
newinitd "${FILESDIR}"/amc.init amc
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server"
|
||||
HOMEPAGE="http://www.aerospike.com"
|
||||
SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-crypt/gcr
|
||||
dev-python/eventlet
|
||||
dev-python/flask
|
||||
dev-python/greenlet
|
||||
dev-python/setproctitle
|
||||
www-servers/gunicorn"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mkdir "${P}"
|
||||
tar -xf data.tar.xz -C "${S}" || die
|
||||
tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv opt/amc/amc/* opt/amc/
|
||||
rm -rf opt/amc/amc
|
||||
rm -f opt/amc/install
|
||||
rm -f opt/amc/bin/uninstall
|
||||
rm -f opt/amc/bin/amc_*.sh
|
||||
rm -f opt/amc/bin/gunicorn
|
||||
rm -rf opt/amc/server/site-packages/
|
||||
rm -rf opt/amc/server/setups/
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins opt/amc/config/logrotate amc
|
||||
rm -f opt/amc/config/logrotate
|
||||
|
||||
insinto /etc/cron.daily
|
||||
newins opt/amc/config/logcron amc
|
||||
rm -f opt/amc/config/logcron
|
||||
|
||||
sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die
|
||||
|
||||
insinto /etc/amc/config
|
||||
doins -r opt/amc/config/*
|
||||
rm -rf opt/amc/config/
|
||||
|
||||
echo "${PV}" > opt/amc/amc_version
|
||||
|
||||
insinto /opt/amc/
|
||||
doins -r opt/amc/*
|
||||
|
||||
keepdir /var/log/amc
|
||||
|
||||
newinitd "${FILESDIR}"/amc.init amc
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server"
|
||||
HOMEPAGE="http://www.aerospike.com"
|
||||
SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-crypt/gcr
|
||||
dev-python/eventlet
|
||||
dev-python/flask
|
||||
dev-python/greenlet
|
||||
dev-python/setproctitle
|
||||
www-servers/gunicorn"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mkdir "${P}"
|
||||
tar -xf data.tar.xz -C "${S}" || die
|
||||
tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv opt/amc/amc/* opt/amc/
|
||||
rm -rf opt/amc/amc
|
||||
rm -f opt/amc/install
|
||||
rm -f opt/amc/bin/uninstall
|
||||
rm -f opt/amc/bin/amc_*.sh
|
||||
rm -f opt/amc/bin/gunicorn
|
||||
rm -rf opt/amc/server/site-packages/
|
||||
rm -rf opt/amc/server/setups/
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins opt/amc/config/logrotate amc
|
||||
rm -f opt/amc/config/logrotate
|
||||
|
||||
insinto /etc/cron.daily
|
||||
newins opt/amc/config/logcron amc
|
||||
rm -f opt/amc/config/logcron
|
||||
|
||||
sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die
|
||||
|
||||
insinto /etc/amc/config
|
||||
doins -r opt/amc/config/*
|
||||
rm -rf opt/amc/config/
|
||||
|
||||
echo "${PV}" > opt/amc/amc_version
|
||||
|
||||
insinto /opt/amc/
|
||||
doins -r opt/amc/*
|
||||
|
||||
keepdir /var/log/amc
|
||||
|
||||
newinitd "${FILESDIR}"/amc.init amc
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit eutils user
|
||||
|
||||
DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server"
|
||||
HOMEPAGE="http://www.aerospike.com"
|
||||
SRC_URI="http://www.aerospike.com/download/amc/${PV}/artifact/linux -> ${P}.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=$WORKDIR
|
||||
|
||||
src_install() {
|
||||
cp -r "$S/"* "$D"
|
||||
rm "${D}/etc/init.d/*"
|
||||
newinitd "${FILESDIR}/amc.init.3" amc
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6} )
|
||||
|
||||
inherit distutils-r1 eutils versionator
|
||||
|
||||
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||
HOMEPAGE="https://ansible.com/"
|
||||
SRC_URI="https://releases.ansible.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x64-macos"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||
net-misc/sshpass
|
||||
virtual/ssh
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||
dev-python/passlib[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
)"
|
||||
|
||||
# not included in release tarball
|
||||
RESTRICT="test"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
cd docs/docsite || die
|
||||
export CPUS=4
|
||||
emake -f Makefile.sphinx html
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -d -w test/units -v --with-coverage --cover-package=ansible --cover-branches || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/docsite/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman docs/man/man1/*.1
|
||||
dodoc -r examples
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST glance-15.0.1.tar.gz 1815463 BLAKE2B ec6e51340fc4d737e2bd777baf03163a0b515d19c1dc8e5203918e07b304a9539f47ba763207e26def985c6a384d21250ffe1386b433d8b606b55d3d70e4431a SHA512 2da3ada256424a7817d0c49aac0940443cbefcfff3df77a623d7099badf356808b5df59f109ac233f84ac561b7310d3b8d53cafd6c9955a8e2b296a1655cedd3
|
||||
DIST glance-16.0.0.tar.gz 1956293 BLAKE2B 457f18412885287d8a3ea1b702af0e7b826eeeaf93ce8b1b7456a42d3a84594cfe270670ac35e9c63d8fbb464a3ed0db823a6949fbfa37f993b260681222d9c1 SHA512 20ff8ba74eee3a5b69f7e357f69870398e96341831bea56bbad61314d3eff9d6767dfd48634d04f96cfbc4cc96c7eff3ab900748461ecaa14e2cf329aec40481
|
||||
DIST glance-16.0.1.tar.gz 1957403 BLAKE2B a58a37b1926432ff227ebbd2b8538d25276085c4183244f930cdb6432ce00ed3927130ede24faeb9ebd25489f649c7f6542d71b9fe9614859ed3953bded13ab2 SHA512 dad883c308cfa6799bd5fc4111585af2bd7f2c5a20126976d1044e2bf573f94756f2ecea87f3b04fe611f80602709e0501c0efceed5061d0c752416b6255a2a2
|
||||
|
@ -1,145 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
|
||||
|
||||
inherit distutils-r1 user
|
||||
|
||||
DESCRIPTION="Services for discovering, registering, and retrieving VM images"
|
||||
HOMEPAGE="https://launchpad.net/glance"
|
||||
|
||||
if [[ ${PV} == *9999 ]];then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/openstack/glance.git"
|
||||
EGIT_BRANCH="stable/queens"
|
||||
else
|
||||
SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="doc mysql postgres +sqlite +swift"
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/pbr-2.1.0"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}"
|
||||
|
||||
#note to self, wsgiref is a python builtin, no need to package it
|
||||
#>=dev-python/wsgiref-0.1.2[${PYTHON_USEDEP}]
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/defusedxml-0.5.0[${PYTHON_USEDEP}]
|
||||
sqlite? (
|
||||
>=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}]
|
||||
)
|
||||
mysql? (
|
||||
>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
|
||||
!~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
|
||||
)
|
||||
postgres? (
|
||||
>=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
|
||||
!~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}]
|
||||
<dev-python/eventlet-0.21.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/routes-2.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-sqlparse-0.2.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/alembic-0.8.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-5.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-concurrency-3.25.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/futurist-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/taskflow-2.16.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/keystoneauth-3.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/WSME-0.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.7.0[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/paste-2.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-16.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-policy-1.30.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/retrying-1.2.3[${PYTHON_USEDEP}]
|
||||
!~dev-python/retrying-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/glance_store-0.22.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-1.9[${PYTHON_USEDEP}]
|
||||
!~dev-python/cryptography-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cursive-0.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/monotonic-0.6[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
#PATCHES=(
|
||||
#)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup glance
|
||||
enewuser glance -1 -1 /var/lib/glance glance
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i '/xattr/d' test-requirements.txt || die
|
||||
sed -i '/pysendfile/d' test-requirements.txt || die
|
||||
sed -i '/^hacking/d' test-requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && "${PYTHON}" setup.py build_sphinx
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
newinitd "${FILESDIR}/glance.initd" glance-api
|
||||
|
||||
diropts -m 0750 -o glance -g glance
|
||||
dodir /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber
|
||||
keepdir /etc/glance
|
||||
keepdir /var/log/glance
|
||||
keepdir /var/lib/glance/images
|
||||
keepdir /var/lib/glance/scrubber
|
||||
|
||||
insinto /etc/glance
|
||||
insopts -m 0640 -o glance -g glance
|
||||
doins -r etc/*.ini etc/*.conf etc/*.sample etc/*.json etc/meta*
|
||||
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST KeePass-2.38-Source.zip 5091900 BLAKE2B 22e3f7046984204a3e0c4a1c6d8303661048bc0fee4bcdb7999b521d0ed6e5463d89044d2897cfec0c932349cc80a7b43d4c8dfbceb4f2e88041c642e0c0d231 SHA512 42fa7274874d4858da360a6772eb25adbf3a6dafe375093459d9a25903d8c159360ea722e969fe8b330bccf62ee5d381e131bd0ba075445932d8019eee19bf20
|
||||
DIST KeePass-2.39.1-Source.zip 5109228 BLAKE2B 0b1214ac70d3d615e029c89abe63176f31e29a3fb800d84b6102220d2d39ebba848e3100e85e6f3d5cd4965461c68798ba880d5b229e8f8e6a20b0d65c2c632c SHA512 9f2b5f6c86b00932f132f8eea24fc35f08c217ed3feb047afe585592761f5297b76140c3154fb519dc5c9137718227a0bc4b6a45d22d1eb0ac95d08c73a70314
|
||||
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils gnome2-utils xdg-utils
|
||||
|
||||
MY_PN="KeePass"
|
||||
DESCRIPTION="A free, open source, light-weight and easy-to-use password manager"
|
||||
HOMEPAGE="https://keepass.info/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-Source.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="aot"
|
||||
|
||||
COMMON_DEPEND="dev-lang/mono"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/unzip
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
dev-dotnet/libgdiplus[cairo]
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
PATCHES=( "${FILESDIR}/${PN}-2.36-xsl-path-detection.patch" )
|
||||
|
||||
src_prepare() {
|
||||
# KeePass looks for some XSL files in the same folder as the executable,
|
||||
# we prefer to have it in /usr/share/KeePass. Apply patch using base function.
|
||||
# This XSL file will not be upstreamed since the KeePass creator said that
|
||||
# including this patch would break the Portable USB version of KeePass
|
||||
# (which keeps/looks for xsl files in its own folder)
|
||||
default
|
||||
|
||||
# Switch into build dir so the mono prepration script works correctly
|
||||
pushd Build || die
|
||||
source PrepMonoDev.sh || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Build with Release target
|
||||
xbuild /target:KeePass /property:Configuration=Release || die
|
||||
|
||||
# Run Ahead Of Time compiler on the binary
|
||||
if use aot; then
|
||||
cp Ext/KeePass.exe.config Build/KeePass/Release/ || die
|
||||
mono --aot -O=all Build/KeePass/Release/KeePass.exe || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Wrapper script to launch mono
|
||||
make_wrapper "${PN}" "mono /usr/$(get_libdir)/${PN}/KeePass.exe"
|
||||
|
||||
# Some XSL files
|
||||
insinto "/usr/share/${PN}/XSL"
|
||||
doins Ext/XSL/*
|
||||
|
||||
insinto "/usr/$(get_libdir)/${PN}"
|
||||
exeinto "/usr/$(get_libdir)/${PN}"
|
||||
|
||||
doins Ext/KeePass.exe.config
|
||||
|
||||
# Default configuration, simply says to use user-specific configuration
|
||||
doins Ext/KeePass.config.xml
|
||||
|
||||
# The actual executable
|
||||
doexe Build/KeePass/Release/KeePass.exe
|
||||
|
||||
# Copy the AOT compilation result
|
||||
if use aot; then
|
||||
doexe Build/KeePass/Release/KeePass.exe.so
|
||||
fi
|
||||
|
||||
# Prepare the icons
|
||||
newicon -s 256 Ext/Icons_04_CB/Finals/plockb.png "${PN}.png"
|
||||
newicon -s 256 -t gnome -c mimetypes Ext/Icons_04_CB/Finals/plockb.png "application-x-${PN}2.png"
|
||||
|
||||
# Create a desktop entry and associate it with the KeePass mime type
|
||||
make_desktop_entry "${PN}" "${MY_PN}" "${PN}" "System;Security" "MimeType=application/x-keepass2;"
|
||||
|
||||
# MIME descriptor for .kdbx files
|
||||
insinto /usr/share/mime/packages
|
||||
doins "${FILESDIR}/${PN}.xml"
|
||||
|
||||
# sed, because patching this really sucks
|
||||
sed -i 's/mono/mono --verify-all/g' "${D}/usr/bin/keepass" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
|
||||
if ! has_version x11-misc/xdotool ; then
|
||||
elog "Optional dependencies:"
|
||||
elog " x11-misc/xdotool (enables autotype/autofill)"
|
||||
fi
|
||||
|
||||
elog "Some systems may experience issues with copy and paste operations."
|
||||
elog "If you encounter this, please install x11-misc/xsel."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
@ -1,4 +1 @@
|
||||
DIST setools-3.3.8-04-gentoo-patches.tar.bz2 94986 BLAKE2B e502d44d277572be660871794afb0a58655e65d445e3c6d5f06ff5cadf4be29b95a0c19e5faa21f46919da99b4efecf1404ac91f3d6671165ad5426858d1aaac SHA512 39bf00b6aaf31821c6e2e2fb4c460dd1914fba4bf8385acebedf88f1533da990f1fb925dd49d75827aebef3f394a50a1edea46a07204193b58c65a066a064e6a
|
||||
DIST setools-3.3.8.tar.bz2 951428 BLAKE2B b3d78bd4e40d6d695dfbf670ff952ecdec2c9654ade3b0bba99b5afe240456d846782c001f63cc31ea93c72b3a7a632949da6fc86632ae7d217987e1d353eb38 SHA512 2c42ee9904174ed6c6fc129e374ec3591925094ab0ef65001b0104e365c5634bf4a79f28369608c80199d8f59fafaa5f274107c04c129c380eeef7adb0c32667
|
||||
DIST setools-4.0.1.tar.gz 399888 BLAKE2B 688a5ed18b197391b43a89375818b50b47dda5834a81a8c4b05d0f3c4a9c232ae9663c8135e46b8ce038df0c14b2e9eb93068333dce177b952741249e84d45d2 SHA512 d0a36cfddc6a6f47ecaa8402141271558e97467b6c449d18b98bf6fe894189f29a32fb672e3ff573efdb44964bd361283c68c2906d02f8a9c1269b6b71903bc2
|
||||
DIST setools-4.1.1.tar.gz 461649 BLAKE2B a753718aa6a5de889ba7a2eea921340061edf1bcb0b572a365e858949a92d2f8a92a876be2e4bc539d85fa6029511ab6afabfbe8138cdb5a73b587a9b58551bb SHA512 2e55a3b07e2f94d7c84054f31d266567b9acc708fe2b0e16ac3ea24e8301c712bcf564ff915a6135a1a6ba6822682bb3a6530dae20161a832fb7048364acbd04
|
||||
|
@ -1,141 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit autotools java-pkg-opt-2 python-r1 eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="SELinux policy tools"
|
||||
HOMEPAGE="https://github.com/TresysTechnology/setools/wiki"
|
||||
SRC_URI="http://oss.tresys.com/projects/setools/chrome/site/dists/${P}/${P}.tar.bz2
|
||||
https://dev.gentoo.org/~perfinion/patches/setools/${P}-04-gentoo-patches.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~mips x86"
|
||||
IUSE="X debug java python"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
COMMONDEPEND=">=sys-libs/libsepol-2.4
|
||||
>=sys-libs/libselinux-2.4
|
||||
>=dev-db/sqlite-3.2:3
|
||||
dev-libs/libxml2:2
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
X? (
|
||||
>=dev-lang/tk-8.4.9:0=
|
||||
>=gnome-base/libglade-2.0
|
||||
>=x11-libs/gtk+-2.8:2
|
||||
)"
|
||||
|
||||
DEPEND="${COMMONDEPEND}
|
||||
>=sys-devel/automake-1.12.1
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
virtual/pkgconfig
|
||||
java? ( dev-lang/swig
|
||||
virtual/jdk:= )
|
||||
python? ( dev-lang/swig )"
|
||||
|
||||
RDEPEND="${COMMONDEPEND}
|
||||
java? ( >=virtual/jre-1.4:= )
|
||||
X? ( >=dev-tcltk/bwidget-1.8 )"
|
||||
|
||||
RESTRICT="test"
|
||||
# setools dirs that contain python code to build
|
||||
PYTHON_DIRS="libapol/swig/python libpoldiff/swig/python libqpol/swig/python libseaudit/swig/python libsefs/swig/python python"
|
||||
|
||||
pkg_setup() {
|
||||
if use java; then
|
||||
java-pkg-opt-2_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_MULTI_MSG="Applying various (Gentoo) setool fixes... " \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-3.3.8-no-check-file.patch
|
||||
epatch "${FILESDIR}"/${PN}-3.3.8-policy-max.patch
|
||||
|
||||
# Fix build failure due to double __init__.py installation
|
||||
sed -e "s/^wrappedpy_DATA = qpol.py \$(pkgpython_PYTHON)/wrappedpy_DATA = qpol.py/" -i libqpol/swig/python/Makefile.am || die
|
||||
# Disable broken check for SWIG version. Bug #542032
|
||||
sed -e "s/AC_PROG_SWIG(2.0.0)/AC_PROG_SWIG/" -i configure.ac || die "sed failed"
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
# Python bindings are built/installed manually.
|
||||
sed -e "s/MAYBE_PYSWIG = python/MAYBE_PYSWIG =/" -i ${dir%python}Makefile.am || die "sed failed"
|
||||
# Make PYTHON_LDFLAGS replaceable during running `make`.
|
||||
sed -e "/^AM_LDFLAGS =/s/@PYTHON_LDFLAGS@/\$(PYTHON_LDFLAGS)/" -i ${dir}/Makefile.am || die "sed failed"
|
||||
done
|
||||
|
||||
epatch_user
|
||||
|
||||
eautoreconf
|
||||
|
||||
# Disable byte-compilation of Python modules.
|
||||
echo '#!/bin/sh' > py-compile
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-ld-disable-gold #467136
|
||||
econf \
|
||||
--with-java-prefix=${JAVA_HOME} \
|
||||
--disable-selinux-check \
|
||||
--disable-bwidget-check \
|
||||
$(use_enable python swig-python) \
|
||||
$(use_enable java swig-java) \
|
||||
$(use_enable X swig-tcl) \
|
||||
$(use_enable X gui) \
|
||||
$(use_enable debug)
|
||||
|
||||
# work around swig c99 issues. it does not require
|
||||
# c99 anyway.
|
||||
sed -i -e 's/-std=gnu99//' "${S}/libseaudit/swig/python/Makefile"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use python; then
|
||||
building() {
|
||||
python_export PYTHON_INCLUDEDIR
|
||||
python_export PYTHON_SITEDIR
|
||||
python_export PYTHON_LIBS
|
||||
emake \
|
||||
SWIG_PYTHON_CPPFLAGS="-I${PYTHON_INCLUDEDIR}" \
|
||||
PYTHON_LDFLAGS="${PYTHON_LIBS}" \
|
||||
pyexecdir="${PYTHON_SITEDIR}" \
|
||||
pythondir="${PYTHON_SITEDIR}" \
|
||||
-C "$1"
|
||||
}
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
python_foreach_impl building ${dir}
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if use python; then
|
||||
installation() {
|
||||
python_export PYTHON_SITEDIR
|
||||
emake DESTDIR="${D}" \
|
||||
pyexecdir="${PYTHON_SITEDIR}" \
|
||||
pythondir="${PYTHON_SITEDIR}" \
|
||||
-C "$1" install
|
||||
}
|
||||
|
||||
local dir
|
||||
for dir in ${PYTHON_DIRS}; do
|
||||
python_foreach_impl installation "${dir}"
|
||||
done
|
||||
fi
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Policy Analysis Tools for SELinux"
|
||||
HOMEPAGE="https://github.com/TresysTechnology/setools/wiki"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/TresysTechnology/setools.git"
|
||||
else
|
||||
SRC_URI="https://github.com/TresysTechnology/setools/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 ~arm64 ~mips x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="X debug test"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=sys-libs/libselinux-2.4:=[${PYTHON_USEDEP}]
|
||||
>=dev-python/networkx-1.8[${PYTHON_USEDEP}]
|
||||
app-arch/bzip2:=
|
||||
dev-libs/libpcre:=
|
||||
X? (
|
||||
dev-python/PyQt5
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-lang/swig-2.0.12:0
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
>=sys-libs/libsepol-2.5
|
||||
test? (
|
||||
python_targets_python2_7? ( dev-python/mock[${PYTHON_USEDEP}] )
|
||||
dev-python/tox[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i "s/'-Werror', //" "${S}"/setup.py || die "failed to remove Werror"
|
||||
|
||||
use X || local PATCHES=( "${FILESDIR}"/setools-4.0.1-remove-gui.patch )
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST supervisor-3.1.4.tar.gz 392321 BLAKE2B 316789fae200f02242a90d3a22a3c6486576f74dbab81b95efc72768a89c54999a370625f9589afe1edff08351840fbe27a7ef8674e6f1e3bbdd4237f3227df6 SHA512 7182db4169d37aa8f7a2a4e1d57ce40f6dea21759ed73fb49286dd5ffb2bdede0fccdc71344e93c8f8c067a2cbc4e3cb0a9a50b22bacdb1b8bc1378581ed5f07
|
||||
DIST supervisor-3.3.3.tar.gz 418354 BLAKE2B 50ce29cdad6c4d8c1a041de74d970ef57031c8b3b77180f8b837e402773ac912d384397e650b94eaeaf1db2d9a6bbb21f19247454262e96ea0f1b733226701a2 SHA512 8285445da8a0ed790fbdf75d988304ab8fcefd9c36975ae6526ec58f511c73cd8707f22b7cff40c3aed5e63f3665d096ed4b5dbc2cc456fe0c5b4547149dbb4a
|
||||
DIST supervisor-3.3.4.tar.gz 419794 BLAKE2B b916c22f3ec1cc180d495f08dac1a66cfd5a93c060906c015a85b2bf64733b4ed298b67050db1332639902a1c6601118a5c05e01c54ed4fc32910d1c24431131 SHA512 fab141b52a548a3efd26f175798b1b8fbb46ce465aa48c3281cb80584b829ecef90ae1355e4106632d13c84363ae03f081d69fb4148303ff387ab7d4e778d21a
|
||||
|
@ -0,0 +1,7 @@
|
||||
# /etc/conf.d/supervisord
|
||||
|
||||
# Configuration file (default: /etc/supervisord.conf)
|
||||
#SUPD_CONFIG_FILE="/etc/supervisord.conf"
|
||||
|
||||
# Options to pass to the supervisord process
|
||||
SUPD_OPTS=""
|
@ -0,0 +1,15 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
description="client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems"
|
||||
|
||||
SUPD_CONFIG_FILE="${SUPD_CONFIG_FILE:-/etc/supervisord.conf}"
|
||||
|
||||
command="/usr/bin/supervisord"
|
||||
pidfile="/run/supervisord.pid"
|
||||
command_args="--nodaemon --pidfile ${pidfile} --configuration \
|
||||
\"${SUPD_CONFIG_FILE}\" ${SUPD_OPTS}"
|
||||
command_background="yes"
|
||||
|
||||
required_files="${SUPD_CONFIG_FILE}"
|
@ -0,0 +1,69 @@
|
||||
; Supervisor configuration file based on supervisor/skel/sample.conf
|
||||
; vim: set ft=dosini:
|
||||
|
||||
; The below section contains configuration parameters for an HTTP server
|
||||
; that listens on a UNIX domain socket. If the configuration file has no
|
||||
; [unix_http_server] section, a UNIX domain socket HTTP server will not
|
||||
; be started.
|
||||
[unix_http_server]
|
||||
; the path to the socket file (with which supervisorctl can communicate)
|
||||
file=/run/supervisord.sock
|
||||
; socket file mode (default 0700)
|
||||
chmod=0770
|
||||
; socket file uid:gid owner
|
||||
chown=root:supervisor
|
||||
; default is no username (open server)
|
||||
;username=user
|
||||
; default is no password (open server)
|
||||
;password=123
|
||||
|
||||
; The below section contains global settings
|
||||
; related to the supervisord process.
|
||||
[supervisord]
|
||||
; main log file; default $CWD/supervisord.log
|
||||
logfile=/var/log/supervisor/supervisord.log
|
||||
; 'AUTO' child log dir, default $TEMP
|
||||
childlogdir=/var/log/supervisor
|
||||
; max main logfile bytes before rotation; default 50MB
|
||||
logfile_maxbytes=50MB
|
||||
; number of main logfile backups; 0 means none, default 10
|
||||
logfile_backups=10
|
||||
; log level; default info; others: debug, warn, trace
|
||||
loglevel=info
|
||||
; minimum available startup file descriptors; default 1024
|
||||
minfds=1024
|
||||
; minimum available process descriptors; default 200
|
||||
minprocs=200
|
||||
; default is current user, must be explicitely set if running as root
|
||||
user=root
|
||||
; process file creation umask; default 022
|
||||
;umask=022
|
||||
; supervisord identifier, default is 'supervisor'
|
||||
;identifier=supervisor
|
||||
; default is not to cd during start
|
||||
;directory=/tmp
|
||||
; don't clean up tempfiles at start; default false
|
||||
;nocleanup=true
|
||||
; key value pairs to add to environment
|
||||
;environment=KEY="value"
|
||||
; strip ANSI escape codes in logs; default false
|
||||
;strip_ansi=false
|
||||
|
||||
; The below section must remain in the config file for RPC
|
||||
; (supervisorctl/web interface) to work, additional interfaces may be
|
||||
; added by defining them in separate rpcinterface: sections
|
||||
[rpcinterface:supervisor]
|
||||
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
||||
|
||||
; The below section contains settings for
|
||||
; the supervisorctl interactive shell program.
|
||||
[supervisorctl]
|
||||
serverurl=unix:///run/supervisord.sock ; use a unix:// URL for a unix socket
|
||||
|
||||
; The below section can just contain the "files" setting. This
|
||||
; setting can list multiple files (separated by whitespace or
|
||||
; newlines). It can also contain wildcards. The filenames are
|
||||
; interpreted as relative to this file. Included files *cannot*
|
||||
; include files themselves.
|
||||
[include]
|
||||
files = /etc/supervisord.d/*.conf
|
@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Supervisor process control system for UNIX
|
||||
Documentation=http://supervisord.org
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/supervisord -n -c /etc/supervisord.conf
|
||||
ExecStop=/usr/bin/supervisorctl $OPTIONS shutdown
|
||||
ExecReload=/usr/bin/supervisorctl -c /etc/supervisord.conf $OPTIONS reload
|
||||
KillMode=process
|
||||
Restart=on-failure
|
||||
RestartSec=50s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 ) # py2 only
|
||||
# xml.etree.ElementTree module required.
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit distutils-r1 systemd user
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="A system for controlling process state under UNIX"
|
||||
HOMEPAGE="http://supervisord.org/ https://pypi.org/project/supervisor/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="repoze ZPL BSD HPND GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/meld3[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
python_prepare_all() {
|
||||
# https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages
|
||||
sed -i '/namespace_packages=/d' setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
emake -C docs html
|
||||
HTML_DOCS=( docs/.build/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
newinitd "${FILESDIR}/init.d-r2" supervisord
|
||||
newconfd "${FILESDIR}/conf.d-r1" supervisord
|
||||
dodoc supervisor/skel/sample.conf
|
||||
keepdir /etc/supervisord.d
|
||||
insinto /etc
|
||||
doins "${FILESDIR}/supervisord.conf"
|
||||
keepdir /var/log/supervisor
|
||||
systemd_dounit "${FILESDIR}/supervisord.service"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
enewgroup supervisor
|
||||
fowners :supervisor /var/log/supervisor
|
||||
fperms 750 /var/log/supervisor
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
elog "You may install your configuration files in ${EROOT%/}/etc/supervisord.d"
|
||||
elog "For config examples, see ${EROOT%/}/usr/share/doc/${PF}/sample.conf.bz2"
|
||||
elog ""
|
||||
elog "By default, only members of the supervisor group can run supervisorctl."
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Converts between the rpm, dpkg, stampede slp, and slackware tgz file formats"
|
||||
HOMEPAGE="http://kitenet.net/programs/alien"
|
||||
SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.tar.xz -> ${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="+bzip2"
|
||||
|
||||
RDEPEND="
|
||||
app-arch/rpm
|
||||
app-arch/dpkg
|
||||
dev-util/debhelper
|
||||
>=app-arch/tar-1.14.91
|
||||
bzip2? (
|
||||
app-arch/bzip2
|
||||
)"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-tar-extensions.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -e s%'$(VARPREFIX)'%${D}% -e s%'$(PREFIX)'%${D}/usr%g \
|
||||
-i "${S}"/Makefile.PL || die "sed failed"
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
From 01aabf053ea28308df87272cca79e645a9268fd7 Mon Sep 17 00:00:00 2001
|
||||
From: Austin English <austinenglish@gmail.com>
|
||||
Date: Fri, 1 Sep 2017 02:20:37 -0500
|
||||
Subject: [PATCH] add more tar extensions
|
||||
|
||||
Signed-off-by: Austin English <austinenglish@gmail.com>
|
||||
---
|
||||
Alien/Package/Tgz.pm | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Alien/Package/Tgz.pm b/Alien/Package/Tgz.pm
|
||||
index 7ab6e8b..65a3d2d 100644
|
||||
--- a/Alien/Package/Tgz.pm
|
||||
+++ b/Alien/Package/Tgz.pm
|
||||
@@ -11,7 +11,7 @@ use strict;
|
||||
use base qw(Alien::Package);
|
||||
use Cwd qw(abs_path);
|
||||
|
||||
-my $tarext=qr/\.(?:tgz|tar(?:\.(?:gz|Z|z|bz|bz2))?|taz)$/;
|
||||
+my $tarext=qr/\.(?:taz|tar(?:\.(?:bz|bz2|gz|Z|z|))?|tb2|tbz|tbz2|tZ|xpak)$/;
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
--
|
||||
2.14.0
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils bash-completion-r1
|
||||
|
||||
DESCRIPTION="Script for unpacking various file formats"
|
||||
HOMEPAGE="https://packages.qa.debian.org/u/unp.html"
|
||||
SRC_URI="mirror://debian/pool/main/u/unp/${PN}_${PV/_/$'\x7e'}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-${PV/_/$'\x7e'}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~hppa ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="nls"
|
||||
|
||||
DEPEND="nls? ( sys-devel/gettext )"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
src_compile() {
|
||||
if use nls; then
|
||||
cd po
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin unp || die "dobin failed"
|
||||
dosym unp /usr/bin/ucat
|
||||
doman debian/unp.1 || die "doman failed"
|
||||
dodoc debian/changelog debian/README.Debian
|
||||
dobashcomp bash_completion.d/unp
|
||||
|
||||
if use nls; then
|
||||
cd po
|
||||
emake DESTDIR="${D}" install
|
||||
fi
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils bash-completion-r1
|
||||
|
||||
DESCRIPTION="Script for unpacking various file formats"
|
||||
HOMEPAGE="https://packages.qa.debian.org/u/unp.html"
|
||||
TEMP_PV="${PV/_pre/$'\x7e'pre}"
|
||||
MY_PV="${TEMP_PV/_p/+nmu}"
|
||||
SRC_URI="mirror://debian/pool/main/u/unp/${PN}_${MY_PV}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="nls"
|
||||
|
||||
DEPEND="nls? ( sys-devel/gettext )"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-remove-deprecated-have.diff"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use nls; then
|
||||
cd po
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin unp || die "dobin failed"
|
||||
dosym unp /usr/bin/ucat
|
||||
doman debian/unp.1 || die "doman failed"
|
||||
dodoc debian/changelog debian/README.Debian
|
||||
dobashcomp bash_completion.d/unp
|
||||
|
||||
if use nls; then
|
||||
cd po
|
||||
emake DESTDIR="${D}" install
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,6 +1,2 @@
|
||||
DIST burp-2.0.54.tar.gz 558845 BLAKE2B f6a868b09ad73e3b8aa171993849c8fec43c141d14a64ba7919ad73890905647741688d2f0c0b01ef2a584474ecd1464423b07279160d86c7f37d1bf37a384a7 SHA512 dccc4d3679dd759028cd6b71d09ae4e49a511e5d94b4df2f112ad974abb507bbc8fffaf63ef85c847b0f9363b20a9e817179ab556c5a788acacb7a25e7600fa4
|
||||
DIST burp-2.1.22.tar.gz 582938 BLAKE2B dbc0b7612e9cda2186d16426ec1a39559af965fcbc393259e5d4d1f376c666e8532f25dbe51d2ec816fc2e630f81b059c77aee572c562bf47f466f4114e875fd SHA512 028b48c585cdc607eb00af5f60e01541a54885b8084e0353d01b1e01744848967011cd330a443ae143884852c2dbc18fb25f364ce129a31ccbcf0f8d25ccb730
|
||||
DIST burp-2.1.24.tar.gz 586055 BLAKE2B 6186e791e8b0cea74ecfbd4a85624f2492bd2721e705d8f5fb6783eb03390c7c10d88e4e4e33095aff985c70e6da59b3bb3b0f652cc850f443dabef23517c05f SHA512 b23f5e33510493e08b9b6eda405a017c8f75811fa18c9bcb6f96fbf716a79934e6c714f1258c39a81dcc52ef1a88e3629a0862bbd2462fbdc30cc7fb1b117ba6
|
||||
DIST burp-2.1.26.tar.gz 588548 BLAKE2B f17d03cd79972d1a6bee3163092cd8957208024ca121113493c942cf268e53ab4dadfe05b74c5653a42088f1fb5e4e16b11632c602f2f1f09ecf1010ef43050c SHA512 abfd6866413b4bd9e382fde4cd1f2a51b41a306605dc1fce309011c4340c6e58900839878ade4e53e2d70077ea8ea92eac3ee727783e6a316efaa7b0e75e116f
|
||||
DIST burp-2.1.28.tar.gz 590482 BLAKE2B 933e7b966ea75012b46af828fc50df1dbdafec3d6fef41149dc37d9526dd8819a3f5ffef53b75a5a196781a37e8220b58ba81dbeff8e7f0006617c7d021949b5 SHA512 8784f9dfad58cdcd1f25f669bccefaaf8df95c02ae317d17b6a70e4215e40eb16e8f65bdee3e25e463cc9b58516d2244f72877d4fbd1509938ed9d542d7a62ad
|
||||
DIST burp-2.1.32.tar.gz 591737 BLAKE2B fd525bff32348f1dbc37b1c065d262ff8af1d999d19f63711ebcff3fb55e90a7440cc6cfc0b7eefe6f8e250672c799d86e65ed599f0b8d7dd80bebcb99888987 SHA512 2477b7a9a2123b227a27519f7f3d9facca7173a9e63d66f6a8fb2ae5408d8af4ad5bfdd0a14efd6cf80e7bc8e91907f7c293a3d621b86bafdbf163bfa08d0c81
|
||||
|
@ -1,114 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools systemd tmpfiles user versionator
|
||||
|
||||
DESCRIPTION="Network backup and restore client and server for Unix and Windows"
|
||||
HOMEPAGE="http://burp.grke.org/"
|
||||
SRC_URI="https://github.com/grke/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="acl ipv6 libressl test xattr"
|
||||
|
||||
CDEPEND="dev-libs/uthash
|
||||
net-libs/librsync
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/zlib
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
acl? ( sys-apps/acl )
|
||||
xattr? ( sys-apps/attr )"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-libs/check )"
|
||||
RDEPEND="${CDEPEND}
|
||||
virtual/logger"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.0.54-ncurses_pkg-config.patch
|
||||
"${FILESDIR}"/${PN}-2.0.54-no_mkdir_run.patch
|
||||
"${FILESDIR}"/${PN}-2.0.54-protocol1_by_default.patch
|
||||
"${FILESDIR}"/${PN}-2.0.54-server_user.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup "${PN}"
|
||||
enewuser "${PN}" -1 "" "" "${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--localstatedir=/var
|
||||
--sysconfdir=/etc/burp
|
||||
--enable-largefile
|
||||
$(use_enable acl)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable xattr)
|
||||
)
|
||||
# --runstatedir option will only work from autoconf-2.70 onwards
|
||||
runstatedir='/run/burp' \
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
fowners -R root:${PN} /var/spool/burp
|
||||
fperms 0770 /var/spool/burp
|
||||
|
||||
emake DESTDIR="${D}" install-configs
|
||||
fowners -R root:${PN} /etc/burp
|
||||
fperms 0775 /etc/burp
|
||||
fperms 0640 /etc/burp/burp-server.conf
|
||||
fperms 0750 /etc/burp/clientconfdir
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}2.initd ${PN}
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
|
||||
newtmpfiles "${FILESDIR}"/${PN}.tmpfiles ${PN}.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process ${PN}.conf
|
||||
|
||||
elog "Burp ebuilds now support the autoupgrade mechanism in both"
|
||||
elog "client and server mode. In both cases it is disabled by"
|
||||
elog "default. You almost certainly do NOT want to enable it in"
|
||||
elog "client mode because upgrades obtained this way will not be"
|
||||
elog "managed by Portage."
|
||||
|
||||
if [[ ! -e /etc/burp/CA/index.txt ]]; then
|
||||
elog ""
|
||||
elog "At first run burp server will generate DH parameters and SSL"
|
||||
elog "certificates. You should adjust configuration before."
|
||||
elog "Server configuration is located at"
|
||||
elog ""
|
||||
elog " /etc/burp/burp-server.conf"
|
||||
elog ""
|
||||
fi
|
||||
|
||||
# According to PMS this can be a space-separated list of version
|
||||
# numbers, even though in practice it is typically just one.
|
||||
local oldver
|
||||
for oldver in ${REPLACING_VERSIONS}; do
|
||||
if [[ $(get_major_version ${oldver}) -lt 2 ]]; then
|
||||
ewarn "Starting with version 2.0.54 we no longer patch bedup to use"
|
||||
ewarn "the server config file by default. If you use bedup, please"
|
||||
ewarn "update your scripts to invoke it as"
|
||||
ewarn ""
|
||||
ewarn " bedup -c /etc/burp/burp-server.conf"
|
||||
ewarn ""
|
||||
ewarn "Otherwise deduplication will not work!"
|
||||
break
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,113 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools systemd tmpfiles user versionator
|
||||
|
||||
DESCRIPTION="Network backup and restore client and server for Unix and Windows"
|
||||
HOMEPAGE="http://burp.grke.org/"
|
||||
SRC_URI="https://github.com/grke/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="acl ipv6 libressl test xattr"
|
||||
|
||||
CDEPEND="dev-libs/uthash
|
||||
net-libs/librsync
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/zlib
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
acl? ( sys-apps/acl )
|
||||
xattr? ( sys-apps/attr )"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-libs/check )"
|
||||
RDEPEND="${CDEPEND}
|
||||
virtual/logger"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.1.20-no_mkdir_run.patch
|
||||
"${FILESDIR}"/${PN}-2.1.20-protocol1_by_default.patch
|
||||
"${FILESDIR}"/${PN}-2.0.54-server_user.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup "${PN}"
|
||||
enewuser "${PN}" -1 "" "" "${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--localstatedir=/var
|
||||
--sysconfdir=/etc/burp
|
||||
--enable-largefile
|
||||
$(use_enable acl)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable xattr)
|
||||
)
|
||||
# --runstatedir option will only work from autoconf-2.70 onwards
|
||||
runstatedir='/run/burp' \
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
fowners -R root:${PN} /var/spool/burp
|
||||
fperms 0770 /var/spool/burp
|
||||
|
||||
emake DESTDIR="${D}" install-configs
|
||||
fowners -R root:${PN} /etc/burp
|
||||
fperms 0775 /etc/burp
|
||||
fperms 0640 /etc/burp/burp-server.conf
|
||||
fperms 0750 /etc/burp/clientconfdir
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}2.initd ${PN}
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
|
||||
newtmpfiles "${FILESDIR}"/${PN}.tmpfiles ${PN}.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process ${PN}.conf
|
||||
|
||||
elog "Burp ebuilds now support the autoupgrade mechanism in both"
|
||||
elog "client and server mode. In both cases it is disabled by"
|
||||
elog "default. You almost certainly do NOT want to enable it in"
|
||||
elog "client mode because upgrades obtained this way will not be"
|
||||
elog "managed by Portage."
|
||||
|
||||
if [[ ! -e /etc/burp/CA/index.txt ]]; then
|
||||
elog ""
|
||||
elog "At first run burp server will generate DH parameters and SSL"
|
||||
elog "certificates. You should adjust configuration before."
|
||||
elog "Server configuration is located at"
|
||||
elog ""
|
||||
elog " /etc/burp/burp-server.conf"
|
||||
elog ""
|
||||
fi
|
||||
|
||||
# According to PMS this can be a space-separated list of version
|
||||
# numbers, even though in practice it is typically just one.
|
||||
local oldver
|
||||
for oldver in ${REPLACING_VERSIONS}; do
|
||||
if [[ $(get_major_version ${oldver}) -lt 2 ]]; then
|
||||
ewarn "Starting with version 2.0.54 we no longer patch bedup to use"
|
||||
ewarn "the server config file by default. If you use bedup, please"
|
||||
ewarn "update your scripts to invoke it as"
|
||||
ewarn ""
|
||||
ewarn " bedup -c /etc/burp/burp-server.conf"
|
||||
ewarn ""
|
||||
ewarn "Otherwise deduplication will not work!"
|
||||
break
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,109 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools systemd user versionator
|
||||
|
||||
DESCRIPTION="Network backup and restore client and server for Unix and Windows"
|
||||
HOMEPAGE="http://burp.grke.org/"
|
||||
SRC_URI="https://github.com/grke/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="acl ipv6 libressl test xattr"
|
||||
|
||||
CDEPEND="dev-libs/uthash
|
||||
net-libs/librsync
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/zlib
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
acl? ( sys-apps/acl )
|
||||
xattr? ( sys-apps/attr )"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-libs/check )"
|
||||
RDEPEND="${CDEPEND}
|
||||
virtual/logger"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.1.20-no_mkdir_run.patch
|
||||
"${FILESDIR}"/${PN}-2.1.20-protocol1_by_default.patch
|
||||
"${FILESDIR}"/${PN}-2.0.54-server_user.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup "${PN}"
|
||||
enewuser "${PN}" -1 "" "" "${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--localstatedir=/var
|
||||
--sysconfdir=/etc/burp
|
||||
--enable-largefile
|
||||
$(use_enable acl)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable xattr)
|
||||
)
|
||||
# --runstatedir option will only work from autoconf-2.70 onwards
|
||||
runstatedir='/run' \
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
fowners -R root:${PN} /var/spool/burp
|
||||
fperms 0770 /var/spool/burp
|
||||
|
||||
emake DESTDIR="${D}" install-configs
|
||||
fowners -R root:${PN} /etc/burp
|
||||
fperms 0750 /etc/burp
|
||||
fperms 0640 /etc/burp/burp-server.conf
|
||||
fperms 0750 /etc/burp/clientconfdir
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Burp ebuilds now support the autoupgrade mechanism in both"
|
||||
elog "client and server mode. In both cases it is disabled by"
|
||||
elog "default. You almost certainly do NOT want to enable it in"
|
||||
elog "client mode because upgrades obtained this way will not be"
|
||||
elog "managed by Portage."
|
||||
|
||||
if [[ ! -e /etc/burp/CA/index.txt ]]; then
|
||||
elog ""
|
||||
elog "At first run burp server will generate DH parameters and SSL"
|
||||
elog "certificates. You should adjust configuration before."
|
||||
elog "Server configuration is located at"
|
||||
elog ""
|
||||
elog " /etc/burp/burp-server.conf"
|
||||
elog ""
|
||||
fi
|
||||
|
||||
# According to PMS this can be a space-separated list of version
|
||||
# numbers, even though in practice it is typically just one.
|
||||
local oldver
|
||||
for oldver in ${REPLACING_VERSIONS}; do
|
||||
if [[ $(get_major_version ${oldver}) -lt 2 ]]; then
|
||||
ewarn "Starting with version 2.0.54 we no longer patch bedup to use"
|
||||
ewarn "the server config file by default. If you use bedup, please"
|
||||
ewarn "update your scripts to invoke it as"
|
||||
ewarn ""
|
||||
ewarn " bedup -c /etc/burp/burp-server.conf"
|
||||
ewarn ""
|
||||
ewarn "Otherwise deduplication will not work!"
|
||||
break
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,109 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools systemd user versionator
|
||||
|
||||
DESCRIPTION="Network backup and restore client and server for Unix and Windows"
|
||||
HOMEPAGE="http://burp.grke.org/"
|
||||
SRC_URI="https://github.com/grke/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="acl ipv6 libressl test xattr"
|
||||
|
||||
CDEPEND="dev-libs/uthash
|
||||
net-libs/librsync
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/zlib
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
acl? ( sys-apps/acl )
|
||||
xattr? ( sys-apps/attr )"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-libs/check )"
|
||||
RDEPEND="${CDEPEND}
|
||||
virtual/logger"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.1.20-no_mkdir_run.patch
|
||||
"${FILESDIR}"/${PN}-2.1.20-protocol1_by_default.patch
|
||||
"${FILESDIR}"/${PN}-2.0.54-server_user.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup "${PN}"
|
||||
enewuser "${PN}" -1 "" "" "${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--localstatedir=/var
|
||||
--sysconfdir=/etc/burp
|
||||
--enable-largefile
|
||||
$(use_enable acl)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable xattr)
|
||||
)
|
||||
# --runstatedir option will only work from autoconf-2.70 onwards
|
||||
runstatedir='/run' \
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
fowners -R root:${PN} /var/spool/burp
|
||||
fperms 0770 /var/spool/burp
|
||||
|
||||
emake DESTDIR="${D}" install-configs
|
||||
fowners -R root:${PN} /etc/burp
|
||||
fperms 0750 /etc/burp
|
||||
fperms 0640 /etc/burp/burp-server.conf
|
||||
fperms 0750 /etc/burp/clientconfdir
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Burp ebuilds now support the autoupgrade mechanism in both"
|
||||
elog "client and server mode. In both cases it is disabled by"
|
||||
elog "default. You almost certainly do NOT want to enable it in"
|
||||
elog "client mode because upgrades obtained this way will not be"
|
||||
elog "managed by Portage."
|
||||
|
||||
if [[ ! -e /etc/burp/CA/index.txt ]]; then
|
||||
elog ""
|
||||
elog "At first run burp server will generate DH parameters and SSL"
|
||||
elog "certificates. You should adjust configuration before."
|
||||
elog "Server configuration is located at"
|
||||
elog ""
|
||||
elog " /etc/burp/burp-server.conf"
|
||||
elog ""
|
||||
fi
|
||||
|
||||
# According to PMS this can be a space-separated list of version
|
||||
# numbers, even though in practice it is typically just one.
|
||||
local oldver
|
||||
for oldver in ${REPLACING_VERSIONS}; do
|
||||
if [[ $(get_major_version ${oldver}) -lt 2 ]]; then
|
||||
ewarn "Starting with version 2.0.54 we no longer patch bedup to use"
|
||||
ewarn "the server config file by default. If you use bedup, please"
|
||||
ewarn "update your scripts to invoke it as"
|
||||
ewarn ""
|
||||
ewarn " bedup -c /etc/burp/burp-server.conf"
|
||||
ewarn ""
|
||||
ewarn "Otherwise deduplication will not work!"
|
||||
break
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,109 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools systemd user versionator
|
||||
|
||||
DESCRIPTION="Network backup and restore client and server for Unix and Windows"
|
||||
HOMEPAGE="http://burp.grke.org/"
|
||||
SRC_URI="https://github.com/grke/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="acl ipv6 libressl test xattr"
|
||||
|
||||
CDEPEND="dev-libs/uthash
|
||||
net-libs/librsync
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/zlib
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
acl? ( sys-apps/acl )
|
||||
xattr? ( sys-apps/attr )"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-libs/check )"
|
||||
RDEPEND="${CDEPEND}
|
||||
virtual/logger"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.1.20-no_mkdir_run.patch
|
||||
"${FILESDIR}"/${PN}-2.1.20-protocol1_by_default.patch
|
||||
"${FILESDIR}"/${PN}-2.0.54-server_user.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup "${PN}"
|
||||
enewuser "${PN}" -1 "" "" "${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--localstatedir=/var
|
||||
--sysconfdir=/etc/burp
|
||||
--enable-largefile
|
||||
$(use_enable acl)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable xattr)
|
||||
)
|
||||
# --runstatedir option will only work from autoconf-2.70 onwards
|
||||
runstatedir='/run' \
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
fowners -R root:${PN} /var/spool/burp
|
||||
fperms 0770 /var/spool/burp
|
||||
|
||||
emake DESTDIR="${D}" install-configs
|
||||
fowners -R root:${PN} /etc/burp
|
||||
fperms 0750 /etc/burp
|
||||
fperms 0640 /etc/burp/burp-server.conf
|
||||
fperms 0750 /etc/burp/clientconfdir
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Burp ebuilds now support the autoupgrade mechanism in both"
|
||||
elog "client and server mode. In both cases it is disabled by"
|
||||
elog "default. You almost certainly do NOT want to enable it in"
|
||||
elog "client mode because upgrades obtained this way will not be"
|
||||
elog "managed by Portage."
|
||||
|
||||
if [[ ! -e /etc/burp/CA/index.txt ]]; then
|
||||
elog ""
|
||||
elog "At first run burp server will generate DH parameters and SSL"
|
||||
elog "certificates. You should adjust configuration before."
|
||||
elog "Server configuration is located at"
|
||||
elog ""
|
||||
elog " /etc/burp/burp-server.conf"
|
||||
elog ""
|
||||
fi
|
||||
|
||||
# According to PMS this can be a space-separated list of version
|
||||
# numbers, even though in practice it is typically just one.
|
||||
local oldver
|
||||
for oldver in ${REPLACING_VERSIONS}; do
|
||||
if [[ $(get_major_version ${oldver}) -lt 2 ]]; then
|
||||
ewarn "Starting with version 2.0.54 we no longer patch bedup to use"
|
||||
ewarn "the server config file by default. If you use bedup, please"
|
||||
ewarn "update your scripts to invoke it as"
|
||||
ewarn ""
|
||||
ewarn " bedup -c /etc/burp/burp-server.conf"
|
||||
ewarn ""
|
||||
ewarn "Otherwise deduplication will not work!"
|
||||
break
|
||||
fi
|
||||
done
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST joe-3.1jupp27.tgz 455759 BLAKE2B 06f6e2c8610a48ddd90e15da3aa3b9044735087af2e5b4b537c85b0e5008af9185abf66f34cfd5bf6dc4a671576ddf51f77554e5052ab471286d0b2686259b53 SHA512 9f7b86275ed69151e79c2b8bea4e6e0b4fbaa4093646dbd894824d8cbe5a57ead385c5f37b102bd2647f14f5426791c8d8d9fab12b8951fd27a0be79ca72c96c
|
||||
DIST joe-3.1jupp30.tgz 468421 BLAKE2B 630ef1cd3f3c73060b331126ec8e6a24d7277b3f2bfb293eb6110d1dade34ffe6efc502d0985e603b2c86a10bf27faa6151e28b777189332b805e387b756dea6 SHA512 673d48da41f61797d6aeb548e62720d1a60e3e000445558be88fb0d7ca8a1a7ce7c8bdd5b5bd58ac2c16d46dd4541da7922999256669f693a570a11562d6550f
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="portable version of JOE's Own Editor"
|
||||
HOMEPAGE="https://www.mirbsd.org/jupp.htm"
|
||||
SRC_URI="https://www.mirbsd.org/MirOS/dist/${PN}/joe-${PV/_p/${PN}}.tgz"
|
||||
|
||||
LICENSE="GPL-1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="ncurses"
|
||||
|
||||
RDEPEND="ncurses? ( sys-libs/ncurses )
|
||||
!app-editors/joe"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
chmod +x configure
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-search_libs \
|
||||
--enable-termcap \
|
||||
$(use_enable ncurses curses)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc HINTS INFO LIST
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST puppet-mode-0.3.20171221.tar.gz 36707 BLAKE2B 97b285e409a1e344c12773fd1fa64c87090c883662f87fbf01f5b535e5c9027a035b6c4656ac6ca138cf872b05ff8f05af2478f2bfa5b04a10168507b48c387c SHA512 12db350e4005d2b13d8e936f1a956c3bd603709a7a88489565fd4be3a8e74c7b33e6523a7371db85927c018c260762467d6e50153eea659f87711426df7774fc
|
||||
DIST puppet-mode-0.3.tar.gz 25617 BLAKE2B a9afb8e2f6c0a2b40cef6bb39d0fa2effe2ddffaa3b646562f0fc5b84d1613e556df88206835d6aad5862d526161d69c49ecd188e299e4f4175b479fe1957eee SHA512 16ba5f71a1ec6c40b1eddf2acf5c1aa1968526b959279e1cac0cfac947f82f404fc35978ce12f5851309f293e2c92f054a718ade97d156528d505dcda58434e8
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit elisp
|
||||
|
||||
COMMIT=b3ed5057166a4f49dfa9be638523a348b55a2fd2
|
||||
|
||||
DESCRIPTION="Emacs major mode for editing Puppet manifests"
|
||||
HOMEPAGE="https://github.com/voxpupuli/puppet-mode"
|
||||
SRC_URI="https://github.com/voxpupuli/puppet-mode/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
|
||||
|
||||
DOCS="CHANGES.md README.md"
|
||||
SITEFILE="50${PN}-1-gentoo.el"
|
||||
|
||||
# Tests require unpackaged ert-runner
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
elisp_src_prepare
|
||||
|
||||
sed -i -e 's/@VERSION@/'${PV}'/' puppet-mode.el || die
|
||||
}
|
Binary file not shown.
@ -1,18 +0,0 @@
|
||||
Add missing stub function to prevent underlinking error.
|
||||
Patch provided by Pat Erley
|
||||
See also: https://bugs.gentoo.org/show_bug.cgi?id=585994
|
||||
|
||||
--- a/src/dummy-session-info.c
|
||||
+++ b/src/dummy-session-info.c
|
||||
@@ -50,6 +50,11 @@
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
+gboolean session_info_session_is_locked(struct session_info *ck)
|
||||
+{
|
||||
+ return FALSE;
|
||||
+}
|
||||
+
|
||||
gboolean session_info_is_user(struct session_info *si)
|
||||
{
|
||||
return TRUE;
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit linux-info
|
||||
|
||||
DESCRIPTION="SPICE VD Linux Guest Agent"
|
||||
HOMEPAGE="https://www.spice-space.org/"
|
||||
SRC_URI="https://www.spice-space.org/download/releases/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+consolekit selinux systemd"
|
||||
|
||||
CDEPEND="
|
||||
>=app-emulation/spice-protocol-0.12.8
|
||||
media-libs/alsa-lib
|
||||
>=x11-libs/libpciaccess-0.10
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libX11
|
||||
x11-libs/libXinerama
|
||||
consolekit? ( sys-auth/consolekit sys-apps/dbus )
|
||||
systemd? ( sys-apps/systemd )"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-vdagent )"
|
||||
|
||||
CONFIG_CHECK="~INPUT_UINPUT ~VIRTIO_CONSOLE"
|
||||
ERROR_INPUT_UINPUT="User level input support (INPUT_UINPUT) is required"
|
||||
ERROR_VIRTIO_CONSOLE="VirtIO console/serial device support (VIRTIO_CONSOLE) is required"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.17.0-add-missing-stub-function.patch )
|
||||
|
||||
src_configure() {
|
||||
local opt=()
|
||||
if use consolekit; then
|
||||
opt+=( --with-session-info=console-kit )
|
||||
elif use systemd; then
|
||||
opt+=( --with-session-info=systemd )
|
||||
else
|
||||
opt+=( --with-session-info=none )
|
||||
fi
|
||||
|
||||
econf \
|
||||
--with-init-script=systemd \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
"${opt[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
cd "${ED}" && rmdir -p var/run/spice-vdagentd || die
|
||||
|
||||
keepdir /var/log/spice-vdagentd
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd-3" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd-2" "${PN}"
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST pushgateway-0.4.0.tar.gz 1140644 BLAKE2B ea82e2e7f6fd817de02044e5aafde724a4089e4f2961f0b581f90df7e04e65af5a3c3e044ef94bd600a92468a8aed791c838a8fdc64b05b7a91d6288e7e96fb3 SHA512 67f25e5f7fdc54143c5d10720f27bd256f22695ced93088cf2b72fe3197e45324d4353357ae40d7d3e92019480c0bec009e38ed3f583724d46411d76adbdc927
|
||||
DIST pushgateway-0.5.0.tar.gz 1566969 BLAKE2B 255592d172ba910cd4c031f33045ee92fa02b8ba04c69a844e1a81d0fb4c0425f4a71931c917cb70f90422e25ad8761892cde344acb3fa7465e682ff8671f31b SHA512 d0a96aa8b1a59266a8864ab760ad6fdbdc131c49b08aa3bf89f54ed9c6ced6a4b7ab2f8c70d15dad1605ec7b46c5e784dc77be10f26ebd56a3a0f16f7285d607
|
||||
|
@ -0,0 +1,14 @@
|
||||
# --log.format value
|
||||
# If set use a syslog logger or JSON logging. Example: logger:syslog?appname=bob&local=7 or logger:stdout?json=true. Defaults to stderr.
|
||||
# --log.level value
|
||||
# Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal].
|
||||
# --persistence.file string
|
||||
# File to persist metrics. If empty, metrics are only kept in memory.
|
||||
# --persistence.interval duration
|
||||
# The minimum interval at which to write out the persistence file. (default 5m0s)
|
||||
# --web.listen-address string
|
||||
# Address to listen on for the web interface, API, and telemetry. (default ":9091")
|
||||
# --web.telemetry-path string
|
||||
# Path under which to expose metrics. (default "/metrics")
|
||||
|
||||
#command_args="--web.listen-address localhost:9091 --persistence.file=/var/lib/${RC_SVCNAME}/persistence.gob"
|
@ -0,0 +1,19 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
description="Prometheus push acceptor for ephemeral and batch jobs"
|
||||
pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
|
||||
user=${user:-${RC_SVCNAME}}
|
||||
group=${group:-${RC_SVCNAME}}
|
||||
|
||||
command="/usr/bin/pushgateway"
|
||||
command_args="${command_args:---web.listen-address localhost:9091 --persistence.file=/var/lib/${RC_SVCNAME}/persistence.gob}"
|
||||
command_background="true"
|
||||
start_stop_daemon_args="--user ${user} --group ${group} \
|
||||
--stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
|
||||
--stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Prometheus exporter for ephemereal jobs
|
||||
Documentation=https://prometheus.io/docs/instrumenting/pushing/
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
User=pushgateway
|
||||
Restart=on-failure
|
||||
Environment=PUSHGATEWAY_ARGS="--web.listen-address localhost:9091 --persistence.file=/var/lib/pushgateway/persistence.gob"
|
||||
ExecStart=/usr/bin/pushgateway $PUSHGATEWAY_ARGS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
TimeoutStopSec=20s
|
||||
SendSIGKILL=no
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit user golang-build golang-vcs-snapshot systemd
|
||||
|
||||
EGO_PN="github.com/prometheus/pushgateway"
|
||||
EGIT_COMMIT="v${PV/_rc/-rc.}"
|
||||
GIT_COMMIT="3965d2a"
|
||||
ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Prometheus push acceptor for ephemeral and batch jobs"
|
||||
HOMEPAGE="https://github.com/prometheus/pushgateway"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-util/promu"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 -1 ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/{{.Revision}}/${GIT_COMMIT}/" src/${EGO_PN}/.promu.yml || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd src/${EGO_PN} || die
|
||||
mkdir -p bin || die
|
||||
GOPATH="${S}" promu build -v --prefix bin || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd src/${EGO_PN} || die
|
||||
dobin bin/pushgateway
|
||||
dodoc {README,CHANGELOG,CONTRIBUTING}.md
|
||||
popd || die
|
||||
keepdir /var/lib/${PN} /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/lib/${PN} /var/log/${PN}
|
||||
newinitd "${FILESDIR}"/${PN}-1.initd ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}-1.confd ${PN}
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}-1.service"
|
||||
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST elasticsearch-1.7.6.tar.gz 28488767 BLAKE2B 0dc4fb10355e2139ee3a7e7e65366e8aa533b9714bf0f00d2bd8f4ef0669ba9f8f10dc5255c8c7a62abc0362e08ab5fda3c8b6b6f2bacfe5cce7255973293162 SHA512 2746f09b66919912e785c8d25c50ae74dbb38a41d99d9c926550786f9c2d7953d1ae1a54a32dae59a7269e5fbfa74dfbc91c3d412e415efd01c391ef7d329ba7
|
||||
DIST elasticsearch-5.6.9.tar.gz 33794793 BLAKE2B a056443b1f71b3af773b5195147927017456e1c9a6517c549cfe7e4ec70f0ff4ec9363c9ef6376b7b942e82f811cd5927d44eb9f9eb8022a56e54a85b4ba7c46 SHA512 4e61a4c5f79d0439a414f1e9361f855cdb2f79322cf592bad43132605922fb8ded6368b01e05ef6bcbee49911943c2a3b6be5fd6d0900abddfe03c736cca96d6
|
||||
DIST elasticsearch-6.2.4.tar.gz 29056810 BLAKE2B 121be27ac1db4fa6bbe285161b3f2b2dd889859b50f46b57b68ed43514568c4aa9629b5ca32edcc2328a6e7245256d64901c8acc8b2dd91337f8ca97b87c46e1 SHA512 9e6c0de8ed0d9e27fdd18ef7bada376af5a8680bb7a4f4d805926da456b349cee731ba90328b5eda5f0e62fa3f00f34646bf1c2b6c662d055f4be338d0690941
|
||||
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils systemd user
|
||||
|
||||
MY_PN="${PN%-bin}"
|
||||
DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
|
||||
HOMEPAGE="https://www.elastic.co/products/elasticsearch"
|
||||
SRC_URI="https://download.elastic.co/${MY_PN}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="usr/share/elasticsearch/lib/sigar/libsigar-*.so"
|
||||
|
||||
RDEPEND="|| ( virtual/jre:1.7 virtual/jre:1.8 )"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${MY_PN}
|
||||
enewuser ${MY_PN} -1 /bin/bash /var/lib/${MY_PN} ${MY_PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
rm -rf lib/sigar/*{solaris,winnt,freebsd,macosx}*
|
||||
rm -rf bin/*.{bat,exe}
|
||||
rm lib/sigar/libsigar-ia64-linux.so
|
||||
rm LICENSE.txt
|
||||
|
||||
use amd64 && {
|
||||
rm lib/sigar/libsigar-x86-linux.so
|
||||
}
|
||||
|
||||
use x86 && {
|
||||
rm lib/sigar/libsigar-amd64-linux.so
|
||||
}
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /etc/${MY_PN}
|
||||
|
||||
insinto /usr/share/doc/${P}/examples
|
||||
doins config/*
|
||||
rm -rf config
|
||||
|
||||
insinto /usr/share/${MY_PN}
|
||||
doins -r ./*
|
||||
chmod +x "${D}"/usr/share/${MY_PN}/bin/*
|
||||
|
||||
keepdir /var/{lib,log}/${MY_PN}
|
||||
|
||||
newinitd "${FILESDIR}/elasticsearch.init.1" "${MY_PN}"
|
||||
newconfd "${FILESDIR}/${MY_PN}.conf.3" "${MY_PN}"
|
||||
systemd_newunit "${FILESDIR}"/${PN}.service.2 "${PN}.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "You may create multiple instances of ${MY_PN} by"
|
||||
elog "symlinking the init script:"
|
||||
elog "ln -sf /etc/init.d/${MY_PN} /etc/init.d/${MY_PN}.instance"
|
||||
elog
|
||||
elog "Each of the example files in /usr/share/doc/${P}/examples"
|
||||
elog "should be extracted to the proper configuration directory:"
|
||||
elog "/etc/${MY_PN} (for standard init)"
|
||||
elog "/etc/${MY_PN}/instance (for symlinked init)"
|
||||
elog
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
################################
|
||||
# Elasticsearch
|
||||
################################
|
||||
|
||||
# Elasticsearch home directory
|
||||
#ES_HOME=/usr/share/elasticsearch
|
||||
|
||||
# Elasticsearch Java path
|
||||
#JAVA_HOME=
|
||||
|
||||
# Elasticsearch configuration directory
|
||||
#CONF_DIR=/etc/elasticsearch
|
||||
|
||||
# Elasticsearch data directory
|
||||
#DATA_DIR=/var/lib/elasticsearch
|
||||
|
||||
# Elasticsearch logs directory
|
||||
#LOG_DIR=/var/log/elasticsearch
|
||||
|
||||
# Elasticsearch PID directory
|
||||
#PID_DIR=/run/elasticsearch
|
||||
|
||||
# Additional Java OPTS
|
||||
#ES_JAVA_OPTS=
|
||||
|
||||
################################
|
||||
# Elasticsearch service
|
||||
################################
|
||||
|
||||
# When executing the init script, this user will be used to run the elasticsearch service.
|
||||
# The default value is 'elasticsearch' and is declared in the init.d file.
|
||||
# Note that this setting is only used by the init script. If changed, make sure that
|
||||
# the configured user can read and write into the data, work, plugins and log directories.
|
||||
# For systemd service, the user is usually configured in file /usr/lib/systemd/system/elasticsearch.service
|
||||
#ES_USER=elasticsearch
|
||||
#ES_GROUP=elasticsearch
|
||||
|
||||
# The number of seconds to wait before checking if Elasticsearch started successfully as a daemon process
|
||||
#ES_STARTUP_SLEEP_TIME=5
|
||||
|
||||
################################
|
||||
# System properties
|
||||
################################
|
||||
|
||||
# Specifies the maximum file descriptor number that can be opened by this process
|
||||
# When using Systemd, this setting is ignored and the LimitNOFILE defined in
|
||||
# /usr/lib/systemd/system/elasticsearch.service takes precedence
|
||||
#MAX_OPEN_FILES=65536
|
||||
|
||||
# The maximum number of bytes of memory that may be locked into RAM
|
||||
# Set to "unlimited" if you use the 'bootstrap.memory_lock: true' option
|
||||
# in elasticsearch.yml.
|
||||
# When using Systemd, the LimitMEMLOCK property must be set
|
||||
# in /usr/lib/systemd/system/elasticsearch.service
|
||||
#MAX_LOCKED_MEMORY=unlimited
|
||||
|
||||
# Maximum number of VMA (Virtual Memory Areas) a process can own
|
||||
# When using Systemd, this setting is ignored and the 'vm.max_map_count'
|
||||
# property is set at boot time in /usr/lib/sysctl.d/elasticsearch.conf
|
||||
#MAX_MAP_COUNT=262144
|
@ -1,95 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
name="Elasticsearch"
|
||||
description="Elasticsearch Server"
|
||||
|
||||
ES_INSTANCE=${SVCNAME#*.}
|
||||
PID_DIR=${PID_DIR:="/run/elasticsearch"}
|
||||
|
||||
if [ -n "${ES_INSTANCE}" ] && [ ${SVCNAME} != "elasticsearch" ]; then
|
||||
PIDFILE="${PID_DIR}/elasticsearch.${ES_INSTANCE}.pid"
|
||||
ES_BASE_PATH="/var/lib/elasticsearch/${ES_INSTANCE}"
|
||||
CONF_DIR="/etc/elasticsearch/${ES_INSTANCE}"
|
||||
LOG_DIR="/var/log/elasticsearch/${ES_INSTANCE}"
|
||||
else
|
||||
PIDFILE="${PID_DIR}/elasticsearch.pid"
|
||||
ES_BASE_PATH="/var/lib/elasticsearch/_default"
|
||||
CONF_DIR="/etc/elasticsearch"
|
||||
LOG_DIR="/var/log/elasticsearch/_default"
|
||||
fi
|
||||
|
||||
ES_HOME=${ES_HOME:="/usr/share/elasticsearch"}
|
||||
ES_USER=${ES_USER:="elasticsearch"}
|
||||
ES_GROUP=${ES_GROUP:="elasticsearch"}
|
||||
ES_STARTUP_SLEEP_TIME=${ES_STARTUP_TIME:=5}
|
||||
MAX_OPEN_FILES=${MAX_OPEN_FILES:=65536}
|
||||
MAX_MAP_COUNT=${MAX_MAP_COUNT:=262144}
|
||||
|
||||
DATA_DIR=${DATA_DIR:="${ES_BASE_PATH}/data"}
|
||||
|
||||
if [ -f "${CONF_DIR}/elasticsearch.in.sh" ]; then
|
||||
ES_INCLUDE="${CONF_DIR}/elasticsearch.in.sh"
|
||||
fi
|
||||
|
||||
export ES_INCLUDE
|
||||
export JAVA_HOME
|
||||
export JAVA_OPTS
|
||||
export ES_JVM_OPTIONS
|
||||
export ES_JAVA_OPTS
|
||||
export ES_STARTUP_SLEEP_TIME
|
||||
|
||||
server_command="/usr/share/elasticsearch/bin/elasticsearch"
|
||||
server_args="-d -p ${PIDFILE} -Edefault.path.logs=${LOG_DIR} -Edefault.path.data=${DATA_DIR} -Edefault.path.conf=${CONF_DIR}"
|
||||
|
||||
depend() {
|
||||
use net
|
||||
}
|
||||
|
||||
start() {
|
||||
local conf
|
||||
local conf_file
|
||||
for conf in elasticsearch.yml; do
|
||||
conf_file="${CONF_DIR}/${conf}"
|
||||
if [ ! -f "${conf_file}" ]; then
|
||||
eerror "${conf_file} must be copied into place"
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -n "${MAX_MAP_COUNT}" -a -f /proc/sys/vm/max_map_count ]; then
|
||||
sysctl -q -w vm.max_map_count=${MAX_MAP_COUNT}
|
||||
fi
|
||||
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
|
||||
if [ -n "${MAX_LOCKED_MEMORY}" ]; then
|
||||
ulimit -l "${MAX_LOCKED_MEMORY}"
|
||||
fi
|
||||
|
||||
if [ -n "${MAX_OPEN_FILES}" ]; then
|
||||
ulimit -n "${MAX_OPEN_FILES}"
|
||||
fi
|
||||
|
||||
checkpath -d -o "${ES_USER}:${ES_GROUP}" -m750 "/var/lib/elasticsearch"
|
||||
checkpath -d -o "${ES_USER}:${ES_GROUP}" -m750 "/var/log/elasticsearch"
|
||||
checkpath -d -o "${ES_USER}:${ES_GROUP}" -m750 "${PID_DIR}"
|
||||
checkpath -d -o "${ES_USER}:${ES_GROUP}" -m750 "${ES_BASE_PATH}"
|
||||
checkpath -d -o "${ES_USER}:${ES_GROUP}" -m750 "${LOG_DIR}"
|
||||
|
||||
start-stop-daemon --start \
|
||||
--background \
|
||||
--chdir "${ES_HOME}" \
|
||||
--user="${ES_USER}" \
|
||||
--pidfile="${PIDFILE}" \
|
||||
--exec ${server_command} -- ${server_args}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon --stop \
|
||||
--pidfile=${PIDFILE} \
|
||||
--user="${ES_USER}" \
|
||||
--retry=TERM/20
|
||||
eend $?
|
||||
}
|
@ -1,64 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
name="Elasticsearch"
|
||||
description="Elasticsearch Server"
|
||||
|
||||
ES_INSTANCE=${SVCNAME#*.}
|
||||
|
||||
if [ -n "${ES_INSTANCE}" ] && [ ${SVCNAME} != "elasticsearch" ]; then
|
||||
ES_BASE_PATH="/var/lib/elasticsearch/${ES_INSTANCE}"
|
||||
CONF_DIR="/etc/elasticsearch/${ES_INSTANCE}"
|
||||
LOG_DIR="/var/log/elasticsearch/${ES_INSTANCE}"
|
||||
else
|
||||
ES_BASE_PATH="/var/lib/elasticsearch/_default"
|
||||
CONF_DIR="/etc/elasticsearch"
|
||||
LOG_DIR="/var/log/elasticsearch/_default"
|
||||
fi
|
||||
|
||||
ES_DATA_PATH="${ES_BASE_PATH}/data"
|
||||
ES_WORK_PATH="${ES_BASE_PATH}/work"
|
||||
|
||||
ES_HOME=${ES_HOME:="/usr/share/elasticsearch"}
|
||||
ES_USER=${ES_USER:="elasticsearch"}
|
||||
ES_GROUP=${ES_GROUP:="elasticsearch"}
|
||||
ES_STARTUP_SLEEP_TIME=${ES_STARTUP_TIME:=5}
|
||||
MAX_OPEN_FILES=${MAX_OPEN_FILES:=65536}
|
||||
MAX_MAP_COUNT=${MAX_MAP_COUNT:=262144}
|
||||
|
||||
DATA_DIR=${DATA_DIR:="${ES_BASE_PATH}/data"}
|
||||
|
||||
if [ -f "${CONF_DIR}/elasticsearch.in.sh" ]; then
|
||||
ES_INCLUDE="${CONF_DIR}/elasticsearch.in.sh"
|
||||
fi
|
||||
|
||||
export ES_INCLUDE
|
||||
export JAVA_HOME
|
||||
export JAVA_OPTS
|
||||
export ES_JVM_OPTIONS
|
||||
export ES_JAVA_OPTS
|
||||
export ES_STARTUP_SLEEP_TIME
|
||||
export ES_PATH_CONF="${CONF_DIR}"
|
||||
|
||||
pidfile="/run/elasticsearch/${RC_SVCNAME}.pid"
|
||||
|
||||
command="/usr/share/elasticsearch/bin/elasticsearch"
|
||||
command_args="-d --pidfile=${pidfile} -Des.default.path.conf=\"${CONF_DIR}\" -Des.default.path.data=\"${ES_DATA_PATH}\" -Des.default.path.work=\"${ES_WORK_PATH}\" -Des.default.path.logs=\"${LOG_DIR}\""
|
||||
command_user="${ES_USER}:${ES_GROUP}"
|
||||
required_files="${CONF_DIR}/elasticsearch.yml"
|
||||
retry="TERM/30/KILL/30"
|
||||
|
||||
depend() {
|
||||
use net
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
if [ -n "${MAX_MAP_COUNT}" -a -f /proc/sys/vm/max_map_count ]; then
|
||||
sysctl -q -w vm.max_map_count=${MAX_MAP_COUNT}
|
||||
fi
|
||||
|
||||
checkpath -d -o "${ES_USER}:${ES_GROUP}" -m750 "/var/lib/elasticsearch"
|
||||
checkpath -d -o "${ES_USER}:${ES_GROUP}" -m750 "/var/log/elasticsearch"
|
||||
checkpath -d -o "${ES_USER}:${ES_GROUP}" -m750 "/run/elasticsearch"
|
||||
checkpath -d -o "${ES_USER}:${ES_GROUP}" -m750 "${ES_BASE_PATH}"
|
||||
checkpath -d -o "${ES_USER}:${ES_GROUP}" -m750 "${LOG_DIR}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST livecd-tools-2.2.tar.gz 11419 BLAKE2B 4dca047acd82bb8fa14bb117b42141c2b4a0cd441b965a677c33932c77166c2e89af2d396bc2f1e699174ad0f911e54c16431d93dfe7f8796ce66859e8e69fc3 SHA512 62891c132b0f392b775116d90740ea30a546a75736b17d10e5915ededa72ed730934555cab9a0b81a6def49e687c13db3e92e1e4f325854151569ad3e814bec0
|
||||
DIST livecd-tools-2.3.tar.bz2 11128 BLAKE2B f89c02fac4ec60b36a1e11c547d52290c80e028e1b07d25533846bba8b8b861faa7b1d85ebffd4936593b5f975851b680e73e6502c23d62c68c03646d1373dbc SHA512 93a5742a4cc243fee07088f5957c1eb48c2276460c391c089502eccba5bfe80b52fa7a7d058502b18086130bd8686c8c0e4af8f3f03f72c98b482776e0f225a9
|
||||
DIST livecd-tools-2.4.tar.bz2 11506 BLAKE2B 0e7fc54ab4185ba725f2672dbd15a87e7cef249224e51895e2cedb1e163d8fc25566f989eb8fa118111d0d50bed2b6c7e303586b322b1e9b41bf746778a056f0 SHA512 52c2ecf583bca68ee5d3dfce9973268758753069a3255dd3d435b9240feb8c99d7c7595c0c009ddc89566d79c01552eab7dbc8a9055d4841104dfe4e224d832b
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="git://anongit.gentoo.org/proj/livecd-tools.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://gitweb.gentoo.org/proj/livecd-tools.git/snapshot/${P}.tar.bz2"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Gentoo LiveCD tools for autoconfiguration of hardware"
|
||||
HOMEPAGE="https://www.gentoo.org"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-util/dialog
|
||||
net-dialup/mingetty
|
||||
>=sys-apps/baselayout-2
|
||||
>=sys-apps/openrc-0.8.2-r1
|
||||
sys-apps/pciutils
|
||||
sys-apps/gawk
|
||||
sys-apps/sed"
|
||||
|
||||
pkg_setup() {
|
||||
ewarn "This package is designed for use on the LiveCD only and will do"
|
||||
ewarn "unspeakably horrible and unexpected things on a normal system."
|
||||
ewarn "YOU HAVE BEEN WARNED!!!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doconfd conf.d/*
|
||||
doinitd init.d/*
|
||||
dosbin net-setup
|
||||
into /
|
||||
dosbin livecd-functions.sh
|
||||
}
|
Binary file not shown.
@ -0,0 +1,88 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rpm eapi7-ver
|
||||
|
||||
MY_PV=$(ver_cut 1-3)
|
||||
|
||||
DESCRIPTION="Translations for the Libreoffice suite"
|
||||
HOMEPAGE="https://www.libreoffice.org"
|
||||
BASE_SRC_URI_TESTING="https://download.documentfoundation.org/${PN/-l10n/}/testing/${MY_PV}/rpm"
|
||||
BASE_SRC_URI_STABLE="https://download.documentfoundation.org/${PN/-l10n/}/stable/${MY_PV}/rpm"
|
||||
|
||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="offlinehelp"
|
||||
|
||||
#
|
||||
# when changing the language lists, please be careful to preserve the spaces (bug 491728)
|
||||
#
|
||||
# "en:en-US" for mapping from Gentoo "en" to upstream "en-US" etc.
|
||||
LANGUAGES_HELP=" am ast bg bn-IN bn bo bs ca-valencia ca cs da de dz el en-GB en:en-US en-ZA eo es et eu fi fr gl gu he hi hr hu id is it ja ka km ko mk nb ne nl nn om pl pt-BR pt ru si sk sl sq sv tg tr ug uk vi zh-CN zh-TW "
|
||||
LANGUAGES="${LANGUAGES_HELP}af ar as be br brx cy dgo fa ga gd gug kk kmr-Latn kn kok ks lb lo lt lv mai ml mn mni mr my nr nso oc or pa:pa-IN ro rw sa:sa-IN sat sd sid sr-Latn sr ss st sw-TZ ta te th tn ts tt uz ve xh zu "
|
||||
|
||||
for lang in ${LANGUAGES_HELP}; do
|
||||
helppack="offlinehelp? ( ${BASE_SRC_URI_STABLE}/x86/LibreOffice_${MY_PV}_Linux_x86_rpm_helppack_${lang#*:}.tar.gz -> LibreOffice_${PV}_Linux_x86_rpm_helppack_${lang#*:}.tar.gz ${BASE_SRC_URI_TESTING}/x86/LibreOffice_${PV}_Linux_x86_rpm_helppack_${lang#*:}.tar.gz )"
|
||||
SRC_URI+=" l10n_${lang%:*}? ( ${helppack} )"
|
||||
done
|
||||
for lang in ${LANGUAGES}; do
|
||||
if [[ ${lang%:*} != en ]]; then
|
||||
langpack="${BASE_SRC_URI_STABLE}/x86/LibreOffice_${MY_PV}_Linux_x86_rpm_langpack_${lang#*:}.tar.gz -> LibreOffice_${PV}_Linux_x86_rpm_langpack_${lang#*:}.tar.gz ${BASE_SRC_URI_TESTING}/x86/LibreOffice_${PV}_Linux_x86_rpm_langpack_${lang#*:}.tar.gz"
|
||||
SRC_URI+=" l10n_${lang%:*}? ( ${langpack} )"
|
||||
fi
|
||||
IUSE+=" l10n_${lang%:*}"
|
||||
done
|
||||
unset lang helppack langpack
|
||||
|
||||
RDEPEND+="app-text/hunspell"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local lang dir rpmdir
|
||||
|
||||
# First remove dictionaries, we want to use system ones.
|
||||
find "${S}" -name *dict*.rpm -delete || die "Failed to remove dictionaries"
|
||||
|
||||
for lang in ${LANGUAGES}; do
|
||||
# break away if not enabled
|
||||
use l10n_${lang%:*} || continue
|
||||
|
||||
dir=${lang#*:}
|
||||
|
||||
# for english we provide just helppack, as translation is always there
|
||||
if [[ ${lang%:*} != en ]]; then
|
||||
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_langpack_${dir}/RPMS/"
|
||||
[[ -d ${rpmdir} ]] || die "Missing directory: ${rpmdir}"
|
||||
rpm_unpack ./${rpmdir}/*.rpm
|
||||
fi
|
||||
if [[ "${LANGUAGES_HELP}" =~ " ${lang} " ]] && use offlinehelp; then
|
||||
rpmdir="LibreOffice_${PV}_Linux_x86_rpm_helppack_${dir}/RPMS/"
|
||||
[[ -d ${rpmdir} ]] || die "Missing directory: ${rpmdir}"
|
||||
rpm_unpack ./${rpmdir}/*.rpm
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
local dir="${S}"/opt/${PN/-l10n/}$(ver_cut 1-2)/
|
||||
# Condition required for people that do not install anything eg no l10n
|
||||
# or just english with no offlinehelp.
|
||||
if [[ -d "${dir}" ]] ; then
|
||||
insinto /usr/$(get_libdir)/${PN/-l10n/}/
|
||||
doins -r "${dir}"/*
|
||||
fi
|
||||
# remove extensions that are in the l10n for some weird reason
|
||||
rm -rf "${ED}"usr/$(get_libdir)/${PN/-l10n/}/share/extensions/ || \
|
||||
die "Failed to remove extensions"
|
||||
}
|
@ -0,0 +1,547 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
PYTHON_REQ_USE="threads,xml"
|
||||
|
||||
# experimental ; release ; old
|
||||
# Usually the tarballs are moved a lot so this should make
|
||||
# everyone happy.
|
||||
DEV_URI="
|
||||
https://dev-builds.libreoffice.org/pre-releases/src
|
||||
https://download.documentfoundation.org/libreoffice/src/${PV:0:5}/
|
||||
https://downloadarchive.documentfoundation.org/libreoffice/old/${PV}/src
|
||||
"
|
||||
ADDONS_URI="https://dev-www.libreoffice.org/src/"
|
||||
|
||||
BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
|
||||
# PATCHSET="${P}-patchset-01.tar.xz"
|
||||
|
||||
[[ ${PV} == *9999* ]] && SCM_ECLASS="git-r3"
|
||||
inherit multiprocessing autotools bash-completion-r1 check-reqs gnome2-utils java-pkg-opt-2 pax-utils python-single-r1 toolchain-funcs flag-o-matic versionator xdg-utils qmake-utils ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="A full office productivity suite"
|
||||
HOMEPAGE="https://www.libreoffice.org"
|
||||
SRC_URI="branding? ( https://dev.gentoo.org/~dilfridge/distfiles/${BRANDING} )"
|
||||
[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentooexperimental.org/~scarabeus/${PATCHSET}"
|
||||
|
||||
# Split modules following git/tarballs
|
||||
# Core MUST be first!
|
||||
# Help is used for the image generator
|
||||
# Only release has the tarballs
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
for i in ${DEV_URI}; do
|
||||
SRC_URI+=" ${i}/${P}.tar.xz"
|
||||
SRC_URI+=" ${i}/${PN}-help-${PV}.tar.xz"
|
||||
done
|
||||
unset i
|
||||
fi
|
||||
unset DEV_URI
|
||||
|
||||
# Really required addons
|
||||
# These are bundles that can't be removed for now due to huge patchsets.
|
||||
# If you want them gone, patches are welcome.
|
||||
ADDONS_SRC=(
|
||||
"java? ( ${ADDONS_URI}/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip )"
|
||||
# no release for 8 years, should we package it?
|
||||
"libreoffice_extensions_wiki-publisher? ( ${ADDONS_URI}/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip )"
|
||||
# Does not build with 1.6 rhino at all
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip )"
|
||||
# requirement of rhino
|
||||
"libreoffice_extensions_scripting-javascript? ( ${ADDONS_URI}/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip )"
|
||||
# not packageable
|
||||
"odk? ( http://download.go-oo.org/extern/185d60944ea767075d27247c3162b3bc-unowinreg.dll )"
|
||||
)
|
||||
SRC_URI+=" ${ADDONS_SRC[*]}"
|
||||
|
||||
unset ADDONS_URI
|
||||
unset ADDONS_SRC
|
||||
|
||||
# Extensions that need extra work:
|
||||
LO_EXTS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher"
|
||||
|
||||
IUSE="bluetooth +branding coinmp +cups dbus debug eds firebird googledrive
|
||||
gstreamer +gtk gtk3 jemalloc libressl mysql odk pdfimport postgres test vlc
|
||||
$(printf 'libreoffice_extensions_%s ' ${LO_EXTS})"
|
||||
|
||||
LICENSE="|| ( LGPL-3 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
[[ ${PV} == *9999* ]] || \
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
COMMON_DEPEND="${PYTHON_DEPS}
|
||||
app-arch/unzip
|
||||
app-arch/zip
|
||||
app-crypt/gpgme[cxx]
|
||||
app-text/hunspell:=
|
||||
>=app-text/libabw-0.1.0
|
||||
>=app-text/libebook-0.1
|
||||
>=app-text/libetonyek-0.1
|
||||
app-text/libexttextcat
|
||||
app-text/liblangtag
|
||||
>=app-text/libmspub-0.1.0
|
||||
>=app-text/libmwaw-0.3.1
|
||||
>=app-text/libodfgen-0.1.0
|
||||
app-text/libstaroffice
|
||||
app-text/libwpd:0.10[tools]
|
||||
app-text/libwpg:0.3
|
||||
>=app-text/libwps-0.4
|
||||
app-text/mythes
|
||||
>=dev-cpp/clucene-2.3.3.4-r2
|
||||
=dev-cpp/libcmis-0.5*
|
||||
dev-db/unixODBC
|
||||
dev-lang/perl
|
||||
dev-libs/boost:=[nls]
|
||||
dev-libs/expat
|
||||
dev-libs/hyphen
|
||||
dev-libs/icu:=
|
||||
dev-libs/libassuan
|
||||
dev-libs/libgpg-error
|
||||
=dev-libs/liborcus-0.12*
|
||||
dev-libs/librevenge
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
!libressl? ( >=dev-libs/openssl-1.0.0d:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
>=dev-libs/redland-1.0.16
|
||||
>=dev-libs/xmlsec-1.2.24[nss]
|
||||
media-gfx/graphite2
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
>=media-libs/harfbuzz-0.9.42:=[graphite,icu]
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libcdr-0.1.0
|
||||
>=media-libs/libepoxy-1.3.1[X]
|
||||
>=media-libs/libfreehand-0.1.0
|
||||
media-libs/libpagemaker
|
||||
>=media-libs/libpng-1.4:0=
|
||||
>=media-libs/libvisio-0.1.0
|
||||
media-libs/libzmf
|
||||
net-libs/neon
|
||||
net-misc/curl
|
||||
net-nds/openldap
|
||||
sci-mathematics/lpsolve
|
||||
virtual/glu
|
||||
virtual/jpeg:0
|
||||
virtual/opengl
|
||||
x11-libs/cairo[X]
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
coinmp? ( sci-libs/coinor-mp )
|
||||
cups? ( net-print/cups )
|
||||
dbus? ( dev-libs/dbus-glib )
|
||||
eds? (
|
||||
dev-libs/glib:2
|
||||
gnome-base/dconf
|
||||
gnome-extra/evolution-data-server
|
||||
)
|
||||
firebird? ( >=dev-db/firebird-3.0.2.32703.0-r1[server] )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0
|
||||
)
|
||||
gtk? (
|
||||
x11-libs/gdk-pixbuf
|
||||
>=x11-libs/gtk+-2.24:2
|
||||
)
|
||||
gtk3? (
|
||||
dev-libs/glib:2
|
||||
dev-libs/gobject-introspection
|
||||
gnome-base/dconf
|
||||
x11-libs/gtk+:3
|
||||
)
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
libreoffice_extensions_scripting-beanshell? ( dev-java/bsh )
|
||||
libreoffice_extensions_scripting-javascript? ( dev-java/rhino:1.6 )
|
||||
mysql? ( dev-db/mysql-connector-c++ )
|
||||
pdfimport? ( app-text/poppler:=[cxx] )
|
||||
postgres? ( >=dev-db/postgresql-9.0:*[kerberos] )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!app-office/libreoffice-bin
|
||||
!app-office/libreoffice-bin-debug
|
||||
!app-office/openoffice
|
||||
media-fonts/dejavu
|
||||
media-fonts/liberation-fonts
|
||||
media-fonts/libertine
|
||||
|| ( x11-misc/xdg-utils kde-plasma/kde-cli-tools )
|
||||
java? ( >=virtual/jre-1.6 )
|
||||
vlc? ( media-video/vlc )
|
||||
"
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
PDEPEND="=app-office/libreoffice-l10n-$(get_version_component_range 1-2)*"
|
||||
else
|
||||
# Translations are not reliable on live ebuilds
|
||||
# rather force people to use english only.
|
||||
PDEPEND="!app-office/libreoffice-l10n"
|
||||
fi
|
||||
|
||||
# FIXME: cppunit should be moved to test conditional
|
||||
# after everything upstream is under gbuild
|
||||
# as dmake execute tests right away
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
!<sys-devel/make-3.82
|
||||
>=dev-libs/libatomic_ops-7.2d
|
||||
>=dev-libs/libxml2-2.7.8
|
||||
dev-libs/libxslt
|
||||
dev-perl/Archive-Zip
|
||||
>=dev-util/cppunit-1.14.0
|
||||
>=dev-util/gperf-3
|
||||
dev-util/intltool
|
||||
>=dev-util/mdds-1.2.2:1=
|
||||
media-libs/glm
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
sys-devel/gettext
|
||||
sys-devel/ucpp
|
||||
sys-libs/zlib
|
||||
virtual/pkgconfig
|
||||
x11-base/xorg-proto
|
||||
x11-libs/libXt
|
||||
x11-libs/libXtst
|
||||
java? (
|
||||
dev-java/ant-core
|
||||
>=virtual/jdk-1.6
|
||||
)
|
||||
odk? ( >=app-doc/doxygen-1.8.4 )
|
||||
test? (
|
||||
dev-util/cppunit
|
||||
media-fonts/dejavu
|
||||
)
|
||||
"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
bluetooth? ( dbus )
|
||||
libreoffice_extensions_nlpsolver? ( java )
|
||||
libreoffice_extensions_scripting-beanshell? ( java )
|
||||
libreoffice_extensions_scripting-javascript? ( java )
|
||||
libreoffice_extensions_wiki-publisher? ( java )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# not upstreamable stuff
|
||||
"${FILESDIR}/${PN}-5.4-system-pyuno.patch"
|
||||
"${FILESDIR}/${PN}-5.3.4.2-kioclient5.patch"
|
||||
# 6.0 branch
|
||||
"${FILESDIR}/${PN}-5.4.4.2-poppler-0.62.patch" # bug 642602
|
||||
"${FILESDIR}/${PN}-6.0.3.2-poppler-0.64.patch" # bug 653478
|
||||
|
||||
# TODO: upstream
|
||||
"${FILESDIR}/${PN}-5.2.5.1-glibc-2.24.patch"
|
||||
"${FILESDIR}/${PN}-5.4.4.2-gtk3-no-gtk-build.patch" # bug 641812
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
use java || \
|
||||
ewarn "If you plan to use Base application you should enable java or you will get various crashes."
|
||||
|
||||
if has_version "<app-office/libreoffice-5.3.0[firebird]"; then
|
||||
ewarn "Firebird has been upgraded to version 3. It is unable to read back Firebird 2.5 data, so"
|
||||
ewarn "embedded firebird odb files created in LibreOffice pre-5.3 can't be opened with this version."
|
||||
ewarn "See also: https://wiki.documentfoundation.org/ReleaseNotes/5.3#Base"
|
||||
fi
|
||||
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
CHECKREQS_MEMORY="512M"
|
||||
if is-flagq "-g*" && ! is-flagq "-g*0" ; then
|
||||
CHECKREQS_DISK_BUILD="22G"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="6G"
|
||||
fi
|
||||
check-reqs_pkg_pretend
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
python-single-r1_pkg_setup
|
||||
xdg_environment_reset
|
||||
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
CHECKREQS_MEMORY="512M"
|
||||
if is-flagq "-g*" && ! is-flagq "-g*0" ; then
|
||||
CHECKREQS_DISK_BUILD="22G"
|
||||
else
|
||||
CHECKREQS_DISK_BUILD="6G"
|
||||
fi
|
||||
check-reqs_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
local base_uri branch mypv
|
||||
base_uri="https://anongit.freedesktop.org/git"
|
||||
branch="master"
|
||||
mypv=${PV/.9999}
|
||||
[[ ${mypv} != ${PV} ]] && branch="${PN}-${mypv/./-}"
|
||||
git-r3_fetch "${base_uri}/${PN}/core" "refs/heads/${branch}"
|
||||
git-r3_checkout "${base_uri}/${PN}/core"
|
||||
|
||||
git-r3_fetch "${base_uri}/${PN}/help" "refs/heads/master"
|
||||
git-r3_checkout "${base_uri}/${PN}/help" "helpcontent2" # doesn't match on help
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
# hack in the autogen.sh
|
||||
touch autogen.lastrun
|
||||
|
||||
# system pyuno mess
|
||||
sed -i \
|
||||
-e "s:%eprefix%:${EPREFIX}:g" \
|
||||
-e "s:%libdir%:$(get_libdir):g" \
|
||||
pyuno/source/module/uno.py \
|
||||
pyuno/source/officehelper.py || die
|
||||
# sed in the tests
|
||||
sed -i \
|
||||
-e "s#all : build unitcheck#all : build#g" \
|
||||
solenv/gbuild/Module.mk || die
|
||||
sed -i \
|
||||
-e "s#check: dev-install subsequentcheck#check: unitcheck slowcheck dev-install subsequentcheck#g" \
|
||||
-e "s#Makefile.gbuild all slowcheck#Makefile.gbuild all#g" \
|
||||
Makefile.in || die
|
||||
|
||||
sed -i \
|
||||
-e "s,/usr/share/bash-completion/completions,$(get_bashcompdir)," \
|
||||
-e "s,\$INSTALLDIRNAME.sh,${PN}," \
|
||||
bin/distro-install-desktop-integration || die
|
||||
|
||||
if use branding; then
|
||||
# hack...
|
||||
mv -v "${WORKDIR}/branding-intro.png" "icon-themes/galaxy/brand/intro.png" || die
|
||||
fi
|
||||
|
||||
# Don't list pdfimport support in desktop when built with none, bug # 605464
|
||||
if ! use pdfimport; then
|
||||
sed -i \
|
||||
-e ":MimeType: s:application/pdf;::" \
|
||||
-e ":Keywords: s:pdf;::" \
|
||||
sysui/desktop/menus/draw.desktop || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Set up Google API keys, see https://www.chromium.org/developers/how-tos/api-keys
|
||||
# Note: these are for Gentoo use ONLY. For your own distribution, please get
|
||||
# your own set of keys. Feel free to contact chromium@gentoo.org for more info.
|
||||
local google_default_client_id="329227923882.apps.googleusercontent.com"
|
||||
local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu"
|
||||
|
||||
# optimization flags
|
||||
export GMAKE_OPTIONS="${MAKEOPTS}"
|
||||
# System python enablement:
|
||||
export PYTHON_CFLAGS=$(python_get_CFLAGS)
|
||||
export PYTHON_LIBS=$(python_get_LIBS)
|
||||
|
||||
# system headers/libs/...: enforce using system packages
|
||||
# --disable-breakpad: requires not-yet-in-tree dev-utils/breakpad
|
||||
# --enable-cairo: ensure that cairo is always required
|
||||
# --enable-*-link: link to the library rather than just dlopen on runtime
|
||||
# --enable-release-build: build the libreoffice as release
|
||||
# --disable-fetch-external: prevent dowloading during compile phase
|
||||
# --enable-extension-integration: enable any extension integration support
|
||||
# --without-{fonts,myspell-dicts,ppsd}: prevent install of sys pkgs
|
||||
# --disable-report-builder: too much java packages pulled in without pkgs
|
||||
# --without-system-sane: just sane.h header that is used for scan in writer,
|
||||
# not linked or anything else, worthless to depend on
|
||||
# --disable-pdfium: not yet packaged
|
||||
local myeconfargs=(
|
||||
--with-system-dicts
|
||||
--with-system-epoxy
|
||||
--with-system-headers
|
||||
--with-system-jars
|
||||
--with-system-libs
|
||||
--enable-cairo-canvas
|
||||
--enable-largefile
|
||||
--enable-mergelibs
|
||||
--enable-neon
|
||||
--enable-python=system
|
||||
--enable-randr
|
||||
--enable-release-build
|
||||
--disable-breakpad
|
||||
--disable-ccache
|
||||
--disable-collada
|
||||
--disable-dependency-tracking
|
||||
--disable-epm
|
||||
--disable-fetch-external
|
||||
--disable-gltf
|
||||
--disable-gstreamer-0-10
|
||||
--disable-kde4
|
||||
--disable-online-update
|
||||
--disable-pdfium
|
||||
--disable-report-builder
|
||||
--disable-systray
|
||||
--with-alloc=$(use jemalloc && echo "jemalloc" || echo "system")
|
||||
--with-build-version="Gentoo official package"
|
||||
--enable-extension-integration
|
||||
--with-external-dict-dir="${EPREFIX}/usr/share/myspell"
|
||||
--with-external-hyph-dir="${EPREFIX}/usr/share/myspell"
|
||||
--with-external-thes-dir="${EPREFIX}/usr/share/myspell"
|
||||
--with-external-tar="${DISTDIR}"
|
||||
--with-lang=""
|
||||
--with-parallelism=$(makeopts_jobs)
|
||||
--with-system-ucpp
|
||||
--with-vendor="Gentoo Foundation"
|
||||
--with-x
|
||||
--without-fonts
|
||||
--without-myspell-dicts
|
||||
--without-help
|
||||
--with-helppack-integration
|
||||
--with-system-gpgmepp
|
||||
--without-system-sane
|
||||
$(use_enable bluetooth sdremote-bluetooth)
|
||||
$(use_enable coinmp)
|
||||
$(use_enable cups)
|
||||
$(use_enable dbus)
|
||||
$(use_enable debug)
|
||||
$(use_enable eds evolution2)
|
||||
$(use_enable firebird firebird-sdbc)
|
||||
$(use_enable gstreamer gstreamer-1-0)
|
||||
$(use_enable gtk)
|
||||
$(use_enable gtk3)
|
||||
$(use_enable mysql ext-mariadb-connector)
|
||||
$(use_enable odk)
|
||||
$(use_enable pdfimport)
|
||||
$(use_enable postgres postgresql-sdbc)
|
||||
$(use_enable vlc)
|
||||
$(use_with coinmp system-coinmp)
|
||||
$(use_with googledrive gdrive-client-id ${google_default_client_id})
|
||||
$(use_with googledrive gdrive-client-secret ${google_default_client_secret})
|
||||
$(use_with java)
|
||||
$(use_with mysql system-mysql-cppconn)
|
||||
$(use_with odk doxygen)
|
||||
)
|
||||
|
||||
if use eds || use gtk3; then
|
||||
myeconfargs+=( --enable-dconf --enable-gio )
|
||||
else
|
||||
myeconfargs+=( --disable-dconf --disable-gio )
|
||||
fi
|
||||
|
||||
# libreoffice extensions handling
|
||||
for lo_xt in ${LO_EXTS}; do
|
||||
if [[ "${lo_xt}" == "scripting-beanshell" || "${lo_xt}" == "scripting-javascript" ]]; then
|
||||
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ${lo_xt}) )
|
||||
else
|
||||
myeconfargs+=( $(use_enable libreoffice_extensions_${lo_xt} ext-${lo_xt}) )
|
||||
fi
|
||||
done
|
||||
|
||||
if use java; then
|
||||
# hsqldb: system one is too new
|
||||
myeconfargs+=(
|
||||
--without-junit
|
||||
--without-system-hsqldb
|
||||
--with-ant-home="${ANT_HOME}"
|
||||
--with-jdk-home=$(java-config --jdk-home 2>/dev/null)
|
||||
--with-jvm-path="${EPREFIX}/usr/lib/"
|
||||
)
|
||||
|
||||
use libreoffice_extensions_scripting-beanshell && \
|
||||
myeconfargs+=( --with-beanshell-jar=$(java-pkg_getjar bsh bsh.jar) )
|
||||
|
||||
use libreoffice_extensions_scripting-javascript && \
|
||||
myeconfargs+=( --with-rhino-jar=$(java-pkg_getjar rhino-1.6 js.jar) )
|
||||
fi
|
||||
|
||||
is-flagq "-flto*" && myeconfargs+=( --enable-lto )
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# more and more LO stuff tries to use OpenGL, including tests during build
|
||||
# bug 501508, bug 540624, bug 545974 and probably more
|
||||
addpredict /dev/dri
|
||||
addpredict /dev/ati
|
||||
addpredict /dev/nvidiactl
|
||||
|
||||
# hack for offlinehelp, this needs fixing upstream at some point
|
||||
# it is broken because we send --without-help
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
||||
(
|
||||
grep "^export" "${S}/config_host.mk" > "${T}/config_host.mk" || die
|
||||
source "${T}/config_host.mk" 2&> /dev/null
|
||||
|
||||
local path="${WORKDIR}/helpcontent2/source/auxiliary/"
|
||||
mkdir -p "${path}" || die
|
||||
|
||||
echo "perl \"${S}/helpcontent2/helpers/create_ilst.pl\" -dir=helpcontent2/source/media/helpimg > \"${path}/helpimg.ilst\""
|
||||
perl "${S}/helpcontent2/helpers/create_ilst.pl" \
|
||||
-dir=helpcontent2/source/media/helpimg \
|
||||
> "${path}/helpimg.ilst"
|
||||
[[ -s "${path}/helpimg.ilst" ]] || \
|
||||
ewarn "The help images list is empty, something is fishy, report a bug."
|
||||
)
|
||||
|
||||
local target
|
||||
use test && target="build" || target="build-nocheck"
|
||||
|
||||
# this is not a proper make script
|
||||
make ${target} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
make unitcheck || die
|
||||
make slowcheck || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# This is not Makefile so no buildserver
|
||||
make DESTDIR="${D}" distro-pack-install -o build -o check || die
|
||||
|
||||
# bug 593514
|
||||
if use gtk3; then
|
||||
dosym libreoffice/program/liblibreofficekitgtk.so \
|
||||
/usr/$(get_libdir)/liblibreofficekitgtk.so
|
||||
fi
|
||||
|
||||
# bash completion aliases
|
||||
bashcomp_alias \
|
||||
libreoffice \
|
||||
unopkg loimpress lobase localc lodraw lomath lowriter lofromtemplate loweb loffice
|
||||
|
||||
if use branding; then
|
||||
insinto /usr/$(get_libdir)/${PN}/program
|
||||
newins "${WORKDIR}/branding-sofficerc" sofficerc
|
||||
dodir /etc/env.d
|
||||
echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"etc/env.d/99${PN} || die
|
||||
fi
|
||||
|
||||
# Hack for offlinehelp, this needs fixing upstream at some point.
|
||||
# It is broken because we send --without-help
|
||||
# https://bugs.freedesktop.org/show_bug.cgi?id=46506
|
||||
insinto /usr/$(get_libdir)/libreoffice/help
|
||||
doins xmlhelp/util/*.xsl
|
||||
|
||||
# Remove desktop files to support old installs that can't parse mime
|
||||
rm -r "${ED}"usr/share/mimelnk/ || die
|
||||
|
||||
pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/soffice.bin
|
||||
pax-mark -m "${ED}"usr/$(get_libdir)/libreoffice/program/unopkg.bin
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,11 +0,0 @@
|
||||
--- a/gentoo
|
||||
+++ b/gentoo
|
||||
@@ -21,7 +21,7 @@ have()
|
||||
_portdir()
|
||||
{
|
||||
(
|
||||
- source @GENTOO_PORTAGE_EPREFIX@/etc/make.globals 2>/dev/null
|
||||
+ source @GENTOO_PORTAGE_EPREFIX@/usr/share/portage/config/make.globals 2>/dev/null
|
||||
source @GENTOO_PORTAGE_EPREFIX@/etc/make.conf 2>/dev/null
|
||||
|
||||
echo ${PORTDIR}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue