forked from tastytea/overlay
net-im/biboumi: Bump to 8.4-r3, forgot to inherit fcaps.
This commit is contained in:
parent
5498d56ea4
commit
d7b224e02b
|
@ -6,11 +6,12 @@ AUX biboumi.logrotate 134 BLAKE2B adffee810ac3a35423c98e3560aad3ef7a79ddeb4682ee
|
|||
DIST biboumi-8.4.tar.xz 142576 BLAKE2B 3be5f8caf406c480a2750d76eacfe9191bccd8bd0fc2ba0ffe6352bf6f6527ab60f16eb25c9820c063af6c9ff4f1b125eb8d51d53bae4392a0d276e7ad488087 SHA512 69f7a47aaf2729a6bffb047201305cef4b87da952aa103d82e715585bf7b2e97fca8159ced1d74c4b01508c874c0db274d7b8349d1579ee3e69fc0ced2c260c2
|
||||
EBUILD biboumi-8.4-r1.ebuild 1953 BLAKE2B 31edc18d9f487b46087dbb322440fb08c427372cda3065dafd101f76fb5744603480a664a727f685bf44a82043144fd4ad26c0669ba2aeb00e690dd3f4b31836 SHA512 f62c5677deaa31383919a61fa6b5b67d28f1ff954d6215e5c52d2e0824459fe7342e1412fcb67b4ccaa3f135d87561e65c92b5018caf1daca1cd9fbc0c800847
|
||||
EBUILD biboumi-8.4-r2.ebuild 2073 BLAKE2B e5a81b507678c00fb51e7e8e82de134795ceedb2f4897ae5da26a416ce87e023a08547168b486dd6af28a41f5c04f900dcd484ae3c3455dcf2e2cc2d6c92c9a4 SHA512 d280e9d232e9dc5f28c3bf35689d82194aa4c808778a572d251f77a4a070c8f5d6778ee0ebab3ee7302c766e3f282867f85a488ce95b71a95eb8a783c1753aad
|
||||
EBUILD biboumi-8.4-r3.ebuild 2079 BLAKE2B cc89956dd51723ab8eee8a64a685c6305158056fc33544a1bef79732c37d6a5391a564fc496dc8ca0b83eaaf9eab1ce61e982270457e28a6d4477ee852f5152e SHA512 1bed9b6d03152da8d45cdd25549594d8bae0fe6f5f039987c87e9ad6ac6d8b4ed7b39d533fa24f707f939ee5458c73ad04814b8e194be49f899903c495d3663c
|
||||
MISC metadata.xml 549 BLAKE2B 8d553447fb5d4646bafc0d718b2f0ca8102a99cc2e76de88d656ceeb19ad01ab362538bd63aa81cc84f9efea8008872691ab99d4b3d64664a0c06ac36bac4e82 SHA512 695b1b943b615653121c574a5e4c31fabfa43980fb2c82d7df7829e2cfaa0018efc30a797377ace5fcb566c917b4c434786644c5c4b3f43a7e20da0bc64920f9
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iHUEAREKAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXpPGsAAKCRDPw5SX8bJu
|
||||
B/RPAP9cnKUHFUYRlm3zernohZ8l+BGc9+MA5yY9VFLXFtLjYwD/ai5cHF6ZpL7u
|
||||
sVgPCNq9qxOBVKLJgudsAVoaixTx0bU=
|
||||
=U/g0
|
||||
iHUEAREKAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXpPKIAAKCRDPw5SX8bJu
|
||||
B2G5AP94qwTMPHptoAeOlmgIJYqFOSG4WEXiFeEyMmQ8OzCEbwD/ZCGO2tfmW+uC
|
||||
wD8rITmos58zZNUh2YnN2RBdeg6f+Jc=
|
||||
=Z/8N
|
||||
-----END PGP SIGNATURE-----
|
||||
|
|
91
net-im/biboumi/biboumi-8.4-r3.ebuild
Normal file
91
net-im/biboumi/biboumi-8.4-r3.ebuild
Normal file
|
@ -0,0 +1,91 @@
|
|||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake fcaps
|
||||
|
||||
DESCRIPTION="XMPP gateway to IRC"
|
||||
HOMEPAGE="https://biboumi.louiz.org/"
|
||||
SRC_URI="https://git.louiz.org/biboumi/snapshot/biboumi-${PV}.tar.xz"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+idn logrotate postgres +sqlite +ssl systemd udns"
|
||||
|
||||
RDEPEND="
|
||||
acct-user/biboumi
|
||||
dev-libs/expat
|
||||
virtual/libiconv
|
||||
sys-apps/util-linux
|
||||
sqlite? ( dev-db/sqlite )
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
idn? ( net-dns/libidn )
|
||||
udns? ( net-libs/udns )
|
||||
ssl? ( dev-libs/botan:2 )
|
||||
!ssl? ( dev-libs/libgcrypt )
|
||||
systemd? ( sys-apps/systemd )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-text/pandoc"
|
||||
|
||||
DOCS=( README.rst CHANGELOG.rst )
|
||||
|
||||
# Allow biboumi to run an identd on port 113.
|
||||
FILECAPS=( cap_net_bind_service+ep usr/bin/biboumi )
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
if ! use systemd; then # Don't install biboumi.service.
|
||||
sed -i '/DESTINATION lib\/systemd\/system/d' CMakeLists.txt || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_BOTAN="$(usex ssl)"
|
||||
-DWITH_LIBIDN="$(usex idn)"
|
||||
-DWITH_SYSTEMD="$(usex systemd)"
|
||||
-DWITH_UDNS="$(usex udns)"
|
||||
-DWITH_SQLITE3="$(usex sqlite)"
|
||||
-DWITH_POSTGRESQL="$(usex postgres)"
|
||||
|
||||
-DWITHOUT_SYSTEMD="$(usex systemd no yes)"
|
||||
-DWITHOUT_UDNS="$(usex udns no yes)"
|
||||
-DWITHOUT_POSTGRESQL="$(usex postgres no yes)"
|
||||
) # The WITHOUT_* is really needed.
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
|
||||
# The man page is not generated by the build system.
|
||||
mkdir "${S}/man" || die
|
||||
pandoc --standalone --to=man "doc/biboumi.1.rst" \
|
||||
--output="${S}/man/biboumi.1" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
|
||||
if use logrotate; then
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotate" "${PN}" || die
|
||||
fi
|
||||
|
||||
diropts --owner=biboumi --group=biboumi --mode=750
|
||||
if use sqlite; then
|
||||
keepdir /var/lib/biboumi
|
||||
fi
|
||||
keepdir /var/log/biboumi
|
||||
|
||||
insinto /etc/biboumi
|
||||
insopts --group=biboumi --mode=640
|
||||
doins conf/biboumi.cfg || die
|
||||
}
|
Loading…
Reference in New Issue
Block a user