1 |
commit: a44aaf7ba383a9039c92e80a6d65f62cdfbed647 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 2 06:05:54 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 2 06:06:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a44aaf7b |
7 |
|
8 |
sys-block/mbuffer: Bump to version 20170515 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
sys-block/mbuffer/Manifest | 1 + |
14 |
.../files/mbuffer-20170515-sysconfdir.patch | 28 +++++++++++++++++ |
15 |
sys-block/mbuffer/mbuffer-20170515.ebuild | 36 ++++++++++++++++++++++ |
16 |
3 files changed, 65 insertions(+) |
17 |
|
18 |
diff --git a/sys-block/mbuffer/Manifest b/sys-block/mbuffer/Manifest |
19 |
index 1e6d03f9b77..9046e5bf264 100644 |
20 |
--- a/sys-block/mbuffer/Manifest |
21 |
+++ b/sys-block/mbuffer/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST mbuffer-20150412.tgz 122935 SHA256 0c78dcb194d1f0316c51f277ea09ec20efd175bbd45f0a3f81bf1202c33301e4 SHA512 cef64f1229872e2207e678aa77dc95e0c24f54e4a88a57a0e797d10b07a16d1f5fa96c8cfa3876ff65dd97c114eff87b683917fa1d39cdb4f08c864325e4223c WHIRLPOOL cdd82ef4d036438b36c4ecc0058e3757116e5f01897eee89870e08e73323dc135accf4d69fc57cac87082a2a78bfb1841af62bced56f93388870bc1c3b8590cd |
24 |
DIST mbuffer-20160228.tgz 123108 SHA256 f7769f729e9b26a22a5d91922a740a0d1df6004dbe2b7a1febb0d7e4c3ef9e62 SHA512 0706b8dd137f5f5b01885bcca4bf799cbd14b25895402f0c73f874d78fc160c7fae8c5a229c40efce9ba96288972a8e5846443ef5cd4d1ff02af92f703e33a2e WHIRLPOOL d1b356e5b7a8313f9fc1ef01392ee44969fedf2f3c33c8848b763d8cf5bd92ddfde8ddc881ef33b9dad849dfee51582c89c72869eb0d603b13a7ad3719d748a3 |
25 |
+DIST mbuffer-20170515.tgz 125736 SHA256 154fa0836777b21032b2e4f738fb0aa4dea218551b7cade93cf1b7245aca5e4f SHA512 991cb33b09e48f1177b7a05e5ab2c189aa2cb0f03e220d7e46996b3a3e3ba1e3f3ad4a68b8750ed73dc765c5874029715bba1d2f5a80a9601cd0a39e1f9fd447 WHIRLPOOL 015bc2a57b529d54bf5e4092c30585373003a3159fc66a528ae1ad9208134d1ba9c8e3cb44afa4ef246ea4babf96e6aed8b7166a350b4a2a7f82f91b74a85e52 |
26 |
|
27 |
diff --git a/sys-block/mbuffer/files/mbuffer-20170515-sysconfdir.patch b/sys-block/mbuffer/files/mbuffer-20170515-sysconfdir.patch |
28 |
new file mode 100644 |
29 |
index 00000000000..f6a49a10e02 |
30 |
--- /dev/null |
31 |
+++ b/sys-block/mbuffer/files/mbuffer-20170515-sysconfdir.patch |
32 |
@@ -0,0 +1,28 @@ |
33 |
+--- mbuffer-20170515/Makefile.in |
34 |
++++ mbuffer-20170515/Makefile.in |
35 |
+@@ -10,6 +10,7 @@ |
36 |
+ VPATH = @srcdir@ |
37 |
+ prefix = @prefix@ |
38 |
+ exec_prefix = @exec_prefix@ |
39 |
++sysconfdir = @sysconfdir@ |
40 |
+ datarootdir = @datarootdir@ |
41 |
+ bindir = @bindir@ |
42 |
+ mandir = @mandir@/man1 |
43 |
+@@ -39,13 +40,13 @@ |
44 |
+ -$(RM) $(TARGET) config.h config.log \ |
45 |
+ config.status Makefile mbuffer.1 core |
46 |
+ |
47 |
+-$(DESTDIR)$(prefix)/etc: |
48 |
++$(DESTDIR)$(sysconfdir): |
49 |
+ -$(INSTALL) -d -m 755 $@ |
50 |
+ |
51 |
+-$(DESTDIR)$(prefix)/etc/mbuffer.rc: |
52 |
+- $(INSTALL) -m 644 mbuffer.rc $(DESTDIR)$(prefix)/etc/ |
53 |
++$(DESTDIR)$(sysconfdir)/mbuffer.rc: |
54 |
++ $(INSTALL) -m 644 mbuffer.rc $(DESTDIR)$(sysconfdir)/ |
55 |
+ |
56 |
+-install: $(TARGET) $(DESTDIR)$(prefix)/etc $(DESTDIR)$(prefix)/etc/mbuffer.rc |
57 |
++install: $(TARGET) $(DESTDIR)$(sysconfdir) $(DESTDIR)$(sysconfdir)/mbuffer.rc |
58 |
+ -$(INSTALL) -d -m 755 $(DESTDIR)$(bindir) |
59 |
+ $(INSTALL) -m 755 $(TARGET) $(DESTDIR)$(bindir)/ |
60 |
+ -$(INSTALL) -d -m 755 $(DESTDIR)$(mandir) |
61 |
|
62 |
diff --git a/sys-block/mbuffer/mbuffer-20170515.ebuild b/sys-block/mbuffer/mbuffer-20170515.ebuild |
63 |
new file mode 100644 |
64 |
index 00000000000..0ea6b6c8904 |
65 |
--- /dev/null |
66 |
+++ b/sys-block/mbuffer/mbuffer-20170515.ebuild |
67 |
@@ -0,0 +1,36 @@ |
68 |
+# Copyright 1999-2017 Gentoo Foundation |
69 |
+# Distributed under the terms of the GNU General Public License v2 |
70 |
+ |
71 |
+EAPI=6 |
72 |
+ |
73 |
+DESCRIPTION="M(easuring)buffer is a replacement for buffer with additional functionality" |
74 |
+HOMEPAGE="http://www.maier-komor.de/mbuffer.html" |
75 |
+SRC_URI="http://www.maier-komor.de/software/mbuffer/${P}.tgz" |
76 |
+ |
77 |
+LICENSE="GPL-2" |
78 |
+SLOT="0" |
79 |
+KEYWORDS="~amd64 ~ppc ~x86" |
80 |
+IUSE="debug ssl" |
81 |
+ |
82 |
+DEPEND="ssl? ( dev-libs/openssl:0= )" |
83 |
+RDEPEND="${DEPEND}" |
84 |
+ |
85 |
+PATCHES=( |
86 |
+ "${FILESDIR}/${PN}-20121111-resolv-multi-order-issue.patch" |
87 |
+ "${FILESDIR}/${PN}-20170515-sysconfdir.patch" |
88 |
+) |
89 |
+ |
90 |
+src_prepare() { |
91 |
+ ln -s "${DISTDIR}"/${P}.tgz test.tar #258881 |
92 |
+ # work around "multi off" in /etc/host.conf and "::1 localhost" |
93 |
+ # *not* being the *first* "localhost" entry in /etc/hosts |
94 |
+ default |
95 |
+} |
96 |
+ |
97 |
+src_configure() { |
98 |
+ local myeconfargs=( |
99 |
+ $(use_enable ssl md5) |
100 |
+ $(use_enable debug) |
101 |
+ ) |
102 |
+ econf "${myeconfargs[@]}" |
103 |
+} |