ports/167581: update sysutils/debootstrap 1.0.38 -> 1.0.40
Nikolai Lifanov
lifanov at mail.lifanov.com
Fri May 4 15:20:05 UTC 2012
>Number: 167581
>Category: ports
>Synopsis: update sysutils/debootstrap 1.0.38 -> 1.0.40
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri May 04 15:20:04 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Nikolai Lifanov
>Release: 9.0 with latest openssl patch
>Organization:
>Environment:
FreeBSD lifanovbsd0.lifanov.com 9.0-RELEASE FreeBSD 9.0-RELEASE #3 r228916M: Tue Dec 27 17:22:18 PST 2011 root at build9x64.pcbsd.org:/usr/obj/storage/fbsd-sources/9.0/sys/GENERIC amd64
>Description:
debootstrap 1.0.38 is no longer on Debian mirrors.
I've updated it to 1.0.40
This includes new distinfo and pkg-plist, and also different PORTVERSION and WRKSRC needed to be changed in Makefile. I deteted the blank line at the end of pkg-descr also.
Patches still apply cleanly.
>How-To-Repeat:
cd /usr/ports/sysutils/debootstrap
make fetch
>Fix:
Replace /usr/ports/sysutils/debootstrap with the version in the attached shar.
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# debootstrap
# debootstrap/pkg-plist
# debootstrap/Makefile
# debootstrap/distinfo
# debootstrap/files
# debootstrap/files/patch-Makefile
# debootstrap/files/patch-debootstrap
# debootstrap/pkg-message
# debootstrap/pkg-descr
#
echo c - debootstrap
mkdir -p debootstrap > /dev/null 2>&1
echo x - debootstrap/pkg-plist
sed 's/^X//' >debootstrap/pkg-plist << '87ca53de9f16ccedd9ccd463b3965b7f'
Xsbin/debootstrap
Xshare/debootstrap/functions
Xshare/debootstrap/scripts/breezy
Xshare/debootstrap/scripts/dapper
Xshare/debootstrap/scripts/edgy
Xshare/debootstrap/scripts/etch
Xshare/debootstrap/scripts/etch-m68k
Xshare/debootstrap/scripts/feisty
Xshare/debootstrap/scripts/gutsy
Xshare/debootstrap/scripts/hardy
Xshare/debootstrap/scripts/hoary
Xshare/debootstrap/scripts/hoary.buildd
Xshare/debootstrap/scripts/intrepid
Xshare/debootstrap/scripts/jaunty
Xshare/debootstrap/scripts/karmic
Xshare/debootstrap/scripts/lenny
Xshare/debootstrap/scripts/lucid
Xshare/debootstrap/scripts/maverick
Xshare/debootstrap/scripts/natty
Xshare/debootstrap/scripts/oldstable
Xshare/debootstrap/scripts/oneiric
Xshare/debootstrap/scripts/potato
Xshare/debootstrap/scripts/precise
Xshare/debootstrap/scripts/quantal
Xshare/debootstrap/scripts/sarge
Xshare/debootstrap/scripts/sarge.buildd
Xshare/debootstrap/scripts/sarge.fakechroot
Xshare/debootstrap/scripts/sid
Xshare/debootstrap/scripts/squeeze
Xshare/debootstrap/scripts/stable
Xshare/debootstrap/scripts/testing
Xshare/debootstrap/scripts/unstable
Xshare/debootstrap/scripts/warty
Xshare/debootstrap/scripts/warty.buildd
Xshare/debootstrap/scripts/wheezy
Xshare/debootstrap/scripts/woody
Xshare/debootstrap/scripts/woody.buildd
X at dirrm share/debootstrap/scripts
X at dirrm share/debootstrap
87ca53de9f16ccedd9ccd463b3965b7f
echo x - debootstrap/Makefile
sed 's/^X//' >debootstrap/Makefile << 'e515ee920c32a0040db850209d1ac32d'
X# New ports collection makefile for: debootstrap
X# Date created: 2011-02-26
X# Whom: Martin Matuska <mm at FreeBSD.org>
X#
X# $FreeBSD: ports/sysutils/debootstrap/Makefile,v 1.7 2012/01/25 08:45:55 mm Exp $
X#
X
XPORTNAME= debootstrap
XPORTVERSION= 1.0.40
XCATEGORIES= sysutils
XMASTER_SITES= ${MASTER_SITE_DEBIAN}
XMASTER_SITE_SUBDIR= pool/main/d/${PORTNAME}
XDISTNAME= ${PORTNAME}_${PORTVERSION}
X
XMAINTAINER= mm at FreeBSD.org
XCOMMENT= Install Debian base system into a directory
X
XRUN_DEPENDS= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
X
XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
XNO_BUILD= yes
XUSE_GMAKE= yes
XMAKE_ARGS= DESTDIR="${PREFIX}"
X
XMAN8= debootstrap.8
X
XONLY_FOR_ARCHS= i386 amd64
XONLY_FOR_ARCHS_REASON= Debian GNU/kFreeBSD available only for i386 and amd64
X
Xpost-patch:
X @${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,g' \
X ${WRKSRC}/debootstrap
X
Xpost-install:
X @${INSTALL_MAN} ${WRKSRC}/debootstrap.8 \
X ${MAN8PREFIX}/man/man8/debootstrap.8
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
e515ee920c32a0040db850209d1ac32d
echo x - debootstrap/distinfo
sed 's/^X//' >debootstrap/distinfo << 'c0660883366052fc2a75f988b4fcf65e'
XSHA256 (debootstrap_1.0.40.tar.gz) = edc3c6c6d8c107d02064418b8205667e68cb4464a99c540421c4bbcfdb3bf3c6
XSIZE (debootstrap_1.0.40.tar.gz) = 55961
c0660883366052fc2a75f988b4fcf65e
echo c - debootstrap/files
mkdir -p debootstrap/files > /dev/null 2>&1
echo x - debootstrap/files/patch-Makefile
sed 's/^X//' >debootstrap/files/patch-Makefile << '4a1e6ed69bdd7f2f4149b8791d3ccb75'
X--- Makefile.orig 2011-08-15 20:29:37.000000000 +0200
X+++ Makefile 2011-08-25 19:19:09.951348991 +0200
X@@ -13,17 +13,17 @@
X rm -f devices.tar.gz
X rm -rf dev
X
X-DSDIR=$(DESTDIR)/usr/share/debootstrap
X+DSDIR=$(PREFIX)/share/debootstrap
X install:
X mkdir -p $(DSDIR)/scripts
X- mkdir -p $(DESTDIR)/usr/sbin
X+ mkdir -p $(PREFIX)/sbin
X
X cp -a scripts/* $(DSDIR)/scripts/
X- install -o root -g root -m 0644 functions $(DSDIR)/
X+ install -o root -g wheel -m 0644 functions $(DSDIR)/
X
X- sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap
X- chown root:root $(DESTDIR)/usr/sbin/debootstrap
X- chmod 0755 $(DESTDIR)/usr/sbin/debootstrap
X+ sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(PREFIX)/sbin/debootstrap
X+ chown root:wheel $(PREFIX)/sbin/debootstrap
X+ chmod 0755 $(PREFIX)/sbin/debootstrap
X
X ifeq ($(shell uname),Linux)
X install -o root -g root -m 0644 devices.tar.gz $(DSDIR)/
4a1e6ed69bdd7f2f4149b8791d3ccb75
echo x - debootstrap/files/patch-debootstrap
sed 's/^X//' >debootstrap/files/patch-debootstrap << '890484ad2bd1a99bbdb6d2698abe6f49'
X--- debootstrap.orig 2011-08-25 20:19:23.294346076 +0200
X+++ debootstrap 2011-08-25 20:22:42.850735086 +0200
X@@ -419,6 +419,10 @@
X esac
X fi
X
X+if [ "$HOST_OS" = "freebsd" -a -z "$HOST_ARCH" ]; then
X+ HOST_ARCH=kfreebsd-`/sbin/sysctl -n hw.machine_arch`
X+fi
X+
X if [ -z "$ARCH" ]; then
X ARCH=$HOST_ARCH
X fi
890484ad2bd1a99bbdb6d2698abe6f49
echo x - debootstrap/pkg-message
sed 's/^X//' >debootstrap/pkg-message << '46f273c5505b0c8a65aee42e203918b1'
X*** NOTE ***
XTo successfully create an installation of Debian GNU/kFreeBSD
Xdebootstrap requires the following kernel modules loaded:
X
Xfdescfs linprocfs linsysfs tmpfs
46f273c5505b0c8a65aee42e203918b1
echo x - debootstrap/pkg-descr
sed 's/^X//' >debootstrap/pkg-descr << 'ddb6c31d0e9bac5166bf797b608e98f9'
Xdebootstrap is a tool which will install a Debian base system into
Xa subdirectory of another, already installed system. It doesn't require an
Xinstallation CD, just access to a Debian repository.
X
XIn FreeBSD, you can use debootstrap to install Debian into
Xa subdirectory of your existing FreeBSD installation (i386 or amd64)
Xand then run Debian GNU/kFreeBSD (i386 or amd64) or Debian Linux (i386)
Xin a jail or chroot.
X
XWWW: http://wiki.debian.org/Debootstrap
ddb6c31d0e9bac5166bf797b608e98f9
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list