aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Shelton <stuart@shelton.me>2017-01-09 01:24:08 +0000
committerStuart Shelton <stuart@shelton.me>2017-01-09 01:24:08 +0000
commit096e6f8471f64d596144582a1e4042d8e54180c0 (patch)
tree835efabb5016cbcfcff916395a59d2285aa91ca8 /app-admin
parentUpdate file raspberrypi-firmware-config.txt, affecting sys-boot/raspberrypi-f... (diff)
downloadsrcshelton-096e6f8471f64d596144582a1e4042d8e54180c0.tar.gz
srcshelton-096e6f8471f64d596144582a1e4042d8e54180c0.tar.bz2
srcshelton-096e6f8471f64d596144582a1e4042d8e54180c0.zip
Add app-admin/ulogd-2.0.5_p20161017
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/ulogd/Manifest2
-rw-r--r--app-admin/ulogd/ulogd-2.0.5_p20161017.ebuild149
2 files changed, 151 insertions, 0 deletions
diff --git a/app-admin/ulogd/Manifest b/app-admin/ulogd/Manifest
index 0c26a080..795198c8 100644
--- a/app-admin/ulogd/Manifest
+++ b/app-admin/ulogd/Manifest
@@ -15,6 +15,7 @@ DIST ulogd-2.0.3.tar.bz2 447550 SHA256 1ec965073e7f4e5605b2bd1c143b2094e495ad24a
DIST ulogd-2.0.4.tar.bz2 452234 SHA256 56b30a13a8832e97178f39b7bb173a0b1dfe173dbb60d99a1a386c0962a2effd SHA512 08e88661fcfbcfd327b03b7a883dc239991f47d5a4e4561f3ada5f6acc8f2349f3bd38c1c67f28e42bbccf4cad63b2b7c3b732c23bf24b7c5f05320d27977773 WHIRLPOOL 94ee731cee8b95295d1c675bb3904be1a5b27a1e901d462f248116c865e79d52703b5330882110d7212bda1bb964fc0c97c3e704589071f47fab4475e1c91161
DIST ulogd-2.0.5.tar.bz2 456258 SHA256 a221cb9f77347c0ca00d0937e27c1b90e3291a553cc62a4139b788e2e420e8c0 SHA512 bf00b8adaad7bd04077a83521b0d7accc26e644c8f3386819e7f91476178b6733f1c6554fb82dd0d3913398c83a61d65f61dc973f199f610bfaadc6251504819 WHIRLPOOL fe499ac7b4070581439a05f4f2245f7a42fe5630da5dc32b9b069511ed1faa15fe482eee08d50477d3fb1d0bf0d3855a69fc82fb0f3e8eecdf082fb642519f91
DIST ulogd-2.0.5_p20160205.tar.gz 137899 SHA256 d6ece155270aaaea2f78740c00ae679f04e42fd90b4b7c2f342c2dddeb414ee4 SHA512 99c824fcb404f2f4d7b1bd4d8c9231a1a61121f9ae88901d8d30b33172c1f24e44abd37c30ea71722078b543b58c57a6bc99d64e2a655a5af73fe6edf37c72ab WHIRLPOOL 5c3013fc0b0b8d9209d69aac2b25255c9067167ae3c66a73a36f0ee391dc1b6b482f36b786aa57f361c19d5d26da99ab376c3093c460bc02f3764276e0e7f77a
+DIST ulogd-2.0.5_p20161017.tar.gz 137936 SHA256 07798bbf17ab5fc6111ab7296c0c74778da231cb66fb7e8f38b09ccfc8d3e812 SHA512 b9a3f5323766856fc20d58a6c55f9bc955f50e9d7052df0828ca08bf9d573326e69920f6c90c9d3e877c4dc1a29a5a994cde070bd0834fbf4dee8eebbb251e98 WHIRLPOOL 92931a8248b1c03134f37746c68ad7c389deaec74774a93b78e9548ad42df2b8c027dd698f4498741a81d930dc7f311aa9ddb4e8d14de5f7dcfb6daeb7fe34f6
EBUILD ulogd-2.0.2.ebuild 3230 SHA256 471eae110d9de9a304bc2195792ba66f8bc978c5c04610899e6e288230a65f62 SHA512 8d54216d2a44837322233b5629ecbf75375600afc7396645ee29c90ff1901c828d10fa2c682131c7307dcbd77aa0f18b470ef2b176533412e8f359346256f03a WHIRLPOOL 18b00d09c1497f017b0acd40227a6607d41da277d8f56019e408881c7b8f59791526c756cbfd582ec77017cacb71c52050ea8e1a5d684a4f58cb605e1581e964
EBUILD ulogd-2.0.3.ebuild 3116 SHA256 df33ac3196b9766ad0f7377863a2629a6c2cd767df6bf599dbc6e41782b93de7 SHA512 b2c0908e7953be604afbe54d5ce27c9c6f8fc7c6f0d3452a8a77b11620e1b400ae2661f4cd56b8ca2c3c8e5826eee507f337d87a95323f823989cdb99e3d1fca WHIRLPOOL d48f436b532b5d58e75f707d40d4db0f92389d94a48422d1330601f0a479010d901895152564c00ea16a6859697fb301246b89adab4ba30da84f74817cf5bd94
EBUILD ulogd-2.0.4-r1.ebuild 3507 SHA256 56d748132cfbea9ee8623402e12b9531ae113943989ab10e10c0440bd6d87e71 SHA512 7160be34771292086e421e7d827c9b39f3dbacc2967da8a508dbad323f5bdb70986dd2f87f9ccb0d907c4d38378e37950d05d49f0a37ded68b5765643ab4bb89 WHIRLPOOL f97ebee353d89b5aec4ba3a0cf43f368ce219d3f639fda8569802757d66ea80518d8b77011630c8871f33262290c07b27f8a3bdbd354aa26b5117e8ac954780e
@@ -25,3 +26,4 @@ EBUILD ulogd-2.0.5-r3.ebuild 3506 SHA256 b6894026913eb98a5eef16b2c47245e4355283a
EBUILD ulogd-2.0.5-r4.ebuild 3558 SHA256 910ccd3c2ab176bb9397e51ac44ee7ca240e4d5126e2dc162e8dea058ca875c5 SHA512 9ea0e21036e26492399096a2d0ba2b4ee2f0b222fd88358772cc441b5efcc6889ebf1d0f6c1fc624321f3a70fa9ab3dfa19d69e7fad35b829b3d89351af4a5fc WHIRLPOOL 55ff5d4648a31862e86a6bcf8195fa7f80d14ad9d0da3443cec5a25518b4e79e6e8df0d7c27310ab8a0312236bbfa7b1f95906f31d2789f3cf5b2e707303adaa
EBUILD ulogd-2.0.5.ebuild 3481 SHA256 b56d2fb6e281c66f672f9d7e3e53676301c6a20838fe11b9e3e7a2fddf9c5257 SHA512 025166b365adac15748877bb2a503a6ab8751cebc02668fbbc6520b656d981aea69148aaa1bdb31d490de88fb869726b4852dc6e356d9e1c853fbee22ae9b1ef WHIRLPOOL 3f706e397782d03ad336c0378955e24f8d9a25ad534f50041e1842acbfc65d6bb0aa6c1bf79ea6437e426e31fc0b55c06b02ab86edf2e21047e6dc71bb6d32be
EBUILD ulogd-2.0.5_p20160205.ebuild 3413 SHA256 635bc766b389ec0571d602081db199c5d1114a648932cb5f859a29152514ecda SHA512 170b614ef890fe7859ee1d376ea77c686797dfd00a436b8093163d063784fb96a57481e3d4f6078c4d73719d52de2c3d6c269a7485115a037040406637c66189 WHIRLPOOL febd20b53ad03d163cc91c7e81dd598019c894b31aef07cf6aff34ffa3d525a352a7bcafe42134cd7f44cd404f1be67eba637959bc2ad8627c77d8b3fa26b04a
+EBUILD ulogd-2.0.5_p20161017.ebuild 3545 SHA256 ce2fd9fc004f195d3e1c4d6225eb521a7e51069d142277df524f80943d9a7961 SHA512 e71682c6a3284a1d8c75e9f563a61db9568b40ac1c0b0aab0b806e55e84dc3f1ce72801c490c55f1045dee751aae03eaf438e89a55bb41319a77f04a8000f9d2 WHIRLPOOL 35ba618c88d36b77eda3ad79556078090ccc31a9d2eb6034a747eb5c8aab1b8e17dd85c76ae89a98cfecff6f712641f9cf2570879c98a41b84b0257e7850caf3
diff --git a/app-admin/ulogd/ulogd-2.0.5_p20161017.ebuild b/app-admin/ulogd/ulogd-2.0.5_p20161017.ebuild
new file mode 100644
index 00000000..13c04244
--- /dev/null
+++ b/app-admin/ulogd/ulogd-2.0.5_p20161017.ebuild
@@ -0,0 +1,149 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id: ee7cc8effa2cc9417e562962e846bb5274c13997 $
+
+EAPI=6
+
+COMMIT_ID="62064f6a9e054739ecbdda010dbe9c3fd69bbaa2"
+
+inherit autotools eutils flag-o-matic linux-info readme.gentoo-r1 systemd user vcs-snapshot
+
+DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging"
+HOMEPAGE="https://netfilter.org/projects/ulogd/index.html"
+SRC_URI="http://git.netfilter.org/${PN}2/snapshot/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ia64 ~ppc x86"
+IUSE="dbi doc json mysql nfacct +nfct +nflog pcap postgres sqlite systemd -ulog"
+
+RDEPEND="
+ || ( net-firewall/iptables net-firewall/nftables net-firewall/iptables-nftables )
+ >=net-libs/libnfnetlink-1.0.1
+ dbi? ( dev-db/libdbi )
+ json? ( dev-libs/jansson )
+ nfacct? (
+ >=net-libs/libmnl-1.0.3
+ >=net-libs/libnetfilter_acct-1.0.1
+ )
+ nfct? ( >=net-libs/libnetfilter_conntrack-1.0.2 )
+ nflog? ( >=net-libs/libnetfilter_log-1.0.0 )
+ mysql? ( virtual/mysql )
+ pcap? ( net-libs/libpcap )
+ postgres? ( dev-db/postgresql:= )
+ sqlite? ( dev-db/sqlite:3 )
+"
+DEPEND="${RDEPEND}
+ 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'.
+"
+
+pkg_setup() {
+ linux-info_pkg_setup
+
+ if kernel_is lt 2 6 14; then
+ die "${PN} requires a kernel >= 2.6.14."
+ fi
+
+ if kernel_is lt 2 6 18; then
+ ewarn "You are using kernel < 2.6.18: Some ulogd features may be unavailable."
+ fi
+
+ 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
+
+ enewgroup ulogd
+ enewuser ulogd -1 -1 /var/log/ulogd ulogd
+}
+
+src_prepare() {
+ default_src_prepare
+
+ # Change default settings to:
+ # - keep log files in /var/log/ulogd instead of /var/log;
+ # - create sockets in /var/run instead of /tmp.
+ sed -i \
+ -e "s|var/log|var/log/${PN}|g" \
+ -e 's|tmp|var/run|g' \
+ ulogd.conf.in || die 'sed on ulogd.conf.in failed'
+
+ eautoreconf
+}
+
+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() {
+ default_src_install
+ prune_libtool_files --modules
+ readme.gentoo_create_doc
+
+ if use doc; then
+ HTML_DOCS=( doc/${PN}.html )
+ dodoc doc/${PN}.{dvi,ps,txt}
+ fi
+
+ use mysql && dodoc doc/mysql-*.sql
+ use postgres && dodoc doc/pgsql-*.sql
+ use sqlite && dodoc doc/sqlite3.table
+
+ doman ${PN}.8
+
+ insinto /etc
+ doins ${PN}.conf
+ fowners root:ulogd /etc/${PN}.conf
+ fperms 640 /etc/${PN}.conf
+
+ newinitd "${FILESDIR}/${PN}.init" ${PN}
+ use systemd && 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
+}