From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/buffer/
Date: Fri, 23 Jul 2021 06:26:18 +0000 (UTC) [thread overview]
Message-ID: <1627021569.628e8f509ccb3939bb76d95e64d85054cc585d0d.robbat2@gentoo> (raw)
commit: 628e8f509ccb3939bb76d95e64d85054cc585d0d
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 23 06:26:00 2021 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Fri Jul 23 06:26:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=628e8f50
sys-block/buffer: use debian orig and patches to cleanup issues
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
sys-block/buffer/Manifest | 2 ++
sys-block/buffer/buffer-1.19-r4.ebuild | 48 ++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/sys-block/buffer/Manifest b/sys-block/buffer/Manifest
index 0813846fea1..3cc607f3713 100644
--- a/sys-block/buffer/Manifest
+++ b/sys-block/buffer/Manifest
@@ -1 +1,3 @@
DIST buffer-1.19.tgz 34960 BLAKE2B ce572e860e1315cf4d5b5f6de43906fbddada2d96c7d99e5930244ff2bc757327a867d7e67973f13616153c46d12bbdb093ed666b5e3fd73b8a0d4f8385b59b3 SHA512 9321f6e399cb3e58f3ffebb031b4d2b2fdda26149fb142515961a09b81b47c1bce01dd770da579bf49c3e71f8cee29c5dc2cc4063e67494e98a599f29076cc5c
+DIST buffer_1.19-12.debian.tar.xz 9924 BLAKE2B 9f6591e00d596257956e3230cbdf8e58392aa3666d7900c30ea26d103f03d25071ff1033fa72e7be799021ed4c32d43e0e5ad69d1457a5ee22c33e3ae6f8c058 SHA512 3bc9d8c281268d38c1cc3ac40727d747c91b605fc3128e285d24663f97396292a0ec40ede9205702793b5d090c4e172b0df28321921b000aa0fdcb2660319367
+DIST buffer_1.19.orig.tar.gz 17753 BLAKE2B 68e2026f29cb00c48c8f3638d97adeeee0d194d7a6db96cbded251b3f97d36ba2ac32a60660df8aa1d2c7b79dd774b543d3a460a5d76ab6ca408606a013b5648 SHA512 b724d8c3e21f29890659c95a61db8667846e49614455411995160bc8d5af8a37af91465ad5d882e6bd7883dbd7886215a8c1d530f7392c98cdcead4f4377aa7f
diff --git a/sys-block/buffer/buffer-1.19-r4.ebuild b/sys-block/buffer/buffer-1.19-r4.ebuild
new file mode 100644
index 00000000000..b933ee375e5
--- /dev/null
+++ b/sys-block/buffer/buffer-1.19-r4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="a tapedrive tool for speeding up reading from and writing to tape"
+HOMEPAGE="http://www.microwerks.net/~hugo/"
+
+DEBIAN_PR=12
+DEBIAN_P="${PN}_${PV}"
+DEBIAN_PATCH="${PN}_${PV}-${DEBIAN_PR}.debian.tar.xz"
+# We do NOT rename the Debian .orig.tar.gz file at this point
+# Because Gentoo shipped a very slightly DIFFERENT buffer-1.19.tgz than Debian!
+# Enough to make the debian patchset not apply directly. Debian patchset
+# contains the same changes plus more fixes.
+SRC_URI="
+ mirror://debian/pool/main/b/${PN}/${DEBIAN_P}.orig.tar.gz
+ mirror://debian/pool/main/b/${PN}/${DEBIAN_PATCH}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
+IUSE=""
+
+src_prepare() {
+ for f in $(<"${WORKDIR}"/debian/patches/series) ; do
+ p="${WORKDIR}"/debian/patches/${f}.patch
+ ln -sf "${f}" "${p}" || die
+ einfo $p
+ eapply -p1 "${p}" || die
+ done
+ cd "${S}"
+ emake clean
+ eapply_user
+}
+
+src_compile() {
+ append-lfs-flags
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ dobin buffer
+ dodoc README
+ newman buffer.man buffer.1
+}
next reply other threads:[~2021-07-23 6:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-23 6:26 Robin H. Johnson [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-04-23 20:22 [gentoo-commits] repo/gentoo:master commit in: sys-block/buffer/ Arthur Zamarin
2021-10-03 11:28 David Seifert
2021-09-21 16:35 Sam James
2021-09-20 0:27 Sam James
2021-09-19 6:39 Agostino Sarubbo
2021-09-18 19:51 Sam James
2021-09-18 19:48 Sam James
2021-09-03 1:53 Sam James
2020-09-20 10:44 Mikle Kolyada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1627021569.628e8f509ccb3939bb76d95e64d85054cc585d0d.robbat2@gentoo \
--to=robbat2@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox