svn commit: r552340 - in head/sysutils/debootstrap: . files
Edward Tomasz Napierala
trasz at FreeBSD.org
Wed Oct 14 14:55:11 UTC 2020
Author: trasz
Date: Wed Oct 14 14:55:10 2020
New Revision: 552340
URL: https://svnweb.freebsd.org/changeset/ports/552340
Log:
Default to Linux instead of kFreeBSD, since that's the more common
choice, and drop the no longer relevant ONLY_FOR_ARCHS.
Sponsored by: The FreeBSD Foundation
Modified:
head/sysutils/debootstrap/Makefile
head/sysutils/debootstrap/files/patch-debootstrap
head/sysutils/debootstrap/pkg-descr
head/sysutils/debootstrap/pkg-message
Modified: head/sysutils/debootstrap/Makefile
==============================================================================
--- head/sysutils/debootstrap/Makefile Wed Oct 14 14:42:54 2020 (r552339)
+++ head/sysutils/debootstrap/Makefile Wed Oct 14 14:55:10 2020 (r552340)
@@ -3,12 +3,13 @@
PORTNAME= debootstrap
PORTVERSION= 1.0.123
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= DEBIAN/pool/main/d/${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= trasz at FreeBSD.org
-COMMENT= Install Debian base system into a directory
+COMMENT= Install Debian or Ubuntu base system into a directory
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/debian/copyright
@@ -21,9 +22,6 @@ NO_BUILD= yes
NO_ARCH= yes
USES= gmake perl5
USE_PERL5= run
-
-ONLY_FOR_ARCHS= i386 amd64
-ONLY_FOR_ARCHS_REASON= Debian GNU/kFreeBSD available only for i386 and amd64
post-patch:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
Modified: head/sysutils/debootstrap/files/patch-debootstrap
==============================================================================
--- head/sysutils/debootstrap/files/patch-debootstrap Wed Oct 14 14:42:54 2020 (r552339)
+++ head/sysutils/debootstrap/files/patch-debootstrap Wed Oct 14 14:55:10 2020 (r552340)
@@ -37,7 +37,7 @@
+fi
+
+if [ "$HOST_OS" = "freebsd" -a -z "$HOST_ARCH" ]; then
-+ HOST_ARCH=kfreebsd-`/sbin/sysctl -n hw.machine_arch`
++ HOST_ARCH=`/sbin/sysctl -n hw.machine_arch`
+ EXTRACTOR_OVERRIDE=ar
fi
Modified: head/sysutils/debootstrap/pkg-descr
==============================================================================
--- head/sysutils/debootstrap/pkg-descr Wed Oct 14 14:42:54 2020 (r552339)
+++ head/sysutils/debootstrap/pkg-descr Wed Oct 14 14:55:10 2020 (r552340)
@@ -1,10 +1,9 @@
debootstrap is a tool which will install a Debian base system into
-a subdirectory of another, already installed system. It doesn't require an
-installation CD, just access to a Debian repository.
+a subdirectory of another, already installed system. It doesn't require
+an installation CD, just access to a Debian repository.
-In FreeBSD, you can use debootstrap to install Debian into
-a subdirectory of your existing FreeBSD installation (i386 or amd64)
-and then run Debian GNU/kFreeBSD (i386 or amd64) or Debian Linux (i386)
-in a jail or chroot.
+In FreeBSD, you can use debootstrap to install Debian into a subdirectory
+of your existing FreeBSD installation and then run Debian Linux in a jail
+or chroot.
WWW: https://wiki.debian.org/Debootstrap
Modified: head/sysutils/debootstrap/pkg-message
==============================================================================
--- head/sysutils/debootstrap/pkg-message Wed Oct 14 14:42:54 2020 (r552339)
+++ head/sysutils/debootstrap/pkg-message Wed Oct 14 14:55:10 2020 (r552340)
@@ -1,7 +1,7 @@
[
{ type: install
message: <<EOM
-To successfully create an installation of Debian GNU/kFreeBSD
+To successfully create an installation of Debian or Ubuntu
debootstrap requires the following kernel modules loaded:
fdescfs linprocfs linsysfs tmpfs
More information about the svn-ports-all
mailing list