Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 2004 22:52:14 +0200 (CEST)
From:      Martin Matuska <martin@tradex.sk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/68125: [NEW PORT] archivers/star-devel
Message-ID:  <20040619205214.7F6F8AD65@mail.tradex.sk>
Resent-Message-ID: <200406192100.i5JL0cjW022860@freefall.freebsd.org>

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

>Number:         68125
>Category:       ports
>Synopsis:       [NEW PORT] archivers/star-devel
>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 Jun 19 21:00:38 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
>Environment:
System: FreeBSD 4.10-RELEASE
>Description:
	Alpha/beta version of the star archiver
>How-To-Repeat:
	Due to similarity, most parts of the port are copied from archivers/star
>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:
#
#	star-devel
#	star-devel/files
#	star-devel/files/patch-RULES::i386-freebsd-cc.rul
#	star-devel/files/patch-star::star.1
#	star-devel/files/patch-RULES::rules.cnf
#	star-devel/Makefile
#	star-devel/distinfo
#	star-devel/pkg-descr
#	star-devel/pkg-plist
#
echo c - star-devel
mkdir -p star-devel > /dev/null 2>&1
echo c - star-devel/files
mkdir -p star-devel/files > /dev/null 2>&1
echo x - star-devel/files/patch-RULES::i386-freebsd-cc.rul
sed 's/^X//' >star-devel/files/patch-RULES::i386-freebsd-cc.rul << 'END-of-star-devel/files/patch-RULES::i386-freebsd-cc.rul'
X--- RULES/i386-freebsd-cc.rul.orig	Wed Oct 16 05:43:39 2002
X+++ RULES/i386-freebsd-cc.rul	Tue Nov 26 03:09:44 2002
X@@ -24,7 +24,7 @@
X ###########################################################################
X 
X CPPFLAGS=	$(CPPOPTS) $(CPPOPTX)
X-CFLAGS=		$(COPTS) $(CWARNOPTS) $(COPTOPT) $(GCCOPTOPT) $(COPTX)
X+CFLAGS+=	-static $(COPTS) $(CWARNOPTS) $(COPTX)
X 
X CPPOPTS=	-I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
X COPTS=
X@@ -47,7 +47,7 @@
X 
X LIBS_PATH=	-L$(OLIBSDIR)
X 
X-LDFLAGS=	$(LDOPTS) $(LDOPTX)
X+LDFLAGS+=	-static $(LDOPTS) $(LDOPTX)
X LDLIBS=		$(LIBS) $(LIBX)
X 
X #LDOPTS=		$(LIBS_PATH) $(LDPATH) $(RUNPATH)
X@@ -57,14 +57,14 @@
X 
X FLOAT_OPTIONS=	
X 
X-CC=		@echo "	==> COMPILING \"$@\""; gcc
X-LDCC=		@echo "	==> LINKING \"$@\""; gcc
X-DYNLD=		@echo "	==> LINKING dynamic library \"$@\""; gcc
X+CC=		@echo "	==> COMPILING \"$@\""; ${CCOM}
X+LDCC=		@echo "	==> LINKING \"$@\""; ${CCOM}
X+DYNLD=		@echo "	==> LINKING dynamic library \"$@\""; ${CCOM}
X RANLIB=		@echo "	==> RANDOMIZING ARCHIVE \"$@\""; ranlib
X ARFLAGS=	cr
X LORDER=		lorder
X TSORT=		tsort
X 
X RMDEP=		:
X-MKDEP=		@echo "	==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); gcc -M
X+MKDEP=		@echo "	==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); ${CCOM} -M
X MKDEP_OUT=
END-of-star-devel/files/patch-RULES::i386-freebsd-cc.rul
echo x - star-devel/files/patch-star::star.1
sed 's/^X//' >star-devel/files/patch-star::star.1 << 'END-of-star-devel/files/patch-star::star.1'
X--- star/star.1.orig	Thu May  9 23:35:20 2002
X+++ star/star.1	Tue Jun 11 22:49:17 2002
X@@ -15,7 +15,7 @@
X .if n .ds s sz
X .TH STAR 1 "02/05/09" "J\*org Schilling" "Schily\'s USER COMMANDS"
X .SH NAME
X-star \- unique standard tape archiver
X+star, ustar \- unique standard tape archiver
X .SH SYNOPSIS
X .B "star\ "
X .I command
END-of-star-devel/files/patch-star::star.1
echo x - star-devel/files/patch-RULES::rules.cnf
sed 's/^X//' >star-devel/files/patch-RULES::rules.cnf << 'END-of-star-devel/files/patch-RULES::rules.cnf'
X
X$FreeBSD: ports/archivers/star/files/patch-RULES_rules.cnf,v 1.1 2002/07/21 00:43:29 naddy Exp $
X
X--- RULES/rules.cnf.orig	Sun Jul 21 02:26:12 2002
X+++ RULES/rules.cnf	Sun Jul 21 02:27:02 2002
X@@ -33,8 +33,9 @@
X #
X # Hack until the <mach>-<os>-*cc.rul files are updated
X #
X-_HCCCOM=	$(OARCH:%-gcc=gcc)
X-HCCCOM=		$(_HCCCOM:%-cc=cc)
X+#_HCCCOM=	$(OARCH:%-gcc=gcc)
X+#HCCCOM=	$(_HCCCOM:%-cc=cc)
X+HCCCOM=		$(C_ARCH)
X 
X _CCCOM=		$(_UNIQ)$(CCCOM)
X __CCCOM=	$(_CCCOM:$(_UNIQ)=$(HCCCOM))
END-of-star-devel/files/patch-RULES::rules.cnf
echo x - star-devel/Makefile
sed 's/^X//' >star-devel/Makefile << 'END-of-star-devel/Makefile'
X#
X# New ports collection makefile for:	star-devel
X# Date created: 19.06.2004 22:27:00 CEST
X# Whom: Martin Matuska <martin@tradex.sk>
X#
X# $FreeBSD$
X
XPORTNAME=	star
XPORTVERSION=	1.5a41
XCATEGORIES=	archivers
XMASTER_SITES=	ftp://ftp.berlios.de/pub/star/alpha/
X
XMAINTAINER=	martin@tradex.sk
XCOMMENT=	Unique standard tape archiver with many enhancements
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:C/a.*//g}
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XMAKE_ENV=	MAKEPROG=${GMAKE} CCOM=${CC}
XMAN1=		star.1
XMLINKS=		star.1 ustar.1
X
Xpost-extract:
X
X.if ${MACHINE_ARCH} != "i386" || ${CC} != "cc"
X	@${LN} -sf i386-freebsd-cc.rul \
X		${WRKSRC}/RULES/${MACHINE_ARCH}-freebsd-${CC}.rul
X.endif
X
Xdo-install:
X	@${INSTALL_PROGRAM} \
X		${WRKSRC}/star/OBJ/${MACHINE_ARCH}-freebsd-${CC}/star \
X		${PREFIX}/bin
X	@cd ${PREFIX}/bin ; ${LN} -f star ustar
X	@${INSTALL_MAN} ${WRKSRC}/star/star.1 ${MANPREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-star-devel/Makefile
echo x - star-devel/distinfo
sed 's/^X//' >star-devel/distinfo << 'END-of-star-devel/distinfo'
XMD5 (star-1.5a41.tar.bz2) = 6b55fc799b8e7c9ca1f6e5e5397929d5
XSIZE (star-1.5a41.tar.bz2) = 519820
END-of-star-devel/distinfo
echo x - star-devel/pkg-descr
sed 's/^X//' >star-devel/pkg-descr << 'END-of-star-devel/pkg-descr'
Xstar is the fastest known implementation of a tar archiver. star
Xdevelopment started 1982, development is still in progress. The
Xcurrent version is stable.
X
XMain advantages over other tar implementations:
X	fifo			- Keeps the tape streaming.
X	pattern matcher		- For a convenient user interface.
X	sophisticated diff	- User tailorable interface for comparing tar 
X				  archives against file trees.
X	no namelen limitation	- Pathnames up to 1024 Bytes may be archived.
X	deals with all 3 times	- Stores/restores all 3 times of a file.
X	does not clobber files	- More recent copies on disk will not be 
X				  clobbered from tape.
X	automatic byte swap	- star automatically detects swapped archives.
X	automatic format detect	- Automatically detects archive formats:
X				  old tar, gnu tar, ansi tar, star.
X	fully ansi compatible	- star is fully ANSI/Posix 1003.1 compatible.
X
XWWW: http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/star.html
X
XAuthor: Joerg Schilling <js@cs.tu-berlin.de>
XPlease mail bugs and suggestions to him.
END-of-star-devel/pkg-descr
echo x - star-devel/pkg-plist
sed 's/^X//' >star-devel/pkg-plist << 'END-of-star-devel/pkg-plist'
Xbin/star
Xbin/ustar
END-of-star-devel/pkg-plist
exit

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



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