From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B8B9F13835A for ; Wed, 16 Dec 2020 17:19:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB07EE08FB; Wed, 16 Dec 2020 17:18:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C49BFE08FA for ; Wed, 16 Dec 2020 17:18:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4F4E1340CCC for ; Wed, 16 Dec 2020 17:18:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB1E4CB for ; Wed, 16 Dec 2020 17:18:55 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1608139131.430e4ff03019b6af474fbdc038a1a8b9b1a58e81.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/debugedit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/debugedit/Manifest dev-util/debugedit/debugedit-4.16.1.2.ebuild X-VCS-Directories: dev-util/debugedit/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 430e4ff03019b6af474fbdc038a1a8b9b1a58e81 X-VCS-Branch: master Date: Wed, 16 Dec 2020 17:18:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a35cc2f8-1f93-4795-82e7-4cb2eb4f6aee X-Archives-Hash: c999d423547c16abb3dd36b8d2741e09 commit: 430e4ff03019b6af474fbdc038a1a8b9b1a58e81 Author: Michał Górny gentoo org> AuthorDate: Wed Dec 16 16:22:54 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Dec 16 17:18:51 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=430e4ff0 dev-util/debugedit: Bump to 4.16.1.2 Signed-off-by: Michał Górny gentoo.org> dev-util/debugedit/Manifest | 1 + dev-util/debugedit/debugedit-4.16.1.2.ebuild | 91 ++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) diff --git a/dev-util/debugedit/Manifest b/dev-util/debugedit/Manifest index b462aca4af1..2093da2ab2e 100644 --- a/dev-util/debugedit/Manifest +++ b/dev-util/debugedit/Manifest @@ -1,2 +1,3 @@ DIST rpm-4.16.0.tar.bz2 4341683 BLAKE2B 5161e5dcc6d9a1f1d4b8e44740fb368050b808fd9e8b8276fb17b530a4642e1b9ad104b5a30c0071215aef7f823eeab10988dd41f73af1c52d575529c374b5eb SHA512 177119c3ac3d48980db55bb4ba0fdbb2a911968e5efc690bfa8cc343f850fc90531cc0dee6dd8e45d2b14f0d951ced35bd8893d24011b7f270745d281ddf4e3d +DIST rpm-4.16.1.2.tar.bz2 4346745 BLAKE2B 17485b1e73b30586acb8e9be53bfb0bd430fa05e826755729c68367c798e8cad039f091731b6effbe9fa9b7d6c4018abd6feec94f032230cbbd6068e9080573a SHA512 066b67838312f9ad076285fe8f43527aded694f5562ead4e90df48675f2e99c1f2d68693fd20b2037e2614b978ed94c417753e2dbd055a9869b45264cd932afc DIST rpm-4.16.1.tar.bz2 4348973 BLAKE2B 5f415099ed5b4f3425c1cbd02476c3066ef51e8efbe09829c0c7d9732cfdeed76ab0c5eed113a1b007d35bf5d5fb1c60543b7ef23319ba0f63550d598e98dcdd SHA512 cbce8381e7a0bdaf2c7529d0ac91fda15e663db7a76b02652d53327ebcd7d5b6b6154d5e88feeda87f71727a036e7a2afcd57c7dcddef610e32957b9e430d367 diff --git a/dev-util/debugedit/debugedit-4.16.1.2.ebuild b/dev-util/debugedit/debugedit-4.16.1.2.ebuild new file mode 100644 index 00000000000..d2c33879440 --- /dev/null +++ b/dev-util/debugedit/debugedit-4.16.1.2.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic + +MY_P=rpm-${PV} +DESCRIPTION="Stand-alone debugedit from RPM" +HOMEPAGE="https://rpm.org + https://github.com/rpm-software-management/rpm" +SRC_URI="http://ftp.rpm.org/releases/rpm-$(ver_cut 1-2).x/${MY_P}.tar.bz2" + +LICENSE="GPL-2+ LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=" + sys-libs/zlib:= + >=dev-libs/popt-1.7 + >=dev-libs/elfutils-0.176-r1 + dev-libs/nss +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + eapply_user + + # cheat it into believing we're bundling db + mkdir -p db/dist || die + touch db/dist/configure || die + chmod +x db/dist/configure || die + echo 'install:' > db3/Makefile || die + + # TODO: why do we need to do this? + mkdir rpm || die + find -name '*.h' -exec cp {} rpm/ ';' || die +} + +src_configure() { + append-cppflags -I"${EPREFIX}/usr/include/nss" -I"${EPREFIX}/usr/include/nspr" + local myconf=( + # force linking to static librpmio + --disable-shared + + # disable linking compression libraries + ac_cv_header_bzlib_h=no + ac_cv_header_lzma_h=no + --disable-zstd + + # fake some libraries we don't use + ac_cv_header_magic_h=yes + ac_cv_lib_magic_magic_open=yes + + # use nss as crypto provider + --with-crypto=nss + + # disable other stuff irrelevant to debugedit + --disable-bdb + --disable-nls + --disable-plugins + --disable-python + --without-acl + --without-archive + --without-cap + --without-external-db + --without-hackingdocs + --without-lua + --without-selinux + ) + econf "${myconf[@]}" +} + +src_compile() { + emake -C misc + emake -C rpmio + emake debugedit +} + +src_test() { + : +} + +src_install() { + dobin debugedit +}