summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2012-05-22 12:28:49 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2012-05-22 12:28:49 +0000
commit85258bb1219b2acff6b8b992adb5af3e3261f605 (patch)
tree63784bc5d7c4bf843435296bc221a9a2b45e8142 /app-admin/rsyslog
parentStable for amd64, wrt bug #407701 (diff)
downloadhistorical-85258bb1219b2acff6b8b992adb5af3e3261f605.tar.gz
historical-85258bb1219b2acff6b8b992adb5af3e3261f605.tar.bz2
historical-85258bb1219b2acff6b8b992adb5af3e3261f605.zip
version bump fix #408745 and #410241
Package-Manager: portage-2.1.10.62/cvs/Linux x86_64
Diffstat (limited to 'app-admin/rsyslog')
-rw-r--r--app-admin/rsyslog/ChangeLog10
-rw-r--r--app-admin/rsyslog/Manifest22
-rw-r--r--app-admin/rsyslog/rsyslog-5.8.11.ebuild (renamed from app-admin/rsyslog/rsyslog-5.8.6.ebuild)18
-rw-r--r--app-admin/rsyslog/rsyslog-5.8.5.ebuild4
-rw-r--r--app-admin/rsyslog/rsyslog-5.8.7.ebuild253
-rw-r--r--app-admin/rsyslog/rsyslog-5.8.8.ebuild4
6 files changed, 37 insertions, 274 deletions
diff --git a/app-admin/rsyslog/ChangeLog b/app-admin/rsyslog/ChangeLog
index 2d7ae6536439..92233ffbdfbd 100644
--- a/app-admin/rsyslog/ChangeLog
+++ b/app-admin/rsyslog/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-admin/rsyslog
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/ChangeLog,v 1.67 2012/05/10 17:26:12 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/ChangeLog,v 1.68 2012/05/22 12:28:49 ultrabug Exp $
+
+*rsyslog-5.8.11 (22 May 2012)
+
+ 22 May 2012; Ultrabug <ultrabug@gentoo.org> rsyslog-5.8.5.ebuild,
+ -rsyslog-5.8.6.ebuild, -rsyslog-5.8.7.ebuild, rsyslog-5.8.8.ebuild,
+ +rsyslog-5.8.11.ebuild:
+ Version bump, fix #408745 thx to Opportunist. Fix ssl/gnutls dependencies wrt
+ #410241 thx to Conrad. Drop old versions.
10 May 2012; Jeff Horelick <jdhore@gentoo.org> rsyslog-5.8.8.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
diff --git a/app-admin/rsyslog/Manifest b/app-admin/rsyslog/Manifest
index 60a7bec4ad4a..2171baec152c 100644
--- a/app-admin/rsyslog/Manifest
+++ b/app-admin/rsyslog/Manifest
@@ -1,15 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX 5-stable/rsyslog-gentoo.conf 3998 RMD160 db8979c4cfe4aa43c6ae5583972a21037dddd161 SHA1 9d4702ac3b505293ad922cc85ef20f0a4a3ae848 SHA256 d31ba477fb94c82cd2362694b680d43bfc5eb83c6e930202feb7531c4396982b
AUX 5-stable/rsyslog.confd 654 RMD160 ca340f748c84404df86bfdaf9ca9d47d0ff38121 SHA1 e56695ebc21a30f60f1b070f8f26236677ef5d81 SHA256 c476c2180fcceaf581d26d2da6201fbe7a2b9fc89c58456fdb3bdaf18a4cbb56
AUX 5-stable/rsyslog.initd 963 RMD160 2ab8e434338e4790db280ec05405c5ac4e333bc0 SHA1 95cb0a18517789954e2c0461b231587371f9d7e4 SHA256 cbaf49c80a8fd3ea74dbe82c85b2371aa749b3c431a76d99154616514f92f127
AUX 5-stable/rsyslog.logrotate 440 RMD160 b2599c94c718af02a641e762960b9796952411bb SHA1 228dba04c683d778bccd86f6bcd80650b9c774b4 SHA256 f0effc19bd1f1bfa367d65d6516c73509cb34545157b9e91cf6e437685dd3fe5
+DIST rsyslog-5.8.11.tar.gz 2393222 RMD160 be13514e02f121ae7b78e0177063ce8cd8a9d859 SHA1 eabba672b9cace696207028da703cf073956d505 SHA256 f75b39cf22506f7a28d986d0a446a09a0806f253dba661f125a241a1b47d6285
DIST rsyslog-5.8.5.tar.gz 2364874 RMD160 46b20433e0e5feb807b4777bb8141221fe5dd65b SHA1 a5dc735714b573f577db2892f596dcb0ef35c747 SHA256 a519704c06de1026847f69d99f31a2a32783e9547f5249dddefe805bfbc3ea50
-DIST rsyslog-5.8.6.tar.gz 2373078 RMD160 96beddd94eea0c635c41409f92c897d3620182c0 SHA1 1afe39077253dc9f636f676e8374d09a101a9c94 SHA256 c51206e3b11c7b4cddf92607b9d6ddd07430ff7dd8d06849804c9ea1c9191825
-DIST rsyslog-5.8.7.tar.gz 2382972 RMD160 c7d5399826c8b90d8fa307cab604bfd2bb694834 SHA1 48e715361b74d2114a97ac8df2668f344dee3f4c SHA256 ff206ff59b2c0d6913f9edb8c4ec341b6dd5061113cf9155f5ec0c5d821df942
DIST rsyslog-5.8.8.tar.gz 2387606 RMD160 db043264814e4146189d9bfb44aa45614a9e8a94 SHA1 d25bfadb08f68f8b261cf4b0db9d4951db37f673 SHA256 3e9c8db459e4e363b2289381923d54d84f2ede29c2f9c542cf21672b163aa570
DIST rsyslog-zeromq.tar.gz 22223 RMD160 632a1888d3972da4ce623c8f6973c72b026b035c SHA1 e6f02c25af19022d0cc9d4782f58db3fc27a9f0f SHA256 3cca6ce8722ec5035744a9b88e65b89b35f6b2e6bbdbc9c9bba89d22addd2753
-EBUILD rsyslog-5.8.5.ebuild 7285 RMD160 a1dfb2d06c884c4800293d676f46ddb60ba21a71 SHA1 38369f03269b5b6cf8689d70d3ffa212be53ed8f SHA256 5bb4d0a41bb0cb066f9cc22b67e39d308429a9f3425c92b411e5f7da47ed317d
-EBUILD rsyslog-5.8.6.ebuild 7277 RMD160 01373a06cb83f6f086ffa1fed40468c58be7d506 SHA1 74a2ec48df0d2edfad4144185ec8cad5afed1794 SHA256 0956a829b24b59984e91d558d861b613c728210d500912b7e83e4aa7f22b11db
-EBUILD rsyslog-5.8.7.ebuild 7277 RMD160 82b156442351dde53f0e35ba442b1cbba3956e9a SHA1 4aa8832cd2728d15caf17d550f41f2dec49c71bb SHA256 51fcbec3e7f4f41b49733d90ceb111d2482024e3a4c9cc29cf8177c5cbde8469
-EBUILD rsyslog-5.8.8.ebuild 7299 RMD160 3cc0b94df3c1cd402a64fb05e7e56bc73d68e69b SHA1 41b82e40a0885a2e3fafceac40c34bc0c24e9407 SHA256 739d6d07ae970fa15b4d29aa77f63dee8859dfc81a5b270e6176e13586fd3b68
-MISC ChangeLog 12851 RMD160 91e8837fe1ee1e4622f054b593a13a89eefcda1d SHA1 e0b5fe5cf414e1765dc0ed3bc8f31f0d62ed7179 SHA256 8cb943ba202b4ba0fe24fa338740f8500b01c9fb98f49c740cacadf03051b6c5
+EBUILD rsyslog-5.8.11.ebuild 7321 RMD160 38a08429011abb070dab60393eef38d2542f3176 SHA1 0c00f6a77652650a515b2bc824f63cf4786ffc99 SHA256 218bf92142b4148ef0c9a7db9d82f21dc2712d1e8c61230a21df18d3ca4cfc77
+EBUILD rsyslog-5.8.5.ebuild 7306 RMD160 1f876f2d2fb832793be9afa0551539b1548c2096 SHA1 a596e1b72ef0f5bfcb7ff3bc83ee83c02120d945 SHA256 cde22580b04f310e874c3ba20c917b49fffcb3a90086efa5c8dfd82606ddf443
+EBUILD rsyslog-5.8.8.ebuild 7320 RMD160 b3243a09d215f9f0146323aa608ceb4613c3b8c4 SHA1 5098c2483a319babb93a6d5509b95c55522e44ba SHA256 5302289dea5b5a65fb1c68411e4c431320a8f47c6ea3b85c82e8b043bcd691ac
+MISC ChangeLog 13173 RMD160 4b80869dd6ead42565b340cb7ee267ef4da040f2 SHA1 ce731ec3f7591e7c351f9f84f9de52489c912b47 SHA256 bb96f5109184e7694610784c5ae76e8009e081887f9a36d316df99b18f7f80bd
MISC metadata.xml 769 RMD160 76e1953b0841e1020088079af549451ea6d16723 SHA1 8f9ed914369c0229f6d4aaec7340d9dcf6fb5030 SHA256 70468ddaa9ff15f4cb3059fcf8834ca7f2e8f55a6f3ac57e1487202e5f3f1730
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iF4EAREIAAYFAk+7hosACgkQKiQSS7ZY+hOfIwD/QRdz6L1fCFpHL8wLhdO+oCK4
+pkSwbGANwXc+HJTBGvUA/39dAok4rj8n2sGL/pSWd16ES51SO6pUZldfEikvEI+L
+=OsEP
+-----END PGP SIGNATURE-----
diff --git a/app-admin/rsyslog/rsyslog-5.8.6.ebuild b/app-admin/rsyslog/rsyslog-5.8.11.ebuild
index 6acff8998544..0c68a7af9f9b 100644
--- a/app-admin/rsyslog/rsyslog-5.8.6.ebuild
+++ b/app-admin/rsyslog/rsyslog-5.8.11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-5.8.6.ebuild,v 1.4 2012/05/03 18:02:22 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-5.8.11.ebuild,v 1.1 2012/05/22 12:28:49 ultrabug Exp $
EAPI=4
@@ -11,7 +11,7 @@ HOMEPAGE="http://www.rsyslog.com/"
SRC_URI="http://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
zeromq? ( https://github.com/aggregateknowledge/rsyslog-zeromq/tarball/44b551abc29dd5b541884bd51b45b413855a93d8 -> ${PN}-zeromq.tar.gz )"
-LICENSE="GPL-3 LGPL-3"
+LICENSE="GPL-3 LGPL-3 Apache-2.0"
KEYWORDS="~amd64 ~arm ~hppa ~sparc ~x86"
SLOT="0"
IUSE="dbi debug doc extras kerberos mysql oracle postgres relp snmp ssl static-libs zeromq zlib"
@@ -24,7 +24,7 @@ RDEPEND="dbi? ( dev-db/libdbi )
oracle? ( dev-db/oracle-instantclient-basic )
relp? ( >=dev-libs/librelp-0.1.3 )
snmp? ( net-analyzer/net-snmp )
- ssl? ( net-libs/gnutls )
+ ssl? ( net-libs/gnutls dev-libs/libgcrypt )
zeromq? ( net-libs/zeromq )
zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}
@@ -178,12 +178,12 @@ pkg_config() {
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" &>/dev/null
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
- cat > "${T}/${PF}.$$" <<_EOF
+ cat > "${T}/${PF}.$$" <<- _EOF
cn = Portage automated CA
ca
cert_signing_key
expiration_days = 3650
-_EOF
+ _EOF
certtool --generate-self-signed \
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
@@ -201,12 +201,12 @@ _EOF
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
- cat > "${T}/${PF}.$$" <<_EOF
+ cat > "${T}/${PF}.$$" <<- _EOF
cn = ${CN}
tls_www_server
dns_name = ${CN}
expiration_days = 3650
-_EOF
+ _EOF
certtool --generate-certificate \
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
@@ -230,12 +230,12 @@ _EOF
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
- cat > "${T}/${PF}.$$" <<_EOF
+ cat > "${T}/${PF}.$$" <<- _EOF
cn = ${CN}
tls_www_client
dns_name = ${CN}
expiration_days = 3650
-_EOF
+ _EOF
certtool --generate-certificate \
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
diff --git a/app-admin/rsyslog/rsyslog-5.8.5.ebuild b/app-admin/rsyslog/rsyslog-5.8.5.ebuild
index c2fc81054d17..af9892e43e6c 100644
--- a/app-admin/rsyslog/rsyslog-5.8.5.ebuild
+++ b/app-admin/rsyslog/rsyslog-5.8.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-5.8.5.ebuild,v 1.7 2012/05/03 18:02:22 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-5.8.5.ebuild,v 1.8 2012/05/22 12:28:49 ultrabug Exp $
EAPI=4
@@ -18,7 +18,7 @@ IUSE="dbi debug doc extras gnutls kerberos mysql oracle postgres relp snmp stati
RDEPEND="dbi? ( dev-db/libdbi )
extras? ( net-libs/libnet )
- gnutls? ( net-libs/gnutls )
+ gnutls? ( net-libs/gnutls dev-libs/libgcrypt )
kerberos? ( virtual/krb5 )
mysql? ( virtual/mysql )
postgres? ( dev-db/postgresql-base )
diff --git a/app-admin/rsyslog/rsyslog-5.8.7.ebuild b/app-admin/rsyslog/rsyslog-5.8.7.ebuild
deleted file mode 100644
index 5575ea693256..000000000000
--- a/app-admin/rsyslog/rsyslog-5.8.7.ebuild
+++ /dev/null
@@ -1,253 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-5.8.7.ebuild,v 1.2 2012/05/03 18:02:22 jdhore Exp $
-
-EAPI=4
-
-inherit autotools-utils systemd
-
-DESCRIPTION="An enhanced multi-threaded syslogd with database support and more."
-HOMEPAGE="http://www.rsyslog.com/"
-SRC_URI="http://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
- zeromq? ( https://github.com/aggregateknowledge/rsyslog-zeromq/tarball/44b551abc29dd5b541884bd51b45b413855a93d8 -> ${PN}-zeromq.tar.gz )"
-
-LICENSE="GPL-3 LGPL-3"
-KEYWORDS="~amd64 ~arm ~hppa ~sparc ~x86"
-SLOT="0"
-IUSE="dbi debug doc extras kerberos mysql oracle postgres relp snmp ssl static-libs zeromq zlib"
-
-RDEPEND="dbi? ( dev-db/libdbi )
- extras? ( net-libs/libnet )
- kerberos? ( virtual/krb5 )
- mysql? ( virtual/mysql )
- postgres? ( dev-db/postgresql-base )
- oracle? ( dev-db/oracle-instantclient-basic )
- relp? ( >=dev-libs/librelp-0.1.3 )
- snmp? ( net-analyzer/net-snmp )
- ssl? ( net-libs/gnutls )
- zeromq? ( net-libs/zeromq )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-BRANCH="5-stable"
-
-# need access to certain device nodes
-RESTRICT="test"
-
-# Maitainer note : open a bug to upstream
-# showing that building in a separate dir fails
-AUTOTOOLS_IN_SOURCE_BUILD=1
-
-DOCS=(AUTHORS ChangeLog doc/rsyslog-example.conf)
-
-src_prepare() {
- # Maintainer notes:
- # ZeroMQ support, for now it is done by hand until upstream process bug.
- # Bugzilla : http://bugzilla.adiscon.com/show_bug.cgi?id=277
- if use zeromq; then
- local ZEROPATH=${WORKDIR}/aggregateknowledge-rsyslog-zeromq-44b551a
- epatch ${ZEROPATH}/rsyslog-zeromq.patch
- cp -r ${ZEROPATH}/{i,o}mzeromq "${S}/plugins"
- fi
-
- # Don't force '-g' CFLAG
- sed -i 's/CFLAGS="\(.*\) -g"/CFLAGS="\1"/g' configure.ac || die
- eautoreconf
-}
-
-src_configure() {
- # Maintainer notes:
- # * rfc3195 needs a library and development of that library
- # is suspended, so we disable it
- # * About the java GUI:
- # The maintainer says there is no real installation support
- # for the java GUI, so we disable it for now.
- local myeconfargs=(
- --disable-gui
- --disable-rfc3195
- --enable-largefile
- --enable-unlimited-select
- --enable-imdiag
- --enable-imfile
- --enable-impstats
- --enable-imtemplate
- --enable-imptcp
- --enable-mail
- --enable-omprog
- --enable-omstdout
- --enable-omtemplate
- --enable-omdbalerting
- --enable-omuxsock
- --enable-pmlastmsg
- --enable-pmrfc3164sd
- --enable-pmcisconames
- --enable-pmaixforwardedfrom
- --enable-pmsnare
- $(use_enable extras omudpspoof)
- $(use_enable zlib)
- $(use_enable mysql)
- $(use_enable dbi libdbi)
- $(use_enable postgres pgsql)
- $(use_enable oracle oracle)
- $(use_enable ssl gnutls)
- $(use_enable kerberos gssapi-krb5)
- $(use_enable relp)
- $(use_enable snmp)
- $(use_enable snmp mmsnmptrapd)
- $(use_enable debug)
- $(use_enable debug rtinst)
- $(use_enable debug diagtools)
- $(use_enable debug memcheck)
- $(use_enable debug valgrind)
- )
-
- use zeromq && myeconfargs=(
- ${myeconfargs[@]-}
- $(use_enable zeromq imzeromq)
- $(use_enable zeromq omzeromq)
- )
-
- systemd_to_myeconfargs
- autotools-utils_src_configure
-}
-
-src_install() {
- use doc && HTML_DOCS=(doc/)
- autotools-utils_src_install
-
- insinto /etc
- newins "${FILESDIR}/${BRANCH}/${PN}-gentoo.conf" ${PN}.conf
- newconfd "${FILESDIR}/${BRANCH}/${PN}.confd" ${PN}
- newinitd "${FILESDIR}/${BRANCH}/${PN}.initd" ${PN}
- keepdir /var/spool/${PN}
- keepdir /etc/ssl/${PN}
- keepdir /etc/${PN}.d
-
- use static-libs || find "${D}" -name '*.la' -delete || die
-
- if use mysql; then
- insinto /usr/share/doc/${PF}/scripts/mysql
- doins plugins/ommysql/{createDB.sql,contrib/delete_mysql}
- fi
-
- if use postgres; then
- insinto /usr/share/doc/${PF}/scripts/pgsql
- doins plugins/ompgsql/createDB.sql
- fi
-
- insinto /etc/logrotate.d/
- newins "${FILESDIR}/${BRANCH}/${PN}.logrotate" ${PN}
-}
-
-pkg_postinst() {
- if use mysql || use postgres; then
- echo
- elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
- elog " /usr/share/doc/${PF}/scripts"
- fi
-
- if use ssl; then
- echo
- elog "To create a default CA and certificates for your server and clients, run:"
- elog " emerge --config =${PF}"
- elog "on your logging server. You can run it several times,"
- elog "once for each logging client. The client certificates will be signed"
- elog "using the CA certificate generated during the first run."
- fi
-}
-
-pkg_config() {
- if ! use ssl ; then
- einfo "There is nothing to configure for rsyslog unless you"
- einfo "used USE=ssl to build it."
- return 0
- fi
-
- # Make sure the certificates directory exists
- CERTDIR="${ROOT}/etc/ssl/${PN}"
- if [ ! -d "${CERTDIR}" ]; then
- mkdir "${CERTDIR}" || die
- fi
- einfo "Your certificates will be stored in ${CERTDIR}"
-
- # Create a default CA if needed
- if [ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]; then
- einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
- certtool --generate-privkey \
- --outfile "${CERTDIR}/${PN}_ca.privkey.pem" &>/dev/null
- chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
-
- cat > "${T}/${PF}.$$" <<_EOF
- cn = Portage automated CA
- ca
- cert_signing_key
- expiration_days = 3650
-_EOF
-
- certtool --generate-self-signed \
- --load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
- --outfile "${CERTDIR}/${PN}_ca.cert.pem" \
- --template "${T}/${PF}.$$" &>/dev/null
- chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
-
- # Create the server certificate
- echo
- einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
- read -r CN
-
- einfo "Creating private key and certificate for server ${CN}..."
- certtool --generate-privkey \
- --outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
- chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
-
- cat > "${T}/${PF}.$$" <<_EOF
- cn = ${CN}
- tls_www_server
- dns_name = ${CN}
- expiration_days = 3650
-_EOF
-
- certtool --generate-certificate \
- --outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
- --load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
- --load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
- --load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
- --template "${T}/${PF}.$$" &>/dev/null
- chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
-
- else
- einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
- fi
-
- # Create a client certificate
- echo
- einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
- read -r CN
-
- einfo "Creating private key and certificate for client ${CN}..."
- certtool --generate-privkey \
- --outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
- chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
-
- cat > "${T}/${PF}.$$" <<_EOF
- cn = ${CN}
- tls_www_client
- dns_name = ${CN}
- expiration_days = 3650
-_EOF
-
- certtool --generate-certificate \
- --outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
- --load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
- --load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
- --load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
- --template "${T}/${PF}.$$" &>/dev/null
- chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
-
- rm -f "${T}/${PF}.$$"
-
- echo
- einfo "Here is the documentation on how to encrypt your log traffic:"
- einfo " http://www.rsyslog.com/doc/rsyslog_tls.html"
-}
diff --git a/app-admin/rsyslog/rsyslog-5.8.8.ebuild b/app-admin/rsyslog/rsyslog-5.8.8.ebuild
index ae9b19602bfc..f6074dac6a1c 100644
--- a/app-admin/rsyslog/rsyslog-5.8.8.ebuild
+++ b/app-admin/rsyslog/rsyslog-5.8.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-5.8.8.ebuild,v 1.2 2012/05/10 17:26:12 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-5.8.8.ebuild,v 1.3 2012/05/22 12:28:49 ultrabug Exp $
EAPI=4
@@ -24,7 +24,7 @@ RDEPEND="dbi? ( dev-db/libdbi )
oracle? ( dev-db/oracle-instantclient-basic )
relp? ( >=dev-libs/librelp-0.1.3 )
snmp? ( net-analyzer/net-snmp )
- ssl? ( net-libs/gnutls )
+ ssl? ( net-libs/gnutls dev-libs/libgcrypt )
zeromq? ( net-libs/zeromq )
zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}