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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 09B76158020 for ; Sat, 15 Oct 2022 20:07:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55B0EE08CE; Sat, 15 Oct 2022 20:07:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1847CE08CE for ; Sat, 15 Oct 2022 20:07:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3D91F340FF4 for ; Sat, 15 Oct 2022 20:07:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1A6A61F for ; Sat, 15 Oct 2022 20:07:21 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1665864405.0e6e22c8bad9b2757363f0855b5e1b8f7f3a8ae7.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/dchroot/files/, sys-apps/dchroot/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/dchroot/dchroot-0.12.1.ebuild sys-apps/dchroot/files/dchroot-0.12.1-make.patch sys-apps/dchroot/files/dchroot-0.12.1-no-werror.patch X-VCS-Directories: sys-apps/dchroot/files/ sys-apps/dchroot/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 0e6e22c8bad9b2757363f0855b5e1b8f7f3a8ae7 X-VCS-Branch: master Date: Sat, 15 Oct 2022 20:07:21 +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: 2eef6927-771f-4cdb-8da4-2fc1b6b83145 X-Archives-Hash: a0adaaa5081e86cb1460189efacec59b commit: 0e6e22c8bad9b2757363f0855b5e1b8f7f3a8ae7 Author: Ionen Wolkens gentoo org> AuthorDate: Sat Oct 15 16:18:21 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sat Oct 15 20:06:45 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e6e22c8 sys-apps/dchroot: EAPI6->8, run eautoreconf for clang16 Also: * remake patch, was done on top of the sed (now removed) and they changed the same line making this kind of messy. * respect CPPFLAGS * GPL-2 -> GPL-2+ * remove dead urls, debian doesn't seem to have this anymore? (probably not very useful to keep here either) Closes: https://bugs.gentoo.org/874318 Signed-off-by: Ionen Wolkens gentoo.org> sys-apps/dchroot/dchroot-0.12.1.ebuild | 25 +++++++--------------- sys-apps/dchroot/files/dchroot-0.12.1-make.patch | 16 ++++++++++++++ .../dchroot/files/dchroot-0.12.1-no-werror.patch | 13 ----------- 3 files changed, 24 insertions(+), 30 deletions(-) diff --git a/sys-apps/dchroot/dchroot-0.12.1.ebuild b/sys-apps/dchroot/dchroot-0.12.1.ebuild index 7f02674ae0ae..fef8cb146e1d 100644 --- a/sys-apps/dchroot/dchroot-0.12.1.ebuild +++ b/sys-apps/dchroot/dchroot-0.12.1.ebuild @@ -1,36 +1,27 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 -inherit toolchain-funcs +inherit autotools DESCRIPTION="Utility for managing chroots for non-root users" -HOMEPAGE="https://packages.debian.org/unstable/admin/dchroot" -SRC_URI="mirror://debian/pool/main/d/dchroot/dchroot_${PV}.tar.gz" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" +SRC_URI="mirror://gentoo/${P/-/_}.tar.gz" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" -DEPEND="sys-apps/help2man" RDEPEND="!dev-util/schroot[dchroot]" +BDEPEND="sys-apps/help2man" PATCHES=( - "${FILESDIR}"/${PN}-0.12.1-no-werror.patch + "${FILESDIR}"/${P}-make.patch ) src_prepare() { - sed -i \ - -e '/^all:/s:$: docs:' \ - -e '/^CFLAGS/s:-O2:@CFLAGS@:' \ - -e '/@CFLAGS@/ s:@CFLAGS@:@CFLAGS@ @LDFLAGS@:' \ - Makefile.in || die "sed failed" - default -} -src_compile() { - emake CC="$(tc-getCC)" + eautoreconf #874318 } diff --git a/sys-apps/dchroot/files/dchroot-0.12.1-make.patch b/sys-apps/dchroot/files/dchroot-0.12.1-make.patch new file mode 100644 index 000000000000..1c6be7a65c91 --- /dev/null +++ b/sys-apps/dchroot/files/dchroot-0.12.1-make.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/722920 +https://bugs.gentoo.org/824542 +--- a/Makefile.in ++++ b/Makefile.in +@@ -4,8 +4,9 @@ + + INSTALL=install +-CFLAGS=-Wl,-z,now -O2 -Wall -Wstrict-prototypes -Werror -g \ ++CC := @CC@ ++CFLAGS := @CFLAGS@ @CPPFLAGS@ @LDFLAGS@ \ + -DDCHROOT_VERSION="\"@DCHROOT_VERSION@\"" + +-all: dchroot ++all: dchroot docs + + docs: dchroot.1 diff --git a/sys-apps/dchroot/files/dchroot-0.12.1-no-werror.patch b/sys-apps/dchroot/files/dchroot-0.12.1-no-werror.patch deleted file mode 100644 index 4cd270190456..000000000000 --- a/sys-apps/dchroot/files/dchroot-0.12.1-no-werror.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://bugs.gentoo.org/824542 -https://bugs.gentoo.org/722920 ---- a/Makefile.in -+++ b/Makefile.in -@@ -3,7 +3,7 @@ mandir = ${prefix}/share/man - sysconfdir = $(DESTDIR)/etc - - INSTALL=install --CFLAGS=-Wl,-z,now @CFLAGS@ @LDFLAGS@ -Wall -Wstrict-prototypes -Werror -g \ -+CFLAGS=-Wl,-z,now @CFLAGS@ @LDFLAGS@ -Wall -Wstrict-prototypes \ - -DDCHROOT_VERSION="\"@DCHROOT_VERSION@\"" - - all: dchroot docs