diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2015-02-07 09:28:59 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2015-02-07 09:28:59 +0000 |
commit | 77cd1319bc985851b0c990f170ec7b6ac2aa65b9 (patch) | |
tree | 479902a43484b0abecba4ac7fb2c6bf97d5ec32c | |
parent | Revbump: subslot dev-lang/perl dependency (bug #526366) (diff) | |
download | historical-77cd1319bc985851b0c990f170ec7b6ac2aa65b9.tar.gz historical-77cd1319bc985851b0c990f170ec7b6ac2aa65b9.tar.bz2 historical-77cd1319bc985851b0c990f170ec7b6ac2aa65b9.zip |
Version bump
Package-Manager: portage-2.2.15/cvs/Linux x86_64
Manifest-Sign-Key: 0x981CA6FC
-rw-r--r-- | sys-block/btrace/ChangeLog | 10 | ||||
-rw-r--r-- | sys-block/btrace/Manifest | 21 | ||||
-rw-r--r-- | sys-block/btrace/btrace-1.1.0.ebuild | 46 | ||||
-rw-r--r-- | sys-block/btrace/files/btrace-1.1.0-ldflags-parallel-make.patch | 105 |
4 files changed, 176 insertions, 6 deletions
diff --git a/sys-block/btrace/ChangeLog b/sys-block/btrace/ChangeLog index 27523d760549..db4b451c3bf2 100644 --- a/sys-block/btrace/ChangeLog +++ b/sys-block/btrace/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-block/btrace -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/btrace/ChangeLog,v 1.26 2014/08/10 20:21:30 slyfox Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/btrace/ChangeLog,v 1.27 2015/02/07 09:28:58 polynomial-c Exp $ + +*btrace-1.1.0 (07 Feb 2015) + + 07 Feb 2015; Lars Wendler <polynomial-c@gentoo.org> +btrace-1.1.0.ebuild, + +files/btrace-1.1.0-ldflags-parallel-make.patch: + Version bump. 10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org> btrace-1.0.0.ebuild, btrace-1.0.1-r1.ebuild, btrace-1.0.1.ebuild, btrace-1.0.3.ebuild: diff --git a/sys-block/btrace/Manifest b/sys-block/btrace/Manifest index dd2bf9f64901..e8301a90f580 100644 --- a/sys-block/btrace/Manifest +++ b/sys-block/btrace/Manifest @@ -3,19 +3,32 @@ Hash: SHA256 AUX btrace-1.0.0-parallel-make.patch 414 SHA256 defde4bfbccdb89ef62bbacea559a9b3f603c3faba98ee84877ec9038500ebd5 SHA512 1e5ee60a43f9e20ea1b48385a99af1100c493ebdc3c16b085e523c816504143a5c7bde67aaf1b87af0155b228a8f04e7937778827efd4b1483b8b1ba9379350f WHIRLPOOL df4c9566104817f38182decc2ea9f38ea261524e4ea5b0bd96ef842736fb35594e5eb1b908dc9debe915515d3d020d714fc767ee47cf851e20cd4830077781ba AUX btrace-1.0.1-ldflags-parallel-make.patch 2951 SHA256 9538c79943a4179e8344c6c27fe2e5297c585ea7595f9db0a1737740359bc593 SHA512 b384b90d86e52d8a314efa2bee2ae67ed562d56b2c2412211e28cae9dabb448378fe083e0dfe30b6462c5e5d1d85ad7fda6c7d81e3ede0da5ba4c73606b36c7b WHIRLPOOL df1923da8caa3a0fdd86e9fb4812e1dbfe204201e807b96fd264be405fd669ab57927aa463e945db28244724e4da6b0869232be5d6210f77bedd99b3dd434479 +AUX btrace-1.1.0-ldflags-parallel-make.patch 3043 SHA256 2d1dc1a1866d0310aeef6b552da89af7074a3a1d97ba8e1129dbc69e1a799a9c SHA512 d119ef833ca50527a9f2705ff4a741a9d091625286253bf0d7440f695326eaa753232965bf69a6dad4ea24cf411ef2a992d4226e009d9b4fcadbec616c384fce WHIRLPOOL cb1043f98bf437b297caa849837726981be57a35afa3b0b79d212459d9df50afe0f97d427a3bd491cd04c91e15078a70aceee33f26cd579270fd234ea767720b DIST blktrace-1.0.0.tar.bz2 1592300 SHA256 fb220463f55aaa6ead931991e2f7f6ddae18faaf5bfa65fe42f502a27afa0abf DIST blktrace-1.0.1.tar.bz2 292208 SHA256 fdd1481a69f14b916f8d835203c1189ee3076d4a5ff88163b6e6b1f27b087f6d SHA512 7faac50dd04ccc0b782f9d2e8909161e42614a348792af736fac8924680ab9eff6d0db0dea9717a0a468577cc03f8bb1314f4d61cb0f0d92423c000fce89c172 WHIRLPOOL 74559960ae7fd6b0eecc9457221f5133f46bbf23e6e096bc96226c85cee49999ae9cf67a3e8bff66722dca7cd43afaf910ac47dfe1d850f83c63e0db6f0ea70d DIST blktrace-1.0.3.tar.bz2 359325 SHA256 221b66a6008a46bc41b8e455cfb1ba924849ce660ac7c7f9dff0fb64c07becb2 +DIST blktrace-1.1.0.tar.bz2 395445 SHA256 54a2faaa06dd52fd4a56a6aafa2a251990eb8dcf1832bb8c2fb1fc13a74a9295 SHA512 52ed3b66e1ec62c2204d44037d4d13218fd0229ae694493a21f1e83bfc8aeb029edc96b2be83f39cc3e79500abad56cd5a71c8c4e6dd836661777662f3628355 WHIRLPOOL b2777e248533fee8ffe3d92e0311d5797f12f57e188dce94b39e4531b58350ed600a64b50cae590455b52e92b8727c098b56f2c92e58a0567641123201ec9085 EBUILD btrace-1.0.0.ebuild 1434 SHA256 a0e96ba21332e593926bcba5e6ccf31731ba6e2ad85767f03df8563bcad906be SHA512 800e5cb1dd402c573e6a6b3bdc14ee373a1e2f8248b5a52ea24ce5dfdb392f6e04239f915f58d851ea917a728cbf3a288798f88f7eeb4f2fcd5bf5d9b861bde6 WHIRLPOOL b07592f780bd5aad2f822264569ea022cee7f65b6ecb200f324b588ef6e4dda9213c442e961292ceaec0665c5df122821c576b67847545dc8db1bbc72e25bab4 EBUILD btrace-1.0.1-r1.ebuild 1437 SHA256 483ff884366e500347c3738ec963de83cbdeffae23a188862c7488d8fff0beba SHA512 215ca2b70db5ad9be56e8eae67fdf48ff99020ea63aa4aeeb19ef14a9819a112a365bd311874961d6c1441fbca0466e85e9fc6dbccfe2dc1c51e343bca52555c WHIRLPOOL 9804645ebcb3bdd7b63f8102ddae70d1e9d2e013ab70e9c6f74464072414ed818192611b0aa0f725718a575096f88106703850e843930e80ee48849905aae3cb EBUILD btrace-1.0.1.ebuild 1462 SHA256 9c13cb435ab139fb6df4effce4a82de7abbf31a14d647d9213ee32f2f63d8004 SHA512 7cc26d27cd1743032e71ad66d01a18455b6109c6bf2ede2943c599781d566627c11449663e8eb9df0405dd87477cc276cd293e0e58daa74bbce698f4bbe92b18 WHIRLPOOL d23a88b504cffdee260dc3b50207472130f5c416160d0a0fe3757540d85d50d35b36f723a93417c8ba3af0b65cddd54faca25b67b378488b2482cf0a9f38ac1f EBUILD btrace-1.0.3.ebuild 1437 SHA256 94f498d71ca42157f49a703a6254078243c928cdc2eacff09120af3edcb3fb75 SHA512 52964926bd35c2619fb6227e7e3f80cdd9ccc58070c0c942aaeec51a0c6fdd126582f2d8886c194daf70aa744cff3b6f3a304be15cf7dd3260dedad214ca3891 WHIRLPOOL 9f65a69d7b27d7d0df9039c8d818807e3bc226122faadd110009786c2a8ee08538013d728553d8734dd0bec0d976608dc832a059a319faac8401333e07534e0d -MISC ChangeLog 4557 SHA256 330a8f5e4867fdf8057cf6fd949035460c2f957923a53ded227c884c673c41c1 SHA512 9317e715ec8b3fc9d56d1120ff3e057299b0059995c5b0b6b9585ebc1377af16caa253528f93e3b04e0b32fbc79b2d9d97c4cd8f2e206570e3bd6a77648bd96f WHIRLPOOL 8e6bfb5f4d79a201adbfc8d8c30ad5b181e6d07056b3c82a2970ff1b51d19c9182387b9b0b746f8a93776d72c6420ec486bf890f2c0617e94f91497d8ff433ce +EBUILD btrace-1.1.0.ebuild 1364 SHA256 9805cf9d70a8fcfa410ef278b0485e5a5130303bb0c38ca41b09b009e7554931 SHA512 2aa7bd38723ec6ef7ad02b9c65711540e0a209c4d0b1aba555ff8938a87d1b98ee39a0921a2c46404027db6454678f6877ba179e94f2137d751532af7871148e WHIRLPOOL 8a81def0badb14c9bb2a83b70d81a9892ef0844d093299c91ac9203669af983ba1f7504681271a1343a58cb914afd0b2083354aa1a1157c76c166aee3ef7ba24 +MISC ChangeLog 4736 SHA256 7193f03cbfc4f02f4837541aa556e0fe59aa45f0f5d9c5a3bcf4e6da1eca8825 SHA512 1b0c77075de399839446d8e56b5597a032ac610ee10e4397a387c266b0d97e1b5042e7ad9292527458c03096c7a7aae77750f8baef0d31a2748de42cba13dc1c WHIRLPOOL f78b15b971129c7107f6bfc32ea58fee5294c46c8e6576e50c0df2832dbaa0ef172ef2bb11e53afb8d308977d11d8ac4265598c7cebadc269b7f945b908c0ba4 MISC metadata.xml 202 SHA256 76dbb4a720140d78f0ddfb2b2782c03852169c201c1f507eb17ef4d2a82f212a SHA512 bd1c14da72bdd52e3bea3056f5b9f908c31d6915b651d15d80a0a7d26778c97cde493ae9ca4352bd313eb16ddbed9b169c6b620c7f4a9b77973f7077fa8d997c WHIRLPOOL c073cc4c903e3377c7aee652c5661a1657cc5ba70c3deb4b2d7b2d0e31a78fb8b362b2f255de3faddbf4c46250d14d2d5d39a6a13b910ad18f8d53df362163a0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlPn1EsACgkQcaHudmEf86rxpgCfTCFlM/VN90Ml8d5HMp25si1J -+jgAnA9g79FfKkkNeBsL4xkKCiAGHxT1 -=v+al +iQIcBAEBCAAGBQJU1drbAAoJEPiazRVxLXTFx9UP/1vcMtMcvVzKSU3VJH6BQeTe +AqJEL0A5FAjuU9P4XnoS22smF3BCin5R8RLnMi1sAydhAJakxhTtwsFEkmjqQq7o +1ugF7oz22e3zBkb9mUi/HCMH7QHaYq3pIgQpuC40bOXnMVQnapCcm7NjMUrWm8qy +ot8h7x3vtwyUohy5+2nyz2UpVIfWhHtIXozZSHXx5xBIgj6s4YJqwD4Xla89o6if +1kl8EU5EtnqDDwV4KbHhybliaRmcP/RXROdk20aXJt9ihirMPRCFDyG+5REpZ8h6 +hY0uP0xQMJ6csQcwQSsziUaSWTfwHTz7sWqhRssm6Em0y9LEayVUBqByVnnmZFYE +4aPeVqjJitRTGbAjc28EA6/RGkNBgBGt6aqjvMRdKLSvzR2W9uLA/13dWiffRvsP +/GUNFXw0UzGU2ik40kP8/X7NX8SpOP1STTajCK6UrWN9fRFqM6yUMXDn/3Z7XgWn +hOrS31wxx3MIlk2WeqSFoC/GaRHaCwuWC/vuRMd+QhmcssP3ojFIoqZeNPYCXani +XqVWg4h6pcb5aJKrmkvgybT/qzxtiZW1SwaXwM9i6YcLJGWM7QrI5IvMn+Qip/gk +xYtVc/085kDVWxwVCPALaguy+KyjsljRgoD8tGPf1fqzrYYK/WDxn9KolglPN9NC +sCAjN0Z5qlvKU+ALl/xG +=tWe7 -----END PGP SIGNATURE----- diff --git a/sys-block/btrace/btrace-1.1.0.ebuild b/sys-block/btrace/btrace-1.1.0.ebuild new file mode 100644 index 000000000000..e3276590c1bf --- /dev/null +++ b/sys-block/btrace/btrace-1.1.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/btrace/btrace-1.1.0.ebuild,v 1.1 2015/02/07 09:28:58 polynomial-c Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs flag-o-matic linux-info + +DESCRIPTION="btrace can show detailed info about what is happening on a block device io queue" +HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/axboe/blktrace/" +MY_PN="blktrace" +MY_P="${MY_PN}-${PV}" +SRC_URI="http://brick.kernel.dk/snaps/${MY_P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" +RDEPEND="" +# This is a Linux specific app! +DEPEND="${RDEPEND} + sys-kernel/linux-headers + doc? ( virtual/latex-base app-text/dvipdfm ) + dev-libs/libaio" +S="${WORKDIR}/${MY_P}" + +CONFIG_CHECK="~BLK_DEV_IO_TRACE" +WARNING_BLK_DEV_IO_TRACE="you need to enable BLK_DEV_IO_TRACE kernel option if you want to gather traces from this machine" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.1.0-ldflags-parallel-make.patch +} + +src_compile() { + append-flags -DLVM_REMAP_WORKAROUND -W -I"${S}" + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" + if use doc; then + export VARTEXFONTS="${T}/fonts" + emake docs + fi +} + +src_install() { + emake install DESTDIR="${D}" prefix="/usr" mandir="/usr/share/man" + dodoc README + use doc && dodoc doc/blktrace.pdf btt/doc/btt.pdf +} diff --git a/sys-block/btrace/files/btrace-1.1.0-ldflags-parallel-make.patch b/sys-block/btrace/files/btrace-1.1.0-ldflags-parallel-make.patch new file mode 100644 index 000000000000..f26799238feb --- /dev/null +++ b/sys-block/btrace/files/btrace-1.1.0-ldflags-parallel-make.patch @@ -0,0 +1,105 @@ +--- blktrace-1.1.0/btreplay/Makefile ++++ blktrace-1.1.0/btreplay/Makefile +@@ -32,10 +32,10 @@ + $(CC) $(CFLAGS) -c -o $*.o $< + + btrecord: btrecord.o +- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.o,$^) + + btreplay: btreplay.o +- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.o,$^) $(LIBS) + + depend: + @$(CC) -MM $(CFLAGS) *.c 1> .depend +--- blktrace-1.1.0/btt/Makefile ++++ blktrace-1.1.0/btt/Makefile +@@ -38,7 +38,7 @@ + $(CC) $(CFLAGS) -c -o $*.o $< + + btt: $(OBJS) +- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.o,$^) $(LIBS) + + ifneq ($(wildcard .depend),) + include .depend +--- blktrace-1.1.0/iowatcher/Makefile ++++ blktrace-1.1.0/iowatcher/Makefile +@@ -19,7 +19,7 @@ + $(CC) -o $*.o -c $(ALL_CFLAGS) $< + + iowatcher: blkparse.o plot.o main.o tracers.o mpstat.o fio.o +- $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) -lm ++ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(filter %.o,$^) -lm + + depend: + @$(CC) -MM $(ALL_CFLAGS) *.c 1> .depend +--- blktrace-1.1.0/Makefile ++++ blktrace-1.1.0/Makefile +@@ -4,41 +4,35 @@ + PROGS = blkparse blktrace verify_blkparse blkrawverify blkiomon + LIBS = -lpthread + SCRIPTS = btrace ++SUBDIRS = btreplay btt iowatcher + +-ALL = $(PROGS) $(SCRIPTS) btt/btt btreplay/btrecord btreplay/btreplay \ ++ALL = $(PROGS) $(SCRIPTS) ++INSTALL_ALL = $(ALL) btt/btt btreplay/btrecord btreplay/btreplay \ + btt/bno_plot.py iowatcher/iowatcher + +-all: $(ALL) ++all: $(ALL) $(SUBDIRS) ++.PHONY: $(SUBDIRS) + +-btt/btt: +- $(MAKE) -C btt +- +-iowatcher/iowatcher: +- $(MAKE) -C iowatcher +- +-btreplay/btrecord: +- $(MAKE) -C btreplay +- +-btreplay/btreplay: +- $(MAKE) -C btreplay ++$(SUBDIRS): $(PROGS) ++ $(MAKE) -C $@ + + %.o: %.c + $(CC) -o $*.o -c $(ALL_CFLAGS) $< + + blkparse: blkparse.o blkparse_fmt.o rbtree.o act_mask.o +- $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) ++ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(filter %.o,$^) + + blktrace: blktrace.o act_mask.o +- $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) $(LIBS) ++ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(filter %.o,$^) $(LIBS) + + verify_blkparse: verify_blkparse.o +- $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) ++ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(filter %.o,$^) + + blkrawverify: blkrawverify.o +- $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) ++ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(filter %.o,$^) + + blkiomon: blkiomon.o rbtree.o +- $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) $(LIBS) -lrt ++ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(filter %.o,$^) $(LIBS) -lrt + + $(PROGS): | depend + +@@ -84,9 +78,10 @@ + $(INSTALL) -m 755 -d $(DESTDIR)$(bindir) + $(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man1 + $(INSTALL) -m 755 -d $(DESTDIR)$(mandir)/man8 +- $(INSTALL) -m 755 $(ALL) $(DESTDIR)$(bindir) ++ $(INSTALL) -m 755 $(INSTALL_ALL) $(DESTDIR)$(bindir) + $(INSTALL) -m 644 doc/*.1 $(DESTDIR)$(mandir)/man1 + $(INSTALL) -m 644 doc/*.8 $(DESTDIR)$(mandir)/man8 ++ $(INSTALL) -m 644 iowatcher/*.1 $(DESTDIR)$(mandir)/man1 + + ifneq ($(wildcard .depend),) + include .depend |