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

Package-Manager: portage-2.3.0
This commit is contained in:
David Seifert
2016-08-29 21:31:47 +02:00
parent 7676b5d33e
commit bcbb6eeb5f
3 changed files with 10 additions and 9 deletions
@@ -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
}
@@ -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
@@ -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 {
# };