summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-12-21 21:59:05 +0000
committerSam James <sam@gentoo.org>2022-12-21 22:25:23 +0000
commitf41058af746cdb71c3c380a9cb1156e53de73835 (patch)
tree31bbb9cd6654c4ec6a6016bbbd8577b151b34221 /app-admin/ulogd
parentapp-admin/radmind: drop 1.15.3-r1 (diff)
downloadgentoo-f41058af746cdb71c3c380a9cb1156e53de73835.tar.gz
gentoo-f41058af746cdb71c3c380a9cb1156e53de73835.tar.bz2
gentoo-f41058af746cdb71c3c380a9cb1156e53de73835.zip
app-admin/ulogd: drop 2.0.7-r3
Bug: https://bugs.gentoo.org/886657 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/ulogd')
-rw-r--r--app-admin/ulogd/Manifest1
-rw-r--r--app-admin/ulogd/files/patches/ulogd.patch10
-rw-r--r--app-admin/ulogd/ulogd-2.0.7-r3.ebuild139
3 files changed, 0 insertions, 150 deletions
diff --git a/app-admin/ulogd/Manifest b/app-admin/ulogd/Manifest
index 05b3b354d9ef..d2c098172f03 100644
--- a/app-admin/ulogd/Manifest
+++ b/app-admin/ulogd/Manifest
@@ -1,2 +1 @@
-DIST ulogd-2.0.7.tar.bz2 394573 BLAKE2B bec028a3b35038a8cc0f3f8b81b3e19addb66fce09e4ea0f3b2cd29b20cdb28025a576badd0765d9bb15f9d097799b6f55ff45058f8a838daa836c3fe878eef0 SHA512 1ad12bcf91bebe8bf8580de38693318cdabd17146f1f65acf714334885cf13adf5f783abdf2dd67474ef12f82d2cfb84dd4859439bc7af10a0df58e4c7e48b09
DIST ulogd-2.0.8.tar.bz2 435434 BLAKE2B 8922a722d635b24dd8bed9bff9e96cbbdf1ac790defd3b205b6867f32d7abcd6dff1c37097305ed3ed627d66da1bdb1f7aa2a9fe7e29a2b2104959a986207478 SHA512 9f99f6f35bad5da4559d788dc3ba3dae17d4ae972737cae3313ecf68f08eaf5f55514fce6f30503437e4158fd30a06438b9249d5d20f6343964cbf690f87309d
diff --git a/app-admin/ulogd/files/patches/ulogd.patch b/app-admin/ulogd/files/patches/ulogd.patch
deleted file mode 100644
index c82e5022ed35..000000000000
--- a/app-admin/ulogd/files/patches/ulogd.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/ulogd.c
-+++ b/src/ulogd.c
-@@ -65,6 +65,7 @@
- #include <sys/time.h>
- #include <sys/stat.h>
- #include <sched.h>
-+#include <limits.h>
- #include <ulogd/conffile.h>
- #include <ulogd/ulogd.h>
- #ifdef DEBUG
diff --git a/app-admin/ulogd/ulogd-2.0.7-r3.ebuild b/app-admin/ulogd/ulogd-2.0.7-r3.ebuild
deleted file mode 100644
index 43b27f76543b..000000000000
--- a/app-admin/ulogd/ulogd-2.0.7-r3.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2022 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
-}