summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-06-15 02:43:32 +0000
committerJeroen Roovers <jer@gentoo.org>2011-06-15 02:43:32 +0000
commit4988655f6e72653c948b56342f2828f6e439f20f (patch)
tree2817ed27b1364ccd91b86860bd892825c012a998 /app-admin/socklog
parentBump to 0.28.1, security bump, remove vulnerable versions (diff)
downloadgentoo-2-4988655f6e72653c948b56342f2828f6e439f20f.tar.gz
gentoo-2-4988655f6e72653c948b56342f2828f6e439f20f.tar.bz2
gentoo-2-4988655f6e72653c948b56342f2828f6e439f20f.zip
Version bump. Update runit version dependency for runsvctrl -> sv change. Set proper S instead of cd-ing constantly. Remove empty DEPEND. Do not install nearly empty README.
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/socklog')
-rw-r--r--app-admin/socklog/ChangeLog9
-rw-r--r--app-admin/socklog/socklog-2.1.0.ebuild41
2 files changed, 49 insertions, 1 deletions
diff --git a/app-admin/socklog/ChangeLog b/app-admin/socklog/ChangeLog
index 7d26df04f306..4ebcc7de4d57 100644
--- a/app-admin/socklog/ChangeLog
+++ b/app-admin/socklog/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-admin/socklog
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/socklog/ChangeLog,v 1.8 2011/04/07 07:51:02 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/socklog/ChangeLog,v 1.9 2011/06/15 02:43:32 jer Exp $
+
+*socklog-2.1.0 (15 Jun 2011)
+
+ 15 Jun 2011; Jeroen Roovers <jer@gentoo.org> +socklog-2.1.0.ebuild:
+ Version bump. Update runit version dependency for runsvctrl -> sv change. Set
+ proper S instead of cd-ing constantly. Remove empty DEPEND. Do not install
+ nearly empty README.
07 Apr 2011; Ultrabug <ultrabug@gentoo.org> socklog-2.0.2.ebuild,
socklog-2.0.2-r1.ebuild:
diff --git a/app-admin/socklog/socklog-2.1.0.ebuild b/app-admin/socklog/socklog-2.1.0.ebuild
new file mode 100644
index 000000000000..4194b029685a
--- /dev/null
+++ b/app-admin/socklog/socklog-2.1.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/socklog/socklog-2.1.0.ebuild,v 1.1 2011/06/15 02:43:32 jer Exp $
+
+EAPI="3"
+
+inherit eutils toolchain-funcs flag-o-matic
+
+DESCRIPTION="small secure replacement for syslogd with automatic log rotation"
+HOMEPAGE="http://smarden.org/socklog/"
+SRC_URI="http://smarden.org/socklog/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE="static"
+
+RDEPEND=">=sys-process/runit-1.4.0"
+
+S=${WORKDIR}/admin/${P}/src
+
+src_prepare() {
+# epatch "${FILESDIR}"/${P}-tryto-race-fix.patch #122784
+ use static && append-ldflags -static
+ echo "$(tc-getCC) ${CFLAGS}" > conf-cc
+ echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS}" > conf-ld
+}
+
+src_compile() {
+ emake || die "make failed"
+}
+
+src_install() {
+ dobin tryto uncat socklog-check || die "dobin"
+ dosbin socklog socklog-conf || die "dosbin"
+
+ cd "${S}"
+ dodoc package/CHANGES
+ dohtml doc/*.html
+ doman man/*
+}