net-misc/bopm: Install bopm.conf.sample in docdir too
authorDavid Seifert <soap@gentoo.org>
Mon, 29 Aug 2016 19:31:47 +0000 (21:31 +0200)
committerDavid Seifert <soap@gentoo.org>
Mon, 29 Aug 2016 19:31:47 +0000 (21:31 +0200)
Package-Manager: portage-2.3.0

net-misc/bopm/bopm-3.1.3-r3.ebuild [moved from net-misc/bopm/bopm-3.1.3-r2.ebuild with 95% similarity]
net-misc/bopm/files/bopm-3.1.3-autotools.patch
net-misc/bopm/files/bopm-3.1.3-remove-njabl.patch

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 75d5f68e78c08c18cbf0a67b1b36ee40351c785d..fda838c4ce0744f812ca9430688b26cca0813d3b 100644 (file)
@@ -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
 }
 
index 992a1ff86eb7c39ca2e66fa2aac6c99eff416797..e336150f430c6c432776c65ed207b575c70d22ff 100644 (file)
@@ -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
index 588ccd66bfa5db4e1f34645853650fcc41c2e65b..318dae660c51622bef843b43c3a32ddff8100c80 100644 (file)
@@ -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 {
  #        };