pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/star star: update to 1.5.4nb1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/7e6599ed683c
branches: trunk
changeset: 387173:7e6599ed683c
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Nov 10 19:55:54 2018 +0000
description:
star: update to 1.5.4nb1.
Packaged for wip by Michael B?uerle.
Changes: too many to list, last distfile was from 2003.
diffstat:
archivers/star/DESCR | 14 +--
archivers/star/Makefile | 103 ++++++++++++++++--------
archivers/star/PLIST | 88 ++++++++++++++-------
archivers/star/distinfo | 19 +---
archivers/star/patches/patch-aa | 19 ----
archivers/star/patches/patch-ab | 12 --
archivers/star/patches/patch-ac | 15 ---
archivers/star/patches/patch-ad | 64 ---------------
archivers/star/patches/patch-ae | 27 ------
archivers/star/patches/patch-af | 19 ----
archivers/star/patches/patch-lib_fexec.c | 29 -------
archivers/star/patches/patch-star_fflags.c | 14 ---
archivers/star/patches/patch-star_star__unix.c | 14 ---
13 files changed, 136 insertions(+), 301 deletions(-)
diffs (truncated from 505 to 300 lines):
diff -r a100a0829bb3 -r 7e6599ed683c archivers/star/DESCR
--- a/archivers/star/DESCR Sat Nov 10 19:51:45 2018 +0000
+++ b/archivers/star/DESCR Sat Nov 10 19:55:54 2018 +0000
@@ -1,11 +1,3 @@
-Star is a full-featured tar command that can access local and remote
-tar archives (files and tapes). It reads and writes POSIX compliant
-tar archives as well as non-POSIX GNU tar archives.
-Star is the first POSIX.1-2001 compliant tar implementation. It includes
-a FIFO for speed, a pattern matcher, multi-volume support, the ability to
-archive sparse files and ACLs and the ability to archive extended file flags.
-It supports automatic archive format detection, automatic byte order
-recognition, automatic archivecompression/decompression. It includes the
-only known platform independent "rmt" server program that implements all
-Sun/GNU/Schily/BSD enhancements and allows any "rmt" client from any OS to
-contact any OS as server.
+The Schily tape archiver
+
+Unique standard tape archiver (the oldest free TAR implementation).
diff -r a100a0829bb3 -r 7e6599ed683c archivers/star/Makefile
--- a/archivers/star/Makefile Sat Nov 10 19:51:45 2018 +0000
+++ b/archivers/star/Makefile Sat Nov 10 19:55:54 2018 +0000
@@ -1,46 +1,81 @@
-# $NetBSD: Makefile,v 1.37 2016/12/11 03:58:36 dholland Exp $
-#
+# $NetBSD: Makefile,v 1.38 2018/11/10 19:55:54 wiz Exp $
-DISTNAME= star-1.4.3
-PKGREVISION= 4
+DISTNAME= schily-2018-10-30
+PKGNAME= star-1.5.4
+PKGREVISION= 1
CATEGORIES= archivers
-MASTER_SITES= http://downloads.sourceforge.net/project/s-tar/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=schilytools/}
+EXTRACT_SUFX= .tar.bz2
-MAINTAINER= uebayasi%NetBSD.org@localhost
-HOMEPAGE= http://cdrecord.berlios.de/old/private/star.html
-HOMEPAGE= http://freecode.com/projects/star
-COMMENT= The fastest tar like archiver for UNIX
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://s-tar.sf.net/
+COMMENT= Unique standard tape archiver
+LICENSE= cddl-1.0
+
+MAKE_JOBS_SAFE= no
-USE_TOOLS+= gmake
-MAKE_FLAGS+= INS_BASE=${DESTDIR}${PREFIX}
-MAKE_FLAGS+= RUNPATH=
-MAKE_FLAGS+= MANDIR=${PKGMANDIR}
+USE_TOOLS+= tbl
+TOOL_DEPENDS+= smake-[0-9]*:../../devel/smake
+SMAKE= MAKEFLAGS= smake
+MAKE_FLAGS+= DESTDIR=${DESTDIR} INS_BASE=${PREFIX} DEFMANBASE=. MANDIR=${PKGMANDIR}
+# Honor CPPFLAGS, CFLAGS and LDFLAGS
+MAKE_FLAGS+= CPPOPTX=${CPPFLAGS:Q} COPTX=${CFLAGS:Q} LDOPTX=${LDFLAGS:Q}
.include "../../mk/bsd.prefs.mk"
-.if !empty(CC:M*gcc*)
-MAKE_ENV+= CCOM=gcc
+# The default location is /etc/default/star
+# We patch the documentation appropriately. Additionally, we also provide a
+# MESSAGE stating the reasons we do this, as required by the license.
+STAR_CONF?= ${PKG_SYSCONFDIR}/star
+
+.if ${STAR_CONF} != "/etc/default/star"
+MESSAGE_SRC+= MESSAGE.star
+MESSAGE_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV}
+MESSAGE_SUBST+= STAR_CONF=${STAR_CONF:Q}
.endif
-# without this installing ploughs on case-insensitive fses
-post-extract:
- cd ${WRKSRC} && mv INSTALL INSTALL.txt
+CONF_FILES= ${PREFIX}/share/examples/star/star ${STAR_CONF}
+AUTO_MKDIRS= yes
+
+SUBST_CLASSES+= fix
+SUBST_STAGE.fix= pre-configure
+SUBST_FILES.fix+= star/star.1
+SUBST_FILES.fix+= star/star.dfl
+SUBST_FILES.fix+= star/defaults.c
+SUBST_SED.fix= -e "s,/etc/default/star,${STAR_CONF},g"
+SUBST_MESSAGE.fix= Replace defaults file paths.
+
+# Shared platform specific code for schilytools (provided by smake package)
+.include "../../devel/smake/Makefile.common"
+
+do-configure:
+ cd ${WRKSRC}/inc && ${SMAKE} ${MAKE_FLAGS}
-pre-build:
- set -e; \
- cd ${WRKSRC}/RULES && for i in arm mipsel x86_64 sparc64 powerpc; do \
- ${LN} -s i386-netbsd-gcc.rul "$$i"-netbsd-gcc.rul; \
- ${LN} -s i386-netbsd-cc.rul "$$i"-netbsd-cc.rul; done
- cd ${WRKSRC}/RULES && \
- ${LN} -s i586-linux-gcc.rul x86_64-linux-gcc.rul; \
- ${LN} -s i586-linux-cc.rul x86_64-linux-cc.rul; \
- ${LN} -s os-freebsd.id os-dragonfly.id; \
- ${LN} -s i386-freebsd-gcc.rul x86_64-freebsd-gcc.rul; \
- ${LN} -s i386-freebsd-cc.rul x86_64-freebsd-cc.rul; \
- ${LN} -s i386-freebsd-gcc.rul amd64-freebsd-gcc.rul; \
- ${LN} -s i386-freebsd-cc.rul amd64-freebsd-cc.rul; \
- ${LN} -s x86_64-netbsd-cc.rul amd64-openbsd-cc.rul; \
- ${LN} -s sun4-sunos5-cc.rul sun4v-sunos5-cc.rul; \
- ${LN} -s sun4-sunos5-gcc.rul sun4v-sunos5-gcc.rul
+do-build:
+ cd ${WRKSRC} && for library in \
+ libschily libdeflt libfind librmt; \
+ do \
+ cd ${WRKSRC}/$${library} && ${SMAKE} ${MAKE_FLAGS}; \
+ done
+ cd ${WRKSRC}/star && ${SMAKE} ${MAKE_FLAGS}
+
+# Process tables in manpage
+post-build:
+ cd ${WRKSRC} && if ${TEST} -f star/pkgsrc_tbl.done; then :; \
+ else \
+ ${TBL} star/spax.1 >star/spax.1.tmp && \
+ ${MV} -f star/spax.1.tmp star/spax.1 && \
+ ${TBL} star/star.4 >star/star.4.tmp && \
+ ${MV} -f star/star.4.tmp star/star.4 && \
+ ${TOUCH} star/pkgsrc_tbl.done; \
+ fi
+
+do-test:
+ cd ${WRKSRC}/star && cd tests ; ${SMAKE} ${MAKE_FLAGS} tests
+
+do-install:
+ cd ${WRKSRC}/star && ${SMAKE} ${MAKE_FLAGS} install
+ ${INSTALL_DATA} ${WRKSRC}/star/star.dfl \
+ ${DESTDIR}${PREFIX}/share/examples/star/star
.include "../../mk/bsd.pkg.mk"
diff -r a100a0829bb3 -r 7e6599ed683c archivers/star/PLIST
--- a/archivers/star/PLIST Sat Nov 10 19:51:45 2018 +0000
+++ b/archivers/star/PLIST Sat Nov 10 19:55:54 2018 +0000
@@ -1,32 +1,62 @@
-@comment $NetBSD: PLIST,v 1.2 2002/12/16 23:21:06 grant Exp $
-bin/mt
-bin/smt
+@comment $NetBSD: PLIST,v 1.3 2018/11/10 19:55:54 wiz Exp $
+bin/gnutar
+bin/scpio
+bin/spax
bin/star
-bin/tartest
+bin/suntar
+bin/tar
bin/ustar
-include/align.h
-include/avoffset.h
-lib/libdeflt.a
-lib/librmt.a
-lib/libschily.a
-man/man1/rmt.1
+man/man1/gnutar.1
+man/man1/scpio.1
+man/man1/spax.1
man/man1/star.1
-man/man1/tartest.1
-man/man3/mtg2rmtg.3
-man/man3/rmtclose.3
-man/man3/rmtdebug.3
-man/man3/rmtfilename.3
-man/man3/rmtg2mtg.3
-man/man3/rmtgetconn.3
-man/man3/rmthostname.3
-man/man3/rmtinit.3
-man/man3/rmtioctl.3
-man/man3/rmtopen.3
-man/man3/rmtread.3
-man/man3/rmtseek.3
-man/man3/rmtstatus.3
-man/man3/rmtwrite.3
-man/man3/rmtxstatus.3
-man/man5/makefiles.5
-man/man5/makerules.5
-sbin/rmt
+man/man1/suntar.1
+man/man1/ustar.1
+man/man5/star.5
+share/doc/star/README
+share/doc/star/README.ACL
+share/doc/star/README.crash
+share/doc/star/README.largefiles
+share/doc/star/README.mtio
+share/doc/star/README.otherbugs
+share/doc/star/README.pattern
+share/doc/star/README.posix-2001
+share/doc/star/STARvsGNUTAR
+share/doc/star/testscripts/00INDEX
+share/doc/star/testscripts/100char_longlink.tar
+share/doc/star/testscripts/100char_longlink.tar-non-compliant
+share/doc/star/testscripts/README.GNUtar-multivol.fail
+share/doc/star/testscripts/README.create-and-remove
+share/doc/star/testscripts/README.gtarfail
+share/doc/star/testscripts/README.largefiles
+share/doc/star/testscripts/README.longnames
+share/doc/star/testscripts/README.paxbug
+share/doc/star/testscripts/README.quicktest
+share/doc/star/testscripts/create-and-remove.tar
+share/doc/star/testscripts/dirloop.tar
+share/doc/star/testscripts/g-hdr.pax.gz
+share/doc/star/testscripts/gnu-multi-fail-volume1.gtar
+share/doc/star/testscripts/gnu-multi-fail-volume2.gtar
+share/doc/star/testscripts/gtarfail.tar
+share/doc/star/testscripts/gtarfail2.tar
+share/doc/star/testscripts/long.ustar.gz
+share/doc/star/testscripts/mk
+share/doc/star/testscripts/mk2
+share/doc/star/testscripts/not_a_tar_file
+share/doc/star/testscripts/not_a_tar_file2
+share/doc/star/testscripts/old-file.tar
+share/doc/star/testscripts/pax-big-10g.tar.bz2
+share/doc/star/testscripts/quicktest.filelist
+share/doc/star/testscripts/remove.tar
+share/doc/star/testscripts/tartest-quicktest.out
+share/doc/star/testscripts/types-star-oldsparse.tar.gz
+share/doc/star/testscripts/typescript
+share/doc/star/testscripts/ustar-all-filetypes.tar
+share/doc/star/testscripts/ustar-all-quicktest-past-contig.tar
+share/doc/star/testscripts/ustar-all-quicktest.tar
+share/doc/star/testscripts/ustar-all-quicktest.tar-without-cont-file
+share/doc/star/testscripts/ustar-bad-filetypes.tar
+share/doc/star/testscripts/ustar-bad-signedsum.tar
+share/doc/star/testscripts/ustar-big-2g.tar.bz2
+share/doc/star/testscripts/ustar-big-8g.tar.bz2
+share/examples/star/star
diff -r a100a0829bb3 -r 7e6599ed683c archivers/star/distinfo
--- a/archivers/star/distinfo Sat Nov 10 19:51:45 2018 +0000
+++ b/archivers/star/distinfo Sat Nov 10 19:55:54 2018 +0000
@@ -1,15 +1,6 @@
-$NetBSD: distinfo,v 1.13 2015/11/03 00:56:26 agc Exp $
+$NetBSD: distinfo,v 1.14 2018/11/10 19:55:54 wiz Exp $
-SHA1 (star-1.4.3.tar.gz) = c59b68d97edba77a9ac6000be04d457ded1eefe9
-RMD160 (star-1.4.3.tar.gz) = f7ec71bfab1723c994e5eed7e6818394a41d44d9
-SHA512 (star-1.4.3.tar.gz) = 984001fe5c32775706d1e36220e1bccd2ffc4d87a969df05b5953b55192b2dc7ac663449c09688b87c13d6e57e1a230f79dc0aedecfe9e0f7e9ddbbb70f6ee0d
-Size (star-1.4.3.tar.gz) = 520388 bytes
-SHA1 (patch-aa) = 4fe4af396adf23eb7ac071b02a7bf726ab1e4318
-SHA1 (patch-ab) = aea3af88d3bedf2ce7a7744c90062ba4e57bb79f
-SHA1 (patch-ac) = 81e6361db3903e5b04fae4e70ad3a37f9a2f4fa7
-SHA1 (patch-ad) = 2be98feac17350b37c242a6f84f539e81330ee14
-SHA1 (patch-ae) = 9f08ee4a8f1f150d08d8c4688e0c5061ad2db52e
-SHA1 (patch-af) = b28ca20dd8cd5326a9d9836880f09740abca7525
-SHA1 (patch-lib_fexec.c) = 5a40df04d84c0e44037cdcc723325cce741e2e0f
-SHA1 (patch-star_fflags.c) = 66fb755de21734eed5c18c896c7aa2ed13696d99
-SHA1 (patch-star_star__unix.c) = 3c478f3cd166f8ee03477a3cb00ef8609be53f4b
+SHA1 (schily-2018-10-30.tar.bz2) = 2c70cd99d732c70193577d61793c32399fcc7378
+RMD160 (schily-2018-10-30.tar.bz2) = f5a843cde89f3e5d54b1925da288fab97990d3eb
+SHA512 (schily-2018-10-30.tar.bz2) = 72765d11eff52f744a707605a53365da69037c3d982c7b8f4cee98f109f856ee28af3420f63c3fe5a7890649c4eb0fa4dd69d367b7ec41026f288d6237c98d96
+Size (schily-2018-10-30.tar.bz2) = 4311065 bytes
diff -r a100a0829bb3 -r 7e6599ed683c archivers/star/patches/patch-aa
--- a/archivers/star/patches/patch-aa Sat Nov 10 19:51:45 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2002/09/25 06:35:49 cjep Exp $
-
---- RULES/mk-gmake.id.orig Sun Dec 6 12:51:19 1998
-+++ RULES/mk-gmake.id Tue Sep 24 21:07:24 2002
-@@ -44,8 +44,14 @@
- XK_ARCH:= $(shell uname -m | tr '[A-Z]' '[a-z]' | tr ', /\\()"' ',//////' | tr ',/' ',-')
- XM_ARCH:= $(shell $(_ARCHCMD) | tr '[A-Z]' '[a-z]' | tr ', /\\()"' ',//////' | tr ',/' ',-')
-
-+__OS:= $(shell uname -s)
-+
- P_ARCH= $(XP_ARCH)
-+ifeq ($(__OS),NetBSD)
-+K_ARCH= $(XP_ARCH)
-+else
- K_ARCH= $(XK_ARCH)
-+endif
- M_ARCH= $(XM_ARCH)
-
- _XP_ARCH= $(XP_ARCH:unknown=$(K_ARCH))
diff -r a100a0829bb3 -r 7e6599ed683c archivers/star/patches/patch-ab
--- a/archivers/star/patches/patch-ab Sat Nov 10 19:51:45 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2004/05/02 22:26:12 danw Exp $
-
---- DEFAULTS/Defaults.darwin.orig Sun May 2 17:01:01 2004
-+++ DEFAULTS/Defaults.darwin
-@@ -34,5 +34,5 @@ DEFUMASK= 002
- #
- DEFINSMODEF= 444
- DEFINSMODEX= 755
--DEFINSUSR= bin
--DEFINSGRP= bin
-+DEFINSUSR= root
-+DEFINSGRP= wheel
diff -r a100a0829bb3 -r 7e6599ed683c archivers/star/patches/patch-ac
--- a/archivers/star/patches/patch-ac Sat Nov 10 19:51:45 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2007/12/30 17:25:42 cjep Exp $
Home |
Main Index |
Thread Index |
Old Index