commit:     bcbb6eeb5f4870efac32ce3d72458f276f7a4b3e
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 19:31:47 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 19:31:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcbb6eeb

net-misc/bopm: Install bopm.conf.sample in docdir too

Package-Manager: portage-2.3.0

 net-misc/bopm/{bopm-3.1.3-r2.ebuild => bopm-3.1.3-r3.ebuild} | 11 ++++++-----
 net-misc/bopm/files/bopm-3.1.3-autotools.patch               |  2 +-
 net-misc/bopm/files/bopm-3.1.3-remove-njabl.patch            |  6 +++---
 3 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/net-misc/bopm/bopm-3.1.3-r2.ebuild 
b/net-misc/bopm/bopm-3.1.3-r3.ebuild
similarity index 95%
rename from net-misc/bopm/bopm-3.1.3-r2.ebuild
rename to net-misc/bopm/bopm-3.1.3-r3.ebuild
index 75d5f68..fda838c 100644
--- a/net-misc/bopm/bopm-3.1.3-r2.ebuild
+++ b/net-misc/bopm/bopm-3.1.3-r3.ebuild
@@ -28,16 +28,17 @@ pkg_setup() {
 }
 
 src_prepare() {
-       mv bopm.conf{.sample,} || die
-       mv configure.{in,ac} || die
-       mv src/libopm/configure.{in,ac} || die
-
        sed -i \
                -e "s!/some/path/bopm.pid!/run/${PN}/${PN}.pid!" \
                -e "s!/some/path/scan.log!/var/log/${PN}/scan.log!" \
-               bopm.conf || die
+               bopm.conf.sample || die
+
+       mv configure.{in,ac} || die
+       mv src/libopm/configure.{in,ac} || die
 
        default
+       cp bopm.conf{.sample,} || die
+
        eautoreconf
 }
 

diff --git a/net-misc/bopm/files/bopm-3.1.3-autotools.patch 
b/net-misc/bopm/files/bopm-3.1.3-autotools.patch
index 992a1ff..e336150 100644
--- a/net-misc/bopm/files/bopm-3.1.3-autotools.patch
+++ b/net-misc/bopm/files/bopm-3.1.3-autotools.patch
@@ -14,7 +14,7 @@
  SUBDIRS = src
  
 -data_DATA = bopm.conf.sample bopm.conf.blitzed
-+dist_doc_DATA = bopm.conf.blitzed
++dist_doc_DATA = bopm.conf.sample bopm.conf.blitzed
  
 -EXTRA_DIST = ChangeLog contrib INSTALL README bopm.conf.sample 
bopm.conf.blitzed network-bopm
 +EXTRA_DIST = ChangeLog contrib INSTALL README network-bopm

diff --git a/net-misc/bopm/files/bopm-3.1.3-remove-njabl.patch 
b/net-misc/bopm/files/bopm-3.1.3-remove-njabl.patch
index 588ccd6..318dae6 100644
--- a/net-misc/bopm/files/bopm-3.1.3-remove-njabl.patch
+++ b/net-misc/bopm/files/bopm-3.1.3-remove-njabl.patch
@@ -3,10 +3,10 @@ Remove NJABL as an example blacklist.
 NJABL has been shut down and bopm upstream still lists it in its default
 configuration.
 ---
-diff --git a/bopm.conf b/bopm.conf
+diff --git a/bopm.conf.sample b/bopm.conf.sample
 index 74483e1..bc05bf4 100644
---- a/bopm.conf
-+++ b/bopm.conf
+--- a/bopm.conf.sample
++++ b/bopm.conf.sample
 @@ -363,18 +363,6 @@ OPM {
  #        };
  

Reply via email to