app-admin/cronolog: Move patch files to sane names.
authorUlrich Müller <ulm@gentoo.org>
Sat, 25 Feb 2017 10:01:56 +0000 (11:01 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sat, 25 Feb 2017 10:09:40 +0000 (11:09 +0100)
Renaming to *.patch so we can call eapply with the directory.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

app-admin/cronolog/cronolog-1.6.2-r3.ebuild
app-admin/cronolog/cronolog-1.6.2-r4.ebuild
app-admin/cronolog/cronolog-1.6.2-r5.ebuild
app-admin/cronolog/files/1.6.2-patches/cronolog-define-strptime.patch [moved from app-admin/cronolog/files/1.6.2-patches/cronolog-define-strptime.patch.txt with 100% similarity]
app-admin/cronolog/files/1.6.2-patches/cronolog-doc.patch [moved from app-admin/cronolog/files/1.6.2-patches/cronolog-doc.patch.txt with 100% similarity]
app-admin/cronolog/files/1.6.2-patches/cronolog-getopt-long.patch [moved from app-admin/cronolog/files/1.6.2-patches/cronolog-getopt-long.patch.txt with 100% similarity]
app-admin/cronolog/files/1.6.2-patches/cronolog-large-file.patch [moved from app-admin/cronolog/files/1.6.2-patches/cronolog-large-file-patch.txt with 100% similarity]
app-admin/cronolog/files/1.6.2-patches/cronolog-missing-symlink.patch [moved from app-admin/cronolog/files/1.6.2-patches/cronolog-missing-symlink-patch.txt with 100% similarity]
app-admin/cronolog/files/1.6.2-patches/cronolog-setugid.patch [moved from app-admin/cronolog/files/1.6.2-patches/cronolog-setugid-patch.txt with 100% similarity]
app-admin/cronolog/files/1.6.2-patches/cronolog-sigusr1.patch [moved from app-admin/cronolog/files/1.6.2-patches/cronolog-sigusr1-patch.txt with 100% similarity]
app-admin/cronolog/files/1.6.2-patches/cronolog-strftime.patch [moved from app-admin/cronolog/files/1.6.2-patches/cronolog-strftime-patch.txt with 100% similarity]

index 92a71342abc76b1af4a027aecc0bfe314adcb14f..c62702b0e301229630850b9bc18097fa42cd5264 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -18,7 +18,7 @@ RDEPEND=""
 src_unpack() {
        unpack ${A}
        cd "${S}"
-       epatch "${FILESDIR}"/${PV}-patches/*.txt
+       epatch "${FILESDIR}"/${PV}-patches/*.patch
 
        eautoreconf
 }
index a278eb2f8fad05abe7acd9cba89db10146c6685a..be5ecb3fa8c57c86ddb1e5d1538e65e1be7521c2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -18,7 +18,7 @@ RDEPEND=""
 src_unpack() {
        unpack ${A}
        cd "${S}"
-       epatch "${FILESDIR}"/${PV}-patches/*.txt
+       epatch "${FILESDIR}"/${PV}-patches/*.patch
        # patch written for infra usage
        epatch "${FILESDIR}"/${PN}-1.6.2-umask.patch
 
index 690148fc1adfe58b92546c35fd1d369f661ff732..fb89cc95fc7b28876a6e8add7f7c920b045becbe 100644 (file)
@@ -15,14 +15,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~ppc ~x86"
 
 PATCHES=(
-       "${FILESDIR}"/${PV}-patches/${PN}-define-strptime.patch.txt
-       "${FILESDIR}"/${PV}-patches/${PN}-doc.patch.txt
-       "${FILESDIR}"/${PV}-patches/${PN}-getopt-long.patch.txt
-       "${FILESDIR}"/${PV}-patches/${PN}-large-file-patch.txt
-       "${FILESDIR}"/${PV}-patches/${PN}-missing-symlink-patch.txt
-       "${FILESDIR}"/${PV}-patches/${PN}-setugid-patch.txt
-       "${FILESDIR}"/${PV}-patches/${PN}-sigusr1-patch.txt
-       "${FILESDIR}"/${PV}-patches/${PN}-strftime-patch.txt
+       "${FILESDIR}"/${PV}-patches
+       # rename and move into ${PV}-patches after -r3 removal
        "${FILESDIR}"/${P}-umask.patch
 )
 
@@ -30,5 +24,6 @@ DOCS=( AUTHORS ChangeLog INSTALL NEWS README TODO )
 
 src_prepare() {
        default
+       mv configure.in configure.ac || die
        eautoreconf
 }