diff options
author | rene <rene@FreeBSD.org> | 2016-02-12 00:22:41 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2016-02-12 00:22:41 +0800 |
commit | 3d8b4808b19dbd10d187245ce4ea0d91a2b72aa4 (patch) | |
tree | 092a4b15eb17d9d9b039a70b65f6292df470b40e | |
parent | ed52bb13bad70c8ef1765df546a4e024417ff0b2 (diff) | |
download | freebsd-ports-gnome-3d8b4808b19dbd10d187245ce4ea0d91a2b72aa4.tar.gz freebsd-ports-gnome-3d8b4808b19dbd10d187245ce4ea0d91a2b72aa4.tar.zst freebsd-ports-gnome-3d8b4808b19dbd10d187245ce4ea0d91a2b72aa4.zip |
archivers/star: revive port
- update MASTER_SITES
- modernize (staging, USES, manual pages, @sample)
- add license information (CDDL + GPLv2)
- regenerate patches (no content changes)
- pass maintainer to submitter
While here:
- add USE_GCC=any to allow build on FreeBSD 10+
PR: 188974
Submitted by: Chris Hutchinson (portmaster@BSDforge.com)
-rw-r--r-- | MOVED | 1 | ||||
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/star/Makefile | 67 | ||||
-rw-r--r-- | archivers/star/distinfo | 2 | ||||
-rw-r--r-- | archivers/star/files/patch-rmt_Makefile | 21 | ||||
-rw-r--r-- | archivers/star/files/patch-rmt_Makefile.man | 18 | ||||
-rw-r--r-- | archivers/star/files/patch-star_Makefile | 22 | ||||
-rw-r--r-- | archivers/star/files/patch-star_star.1 | 17 | ||||
-rw-r--r-- | archivers/star/pkg-descr | 19 | ||||
-rw-r--r-- | archivers/star/pkg-plist | 16 |
10 files changed, 183 insertions, 1 deletions
@@ -6073,7 +6073,6 @@ java/linux-sun-jdk16||2014-05-11|Has expired: Unsupported and known for multiple ports-mgmt/pver||2014-05-11|Has expired: does not support pkgng databases/firebird20-client|databases/firebird25-client|2014-05-11|Firebird 2.0 is EOLed databases/firebird20-server|databases/firebird25-server|2014-05-11|Firebird 2.0 is EOLed -archivers/star||2014-05-15|Has expired: Depends on deprecated smake editors/ved||2014-05-15|Has expired: Depends on deprecated smake japanese/chasen||2014-05-15|Has expired: Unmaintained since 2001 www/openx|www/revive-adserver|2014-05-15|Upstream obsolete, forked diff --git a/archivers/Makefile b/archivers/Makefile index 7b5df4a27274..100dbad3545e 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -197,6 +197,7 @@ SUBDIR += snzip SUBDIR += squeeze SUBDIR += squsq + SUBDIR += star SUBDIR += stuffit SUBDIR += szip SUBDIR += tardy diff --git a/archivers/star/Makefile b/archivers/star/Makefile new file mode 100644 index 000000000000..ecb606838c64 --- /dev/null +++ b/archivers/star/Makefile @@ -0,0 +1,67 @@ +# Created by: Andreas Klemm <andreas@klemm.gtn.com> +# $FreeBSD$ + +PORTNAME= star +DISTVERSION= 1.5.2 +CATEGORIES= archivers +MASTER_SITES= http://BSDforge.com/projects/source/srchivers/star/ + +MAINTAINER= portmaster@BSDforge.com +COMMENT= Unique standard tape archiver with many enhancements + +LICENSE= CDDL GPLv2 +LICENSE_COMB= multi +LICENSE_FILES= ${WRKSRC}/CDDL.Schily.txt + +BUILD_DEPENDS= smake:${PORTSDIR}/devel/smake + +USES= gettext iconv tar:bzip2 +USE_GCC= any + +.if defined(NO_INSTALL_MANPAGES) +XMKFLAGS= XMK_FILE="" +.endif + +MAKEFLAGS+= DEFMANBASE=. +MAKE_ENV+= MAKEFLAGS=${MAKEFLAGS} + +PORTDOCS= README README.crash README.mtio README.pattern STARvsGNUTAR \ + README.ACL README.largefiles README.otherbugs \ + README.posix-2001 + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + +post-patch: + @${FIND} ${WRKSRC} -type f -print \ + | ${XARGS} ${REINPLACE_CMD} -e "s@/etc/default@${PREFIX}/etc@g" + @${MV} ${WRKSRC}/rmt/rmt.1 ${WRKSRC}/rmt/srmt.1 + +do-build: + cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} smake + cd ${WRKSRC}/star && ${SETENV} ${MAKE_ENV} smake -f Makefile.doc + +do-install: + cd ${WRKSRC}/star && ${SETENV} ${MAKE_ENV} smake \ + ${INSTALL_TARGET} INS_BASE=${STAGEDIR}${PREFIX} ${XMKFLAGS} + cd ${WRKSRC}/rmt && ${SETENV} ${MAKE_ENV} smake \ + ${INSTALL_TARGET} INS_BASE=${STAGEDIR}${PREFIX} ${XMKFLAGS} + cd ${WRKSRC}/tartest && ${SETENV} ${MAKE_ENV} smake \ + ${INSTALL_TARGET} INS_BASE=${STAGEDIR}${PREFIX} ${XMKFLAGS} +# Ugh... cmake doesn't like install-strip + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/star + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/srmt + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tartest + ${INSTALL_DATA} ${WRKSRC}/star/star.dfl ${STAGEDIR}${PREFIX}/etc/star.sample + ${INSTALL_DATA} ${WRKSRC}/rmt/rmt.dfl ${STAGEDIR}${PREFIX}/etc/rmt.sample + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for FILE in ${PORTDOCS} + (cd ${WRKSRC}/star && ${INSTALL_DATA} ${FILE} ${STAGEDIR}${DOCSDIR}/${FILE}) +.endfor +.endif + +.include <bsd.port.mk> diff --git a/archivers/star/distinfo b/archivers/star/distinfo new file mode 100644 index 000000000000..2eac926dcbb5 --- /dev/null +++ b/archivers/star/distinfo @@ -0,0 +1,2 @@ +SHA256 (star-1.5.2.tar.bz2) = 762645b98af13bb9b0512812814ec8e90635d1400c94eb5911e9774daed2addf +SIZE (star-1.5.2.tar.bz2) = 874558 diff --git a/archivers/star/files/patch-rmt_Makefile b/archivers/star/files/patch-rmt_Makefile new file mode 100644 index 000000000000..79b88cadf47e --- /dev/null +++ b/archivers/star/files/patch-rmt_Makefile @@ -0,0 +1,21 @@ + +$FreeBSD$ + +--- rmt/Makefile.orig 2016-02-10 20:47:23 UTC ++++ rmt/Makefile +@@ -6,13 +6,13 @@ include $(SRCROOT)/$(RULESDIR)/rules.to + ########################################################################### + + INSDIR= sbin +-TARGET= rmt ++TARGET= srmt + CPPOPTS += -DUSE_REMOTE + CPPOPTS += -DUSE_LARGEFILES + CFILES= rmt.c + #HFILES= + LIBS= -ldeflt -lschily $(LIB_SOCKET) +-XMK_FILE= Makefile.man Makefile.dfl Makefile.doc ++XMK_FILE= Makefile.man + + ########################################################################### + include $(SRCROOT)/$(RULESDIR)/rules.cmd diff --git a/archivers/star/files/patch-rmt_Makefile.man b/archivers/star/files/patch-rmt_Makefile.man new file mode 100644 index 000000000000..d98338156aaa --- /dev/null +++ b/archivers/star/files/patch-rmt_Makefile.man @@ -0,0 +1,18 @@ + +$FreeBSD$ + +--- rmt/Makefile.man.orig 2016-02-10 20:47:23 UTC ++++ rmt/Makefile.man +@@ -8,10 +8,10 @@ include $(SRCROOT)/$(RULESDIR)/rules.to + ########################################################################### + + MANDIR= man +-TARGETMAN= rmt ++TARGETMAN= srmt + MANSECT= $(MANSECT_CMD) + MANSUFFIX= $(MANSUFF_CMD) +-MANFILE= rmt.1 ++MANFILE= srmt.1 + + ########################################################################### + include $(SRCROOT)/$(RULESDIR)/rules.man diff --git a/archivers/star/files/patch-star_Makefile b/archivers/star/files/patch-star_Makefile new file mode 100644 index 000000000000..42e4205fd3b1 --- /dev/null +++ b/archivers/star/files/patch-star_Makefile @@ -0,0 +1,22 @@ +--- star/Makefile.orig 2016-02-10 20:47:23 UTC ++++ star/Makefile +@@ -15,7 +15,7 @@ include $(SRCROOT)/$(RULESDIR)/rules.to + INSDIR= bin + TARGET= star + #SYMLINKS= ustar tar +-SYMLINKS= ustar tar gnutar suntar scpio spax ++SYMLINKS= ustar suntar scpio spax + CPPOPTS += -D__STAR__ + CPPOPTS += -DSET_CTIME -DFIFO -DUSE_MMAP -DUSE_REMOTE -DUSE_RCMD_RSH + #CPPOPTS += -DSET_CTIME -DFIFO -DUSE_MMAP +@@ -52,8 +52,8 @@ LIBS= -ldeflt -lrmt -lfind -lschily $(L + # + # Wenn -lfind, dann auch $(LIB_INTL) + # +-XMK_FILE= Makefile.man ustarman.mk starformatman.mk scpioman.mk gnutarman.mk \ +- spaxman.mk suntarman.mk Makefile.dfl Makefile.doc ++XMK_FILE= Makefile.man starformatman.mk scpioman.mk \ ++ spaxman.mk suntarman.mk + + star_fat.c: star.c + $(RM) $(RM_FORCE) $@; cp star.c $@ diff --git a/archivers/star/files/patch-star_star.1 b/archivers/star/files/patch-star_star.1 new file mode 100644 index 000000000000..5c459c9297c0 --- /dev/null +++ b/archivers/star/files/patch-star_star.1 @@ -0,0 +1,17 @@ +--- star/star.1.orig 2016-02-10 20:47:23 UTC ++++ star/star.1 +@@ -32,14 +32,6 @@ star \- unique standard tape archiver + .I file1 .\|.\|. filen + [\fIfind_expr\fP] + .br +-.ie n .B "tar\ \ " +-.el .B "tar\ \ \ " +-.I command +-[\fIoptions\fP] +-.ie n .B "\ \ \ \ \ \ \ " +-.el .B "\ \ \ \ \ \ \ \ \ " +-.I file1 .\|.\|. filen +-.br + .B "star\ " + .ie n .B "\-copy\ \ " + .el .B "\-copy\ \ \ \ " diff --git a/archivers/star/pkg-descr b/archivers/star/pkg-descr new file mode 100644 index 000000000000..c8dfaa1ab994 --- /dev/null +++ b/archivers/star/pkg-descr @@ -0,0 +1,19 @@ +Star is the fastest known implementation of a tar archiver. + +Main advantages over other tar implementations: + fifo - Keeps the tape streaming. + pattern matcher - For a convenient user interface. + sophisticated diff - User tailorable interface for comparing tar + archives against file trees. + no namelen limitation - Pathnames up to 1024 Bytes may be archived. + deals with all 3 times - Stores/restores all 3 times of a file. + does not clobber files - More recent copies on disk will not be + clobbered from tape. + automatic byte swap - star automatically detects swapped archives. + automatic format detect - Automatically detects archive formats: + old tar, gnu tar, ansi tar, star. + fully ansi compatible - star is fully ANSI/Posix 1003.1 compatible. + +Please mail bugs and suggestions to: +Author: Joerg Schilling <js@cs.tu-berlin.de> +WWW: http://cdrecord.berlios.de/old/private/star.html diff --git a/archivers/star/pkg-plist b/archivers/star/pkg-plist new file mode 100644 index 000000000000..69c0131f5deb --- /dev/null +++ b/archivers/star/pkg-plist @@ -0,0 +1,16 @@ +bin/scpio +bin/spax +bin/star +bin/suntar +bin/tartest +bin/ustar +@sample etc/rmt.sample +@sample etc/star.sample +man/man1/scpio.1.gz +man/man1/spax.1.gz +man/man1/srmt.1.gz +man/man1/star.1.gz +man/man1/suntar.1.gz +man/man1/tartest.1.gz +man/man5/star.5.gz +sbin/srmt |