Bug 92250 - [NEW PORT] archivers/xar: OpenDarwin XML eXtensible ARchiver
Summary: [NEW PORT] archivers/xar: OpenDarwin XML eXtensible ARchiver
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-24 07:50 UTC by Jeffrey H. Johnson
Modified: 2006-01-25 16:55 UTC (History)
1 user (show)

See Also:


Attachments
xar-1.3.shar (2.76 KB, text/plain)
2006-01-24 07:50 UTC, Jeffrey H. Johnson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey H. Johnson 2006-01-24 07:50:02 UTC
The XAR project aims to provide an easily extensible archive format. 
Important design decisions include an easily extensible XML table of 
contents for random access to archived files, storing the toc at the 
beginning of the archive to allow for efficient handling of streamed 
archives,  the ability to  handle files of  arbitrarily large sizes, 
the ability to choose independent  encodings for individual files in 
the archive, the ability to  store checksums for individual files in 
both compressed  and uncompressed form, and the ability to query the 
table of content's rich meta-data.

WWW: http://www.opendarwin.org/projects/xar/

Generated with FreeBSD Port Tools 0.63
Comment 1 Renato Botelho freebsd_committer freebsd_triage 2006-01-24 18:04:31 UTC
Responsible Changed
From-To: freebsd-ports-bugs->garga

I'll take it.
Comment 2 Renato Botelho freebsd_committer freebsd_triage 2006-01-25 10:42:10 UTC
The port doesn't build on FreeBSD 4.x, like you can see here:

http://srvmix.galle.com.br/tb/errors/4-STABLE/xar-1.3.log

Could you provide a fix? Or, if you want, i can mark the port as
BROKEN on 4.x systems.

Thanks
-- 
Renato Botelho <garga @ FreeBSD.org>
               <freebsd @ galle.com.br>
GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc
Comment 3 Renato Botelho freebsd_committer freebsd_triage 2006-01-25 10:43:32 UTC
State Changed
From-To: open->feedback

Ask for submitter fix.
Comment 4 Jeffrey H. Johnson 2006-01-25 16:26:29 UTC
>Submitter-Id:	current-users
>Originator:	Jeffrey H. Johnson
>Organization:	
>Confidential:	no 
>Synopsis:	Re: ports/92250: [NEW PORT] archivers/xar: OpenDarwin XML eXtensible ARchiver
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 6.0-STABLE i386
>Environment:
System: FreeBSD offworld.cqasys.com 6.0-STABLE FreeBSD 6.0-STABLE #21: Wed Jan 18 22:35:45 EST 2006
>Description:

This should work correctly on FreeBSD 4 as well.  If not, please mark as
BROKEN on 4 unless somebody knows why offhand.

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

--- xar-1.3.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:
#
#	xar
#	xar/Makefile
#	xar/distinfo
#	xar/pkg-descr
#	xar/files
#	xar/files/patch-include-xar.h.in
#	xar/pkg-plist
#
echo c - xar
mkdir -p xar > /dev/null 2>&1
echo x - xar/Makefile
sed 's/^X//' >xar/Makefile << 'END-of-xar/Makefile'
X# New ports collection makefile for:	xar
X# Date created:		24 January 2005
X# Whom:			CPE1704TKS@bellsouth.net <Jeffrey H. Johnson>
X#
X# $FreeBSD: ports/archivers/xar/Makefile,v 1.0 2005/01/24 01:45:36 trn Exp $
X#
X
XPORTNAME=	xar
XDISTVERSION=	1.3
XCATEGORIES=	archivers
XMASTER_SITES=	http://www.opendarwin.org/projects/xar/ \
X		http://distfiles-msn.opendarwin.org/ \
X		http://distfiles-od.opendarwin.org/ \
X		http://distfiles.opendarwin.org/
X
XMAINTAINER=	CPE1704TKS@bellsouth.net
XCOMMENT=	OpenDarwin XML eXtensible ARchiver
X
XLIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl
X
XINSTALLS_SHLIB=	yes
X
XUSE_GNOME=	libxml2
XUSE_GMAKE=	yes
XUSE_OPENSSL=	yes
X
XGNU_CONFIGURE=	yes
X
XMAN1=		xar.1
X
X.include <bsd.port.mk>
END-of-xar/Makefile
echo x - xar/distinfo
sed 's/^X//' >xar/distinfo << 'END-of-xar/distinfo'
XMD5 (xar-1.3.tar.gz) = 757103c9abeef77004a86af55a01452b
XSHA256 (xar-1.3.tar.gz) = 654263d29dfe079dde2cb1b30cb208aa81b5b338135b25315c1e5d1325a66dd2
XSIZE (xar-1.3.tar.gz) = 114402
END-of-xar/distinfo
echo x - xar/pkg-descr
sed 's/^X//' >xar/pkg-descr << 'END-of-xar/pkg-descr'
XThe XAR project aims to provide an easily extensible archive format. 
XImportant design decisions include an easily extensible XML table of 
Xcontents for random access to archived files, storing the toc at the 
Xbeginning of the archive to allow for efficient handling of streamed 
Xarchives,  the ability to  handle files of  arbitrarily large sizes, 
Xthe ability to choose independent  encodings for individual files in 
Xthe archive, the ability to  store checksums for individual files in 
Xboth compressed  and uncompressed form, and the ability to query the 
Xtable of content's rich meta-data.
X
XWWW: http://www.opendarwin.org/projects/xar/
END-of-xar/pkg-descr
echo c - xar/files
mkdir -p xar/files > /dev/null 2>&1
echo x - xar/files/patch-include-xar.h.in
sed 's/^X//' >xar/files/patch-include-xar.h.in << 'END-of-xar/files/patch-include-xar.h.in'
X--- include/xar.h.in.orig	Wed Jan 25 11:09:33 2006
X+++ include/xar.h.in	Wed Jan 25 11:16:05 2006
X@@ -37,7 +37,7 @@
X #define XAR_VERSION "@XAR_VERSION@"
X 
X #include <sys/types.h>
X-#include <stdint.h>
X+#include <limits.h>
X 
X struct xar_header {
X 	uint32_t magic;
END-of-xar/files/patch-include-xar.h.in
echo x - xar/pkg-plist
sed 's/^X//' >xar/pkg-plist << 'END-of-xar/pkg-plist'
Xbin/xar
Xinclude/xar/xar.h
Xlib/libxar.so.1
Xlib/libxar.so
END-of-xar/pkg-plist
exit
--- xar-1.3.shar ends here ---
Comment 5 Renato Botelho freebsd_committer freebsd_triage 2006-01-25 16:55:45 UTC
State Changed
From-To: feedback->closed

New port added. Marked as BROKEN on 4.x. Thanks for contributing!