app-admin/cronolog: EAPI 6 bump.
authorPatrice Clement <monsieurp@gentoo.org>
Fri, 24 Feb 2017 23:59:40 +0000 (00:59 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Sat, 25 Feb 2017 00:04:22 +0000 (01:04 +0100)
Package-Manager: portage-2.3.3

app-admin/cronolog/cronolog-1.6.2-r5.ebuild [new file with mode: 0644]
app-admin/cronolog/files/1.6.2-patches/cronolog-define-strptime.patch.txt
app-admin/cronolog/files/1.6.2-patches/cronolog-doc.patch.txt
app-admin/cronolog/files/1.6.2-patches/cronolog-getopt-long.patch.txt
app-admin/cronolog/files/1.6.2-patches/cronolog-large-file-patch.txt
app-admin/cronolog/files/1.6.2-patches/cronolog-missing-symlink-patch.txt
app-admin/cronolog/files/1.6.2-patches/cronolog-setugid-patch.txt
app-admin/cronolog/files/1.6.2-patches/cronolog-sigusr1-patch.txt
app-admin/cronolog/files/1.6.2-patches/cronolog-strftime-patch.txt
app-admin/cronolog/files/cronolog-1.6.2-umask.patch

diff --git a/app-admin/cronolog/cronolog-1.6.2-r5.ebuild b/app-admin/cronolog/cronolog-1.6.2-r5.ebuild
new file mode 100644 (file)
index 0000000..121f6cf
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils autotools
+
+DESCRIPTION="Log rotation software"
+HOMEPAGE="https://github.com/fordmason/cronolog"
+SRC_URI="http://cronolog.org/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+
+PATCHES=(
+       "${FILESDIR}/${PV}-patches"/*.txt
+       "${FILESDIR}/${P}-umask.patch"
+)
+
+DOCS=( AUTHORS ChangeLog INSTALL NEWS README TODO )
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+       einstalldocs
+}
index a56112aed495e53dd51690632a061b465d0f6cc4..26ac2a40319cca447c2650b5a13111b047d6af9f 100644 (file)
@@ -1,6 +1,6 @@
 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
+--- a/src/cronoutils.c 2001-05-03 09:43:21.000000000 -0700
++++ b/src/cronoutils.c 2008-01-05 22:08:42.000000000 -0800
 @@ -69,6 +69,8 @@
   *
   */
index ca3eb91e8079a3f182f41c56c8bcb7844c7fd6cc..b4b68d5690a9c38b36664ca1444ecf3c45b51bd7 100644 (file)
@@ -1,6 +1,6 @@
 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
+--- a/doc/cronolog.1m  2001-05-04 01:44:55.000000000 -0700
++++ b/doc/cronolog.1m  2008-01-06 00:43:33.000000000 -0800
 @@ -77,7 +77,7 @@
  to the current log file.
  .\"
index a6ec261ee44b39e97162c19ef1f7b56bc0ff8606..b7eb5c1760c44d2182a078195c2843a89e3facb3 100644 (file)
@@ -1,6 +1,6 @@
 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
+--- a/src/cronolog.c   2001-05-03 09:42:48.000000000 -0700
++++ b/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' },
index 862b12d04205a04c1c761505f87c48f2c532e657..25e488f061c060a3db5b55450d2284f8e195ca43 100644 (file)
@@ -1,5 +1,5 @@
---- tmp/cronolog.c     2003-10-13 12:35:17.000000000 +0000
-+++ src/cronolog.c     2003-10-13 12:36:36.000000000 +0000
+--- a/src/cronolog.c   2003-10-13 12:35:17.000000000 +0000
++++ b/src/cronolog.c   2003-10-13 12:36:36.000000000 +0000
 @@ -82,6 +82,8 @@
   * written to "file" (e.g. /dev/console) or to stderr if "file" is "-".
   */
index 1309b0099a37d4b9b95e3983fc6bfc96d33af368..974c69faa74a648c5f81f00ab13f4fed81365cc2 100644 (file)
@@ -1,5 +1,5 @@
---- tmp/cronoutils.c   2003-10-13 12:44:59.000000000 +0000
-+++ src/cronoutils.c   2003-10-13 12:45:08.000000000 +0000
+--- a/src/cronoutils.c 2003-10-13 12:44:59.000000000 +0000
++++ b/src/cronoutils.c 2003-10-13 12:45:08.000000000 +0000
 @@ -199,7 +199,7 @@
      {
        unlink(prevlinkname);
index d364d88bb00019c864a0d8947a2acb8f90f30ee1..8fe4c0f1239692e2731f2ec53ad8c21195db5554 100644 (file)
@@ -1,6 +1,6 @@
 diff -Naur cronolog-1.6.2/configure cronolog-1.6.2-new/configure
---- cronolog-1.6.2/configure   Thu May  3 17:44:22 2001
-+++ cronolog-1.6.2-new/configure       Mon Jun  3 00:38:32 2002
+--- a/configure        Thu May  3 17:44:22 2001
++++ b/configure        Mon Jun  3 00:38:32 2002
 @@ -1757,15 +1757,49 @@
  
  fi
index b3be359c260d9661cf0501c5ff163a8e83f3ae09..e7cc8be2c42556385f62a61f6dbeea4c5112d903 100644 (file)
@@ -1,5 +1,5 @@
-*** src/cronolog.c.orig        2001-05-03 17:42:48.000000000 +0100
---- src/cronolog.c     2003-08-15 14:03:17.000000000 +0100
+*** a/src/cronolog.c.orig      2001-05-03 17:42:48.000000000 +0100
+--- b/src/cronolog.c   2003-08-15 14:03:17.000000000 +0100
 ***************
 *** 84,95 ****
 --- 84,97 ----
index ae0199f140d46913b4322381d60b28157a88c916..12d561776f8ca50123586bc004f8f94b3ea8cc1f 100644 (file)
@@ -1,5 +1,5 @@
---- cronolog-1.6.1/src/cronoutils.c    Mon Dec 20 00:34:44 1999
-+++ cronolog-1.6.1.new/src/cronoutils.c        Mon Feb 11 03:19:32 2002
+--- a/src/cronoutils.c Mon Dec 20 00:34:44 1999
++++ b/src/cronoutils.c Mon Feb 11 03:19:32 2002
 @@ -204,9 +204,21 @@
      {
        if (ch == '%')
index a02e05737d8937491f75a77e21fa6f368db1f24f..446c1460bee132b0646192a6ccbcdf570684f2eb 100644 (file)
@@ -3,8 +3,8 @@ Add umask support to cronolog.
 Patch-by: Mike Doty <kingtaco@gentoo.org>
 Signed-off-By: Robin H. Johnson <robbat2@gentoo.org>
 
---- src/cronolog.c.orig        2010-01-22 16:49:41.000000000 -0800
-+++ src/cronolog.c     2010-01-22 17:31:50.000000000 -0800
+--- a/src/cronolog.c.orig      2010-01-22 16:49:41.000000000 -0800
++++ b/src/cronolog.c   2010-01-22 17:31:50.000000000 -0800
 @@ -106,7 +106,8 @@
  
  #ifndef _WIN32