summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <ramereth@gentoo.org>2008-05-06 20:02:20 +0000
committerLance Albertson <ramereth@gentoo.org>2008-05-06 20:02:20 +0000
commit29cd43543cdc7e2faffe1a7ad2408f4253ff68c8 (patch)
tree1427d911365dec5a7ce360d520240023dbd419b5 /app-admin
parentstable x86, security bug 220391 (diff)
downloadhistorical-29cd43543cdc7e2faffe1a7ad2408f4253ff68c8.tar.gz
historical-29cd43543cdc7e2faffe1a7ad2408f4253ff68c8.tar.bz2
historical-29cd43543cdc7e2faffe1a7ad2408f4253ff68c8.zip
Add a few patch fixes to app-admin/cronolog
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/cronolog/ChangeLog19
-rw-r--r--app-admin/cronolog/Manifest6
-rw-r--r--app-admin/cronolog/cronolog-1.6.2-r3.ebuild32
-rw-r--r--app-admin/cronolog/files/1.6.2-patches/cronolog-define-strptime.patch.txt11
-rw-r--r--app-admin/cronolog/files/1.6.2-patches/cronolog-doc.patch.txt12
-rw-r--r--app-admin/cronolog/files/1.6.2-patches/cronolog-getopt-long.patch.txt24
6 files changed, 101 insertions, 3 deletions
diff --git a/app-admin/cronolog/ChangeLog b/app-admin/cronolog/ChangeLog
index b7b0a105c592..668be9f964e1 100644
--- a/app-admin/cronolog/ChangeLog
+++ b/app-admin/cronolog/ChangeLog
@@ -1,6 +1,21 @@
# ChangeLog for app-admin/cronolog
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/cronolog/ChangeLog,v 1.20 2007/01/04 12:44:12 flameeyes Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/cronolog/ChangeLog,v 1.21 2008/05/06 20:02:20 ramereth Exp $
+
+*cronolog-1.6.2-r3 (06 May 2008)
+
+ 06 May 2008; Lance Albertson <ramereth@gentoo.org>
+ +files/1.6.2-patches/cronolog-define-strptime.patch.txt,
+ +files/1.6.2-patches/cronolog-doc.patch.txt,
+ +files/1.6.2-patches/cronolog-getopt-long.patch.txt,
+ +cronolog-1.6.2-r3.ebuild:
+ Add a few patch fixes
+ * Implicit definition of strptime because of missing define #204501
+ * Segfaults if an unknown long option is used #204519
+ * Incorrect documentation for previous link long option #204521
+
+ Thanks to Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe> for reporting
+ these bugs.
04 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
cronolog-1.6.2-r2.ebuild:
diff --git a/app-admin/cronolog/Manifest b/app-admin/cronolog/Manifest
index f934c0f60b58..2195e21185ed 100644
--- a/app-admin/cronolog/Manifest
+++ b/app-admin/cronolog/Manifest
@@ -1,3 +1,6 @@
+AUX 1.6.2-patches/cronolog-define-strptime.patch.txt 328 RMD160 fdcb164d7375eddddff000cd89770bb52e3ee78d SHA1 3c35258e5f49194effab20d77b98b0910ad36d97 SHA256 13aff42a22471a10ae80b7fbf4ca3a6d9ff49db040117f047716aad9824d1db1
+AUX 1.6.2-patches/cronolog-doc.patch.txt 432 RMD160 1b2d3afd07aef6abb673c7b7baf03e1f8ea2310b SHA1 f382f91e4ae69ca7997dedb5ed61469fe825b1b8 SHA256 b6bca104cf9f562688dfe7ba024e6b705f5b994dffd2385170f4e3c90317702b
+AUX 1.6.2-patches/cronolog-getopt-long.patch.txt 1106 RMD160 d4a46ea27dcc3d7ee072ee5a7e01383c6f962525 SHA1 32b127665a0d5dcf8498f2cdc87e969b538acd36 SHA256 432ed551930d1208f8ee374cefcb7fed6af50baeae919df7936682231c56f193
AUX 1.6.2-patches/cronolog-large-file-patch.txt 820 RMD160 d11fd3d99a722fca92a607de076d5c62f5034850 SHA1 165b41ac1a5978b76f311efc8d5d5c9d0082b91e SHA256 b6f0488bedb5657836279d628103d95ba5b5fd231aeeb4f6022c2fdd1156cc04
AUX 1.6.2-patches/cronolog-missing-symlink-patch.txt 323 RMD160 8bee4f4c013aae42a626ba5169c438b6ac9e2e0f SHA1 edef70262c7c9964089ce7747ef39638e7be9801 SHA256 d15cdfeb1954ad626bce0624f5ba45b6d5bfa70f23a141bca0fa19f84d14a85e
AUX 1.6.2-patches/cronolog-setugid-patch.txt 12375 RMD160 d3ac89135eae0afb786fed39dbc34656945be4b4 SHA1 b423e6e4fa6adcb8ab60819e3ad7af7655b10dac SHA256 6604b2c4a70a73c64ea6e60c77fe18204a83e3435a5d9bfbd44e437e1df6dce5
@@ -5,5 +8,6 @@ AUX 1.6.2-patches/cronolog-sigusr1-patch.txt 1150 RMD160 2821e799f2d94ea68c7bef9
AUX 1.6.2-patches/cronolog-strftime-patch.txt 465 RMD160 50816d3ef31b349fec1dd7a197ebf7d40183ffbe SHA1 8e16b649a8c06f5f61a572c97764a9e26dfa2a79 SHA256 230d4b42f06ee9c76f3e6920cb4a74b3d23254ae114331fb83d89dddb01d7047
DIST cronolog-1.6.2.tar.gz 133591 RMD160 6181c14e69a419c633950274c3c112f6bd784f9e SHA1 6422b7c5e87241eb31d76809a2e0eea77ae4c64e SHA256 65e91607643e5aa5b336f17636fa474eb6669acc89288e72feb2f54a27edb88e
EBUILD cronolog-1.6.2-r2.ebuild 702 RMD160 97a4d33c12b80cab81ee94e7ad64522b01eedc84 SHA1 8382965b4a92a2cecfd22db3dd3d59ca7c1dff81 SHA256 295ccfdd8003975fddd5d537777ed1ddaf31b6a2865cea15ef64eb83306f7199
-MISC ChangeLog 2575 RMD160 f3372510e39c739673eccf91060b8a695cb3e58d SHA1 e4a15990c12d957a57904e60d5764dfbb0199eed SHA256 47dc6d68e72e9036ed23c7b83614cbd5ac0d0d011358d442c43cb110cf3b1c57
+EBUILD cronolog-1.6.2-r3.ebuild 707 RMD160 7fbe5224f1a8168bd2f9cd37d1818bdc536ba43e SHA1 02fbeacfb6081b257665457a6e265a32dca2524a SHA256 f0928c99123cf07ce826c84acfcc92a84115d10690f7686c89df6cd190659521
+MISC ChangeLog 3169 RMD160 69ef351175587641ddb3c15499fe2d314fd2b9f3 SHA1 0ae2ac85029d61b606f670eb3cc52438ec7d2117 SHA256 c0d482ab4bc04cce4b1cf1928c891881c10010b27b2d3a548b9955bb7690d6a1
MISC metadata.xml 728 RMD160 e755a475c9723e63602e5845c21dfc156815887e SHA1 925fc0a0722a01ff3b5b29b51324d7c00c8399c3 SHA256 b08fed0255b7cdec217a77b8e7ebe6da8eb18e4301614501b57d7c85e3b067e7
diff --git a/app-admin/cronolog/cronolog-1.6.2-r3.ebuild b/app-admin/cronolog/cronolog-1.6.2-r3.ebuild
new file mode 100644
index 000000000000..83381247432d
--- /dev/null
+++ b/app-admin/cronolog/cronolog-1.6.2-r3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/cronolog/cronolog-1.6.2-r3.ebuild,v 1.1 2008/05/06 20:02:20 ramereth Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+
+inherit eutils autotools
+
+DESCRIPTION="Cronolog apache logfile rotator"
+HOMEPAGE="http://cronolog.org/"
+SRC_URI="http://cronolog.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PV}-patches/*.txt
+
+ eautoreconf
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
+}
diff --git a/app-admin/cronolog/files/1.6.2-patches/cronolog-define-strptime.patch.txt b/app-admin/cronolog/files/1.6.2-patches/cronolog-define-strptime.patch.txt
new file mode 100644
index 000000000000..a56112aed495
--- /dev/null
+++ b/app-admin/cronolog/files/1.6.2-patches/cronolog-define-strptime.patch.txt
@@ -0,0 +1,11 @@
+diff -urb cronolog-1.6.2/src/cronoutils.c cronolog-1.6.2-patched/src/cronoutils.c
+--- cronolog-1.6.2/src/cronoutils.c 2001-05-03 09:43:21.000000000 -0700
++++ cronolog-1.6.2/src/cronoutils.c 2008-01-05 22:08:42.000000000 -0800
+@@ -69,6 +69,8 @@
+ *
+ */
+
++#define _GNU_SOURCE
++
+ #include "cronoutils.h"
+ extern char *tzname[2];
diff --git a/app-admin/cronolog/files/1.6.2-patches/cronolog-doc.patch.txt b/app-admin/cronolog/files/1.6.2-patches/cronolog-doc.patch.txt
new file mode 100644
index 000000000000..ca3eb91e8079
--- /dev/null
+++ b/app-admin/cronolog/files/1.6.2-patches/cronolog-doc.patch.txt
@@ -0,0 +1,12 @@
+diff -ur cronolog-1.6.2/doc/cronolog.1m cronolog-1.6.2/doc/cronolog.1m
+--- cronolog-1.6.2/doc/cronolog.1m 2001-05-04 01:44:55.000000000 -0700
++++ cronolog-1.6.2/doc/cronolog.1m 2008-01-06 00:43:33.000000000 -0800
+@@ -77,7 +77,7 @@
+ to the current log file.
+ .\"
+ .IP "-P \fINAME\fP"
+-.IP "--prevlink=\fINAME\fP"
++.IP "--prev-symlink=\fINAME\fP"
+ maintain a symbolic link from
+ .I NAME
+ to the previous log file. Requires that the
diff --git a/app-admin/cronolog/files/1.6.2-patches/cronolog-getopt-long.patch.txt b/app-admin/cronolog/files/1.6.2-patches/cronolog-getopt-long.patch.txt
new file mode 100644
index 000000000000..a6ec261ee44b
--- /dev/null
+++ b/app-admin/cronolog/files/1.6.2-patches/cronolog-getopt-long.patch.txt
@@ -0,0 +1,24 @@
+diff -urp cronolog-1.6.2/src/cronolog.c cronolog-1.6.2/src/cronolog.c
+--- cronolog-1.6.2/src/cronolog.c 2001-05-03 09:42:48.000000000 -0700
++++ cronolog-1.6.2/src/cronolog.c 2008-01-05 23:54:53.000000000 -0800
+@@ -139,7 +139,8 @@ struct option long_options[] =
+ { "delay", required_argument, NULL, 'd' },
+ { "once-only", no_argument, NULL, 'o' },
+ { "help", no_argument, NULL, 'h' },
+- { "version", no_argument, NULL, 'V' }
++ { "version", no_argument, NULL, 'V' },
++ { NULL, 0, NULL, 0 }
+ };
+ #endif
+
+diff -urp cronolog-1.6.2/src/cronotest.c cronolog-1.6.2/src/cronotest.c
+--- cronolog-1.6.2/src/cronotest.c 2001-05-03 09:26:44.000000000 -0700
++++ cronolog-1.6.2/src/cronotest.c 2008-01-06 00:02:24.000000000 -0800
+@@ -112,7 +112,8 @@ struct option long_options[] =
+ { "test-subdirs", required_argument, NULL, 'D' },
+ { "help", no_argument, NULL, 'h' },
+ { "version", no_argument, NULL, 'V' },
+- { "verbose", no_argument, NULL, 'v' }
++ { "verbose", no_argument, NULL, 'v' },
++ { NULL, 0, NULL, 0 }
+ };