commit:     c313707c6203900583762636c237bb1d3ce910b5
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 24 23:59:40 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Feb 25 00:04:22 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c313707c

app-admin/cronolog: EAPI 6 bump.

Package-Manager: portage-2.3.3

 app-admin/cronolog/cronolog-1.6.2-r5.ebuild        | 32 ++++++++++++++++++++++
 .../cronolog-define-strptime.patch.txt             |  4 +--
 .../files/1.6.2-patches/cronolog-doc.patch.txt     |  4 +--
 .../1.6.2-patches/cronolog-getopt-long.patch.txt   |  4 +--
 .../1.6.2-patches/cronolog-large-file-patch.txt    |  4 +--
 .../cronolog-missing-symlink-patch.txt             |  4 +--
 .../files/1.6.2-patches/cronolog-setugid-patch.txt |  4 +--
 .../files/1.6.2-patches/cronolog-sigusr1-patch.txt |  4 +--
 .../1.6.2-patches/cronolog-strftime-patch.txt      |  4 +--
 .../cronolog/files/cronolog-1.6.2-umask.patch      |  4 +--
 10 files changed, 50 insertions(+), 18 deletions(-)

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
index 0000000000..121f6cf721
--- /dev/null
+++ b/app-admin/cronolog/cronolog-1.6.2-r5.ebuild
@@ -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
+}

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
index a56112aed4..26ac2a4031 100644
--- 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
@@ -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 @@
   *
   */

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
index ca3eb91e80..b4b68d5690 100644
--- 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
@@ -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.
  .\"

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
index a6ec261ee4..b7eb5c1760 100644
--- 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
@@ -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' },

diff --git 
a/app-admin/cronolog/files/1.6.2-patches/cronolog-large-file-patch.txt 
b/app-admin/cronolog/files/1.6.2-patches/cronolog-large-file-patch.txt
index 862b12d042..25e488f061 100644
--- a/app-admin/cronolog/files/1.6.2-patches/cronolog-large-file-patch.txt
+++ b/app-admin/cronolog/files/1.6.2-patches/cronolog-large-file-patch.txt
@@ -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 "-".
   */

diff --git 
a/app-admin/cronolog/files/1.6.2-patches/cronolog-missing-symlink-patch.txt 
b/app-admin/cronolog/files/1.6.2-patches/cronolog-missing-symlink-patch.txt
index 1309b0099a..974c69faa7 100644
--- a/app-admin/cronolog/files/1.6.2-patches/cronolog-missing-symlink-patch.txt
+++ b/app-admin/cronolog/files/1.6.2-patches/cronolog-missing-symlink-patch.txt
@@ -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);

diff --git a/app-admin/cronolog/files/1.6.2-patches/cronolog-setugid-patch.txt 
b/app-admin/cronolog/files/1.6.2-patches/cronolog-setugid-patch.txt
index d364d88bb0..8fe4c0f123 100644
--- a/app-admin/cronolog/files/1.6.2-patches/cronolog-setugid-patch.txt
+++ b/app-admin/cronolog/files/1.6.2-patches/cronolog-setugid-patch.txt
@@ -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

diff --git a/app-admin/cronolog/files/1.6.2-patches/cronolog-sigusr1-patch.txt 
b/app-admin/cronolog/files/1.6.2-patches/cronolog-sigusr1-patch.txt
index b3be359c26..e7cc8be2c4 100644
--- a/app-admin/cronolog/files/1.6.2-patches/cronolog-sigusr1-patch.txt
+++ b/app-admin/cronolog/files/1.6.2-patches/cronolog-sigusr1-patch.txt
@@ -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 ----

diff --git a/app-admin/cronolog/files/1.6.2-patches/cronolog-strftime-patch.txt 
b/app-admin/cronolog/files/1.6.2-patches/cronolog-strftime-patch.txt
index ae0199f140..12d561776f 100644
--- a/app-admin/cronolog/files/1.6.2-patches/cronolog-strftime-patch.txt
+++ b/app-admin/cronolog/files/1.6.2-patches/cronolog-strftime-patch.txt
@@ -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 == '%')

diff --git a/app-admin/cronolog/files/cronolog-1.6.2-umask.patch 
b/app-admin/cronolog/files/cronolog-1.6.2-umask.patch
index a02e05737d..446c1460be 100644
--- a/app-admin/cronolog/files/cronolog-1.6.2-umask.patch
+++ b/app-admin/cronolog/files/cronolog-1.6.2-umask.patch
@@ -3,8 +3,8 @@ Add umask support to cronolog.
 Patch-by: Mike Doty <kingt...@gentoo.org>
 Signed-off-By: Robin H. Johnson <robb...@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

Reply via email to