diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-08-02 08:05:54 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-08-02 08:06:06 +0200 |
commit | a44aaf7ba383a9039c92e80a6d65f62cdfbed647 (patch) | |
tree | 4752f884763c2add1c0a7b6986f5ecd3d0ea390c /sys-block | |
parent | www-apache/passenger: add 5.1.7 (diff) | |
download | gentoo-a44aaf7ba383a9039c92e80a6d65f62cdfbed647.tar.gz gentoo-a44aaf7ba383a9039c92e80a6d65f62cdfbed647.tar.bz2 gentoo-a44aaf7ba383a9039c92e80a6d65f62cdfbed647.zip |
sys-block/mbuffer: Bump to version 20170515
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/mbuffer/Manifest | 1 | ||||
-rw-r--r-- | sys-block/mbuffer/files/mbuffer-20170515-sysconfdir.patch | 28 | ||||
-rw-r--r-- | sys-block/mbuffer/mbuffer-20170515.ebuild | 36 |
3 files changed, 65 insertions, 0 deletions
diff --git a/sys-block/mbuffer/Manifest b/sys-block/mbuffer/Manifest index 1e6d03f9b77f..9046e5bf2646 100644 --- a/sys-block/mbuffer/Manifest +++ b/sys-block/mbuffer/Manifest @@ -1,2 +1,3 @@ DIST mbuffer-20150412.tgz 122935 SHA256 0c78dcb194d1f0316c51f277ea09ec20efd175bbd45f0a3f81bf1202c33301e4 SHA512 cef64f1229872e2207e678aa77dc95e0c24f54e4a88a57a0e797d10b07a16d1f5fa96c8cfa3876ff65dd97c114eff87b683917fa1d39cdb4f08c864325e4223c WHIRLPOOL cdd82ef4d036438b36c4ecc0058e3757116e5f01897eee89870e08e73323dc135accf4d69fc57cac87082a2a78bfb1841af62bced56f93388870bc1c3b8590cd DIST mbuffer-20160228.tgz 123108 SHA256 f7769f729e9b26a22a5d91922a740a0d1df6004dbe2b7a1febb0d7e4c3ef9e62 SHA512 0706b8dd137f5f5b01885bcca4bf799cbd14b25895402f0c73f874d78fc160c7fae8c5a229c40efce9ba96288972a8e5846443ef5cd4d1ff02af92f703e33a2e WHIRLPOOL d1b356e5b7a8313f9fc1ef01392ee44969fedf2f3c33c8848b763d8cf5bd92ddfde8ddc881ef33b9dad849dfee51582c89c72869eb0d603b13a7ad3719d748a3 +DIST mbuffer-20170515.tgz 125736 SHA256 154fa0836777b21032b2e4f738fb0aa4dea218551b7cade93cf1b7245aca5e4f SHA512 991cb33b09e48f1177b7a05e5ab2c189aa2cb0f03e220d7e46996b3a3e3ba1e3f3ad4a68b8750ed73dc765c5874029715bba1d2f5a80a9601cd0a39e1f9fd447 WHIRLPOOL 015bc2a57b529d54bf5e4092c30585373003a3159fc66a528ae1ad9208134d1ba9c8e3cb44afa4ef246ea4babf96e6aed8b7166a350b4a2a7f82f91b74a85e52 diff --git a/sys-block/mbuffer/files/mbuffer-20170515-sysconfdir.patch b/sys-block/mbuffer/files/mbuffer-20170515-sysconfdir.patch new file mode 100644 index 000000000000..f6a49a10e023 --- /dev/null +++ b/sys-block/mbuffer/files/mbuffer-20170515-sysconfdir.patch @@ -0,0 +1,28 @@ +--- mbuffer-20170515/Makefile.in ++++ mbuffer-20170515/Makefile.in +@@ -10,6 +10,7 @@ + VPATH = @srcdir@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ ++sysconfdir = @sysconfdir@ + datarootdir = @datarootdir@ + bindir = @bindir@ + mandir = @mandir@/man1 +@@ -39,13 +40,13 @@ + -$(RM) $(TARGET) config.h config.log \ + config.status Makefile mbuffer.1 core + +-$(DESTDIR)$(prefix)/etc: ++$(DESTDIR)$(sysconfdir): + -$(INSTALL) -d -m 755 $@ + +-$(DESTDIR)$(prefix)/etc/mbuffer.rc: +- $(INSTALL) -m 644 mbuffer.rc $(DESTDIR)$(prefix)/etc/ ++$(DESTDIR)$(sysconfdir)/mbuffer.rc: ++ $(INSTALL) -m 644 mbuffer.rc $(DESTDIR)$(sysconfdir)/ + +-install: $(TARGET) $(DESTDIR)$(prefix)/etc $(DESTDIR)$(prefix)/etc/mbuffer.rc ++install: $(TARGET) $(DESTDIR)$(sysconfdir) $(DESTDIR)$(sysconfdir)/mbuffer.rc + -$(INSTALL) -d -m 755 $(DESTDIR)$(bindir) + $(INSTALL) -m 755 $(TARGET) $(DESTDIR)$(bindir)/ + -$(INSTALL) -d -m 755 $(DESTDIR)$(mandir) diff --git a/sys-block/mbuffer/mbuffer-20170515.ebuild b/sys-block/mbuffer/mbuffer-20170515.ebuild new file mode 100644 index 000000000000..0ea6b6c8904a --- /dev/null +++ b/sys-block/mbuffer/mbuffer-20170515.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="M(easuring)buffer is a replacement for buffer with additional functionality" +HOMEPAGE="http://www.maier-komor.de/mbuffer.html" +SRC_URI="http://www.maier-komor.de/software/mbuffer/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug ssl" + +DEPEND="ssl? ( dev-libs/openssl:0= )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-20121111-resolv-multi-order-issue.patch" + "${FILESDIR}/${PN}-20170515-sysconfdir.patch" +) + +src_prepare() { + ln -s "${DISTDIR}"/${P}.tgz test.tar #258881 + # work around "multi off" in /etc/host.conf and "::1 localhost" + # *not* being the *first* "localhost" entry in /etc/hosts + default +} + +src_configure() { + local myeconfargs=( + $(use_enable ssl md5) + $(use_enable debug) + ) + econf "${myeconfargs[@]}" +} |