View | Details | Raw Unified | Return to bug 179766 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +5 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	debootstrap
4
PORTNAME=	debootstrap
5
PORTVERSION=	1.0.60
5
PORTVERSION=	1.0.60
6
PORTREVISION=	1
6
CATEGORIES=	sysutils
7
CATEGORIES=	sysutils
7
MASTER_SITES=	${MASTER_SITE_DEBIAN}
8
MASTER_SITES=	${MASTER_SITE_DEBIAN}
8
MASTER_SITE_SUBDIR=	pool/main/d/${PORTNAME}
9
MASTER_SITE_SUBDIR=	pool/main/d/${PORTNAME}
Lines 11-21 Link Here
11
MAINTAINER=	lifanov@mail.lifanov.com
12
MAINTAINER=	lifanov@mail.lifanov.com
12
COMMENT=	Install Debian base system into a directory
13
COMMENT=	Install Debian base system into a directory
13
14
14
RUN_DEPENDS=	wget:${PORTSDIR}/ftp/wget
15
RUN_DEPENDS=	wget:${PORTSDIR}/ftp/wget \
16
		dpkg:${PORTSDIR}/archivers/dpkg
15
17
16
WRKSRC=		${WRKDIR}/${DISTNAME:S/_/-/}
18
WRKSRC=		${WRKDIR}/${DISTNAME:S/_/-/}
17
NO_BUILD=	yes
19
NO_BUILD=	yes
18
USES=		gmake tar:xz
20
USES=		gmake perl5 tar:xz
21
USE_PERL5=	run
19
MAKE_ARGS=	DESTDIR="${STAGEDIR}"
22
MAKE_ARGS=	DESTDIR="${STAGEDIR}"
20
23
21
ONLY_FOR_ARCHS=	i386 amd64
24
ONLY_FOR_ARCHS=	i386 amd64
(-)files/patch-debootstrap (-1 / +22 lines)
Lines 1-5 Link Here
1
--- ./debootstrap.orig	2014-02-07 10:25:58.000000000 -0500
1
--- ./debootstrap.orig	2014-02-07 10:25:58.000000000 -0500
2
+++ ./debootstrap	2014-08-06 19:34:46.435155899 -0400
2
+++ ./debootstrap	2014-08-07 20:46:10.626600981 -0400
3
@@ -13,7 +13,7 @@
3
@@ -13,7 +13,7 @@
4
 	if [ -x /debootstrap/debootstrap ]; then
4
 	if [ -x /debootstrap/debootstrap ]; then
5
 		DEBOOTSTRAP_DIR=/debootstrap
5
 		DEBOOTSTRAP_DIR=/debootstrap
Lines 9-14 Link Here
9
 	fi
9
 	fi
10
 fi
10
 fi
11
 
11
 
12
@@ -399,10 +399,10 @@
13
 
14
 if in_path dpkg && \
15
      dpkg --print-architecture >/dev/null 2>&1; then
16
-	HOST_ARCH=`/usr/bin/dpkg --print-architecture`
17
+	HOST_ARCH=`%%PREFIX%%/bin/dpkg --print-architecture`
18
 elif in_path udpkg && \
19
      udpkg --print-architecture >/dev/null 2>&1; then
20
-	HOST_ARCH=`/usr/bin/udpkg --print-architecture`
21
+	HOST_ARCH=`%%PREFIX%%/bin/udpkg --print-architecture`
22
 elif [ -e $DEBOOTSTRAP_DIR/arch ]; then
23
 	HOST_ARCH=`cat $DEBOOTSTRAP_DIR/arch`
24
 fi
12
@@ -425,6 +425,10 @@
25
@@ -425,6 +425,10 @@
13
 	esac
26
 	esac
14
 fi
27
 fi
Lines 20-22 Link Here
20
 if [ -z "$ARCH" ]; then
33
 if [ -z "$ARCH" ]; then
21
 	ARCH=$HOST_ARCH
34
 	ARCH=$HOST_ARCH
22
 fi
35
 fi
36
@@ -621,7 +625,6 @@
37
 	if ! am_doing_phase second_stage; then
38
 		cp "$0"				 "$TARGET/debootstrap/debootstrap"
39
 		cp $DEBOOTSTRAP_DIR/functions	 "$TARGET/debootstrap/functions"
40
-		cp $DEBOOTSTRAP_DIR/devices.tar.gz	 "$TARGET/debootstrap/devices.tar.gz"
41
 		cp $SCRIPT			 "$TARGET/debootstrap/suite-script"
42
 		echo "$ARCH"			>"$TARGET/debootstrap/arch"
43
 		echo "$SUITE"			>"$TARGET/debootstrap/suite"

Return to bug 179766