summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2014-04-26 11:34:09 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2014-04-26 11:34:09 +0000
commite9d33b148b298ebe68b0b73b9c76e42fbc0cb65e (patch)
tree098120faffeda11b47ad877cc45abcc6dc18f354 /app-admin
parentEAPI 5. (diff)
downloadhistorical-e9d33b148b298ebe68b0b73b9c76e42fbc0cb65e.tar.gz
historical-e9d33b148b298ebe68b0b73b9c76e42fbc0cb65e.tar.bz2
historical-e9d33b148b298ebe68b0b73b9c76e42fbc0cb65e.zip
Improved ebuild to add optional json support. Remove old. Bug #507428 by Coacher <itumaykin@gmail.com>
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0x09BF4F54C2BA7F3C!
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/ulogd/ChangeLog8
-rw-r--r--app-admin/ulogd/Manifest32
-rw-r--r--app-admin/ulogd/files/ulogd-2.0.2-automagic.patch60
-rw-r--r--app-admin/ulogd/files/ulogd-2.init43
-rw-r--r--app-admin/ulogd/metadata.xml1
-rw-r--r--app-admin/ulogd/ulogd-2.0.2.ebuild131
-rw-r--r--app-admin/ulogd/ulogd-2.0.4.ebuild6
7 files changed, 37 insertions, 244 deletions
diff --git a/app-admin/ulogd/ChangeLog b/app-admin/ulogd/ChangeLog
index ee17654e3bc6..b6a7143bbde6 100644
--- a/app-admin/ulogd/ChangeLog
+++ b/app-admin/ulogd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/ulogd
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.83 2014/04/11 03:41:44 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ChangeLog,v 1.84 2014/04/26 11:34:06 hwoarang Exp $
+
+ 26 Apr 2014; Markos Chandras <hwoarang@gentoo.org>
+ -files/ulogd-2.0.2-automagic.patch, -files/ulogd-2.init, -ulogd-2.0.2.ebuild,
+ metadata.xml, ulogd-2.0.4.ebuild:
+ Improved ebuild to add optional json support. Remove old. Bug #507428 by
+ Coacher <itumaykin@gmail.com>
*ulogd-2.0.4 (11 Apr 2014)
diff --git a/app-admin/ulogd/Manifest b/app-admin/ulogd/Manifest
index adf248e1061c..fbc4a24e7368 100644
--- a/app-admin/ulogd/Manifest
+++ b/app-admin/ulogd/Manifest
@@ -1,12 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX ulogd-2-ng.init 922 SHA256 1dd1fc93a622856a4e576c58bfe7291730a9dbcfa8d4f7f94b19e4cdab02299e SHA512 f91a6f07d18d31c5fa4a84847e508045bc8da7fa8e5e5254d5f078ee840466c0713aadb4189405af4754949d4ebf2e72ecedfa5820cc11b60a705ca7d62f4f7a WHIRLPOOL e4e927783d9da4c3e6f652c2d4ebc26b84c060e107addf2da4d9a8e2eeeb98da8143f025ea7bdd9e831a1df417d47d8e2eb57c7db855f60428dc4d0c0595c1ee
-AUX ulogd-2.0.2-automagic.patch 1879 SHA256 57045fdf9475be4b60a87dc19545515275e1eddfd07aab7b57e92c141232d457 SHA512 a31ab086b82ff88232e984760cf16553cb9c7ef170039da37ea5cdf347eee1fb3a21088e19033499e5940ae0556e7a59e7298749be9fef02dc6b5b30bce318e3 WHIRLPOOL aba1862ac7344111f6aa42910328018e198c19d3e20c6735b19667ac154307ae569dd92511f5888df3eccfe582939c64f5be9f09906405744aae6c226c8db70a
-AUX ulogd-2.init 947 SHA256 75ef1c4e75ef1ef2af7fdd108e89efa7280c800959c24001102147261f7375d8 SHA512 feead73345fa85029f9db2be988bdbd8f284900ab5d5f0dd5c219df3c2300c57ac1690cf102467a6371c8ab751c488c665ed8657b99db940954f73ffae22bfab WHIRLPOOL 4c048f8fb6c1454b47b80b3b8b4ed53d2917572e5e9e1c4cc59dfb23035ad337b4abf7a7aadceea47de84095dcc28f9439a5e5276d4788fa1b6ef7dc76de4f79
AUX ulogd-2.logrotate 212 SHA256 df0f73b4dd4b0c1f6afaf3efc98c99b972e068bcbf8ea768f6522cbebd339669 SHA512 1c29316f42903a8893a110e74c171f2b8b4c9bb2d63221b65e601f077549c7447941ce6257259b4f1042076c1e4b5bfba0bf7c85289519aab6edb27edf6ffc95 WHIRLPOOL 8f2290e7de1e8958c1fc5cf1f075170a691304d1ddbf53a2f14b989925d5da6996ab409442ee9a92852a711f56a2bfe05bd97a55ab2d6be3fd1cca346cd0dd93
-DIST ulogd-2.0.2.tar.bz2 466664 SHA256 a36c4032d83edaef1b13f96b6647e9e150d7f20b5af7035f0a91c17fe2e066c5 SHA512 a7ac243ec67ab4325855df631bae011284c716495e5e2d26c1f392207448b6b793117124c89b66e7745a05b74cdddb5ed7acb44c34c24618cc27948a25e978df WHIRLPOOL 8113b5e35fe236fbcba8239daf13f435949aa7798f23794e1fc138cd6decc4119da3b06fdda1e3ad6f4c45f0521c44f0e1a50a7bef19644263df1972fedb00d8
DIST ulogd-2.0.3.tar.bz2 447550 SHA256 1ec965073e7f4e5605b2bd1c143b2094e495ad24a298e6fc8f6fcbd131234376 SHA512 09d61cca6cd1c8137b3a4e5ce101f54e48f30c98761602a97766554bc4130eda632b8541f5c1e3e2ac686ec718bb4d440d3bea57c811317cabb274917c996140 WHIRLPOOL f79f0300e610ee9de82aee478dec1c28ffbe10c7b4348ddc586229ac53226f238371f1e71d0b33095904d373c26359b848e18069d8da3d7e22a4819568c1ee44
DIST ulogd-2.0.4.tar.bz2 452234 SHA256 56b30a13a8832e97178f39b7bb173a0b1dfe173dbb60d99a1a386c0962a2effd SHA512 08e88661fcfbcfd327b03b7a883dc239991f47d5a4e4561f3ada5f6acc8f2349f3bd38c1c67f28e42bbccf4cad63b2b7c3b732c23bf24b7c5f05320d27977773 WHIRLPOOL 94ee731cee8b95295d1c675bb3904be1a5b27a1e901d462f248116c865e79d52703b5330882110d7212bda1bb964fc0c97c3e704589071f47fab4475e1c91161
-EBUILD ulogd-2.0.2.ebuild 3174 SHA256 513816c8090c3a894023dc5c8dafd04800b98478c400ec3616761147c1174632 SHA512 759b32215872ecd680c8a1b25ea130b2e902180a190b7ca120cae63e8d527db4e4c9665f4b2e65ae24791effc6afd14e752bb68eab56ff6b987747bdc94ab7ca WHIRLPOOL 28eb628bb0cfce91b290dbfce835131fa571a92c3f85e64c58029d4e4a2f66d935d78bbb1d6d2674258c3a7e92d6943cc28207a8aa070d28d2f1e9d3ecc4edf6
EBUILD ulogd-2.0.3.ebuild 3076 SHA256 278b92b6d7d0d46b593b64b7788aec1b7cad7a0f5858c06bd90414d1c7579418 SHA512 5529c1a640bc1bda56e452a227611c16b229e344f58ab6a167767692202d6208a922f1cec3ab9737975953f11b5a1f6f002d771d61f9924f36c135b290c27c53 WHIRLPOOL 0d5af0e60173e781860ea2c54d13695543744524bb679971bf5257087e93961506339bad60d8f0aa623cf486da4d470492779c16bc802b93e840b64a33538c4e
-EBUILD ulogd-2.0.4.ebuild 3086 SHA256 2e5fc28a916cac580d758fcca93f72756580470f99da1c04475cddc93e7e5418 SHA512 96772ff43dc76906555aba2769e2aca679dadf8bcfd6c0aa378799a7640b21c291bbd6c41bcef361271716cda584e3ba9aa38872e8dcdd5e5d9dd5a214d48463 WHIRLPOOL 96c8b39ce1ccb5a34e87a615fe2a50e0b5300d7bc0b9e0141b8aae4cb05633b79a1b175a2bed3d0f119b9037962ca7982bafc4000546ed11c1be790d36cdd8d9
-MISC ChangeLog 13824 SHA256 b938637a766cb114b593d485cdc83388a5b430d7cab3fcd4a3ceae854523af9f SHA512 70a28db3c712221944780f1a540a0d192176ae3ad3fc2d1813e8e360141be5c5d86a6d0d33b2b3583800d00be80c454cced16f80911cf5459eef1da4e41a1059 WHIRLPOOL 16ac8e11ae82efc5d22e7f3d5403d43d71218101ad9495b3ab58d3d4d93598bdc44841e269a72f71ce7edd34df4823aa4271e1ae9964ad94030b9e234d0d1513
-MISC metadata.xml 956 SHA256 469b00574493871ad713d12f111c020f43572a57d0262d1877cd4d4c8fee4c05 SHA512 77fb7e819d67cc1ebd17aa9e55058cff72c4e57faf3b341e0a0014caabbaf5b1b191c44b6256fd353aafbede644953b73613d749f4c699a750108fd238395b18 WHIRLPOOL 215ff35462ee55ac3d2a541fbd4e0c0d59bd341f264f62de84218fbc420098b63ae249516d9b176722895a4ed8bd846157616da71b7ad6d3a36bedb9fe684b30
+EBUILD ulogd-2.0.4.ebuild 3147 SHA256 d0b578eaf6158249bd728cb50e7bfef7e12e13345ed09730d4867c1ca64b7c21 SHA512 c2f84d6fc451ad117f3323586b27e3d86e5cf5a33e85d19116f277bf02a3f18a45ba734b0ff433f0fa969b20505933a9afcc226504aeed85084719967e785143 WHIRLPOOL e0b3322565957dfbab48294a9d0b93c7c355a2603ffcaf4d7fa92774630f56cdc90c27aefbd60588ea397ecede2ced7427ea68efcf09be467534f42c7605497e
+MISC ChangeLog 14102 SHA256 a907ee86949a137bda7bb8a09dbb5763042db791a55ceba86fa0fd89bba12dd8 SHA512 39be9c99e408326469855b7584d9351030210b0ed2009a9e08ef4a53c423d0215e31b35f34069686fcaa39d1da9d3d630199f4032b7e6d983e0b1b18d3b299dc WHIRLPOOL ad4f3b52a5131325073492903404506416e2b01e2b2e7868f319b877c862fa234aa22e4a90b255d2c98c58ae20b07c4eb5ac8802494d7309d84f44779faffd33
+MISC metadata.xml 1045 SHA256 8fca8605bebf933527d992e67d15b73a73ffb10ceaa23369b9243f9aca546a94 SHA512 95b9494ea6fa7771e53b2300e7bb3c795f0869e2aea0f8c56e307836cb152082c584daa935eb99416e1cacec4e22a370812da7dca7689d408b232c58eb4cd514 WHIRLPOOL 895778a343a2f24edf5083236e8489570e739ce3023491c8b6f483a14c3343931e340fec227fb5f0250c902692dcc8841d4bd976d13490d361e4599424658693
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQJ8BAEBCABmBQJTW5lWXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNTVDNDczOUYzRjJEMTRGNDRGMzU2RkMw
+OUJGNEY1NEMyQkE3RjNDAAoJEAm/T1TCun88Bf0QAIJg5S4KDwauxcCR8mb81Kfs
+5B1VC0cZhSMdzdQp2Ib72+AqK67YWSyP4+DJ1OXF/WreesuouMFaVHAzPjmCcxu2
+6meMmh/VBFK0m5/iqJ2gyqSbFh/Xr0BIrOtgrWlEkO1s4OA9p8NP9WonZlMkJz0c
+Ij4yrW5qhxfxO1VzVyna84OpwWFe6fBjUJUMeVoofHc438HwRRWAxipZ5xwMDRVQ
+vDgI2JQ46CMDaw3DsFo0NhhMT0HUDWQBhotnHDYI/LPuYyn/i5E6fBs/g+xRCWr0
+yUrNAy+5bS/uup4YwXWcfBBaxHEVG9kj3ANYdd8FwAhBD6O9bzJXiWCcZ3UrPS+i
+3YE/eaoh0N3DHGyOIYMFvOmnuITxDMRIjzOPuvoxQzEwRkux+Ak3ro+AudgMWzMm
+eHHV4PuteTwDB+SvP4PnZg5BtD4Iwvsv6PuqUOFQhGPY67FBDLBeH6x+QG1vWvUZ
+zLFvPSzraG3ToyoWZEeYQwUuBi7jMxxKcvCuYbV4Vdduwp8j39hpOmmM52zDwzyy
+bpzs9H09Dl2+zim2HhFyQrYzS50SGFxSu1gHVQylpZTpeV081yciqtQgknGS/q5q
+rRStQUZla2yyyKPGvZ6KKCIYG0iqPXx3zDrEmT5GSFRKGvJWxpTdGXKHblaiIqeE
+rXFAbdnWLo9i6xzdnykx
+=Wvk6
+-----END PGP SIGNATURE-----
diff --git a/app-admin/ulogd/files/ulogd-2.0.2-automagic.patch b/app-admin/ulogd/files/ulogd-2.0.2-automagic.patch
deleted file mode 100644
index b3d269b9d7c3..000000000000
--- a/app-admin/ulogd/files/ulogd-2.0.2-automagic.patch
+++ /dev/null
@@ -1,60 +0,0 @@
---- configure.ac.orig 2013-03-01 19:45:23.285968838 +0400
-+++ configure.ac 2013-03-15 03:38:50.587620528 +0400
-@@ -20,14 +20,6 @@ AC_PROG_LIBTOOL
- dnl Checks for libraries.
- AC_SEARCH_LIBS([dlopen], [dl], [libdl_LIBS="$LIBS"; LIBS=""])
- AC_SUBST([libdl_LIBS])
--AC_SEARCH_LIBS([pcap_close], [pcap], [libpcap_LIBS="-lpcap"; LIBS=""])
--AC_SUBST([libpcap_LIBS])
--AM_CONDITIONAL([HAVE_PCAP], [test -n "$libpcap_LIBS"])
--if test "x$libpcap_LIBS" != "x"; then
-- enable_pcap="yes"
--else
-- enable_pcap="no"
--fi
-
- dnl Checks for header files.
- AC_HEADER_DIRENT
-@@ -88,7 +80,10 @@ else
- enable_mysql="no"
- fi
-
--PKG_CHECK_MODULES([libsqlite3], [sqlite3], [], [:])
-+AC_ARG_WITH([sqlite], AS_HELP_STRING([--without-sqlite], [Build without SQLITE3 output plugin (default: test)]))
-+AS_IF([test "x$with_sqlite" != "xno"], [
-+ PKG_CHECK_MODULES([libsqlite3], [sqlite3], [], [:])
-+])
- AM_CONDITIONAL([HAVE_SQLITE3], [test -n "$libsqlite3_LIBS"])
- if test "x$libsqlite3_LIBS" != "x"; then
- enable_sqlite3="yes"
-@@ -96,7 +91,10 @@ else
- enable_sqlite3="no"
- fi
-
--CT_CHECK_DBI()
-+AC_ARG_WITH([dbi], AS_HELP_STRING([--without-dbi], [Build without DBI output plugin (default: test)]))
-+AS_IF([test "x$with_dbi" != "xno"], [
-+ CT_CHECK_DBI()
-+])
- AM_CONDITIONAL(HAVE_DBI, test "x$DBI_LIB" != "x")
- if test "x$DBI_LIB" != "x"; then
- enable_dbi="yes"
-@@ -104,6 +102,18 @@ else
- enable_dbi="no"
- fi
-
-+AC_ARG_WITH([pcap], AS_HELP_STRING([--without-pcap], [Build without PCAP output plugin (default: test)]))
-+AS_IF([test "x$with_pcap" != "xno"], [
-+ AC_SEARCH_LIBS([pcap_close], [pcap], [libpcap_LIBS="-lpcap"; LIBS=""])
-+ AC_SUBST([libpcap_LIBS])
-+])
-+AM_CONDITIONAL([HAVE_PCAP], [test -n "$libpcap_LIBS"])
-+if test "x$libpcap_LIBS" != "x"; then
-+ enable_pcap="yes"
-+else
-+ enable_pcap="no"
-+fi
-+
- dnl AC_SUBST(DATABASE_DIR)
- dnl AC_SUBST(DATABASE_LIB)
- dnl AC_SUBST(DATABASE_LIB_DIR)
diff --git a/app-admin/ulogd/files/ulogd-2.init b/app-admin/ulogd/files/ulogd-2.init
deleted file mode 100644
index 9206f8de3455..000000000000
--- a/app-admin/ulogd/files/ulogd-2.init
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/files/ulogd-2.init,v 1.1 2013/03/20 08:38:18 pinkbyte Exp $
-
-ULOGD_PIDFILE="/run/ulogd.pid"
-ULOGD_EXEC="/usr/sbin/ulogd"
-ULOGD_OPTS="-u ulogd"
-
-extra_started_commands="reload reopen_logs"
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon --start --quiet \
- --make-pidfile \
- --pidfile ${ULOGD_PIDFILE} \
- --background \
- --exec ${ULOGD_EXEC} \
- -- ${ULOGD_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop --pidfile ${ULOGD_PIDFILE}
- eend $?
-}
-
-reload() {
- ebegin "Reloading ${SVCNAME} configuration"
- start-stop-daemon --signal USR1 --pidfile ${ULOGD_PIDFILE}
- eend $?
-}
-
-reopen_logs() {
- ebegin "Reopening ${SVCNAME} logfiles"
- start-stop-daemon --signal HUP --pidfile ${ULOGD_PIDFILE}
- eend $?
-}
diff --git a/app-admin/ulogd/metadata.xml b/app-admin/ulogd/metadata.xml
index d30bc5df5f5f..ce6670bd908a 100644
--- a/app-admin/ulogd/metadata.xml
+++ b/app-admin/ulogd/metadata.xml
@@ -6,6 +6,7 @@
<email>itumaykin@gmail.com</email>
</maintainer>
<use>
+ <flag name='json'>Build JSON output plugin to save packets in JSON file format.</flag>
<flag name='pcap'>Build PCAP output plugin to save packets in libpcap file format.</flag>
<flag name='mysql'>Build MySQL output plugin to save packets in a mysql database.</flag>
<flag name='postgres'>Build PGSQL output plugin to save packets in a postgres database.</flag>
diff --git a/app-admin/ulogd/ulogd-2.0.2.ebuild b/app-admin/ulogd/ulogd-2.0.2.ebuild
deleted file mode 100644
index 2d1465f7672a..000000000000
--- a/app-admin/ulogd/ulogd-2.0.2.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-2.0.2.ebuild,v 1.7 2013/04/23 08:42:32 ago Exp $
-
-EAPI="5"
-
-AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_IN_SOURCE_BUILD=1
-inherit autotools-utils eutils linux-info readme.gentoo user
-
-DESCRIPTION="A userspace logging daemon for netfilter/iptables related logging"
-HOMEPAGE="http://netfilter.org/projects/ulogd/index.html"
-SRC_URI="http://ftp.netfilter.org/pub/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ia64 ppc x86"
-IUSE="dbi doc mysql nfacct +nfct +nflog pcap postgres sqlite"
-
-RDEPEND="net-firewall/iptables
- >=net-libs/libnfnetlink-1.0.1
- >=net-libs/libmnl-1.0.3
- dbi? ( dev-db/libdbi )
- nfacct? ( >=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-base )
- sqlite? ( dev-db/sqlite:3 )"
-
-DEPEND="${RDEPEND}
- doc? (
- app-text/linuxdoc-tools
- app-text/texlive-core
- virtual/latex-base
- )"
-
-DOCS=( AUTHORS README TODO )
-PATCHES=(
- # fix automagic support of dbi, pcap and sqlite3 output plugins
- "${FILESDIR}/${P}-automagic.patch"
-)
-DOC_CONTENTS="You must have at least one logging stack enabled to make ulogd work.
-Please edit example configuration located at /etc/ulogd.conf"
-
-pkg_setup() {
- enewgroup ulogd
- enewuser ulogd -1 -1 /var/log/ulogd ulogd
-
- linux-info_pkg_setup
-
- if kernel_is lt 2 6 14; then
- die "ulogd2 requires kernel newer than 2.6.14"
- fi
-
- if kernel_is lt 2 6 18; then
- ewarn
- ewarn "You are using kernel older than 2.6.18"
- ewarn "Some ulogd2 features may be unavailable"
- ewarn
- fi
-
- if use nfacct && kernel_is lt 3 3 0; then
- ewarn "NFACCT input plugin requires kernel newer than 3.3.0"
- fi
-}
-
-src_prepare() {
- # - make all logs to be kept in a single dir /var/log/ulogd
- # - place sockets in /run instead of /tmp
- sed -i \
- -e 's:var/log:var/log/ulogd:g' \
- -e 's:tmp:run:g' \
- ulogd.conf.in || die 'sed on ulogd.conf.in failed'
-
- autotools-utils_src_prepare
-}
-
-src_configure() {
- local myeconfargs=(
- $(use_with dbi)
- $(use_enable nfacct)
- $(use_enable nfct)
- $(use_enable nflog)
- $(use_with mysql)
- $(use_with pcap)
- $(use_with postgres pgsql)
- $(use_with sqlite)
- )
- autotools-utils_src_configure
-}
-
-src_compile() {
- autotools-utils_src_compile
-
- if use doc ; then
- # prevent access violations from generation of bitmap font files
- export VARTEXFONTS="${T}"/fonts
- emake -C doc
- fi
-}
-
-src_install() {
- autotools-utils_src_install
- readme.gentoo_create_doc
- prune_libtool_files --modules
-
- if use doc ; then
- dohtml doc/${PN}.html
- dodoc doc/${PN}.dvi doc/${PN}.txt doc/${PN}.ps
- fi
-
- use sqlite && dodoc doc/sqlite3.table
- use mysql && dodoc doc/mysql-*.sql
- use postgres && dodoc doc/pgsql-*.sql
- doman ${PN}.8
-
- insinto /etc
- doins ${PN}.conf
- fowners root:ulogd /etc/ulogd.conf
- fperms 640 /etc/ulogd.conf
-
- newinitd "${FILESDIR}/${PN}-2.init" ${PN}
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}/${PN}-2.logrotate" ${PN}
-
- diropts -o ulogd -g ulogd
- keepdir /var/log/ulogd
-}
diff --git a/app-admin/ulogd/ulogd-2.0.4.ebuild b/app-admin/ulogd/ulogd-2.0.4.ebuild
index 1b5cee6c1c22..7e8dbafc4411 100644
--- a/app-admin/ulogd/ulogd-2.0.4.ebuild
+++ b/app-admin/ulogd/ulogd-2.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-2.0.4.ebuild,v 1.1 2014/04/11 03:41:44 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/ulogd/ulogd-2.0.4.ebuild,v 1.2 2014/04/26 11:34:06 hwoarang Exp $
EAPI="5"
@@ -15,11 +15,12 @@ SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
-IUSE="dbi doc mysql nfacct +nfct +nflog pcap postgres sqlite"
+IUSE="dbi doc json mysql nfacct +nfct +nflog pcap postgres sqlite"
RDEPEND="net-firewall/iptables
>=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
@@ -78,6 +79,7 @@ src_prepare() {
src_configure() {
local myeconfargs=(
$(use_with dbi)
+ $(use_with json jansson)
$(use_enable nfacct)
$(use_enable nfct)
$(use_enable nflog)