Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2009 04:37:20 +0900 (JST)
From:      Ayumi M <ayu@commun.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/138078: [NEW PORT] archivers/packddir: These trivial utilities can unpack and create PackdDir archives
Message-ID:  <20090822193720.2C95839DF2@dahlia.commun.jp>
Resent-Message-ID: <200908221940.n7MJe7Am062773@freefall.freebsd.org>

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

>Number:         138078
>Category:       ports
>Synopsis:       [NEW PORT] archivers/packddir: These trivial utilities can unpack and create PackdDir archives
>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:   Sat Aug 22 19:40:07 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Ayumi M
>Release:        FreeBSD 7.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD dahlia.commun.jp 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 07:18:07 UTC
>Description:
PackdDir creates and unpacks PackdDir archives,
which are used in Quake (I and II) and others.

WWW:	http://www.nongnu.org/packddir/

Tested with Tinderbox
http://tb-amd64.commun.jp/index.php?action=describe_port&id=66
http://tb-i386.commun.jp/index.php?action=describe_port&id=66

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- packddir-0.0.6.shar begins here ---
# 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:
#
#	packddir
#	packddir/pkg-descr
#	packddir/Makefile
#	packddir/distinfo
#	packddir/files
#	packddir/files/patch-upackddir.c
#
echo c - packddir
mkdir -p packddir > /dev/null 2>&1
echo x - packddir/pkg-descr
sed 's/^X//' >packddir/pkg-descr << 'd09ab123a0fd8e0b77f3a0c3d8e6fd5e'
XPackdDir creates and unpacks PackdDir archives,
Xwhich are used in Quake (I and II) and others.
X
XWWW:	http://www.nongnu.org/packddir/
d09ab123a0fd8e0b77f3a0c3d8e6fd5e
echo x - packddir/Makefile
sed 's/^X//' >packddir/Makefile << 'b50b8dca76dd4a3998f1271c1275afc0'
X# New ports collection makefile for:	packddir
X# Date created:		2009-08-22
X# Whom:			Ayumi M <ayu@commun.jp>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	packddir
XPORTVERSION=	0.0.6
XCATEGORIES=	archivers
XMASTER_SITES=	${MASTER_SITE_SAVANNAH}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	upackddir_${PORTVERSION}-1
X
XMAINTAINER=	ayu@commun.jp
XCOMMENT=	These trivial utilities can unpack and create PackdDir archives
X
XWRKSRC=		${WRKDIR}/src
X
XPLIST_FILES=	bin/upackddir
XMAN1=		upackddir.1
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X	${REINPLACE_CMD} -e 's|$$(DESTDIR)/usr|${PREFIX}|' ${WRKSRC}/Makefile
X
Xpost-install:
X	${INSTALL_MAN} ${WRKSRC}/upackddir.1 ${MANPREFIX}/man/man1
X
X.include <bsd.port.post.mk>
b50b8dca76dd4a3998f1271c1275afc0
echo x - packddir/distinfo
sed 's/^X//' >packddir/distinfo << 'ca2115ccbb90b6d6b5f4b067ed2c747e'
XMD5 (upackddir_0.0.6-1.tar.gz) = b66373639b3ee46c495bacb25031f5c7
XSHA256 (upackddir_0.0.6-1.tar.gz) = 81b12e3be40d9e55c948ad3315ca7d28edbb74ff3f06730cc83f0d779bc7d6bf
XSIZE (upackddir_0.0.6-1.tar.gz) = 16496
ca2115ccbb90b6d6b5f4b067ed2c747e
echo c - packddir/files
mkdir -p packddir/files > /dev/null 2>&1
echo x - packddir/files/patch-upackddir.c
sed 's/^X//' >packddir/files/patch-upackddir.c << '5bf91c31be64ebfcc44f507dc654700d'
X--- upackddir.c.orig	2009-08-22 04:48:16.000000000 +0900
X+++ upackddir.c	2009-08-22 04:48:39.000000000 +0900
X@@ -253,7 +253,7 @@
X 	}
X 
X 	/* Let's jump to the beginning of our sweet data */
X-	(char *) mapped += n;
X+	mapped += n;
X 
X 	for (i = 0; i < pack->numfiles; i++) {
X 		fprintf(stderr, "%s\n", mapped->name);
X@@ -297,7 +297,7 @@
X 	}
X 
X 	/* Let's jump to the beginning of our sweet data */
X-	(char *) mapped += n;
X+	mapped += n;
X 
X 	for (i = 0; i < pack->numfiles; i++) {
X 		if (strcmp(name, mapped->name) == 0) {
5bf91c31be64ebfcc44f507dc654700d
exit
--- packddir-0.0.6.shar ends here ---

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



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