Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2004 18:27:35 +0200 (CEST)
From:      Martin Matuska <matuska@tradex.sk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68054: [NEW PORT] archivers/bsdtar
Message-ID:  <20040617162735.731B922868@mail.ba.zoznam.sk>
Resent-Message-ID: <200406171630.i5HGUbO5019525@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         68054
>Category:       ports
>Synopsis:       [NEW PORT] archivers/bsdtar
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 17 16:30:36 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 5.2.1-RELEASE-p8 i386
>Organization:
>Environment:
System: FreeBSD 5.2.1-RELEASE-p8

>Description:
	Port of the bsdtar archiver for FreeBSD systems prior to 502111
>How-To-Repeat:
>Fix:
# 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:
#
#	bsdtar
#	bsdtar/Makefile
#	bsdtar/distinfo
#	bsdtar/pkg-descr
#	bsdtar/files
#	bsdtar/files/patch-Makefile
#
echo c - bsdtar
mkdir -p bsdtar > /dev/null 2>&1
echo x - bsdtar/Makefile
sed 's/^X//' >bsdtar/Makefile << 'END-of-bsdtar/Makefile'
X# New ports collection makefile for:	libarchive
X# Date created:		11 Jun 2004
X# Whom:			Martin Matuska <martin@tradex.sk>
X#
X# $FreeBSD$
X
XPORTNAME=	bsdtar
XPORTVERSION=	2004.06.07
XCATEGORIES=	archivers
XMASTER_SITES=	http://people.freebsd.org/~kientzle/libarchive/src/
XDISTNAME=	${PORTNAME}-${PORTVERSION:S/./-/g}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	martin@tradex.sk
XCOMMENT=	New tar archiver from FreeBSD-CURRENT
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/libarchive.a:${PORTSDIR}/archivers/libarchive
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
XCFLAGS+=	-I${PREFIX}/include
X
XMAKE_FLAGS+=	BINDIR=${PREFIX}/bin \
X		MANDIR=${PREFIX}/man/man
X
XPLIST_FILES=	bin/bsdtar
X
XUSE_REINPLACE=	yes
X
XMANCOMPRESSED=	yes
XMAN1=		bsdtar.1
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} >= 502111
XIGNORE=         is in the base system
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${LOCALBASE}|g" ${WRKSRC}/Makefile
X
X.include <bsd.port.post.mk>
END-of-bsdtar/Makefile
echo x - bsdtar/distinfo
sed 's/^X//' >bsdtar/distinfo << 'END-of-bsdtar/distinfo'
XMD5 (bsdtar-2004-06-07.tgz) = fb2064ac8897d55b5d6cbd2565673db8
XSIZE (bsdtar-2004-06-07.tgz) = 40091
END-of-bsdtar/distinfo
echo x - bsdtar/pkg-descr
sed 's/^X//' >bsdtar/pkg-descr << 'END-of-bsdtar/pkg-descr'
XThe bsdtar program creates and manipulates streaming archive files.
XIt has a number of advantages over previous tar implementations.
X
XWWW: http://people.freebsd.org/~kientzle/libarchive/
END-of-bsdtar/pkg-descr
echo c - bsdtar/files
mkdir -p bsdtar/files > /dev/null 2>&1
echo x - bsdtar/files/patch-Makefile
sed 's/^X//' >bsdtar/files/patch-Makefile << 'END-of-bsdtar/files/patch-Makefile'
X--- Makefile.orig	Thu Jun 17 18:05:06 2004
X+++ Makefile	Thu Jun 17 18:05:23 2004
X@@ -4,12 +4,7 @@
X SRCS=	bsdtar.c matching.c read.c util.c write.c
X WARNS?=	6
X DPADD=	${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
X-LDADD=	-larchive -lbz2 -lz
X-
X-.if defined(WITH_BSDTAR)
X-SYMLINKS=	${BINDIR}/bsdtar ${BINDIR}/tar
X-MLINKS=	bsdtar.1 tar.1
X-.endif
X+LDADD=	%%PREFIX%%/lib/libarchive.a -lbz2 -lz
X 
X .include <bsd.prog.mk>
X 
END-of-bsdtar/files/patch-Makefile
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040617162735.731B922868>