From 391b5b359a346aff490103da7dddc85047f83830 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Oct 2021 20:54:53 +0100 Subject: gentoo resync : 01.10.2021 --- app-admin/ulogd/Manifest | 2 +- app-admin/ulogd/ulogd-2.0.7-r2.ebuild | 139 ---------------------------------- app-admin/ulogd/ulogd-2.0.7-r3.ebuild | 139 ++++++++++++++++++++++++++++++++++ 3 files changed, 140 insertions(+), 140 deletions(-) delete mode 100644 app-admin/ulogd/ulogd-2.0.7-r2.ebuild create mode 100644 app-admin/ulogd/ulogd-2.0.7-r3.ebuild (limited to 'app-admin/ulogd') diff --git a/app-admin/ulogd/Manifest b/app-admin/ulogd/Manifest index a132631d58f8..fcf8fc194a17 100644 --- a/app-admin/ulogd/Manifest +++ b/app-admin/ulogd/Manifest @@ -3,5 +3,5 @@ AUX ulogd.init 949 BLAKE2B bebbf58aab0957017980d46762743f366d9f2daeca35bbed53c1a AUX ulogd.logrotate 193 BLAKE2B 65e6d518260ad322539f05ea5a3177092db8cfa67bd8cd035cd714f8c3e6f90860ce47e27dccdf66feed68258f9bbbe2ef16fa103000f0166927a8cf9fc6969c SHA512 be62a8c63d567d90ab07d9a9e86fb85d868683c385de598b81fa369fd13581a144a0be1aedd2b899d653d94475679eee1fd4939ae72a35777d75208584b2f17a AUX ulogd.service 390 BLAKE2B e1395888ffe09cafd98a4384ab7b06e18c0e1b92fa80fb07a05415a3927bcd68a5d3d900ada141c684359bd37910801d40e069cba8cefc8a7c323584b9d8b993 SHA512 73923e6a851bf4f34f532c8b3fa17eb227f2fb2b4c485b89a488789f2d4af3605bd09538095a6acbee6d74300e98755bb03bacabe450104319938cfff62e4c89 DIST ulogd-2.0.7.tar.bz2 394573 BLAKE2B bec028a3b35038a8cc0f3f8b81b3e19addb66fce09e4ea0f3b2cd29b20cdb28025a576badd0765d9bb15f9d097799b6f55ff45058f8a838daa836c3fe878eef0 SHA512 1ad12bcf91bebe8bf8580de38693318cdabd17146f1f65acf714334885cf13adf5f783abdf2dd67474ef12f82d2cfb84dd4859439bc7af10a0df58e4c7e48b09 -EBUILD ulogd-2.0.7-r2.ebuild 3178 BLAKE2B 6e0e62cd8ec982001c973a78da705f229d7bca57878c3a96cba2f2ac86ccd53da3fafece16d0993c1bb931e670c50b7106c74778e7d22b669be17804eeb420d2 SHA512 2dfa6f9b8992537f343770c447574beb1eccd23bec5e294711f25f324507f154224ae1ec98494470d1d04c7b231d3460dd199b046855f068277707d46b411c74 +EBUILD ulogd-2.0.7-r3.ebuild 3180 BLAKE2B fb070ac8e21b2a0e41dc0854cbf3f6def729ffa6e4ee3441bc0d47be47ffd85728e625be8aa42958f46ba26bd5d204b5b91fcd70f52ce1923a8fa0e88aa984ee SHA512 70216e7ab49fae313d6c5c28b4deb5c5c0d5fa630d56da7d0562dbde3585997c4f97ce55b6c9bc9f71c06e44f427fdb0db5fa3bc6e686d10145021ef35830313 MISC metadata.xml 908 BLAKE2B a03a79c9a3d2a9b6f0b59bd9593f7b506c2f95656bd0130e0282088b7b7822eeff98136675af356939f17f0e8f2cd32ec59836c7afe3278390e46b1e695f60aa SHA512 9b9ef498ad464f3e3cfc2c86f2fb3f7ec39f2cbf6134af63d6cff28fd523d977c8c154849ff1a10f574e9df346c06cf9fd3fdfa86be27e11e0d40352a7a8f170 diff --git a/app-admin/ulogd/ulogd-2.0.7-r2.ebuild b/app-admin/ulogd/ulogd-2.0.7-r2.ebuild deleted file mode 100644 index c252351ca7ea..000000000000 --- a/app-admin/ulogd/ulogd-2.0.7-r2.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic linux-info readme.gentoo-r1 systemd - -DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging" -HOMEPAGE="https://netfilter.org/projects/ulogd/index.html" -SRC_URI="https://www.netfilter.org/projects/ulogd/files/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ia64 ppc x86" -IUSE="dbi doc json mysql nfacct +nfct +nflog pcap postgres selinux sqlite ulog" - -DEPEND=" - || ( net-firewall/iptables net-firewall/nftables ) - >=net-libs/libnfnetlink-1.0.1 - dbi? ( dev-db/libdbi ) - json? ( dev-libs/jansson ) - nfacct? ( - >=net-libs/libmnl-1.0.4 - >=net-libs/libnetfilter_acct-1.0.3 - ) - nfct? ( >=net-libs/libnetfilter_conntrack-1.0.6 ) - nflog? ( >=net-libs/libnetfilter_log-1.0.1 ) - mysql? ( dev-db/mysql-connector-c:= ) - pcap? ( net-libs/libpcap ) - postgres? ( dev-db/postgresql:= ) - sqlite? ( dev-db/sqlite:3 ) -" -RDEPEND=" - ${DEPEND} - acct-user/ulogd - acct-group/ulogd - selinux? ( sec-policy/selinux-ulogd ) -" -BDEPEND=" - doc? ( - app-text/linuxdoc-tools - app-text/texlive-core - dev-texlive/texlive-fontsrecommended - virtual/latex-base - ) -" - -DISABLE_AUTOFORMATTING=1 -DOC_CONTENTS=" - You must have at least one logging stack enabled to make ulogd work. - Please edit the example configuration located at '${EPREFIX}/etc/ulogd.conf'. -" - -PATCHES=( "${FILESDIR}"/patches/ulogd.patch ) - -pkg_setup() { - linux-info_pkg_setup - - if use nfacct && kernel_is lt 3 3 0; then - ewarn "NFACCT input plugin requires a kernel >= 3.3." - fi - - if use ulog && kernel_is ge 3 17 0; then - ewarn "ULOG target has been removed in the 3.17 kernel release." - ewarn "Consider enabling NFACCT, NFCT, or NFLOG support instead." - fi -} - -src_prepare() { - default - - # Change default settings to: - # - keep log files in /var/log/ulogd instead of /var/log; - # - create sockets in /run instead of /tmp. - sed -i \ - -e "s|var/log|var/log/${PN}|g" \ - -e 's|tmp|run|g' \ - ulogd.conf.in || die -} - -src_configure() { - append-lfs-flags - local myeconfargs=( - $(use_with dbi) - $(use_with json jansson) - $(use_enable nfacct) - $(use_enable nfct) - $(use_enable nflog) - $(use_with mysql) - $(use_with pcap) - $(use_with postgres pgsql) - $(use_with sqlite) - $(use_enable ulog) - ) - econf "${myeconfargs[@]}" -} - -src_compile() { - default_src_compile - - if use doc; then - # Prevent access violations from bitmap font files generation. - export VARTEXFONTS="${T}/fonts" - emake -C doc - fi -} - -src_install() { - use doc && HTML_DOCS=( doc/${PN}.html ) - - default_src_install - find "${ED}" -name '*.la' -delete || die - - readme.gentoo_create_doc - doman ${PN}.8 - - use doc && dodoc doc/${PN}.{dvi,ps,txt} - use mysql && dodoc doc/mysql-*.sql - use postgres && dodoc doc/pgsql-*.sql - use sqlite && dodoc doc/sqlite3.table - - insinto /etc - doins ${PN}.conf - fowners root:ulogd /etc/${PN}.conf - fperms 640 /etc/${PN}.conf - - newinitd "${FILESDIR}/${PN}.init" ${PN} - systemd_dounit "${FILESDIR}/${PN}.service" - - insinto /etc/logrotate.d - newins "${FILESDIR}/${PN}.logrotate" ${PN} - - diropts -o ulogd -g ulogd - keepdir /var/log/ulogd -} - -pkg_postinst() { - readme.gentoo_print_elog -} diff --git a/app-admin/ulogd/ulogd-2.0.7-r3.ebuild b/app-admin/ulogd/ulogd-2.0.7-r3.ebuild new file mode 100644 index 000000000000..541c2fb48846 --- /dev/null +++ b/app-admin/ulogd/ulogd-2.0.7-r3.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic linux-info readme.gentoo-r1 systemd + +DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging" +HOMEPAGE="https://netfilter.org/projects/ulogd/index.html" +SRC_URI="https://www.netfilter.org/projects/ulogd/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ia64 ppc x86" +IUSE="dbi doc json mysql nfacct +nfct +nflog pcap postgres selinux sqlite ulog" + +DEPEND=" + || ( net-firewall/iptables net-firewall/nftables ) + >=net-libs/libnfnetlink-1.0.1 + dbi? ( dev-db/libdbi ) + json? ( dev-libs/jansson:= ) + nfacct? ( + >=net-libs/libmnl-1.0.4 + >=net-libs/libnetfilter_acct-1.0.3 + ) + nfct? ( >=net-libs/libnetfilter_conntrack-1.0.6 ) + nflog? ( >=net-libs/libnetfilter_log-1.0.1 ) + mysql? ( dev-db/mysql-connector-c:= ) + pcap? ( net-libs/libpcap ) + postgres? ( dev-db/postgresql:= ) + sqlite? ( dev-db/sqlite:3 ) +" +RDEPEND=" + ${DEPEND} + acct-user/ulogd + acct-group/ulogd + selinux? ( sec-policy/selinux-ulogd ) +" +BDEPEND=" + doc? ( + app-text/linuxdoc-tools + app-text/texlive-core + dev-texlive/texlive-fontsrecommended + virtual/latex-base + ) +" + +DISABLE_AUTOFORMATTING=1 +DOC_CONTENTS=" + You must have at least one logging stack enabled to make ulogd work. + Please edit the example configuration located at '${EPREFIX}/etc/ulogd.conf'. +" + +PATCHES=( "${FILESDIR}"/patches/ulogd.patch ) + +pkg_setup() { + linux-info_pkg_setup + + if use nfacct && kernel_is lt 3 3 0; then + ewarn "NFACCT input plugin requires a kernel >= 3.3." + fi + + if use ulog && kernel_is ge 3 17 0; then + ewarn "ULOG target has been removed in the 3.17 kernel release." + ewarn "Consider enabling NFACCT, NFCT, or NFLOG support instead." + fi +} + +src_prepare() { + default + + # Change default settings to: + # - keep log files in /var/log/ulogd instead of /var/log; + # - create sockets in /run instead of /tmp. + sed -i \ + -e "s|var/log|var/log/${PN}|g" \ + -e 's|tmp|run|g' \ + ulogd.conf.in || die +} + +src_configure() { + append-lfs-flags + local myeconfargs=( + $(use_with dbi) + $(use_with json jansson) + $(use_enable nfacct) + $(use_enable nfct) + $(use_enable nflog) + $(use_with mysql) + $(use_with pcap) + $(use_with postgres pgsql) + $(use_with sqlite) + $(use_enable ulog) + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + default_src_compile + + if use doc; then + # Prevent access violations from bitmap font files generation. + export VARTEXFONTS="${T}/fonts" + emake -C doc + fi +} + +src_install() { + use doc && HTML_DOCS=( doc/${PN}.html ) + + default_src_install + find "${ED}" -name '*.la' -delete || die + + readme.gentoo_create_doc + doman ${PN}.8 + + use doc && dodoc doc/${PN}.{dvi,ps,txt} + use mysql && dodoc doc/mysql-*.sql + use postgres && dodoc doc/pgsql-*.sql + use sqlite && dodoc doc/sqlite3.table + + insinto /etc + doins ${PN}.conf + fowners root:ulogd /etc/${PN}.conf + fperms 640 /etc/${PN}.conf + + newinitd "${FILESDIR}/${PN}.init" ${PN} + systemd_dounit "${FILESDIR}/${PN}.service" + + insinto /etc/logrotate.d + newins "${FILESDIR}/${PN}.logrotate" ${PN} + + diropts -o ulogd -g ulogd + keepdir /var/log/ulogd +} + +pkg_postinst() { + readme.gentoo_print_elog +} -- cgit v1.2.3