From 2a8d2f71d1d9963368e0ef3d641d75979a689d12 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 4 Jul 2024 08:06:08 +0100 Subject: gentoo auto-resync : 04:07:2024 - 08:06:07 --- app-admin/ulogd/Manifest | 4 +- app-admin/ulogd/files/ulogd.logrotate | 2 +- app-admin/ulogd/ulogd-2.0.8-r1.ebuild | 142 ++++++++++++++++++++++++++++++++++ app-admin/ulogd/ulogd-2.0.8.ebuild | 142 ---------------------------------- 4 files changed, 145 insertions(+), 145 deletions(-) create mode 100644 app-admin/ulogd/ulogd-2.0.8-r1.ebuild delete mode 100644 app-admin/ulogd/ulogd-2.0.8.ebuild (limited to 'app-admin/ulogd') diff --git a/app-admin/ulogd/Manifest b/app-admin/ulogd/Manifest index 4a2c344ddbc4..2ecb5a9cafec 100644 --- a/app-admin/ulogd/Manifest +++ b/app-admin/ulogd/Manifest @@ -1,6 +1,6 @@ AUX ulogd.init 949 BLAKE2B bebbf58aab0957017980d46762743f366d9f2daeca35bbed53c1ae7ab2645a6de84eddf25e82a48c4185a6a9a991b4e3562e7d06579ba8a9b2fb36a9f5b0b7de SHA512 87331bc32592fc9153274a8716a5206392af99087f89d8ba51539c477805a1932706ad2fbb8f71947ef3534a368cb2559fd2f54ae0038ab49eccda85763e7a99 -AUX ulogd.logrotate 193 BLAKE2B 65e6d518260ad322539f05ea5a3177092db8cfa67bd8cd035cd714f8c3e6f90860ce47e27dccdf66feed68258f9bbbe2ef16fa103000f0166927a8cf9fc6969c SHA512 be62a8c63d567d90ab07d9a9e86fb85d868683c385de598b81fa369fd13581a144a0be1aedd2b899d653d94475679eee1fd4939ae72a35777d75208584b2f17a +AUX ulogd.logrotate 199 BLAKE2B bda9b0863ef0698eaa78065532a6b0487e4e2e05d9a1a6169c20a4f8bd829eb3edd73689b80ec2ef696ad9666661a2798f74533a42ccc8cda47cb88a68ed8beb SHA512 ba5ebb3216b6a9423924af549261db49ac5bb1fff5fbb93585b26ff0fbf8f985bb69a62bad21671378ec3a9deb43afd1506cebba6145e541ff824c11e1d5e3fe AUX ulogd.service 390 BLAKE2B e1395888ffe09cafd98a4384ab7b06e18c0e1b92fa80fb07a05415a3927bcd68a5d3d900ada141c684359bd37910801d40e069cba8cefc8a7c323584b9d8b993 SHA512 73923e6a851bf4f34f532c8b3fa17eb227f2fb2b4c485b89a488789f2d4af3605bd09538095a6acbee6d74300e98755bb03bacabe450104319938cfff62e4c89 DIST ulogd-2.0.8.tar.bz2 435434 BLAKE2B 8922a722d635b24dd8bed9bff9e96cbbdf1ac790defd3b205b6867f32d7abcd6dff1c37097305ed3ed627d66da1bdb1f7aa2a9fe7e29a2b2104959a986207478 SHA512 9f99f6f35bad5da4559d788dc3ba3dae17d4ae972737cae3313ecf68f08eaf5f55514fce6f30503437e4158fd30a06438b9249d5d20f6343964cbf690f87309d -EBUILD ulogd-2.0.8.ebuild 3164 BLAKE2B 2a2305cb2e1ab975d2879cb2592b3ffa7977bd4dd1a73e434b3bf455325e3cfea4faba144376f7024a623e147c0dc0bbff61fb1c6e6a4b6472e90c1e2bfcad5c SHA512 5549c5096483c1c00d9daf3e32ce801d0cbc7f6abf52dab4b376bc0e45a64d7b035d51db476c231025c720a6aa4b784750b9852ab6a8e92b8e83a40d7c446463 +EBUILD ulogd-2.0.8-r1.ebuild 3164 BLAKE2B 89fc5d2d8e3e696bf07b35c68074300960703d41f0f8ba6c18669a25ee98331760d14fc9fe74e3d69768c0171911a63041a98e988892d6f5fde37e0892b3097b SHA512 65776463b06b0527bc0e57399a264e4a986765fb4933521647104939051afb8a87b93097a5bd40c00046971afe9a5824361315ff472e9af2c19333c407dd519c MISC metadata.xml 908 BLAKE2B a03a79c9a3d2a9b6f0b59bd9593f7b506c2f95656bd0130e0282088b7b7822eeff98136675af356939f17f0e8f2cd32ec59836c7afe3278390e46b1e695f60aa SHA512 9b9ef498ad464f3e3cfc2c86f2fb3f7ec39f2cbf6134af63d6cff28fd523d977c8c154849ff1a10f574e9df346c06cf9fd3fdfa86be27e11e0d40352a7a8f170 diff --git a/app-admin/ulogd/files/ulogd.logrotate b/app-admin/ulogd/files/ulogd.logrotate index 777e40097a5e..b5a48a78674d 100644 --- a/app-admin/ulogd/files/ulogd.logrotate +++ b/app-admin/ulogd/files/ulogd.logrotate @@ -2,7 +2,7 @@ sharedscripts missingok notifempty - create 0640 ulogd + create 0640 ulogd ulogd postrotate [ -f /run/ulogd.pid ] && /bin/kill -HUP $(cat /run/ulogd.pid) endscript diff --git a/app-admin/ulogd/ulogd-2.0.8-r1.ebuild b/app-admin/ulogd/ulogd-2.0.8-r1.ebuild new file mode 100644 index 000000000000..df0c534c008a --- /dev/null +++ b/app-admin/ulogd/ulogd-2.0.8-r1.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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=" + virtual/pkgconfig + doc? ( + app-text/linuxdoc-tools + app-text/openjade + 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'. +" + +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_enable dbi) + $(use_enable json) + $(use_enable nfacct) + $(use_enable nfct) + $(use_enable nflog) + $(use_enable mysql) + $(use_enable pcap) + $(use_enable postgres pgsql) + $(use_enable sqlite sqlite3) + $(use_enable ulog) + ) + + econf "${myeconfargs[@]}" +} + +src_compile() { + default + + 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 + + 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.8.ebuild b/app-admin/ulogd/ulogd-2.0.8.ebuild deleted file mode 100644 index 3768bedeb734..000000000000 --- a/app-admin/ulogd/ulogd-2.0.8.ebuild +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -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=" - virtual/pkgconfig - doc? ( - app-text/linuxdoc-tools - app-text/openjade - 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'. -" - -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_enable dbi) - $(use_enable json) - $(use_enable nfacct) - $(use_enable nfct) - $(use_enable nflog) - $(use_enable mysql) - $(use_enable pcap) - $(use_enable postgres pgsql) - $(use_enable sqlite sqlite3) - $(use_enable ulog) - ) - - econf "${myeconfargs[@]}" -} - -src_compile() { - default - - 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 - - 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