1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

sysutils/debootstrap: Fix when setting up Debian bookworm.

PR:		274298
Approved by:	nc (maintainer timeout)
This commit is contained in:
Dancho Penev 2024-02-18 18:28:38 +03:00 committed by Gleb Popov
parent 8d59f2fa7a
commit 38449b84d7

View File

@ -1,6 +1,6 @@
PORTNAME= debootstrap
PORTVERSION= ${DEB_VERSION}n${DEB_NMU}
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${DEB_VERSION}+nmu${DEB_NMU}
@ -16,6 +16,7 @@ RUN_DEPENDS= wget:ftp/wget \
bash:shells/bash \
${LOCALBASE}/bin/grep:textproc/gnugrep \
gpgv2:security/gnupg \
gtar:archivers/gtar \
${LOCALBASE}/share/keyrings/ubuntu-archive-keyring.gpg:security/ubuntu-keyring
USES= gmake perl5
@ -43,6 +44,10 @@ post-patch:
@${REINPLACE_CMD} -e 's,grep,${LOCALBASE}/bin/grep,g' \
${WRKSRC}/functions
# ports/274298
@${REINPLACE_CMD} -e 's, tar , ${LOCALBASE}/bin/gtar ,g' \
${WRKSRC}/functions
post-install:
${INSTALL_MAN} ${WRKSRC}/debootstrap.8 \
${STAGEDIR}${PREFIX}/share/man/man8/debootstrap.8