From nobody Fri Feb 10 17:22:08 2023 X-Original-To: dev-commits-ports-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PD0sY1DhQz3pf9k; Fri, 10 Feb 2023 17:22:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PD0sY0lFsz3FMR; Fri, 10 Feb 2023 17:22:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676049729; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=U79Fqc6nq/4Bo23NFVeMOyyHAv+oZcnX8GuwpkN1kDU=; b=JL94mshWcU0UiFSfpUg057rDCIIq1exJIJrlPVVgczH7Zsibk6Jwaj3SA9hE7hcYZhFOAV wjjkV8jKA59KHQlkB5TCLuWgV0bNavdKLb6Zs7PFyIAmQmPupBUh9Z6uIMwzZk0WC5EIlq hdH0FXyaGqTc1Tj+jxF/RsIT3SXYb+ho+GZMeT+75z2pmSzrDi/DBE7QrEW83TMeSfb/bA 5EyQWEhaKNA1e+yg0LW3e3/JxknnqD9TrQms8hxF6660RDkoo2BLDljWJzQBEnMRZ56e4y 07yqpiyPp7lx4y1BjOUmgQNJ4BX1Q9rPpqKi1ijGWjA5cKy+8i5+Znp9lgzurg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676049729; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=U79Fqc6nq/4Bo23NFVeMOyyHAv+oZcnX8GuwpkN1kDU=; b=s9IMgMKCC1/a/YuseXLg7eyDgMfoVottgX6zAwUjOdtmXG7Z8eI8YcS6byqDvdIung1xJH Vt05PRk1iD0cuYQg3O1gkh7F5UgH28JJNb6wT2jcVL1T22+oSdqnwaeDUrYeQvQBeImOYD /5IB9mY+L+Q2HeEldkQWv/HKurZ5SjQ+MSLeVPBgCNR7yCSm8MOa0zWMVVOtLMIJGfjOZZ QDq/PPZqG8R/7+hNX6rz7s8+Fsk3SiRTEU7E2CMepbEtjFZBoM73gLQUUnEPdOe6rvg4im gxFtvUIJL1ZF1dQasf+5Ts4ItHM+q5QLxkiqz0Y0MCfUM3T6gz6zfqrb0qphYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676049729; a=rsa-sha256; cv=none; b=nShQjCpdhSUIfF0BGtAhhlqLaAL2G3J4579IIjxjJ2u10NhiDGvUUjtfVMdaR3jVJ9VkfA L6TGm5FQaB+hZTDiqulHjI23N6Emye5//Xt/oLr4FDKhBmkszecArLuNG4tYCUQ/uMKaC6 bLRIO35N0Dthmqta0awCXmIEKq0SWw+SECk5ytGzPX+au0Togdhgb68C3Ar3Qr0jF+3crr pe9TS9QHpMlVk+j0XH0e8naBnnxxgicPM4qcaxO7fUjdoh7s6daR3XMgpmQ7VWDZReuPoy 0hqQJ2x8qslB/gWDG9l1sHIk2nzAlIbCOaMUrjEc/wRLfEz2X+tNgGGniC28Nw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PD0sX6vhZzR7t; Fri, 10 Feb 2023 17:22:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31AHM8Z1072532; Fri, 10 Feb 2023 17:22:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31AHM8Bj072531; Fri, 10 Feb 2023 17:22:08 GMT (envelope-from git) Date: Fri, 10 Feb 2023 17:22:08 GMT Message-Id: <202302101722.31AHM8Bj072531@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Neel Chauhan Subject: git: 75aae45a58bc - 2023Q1 - sysutils/debootstrap: Set +x to debootstrap List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-branches@freebsd.org X-BeenThere: dev-commits-ports-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nc X-Git-Repository: ports X-Git-Refname: refs/heads/2023Q1 X-Git-Reftype: branch X-Git-Commit: 75aae45a58bc23e980bda059aa7a736004246888 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2023Q1 has been updated by nc: URL: https://cgit.FreeBSD.org/ports/commit/?id=75aae45a58bc23e980bda059aa7a736004246888 commit 75aae45a58bc23e980bda059aa7a736004246888 Author: Neel Chauhan AuthorDate: 2023-02-10 17:18:08 +0000 Commit: Neel Chauhan CommitDate: 2023-02-10 17:22:06 +0000 sysutils/debootstrap: Set +x to debootstrap PR: 268205 (cherry picked from commit f78f4879c494526e1bef0653c343753627b62cce) --- sysutils/debootstrap/Makefile | 1 + sysutils/debootstrap/files/patch-Makefile | 12 ++++++------ sysutils/debootstrap/files/patch-debootstrap | 21 ++++++++++++++++----- sysutils/debootstrap/files/patch-scripts-gutsy | 8 ++++---- .../debootstrap/files/patch-scripts_debian-common | 6 +++--- 5 files changed, 30 insertions(+), 18 deletions(-) diff --git a/sysutils/debootstrap/Makefile b/sysutils/debootstrap/Makefile index 97d754cb3b90..a9febc33c241 100644 --- a/sysutils/debootstrap/Makefile +++ b/sysutils/debootstrap/Makefile @@ -1,5 +1,6 @@ PORTNAME= debootstrap PORTVERSION= 1.0.128 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= DEBIAN DISTNAME= ${PORTNAME}_${PORTVERSION} diff --git a/sysutils/debootstrap/files/patch-Makefile b/sysutils/debootstrap/files/patch-Makefile index 6b4e6b5164d7..db211f5a422d 100644 --- a/sysutils/debootstrap/files/patch-Makefile +++ b/sysutils/debootstrap/files/patch-Makefile @@ -1,15 +1,15 @@ ---- Makefile.orig 2019-07-06 11:22:30 UTC +--- Makefile.orig 2021-04-06 19:52:02 UTC +++ Makefile -@@ -5,14 +5,12 @@ all: +@@ -5,14 +5,13 @@ all: clean: -DSDIR=$(DESTDIR)/usr/share/debootstrap -+DSDIR=$(DESTDIR)%%DATADIR%% ++DSDIR=$(DESTDIR)/usr/local/share/debootstrap install: mkdir -p $(DSDIR)/scripts - mkdir -p $(DESTDIR)/usr/sbin -+ mkdir -p $(DESTDIR)%%PREFIX%%/sbin ++ mkdir -p $(DESTDIR)/usr/local/sbin cp -a scripts/* $(DSDIR)/scripts/ - install -o root -g root -m 0644 functions $(DSDIR)/ @@ -17,5 +17,5 @@ - sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap - chown root:root $(DESTDIR)/usr/sbin/debootstrap -- chmod 0755 $(DESTDIR)/usr/sbin/debootstrap -+ sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)%%PREFIX%%/sbin/debootstrap + chmod 0755 $(DESTDIR)/usr/sbin/debootstrap ++ sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/local/sbin/debootstrap diff --git a/sysutils/debootstrap/files/patch-debootstrap b/sysutils/debootstrap/files/patch-debootstrap index b8b633661c06..82733b633193 100644 --- a/sysutils/debootstrap/files/patch-debootstrap +++ b/sysutils/debootstrap/files/patch-debootstrap @@ -1,8 +1,8 @@ ---- debootstrap.orig 2020-03-13 02:03:08 UTC +--- debootstrap.orig 2022-10-14 11:16:30 UTC +++ debootstrap @@ -1,4 +1,4 @@ -#!/bin/sh -+#!%%LOCALBASE%%/bin/bash ++#!/usr/local/bin/bash set -e VERSION='@VERSION@' @@ -11,11 +11,22 @@ DEBOOTSTRAP_DIR=/debootstrap else - DEBOOTSTRAP_DIR=/usr/share/debootstrap -+ DEBOOTSTRAP_DIR=%%DATADIR%% ++ DEBOOTSTRAP_DIR=/usr/local/share/debootstrap fi fi -@@ -516,13 +516,7 @@ fi +@@ -379,8 +379,8 @@ if [ $# != 0 ] ; then + shift + ;; + --keyring|--keyring=?*) +- if ! gpgv --version >/dev/null 2>&1; then +- error 1 NEEDGPGV "gpgv not installed, but required for Release verification" ++ if ! gpgv2 --version >/dev/null 2>&1; then ++ error 1 NEEDGPGV "gpgv2 not installed, but required for Release verification" + fi + if [ "$1" = "--keyring" ] && [ -n "$2" ]; then + KEYRING="$2" +@@ -536,13 +536,7 @@ fi ########################################################################### @@ -30,7 +41,7 @@ HOST_ARCH=$(cat "$DEBOOTSTRAP_DIR/arch") fi HOST_OS="$HOST_ARCH" -@@ -542,6 +536,14 @@ if [ -z "$HOST_OS" ]; then +@@ -562,6 +556,14 @@ if [ -z "$HOST_OS" ]; then HOST_OS=freebsd ;; esac diff --git a/sysutils/debootstrap/files/patch-scripts-gutsy b/sysutils/debootstrap/files/patch-scripts-gutsy index 354c3c57e883..18b91b19d176 100644 --- a/sysutils/debootstrap/files/patch-scripts-gutsy +++ b/sysutils/debootstrap/files/patch-scripts-gutsy @@ -1,6 +1,6 @@ ---- scripts/gutsy.orig 2020-03-13 02:04:21 UTC +--- scripts/gutsy.orig 2023-02-08 17:55:01 UTC +++ scripts/gutsy -@@ -242,10 +242,21 @@ echo \"Warning: Fake initctl called, doing nothing\"" +@@ -296,10 +296,21 @@ echo \"Warning: Fake initctl called, doing nothing\"" predep=$(without "$(without "$(resolve_deps $predep)" "$required")" "$done_predeps") # XXX: progress is tricky due to how dpkg_progress works # -- cjwatson 2009-07-29 @@ -22,7 +22,7 @@ done if [ -n "$base" ]; then -@@ -256,10 +267,13 @@ echo \"Warning: Fake initctl called, doing nothing\"" +@@ -310,10 +321,13 @@ echo \"Warning: Fake initctl called, doing nothing\"" info CONFBASE "Configuring the base system..." @@ -36,7 +36,7 @@ fi if [ -x "$TARGET/sbin/initctl.REAL" ]; then -@@ -267,6 +281,12 @@ echo \"Warning: Fake initctl called, doing nothing\"" +@@ -321,6 +335,12 @@ echo \"Warning: Fake initctl called, doing nothing\"" fi mv "$TARGET/sbin/start-stop-daemon.REAL" "$TARGET/sbin/start-stop-daemon" rm -f "$TARGET/usr/sbin/policy-rc.d" diff --git a/sysutils/debootstrap/files/patch-scripts_debian-common b/sysutils/debootstrap/files/patch-scripts_debian-common index 8027154f25e4..0eb7c31d2064 100644 --- a/sysutils/debootstrap/files/patch-scripts_debian-common +++ b/sysutils/debootstrap/files/patch-scripts_debian-common @@ -1,6 +1,6 @@ ---- scripts/debian-common.orig 2020-03-13 02:04:21 UTC +--- scripts/debian-common.orig 2023-02-08 17:55:01 UTC +++ scripts/debian-common -@@ -200,10 +200,21 @@ echo \"Warning: Fake start-stop-daemon called, doing n +@@ -215,10 +215,21 @@ echo \"Warning: Fake start-stop-daemon called, doing n predep=$(without "$(without "$(resolve_deps $predep)" "$required")" "$done_predeps") # XXX: progress is tricky due to how dpkg_progress works # -- cjwatson 2009-07-29 @@ -22,7 +22,7 @@ done if [ -n "$base" ]; then -@@ -222,6 +233,12 @@ echo \"Warning: Fake start-stop-daemon called, doing n +@@ -237,6 +248,12 @@ echo \"Warning: Fake start-stop-daemon called, doing n mv "$TARGET/sbin/start-stop-daemon.REAL" "$TARGET/sbin/start-stop-daemon" rm -f "$TARGET/usr/sbin/policy-rc.d"