summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormicha <micha@pkgsrc.org>2021-06-25 13:41:48 +0000
committermicha <micha@pkgsrc.org>2021-06-25 13:41:48 +0000
commit9bb8ce57089ae406174a8b7fbbbdc138279c12ef (patch)
treea70ee12b720b7b7a95061389b8c12d7adc0a5c75
parenteda0cdede41b495a52c39d89c0ebd6c11906a4fb (diff)
downloadpkgsrc-9bb8ce57089ae406174a8b7fbbbdc138279c12ef.tar.gz
archivers/tartest: Add version 1.23
Tartest reads a tar archive from stdin and checks this archive for compliance with POSIX.1-1990.
-rw-r--r--archivers/Makefile3
-rw-r--r--archivers/tartest/DESCR2
-rw-r--r--archivers/tartest/Makefile42
-rw-r--r--archivers/tartest/PLIST3
-rw-r--r--archivers/tartest/distinfo6
-rw-r--r--devel/smake/Makefile.common3
6 files changed, 57 insertions, 2 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index fdc9e3cc329..6d05db8c88e 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.185 2021/06/13 08:15:50 nia Exp $
+# $NetBSD: Makefile,v 1.186 2021/06/25 13:41:48 micha Exp $
#
COMMENT= Archivers and compression tools
@@ -129,6 +129,7 @@ SUBDIR+= sarab
SUBDIR+= squsq
SUBDIR+= star
SUBDIR+= szip
+SUBDIR+= tartest
SUBDIR+= torrentzip
SUBDIR+= unace
SUBDIR+= unace-bin
diff --git a/archivers/tartest/DESCR b/archivers/tartest/DESCR
new file mode 100644
index 00000000000..2ca9970c285
--- /dev/null
+++ b/archivers/tartest/DESCR
@@ -0,0 +1,2 @@
+Tartest reads a tar archive from stdin and checks this archive for
+compliance with POSIX.1-1990.
diff --git a/archivers/tartest/Makefile b/archivers/tartest/Makefile
new file mode 100644
index 00000000000..12ac5615fae
--- /dev/null
+++ b/archivers/tartest/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1 2021/06/25 13:41:48 micha Exp $
+
+DISTNAME= schily-2021-06-07
+PKGNAME= tartest-1.23
+CATEGORIES= archivers
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=schilytools/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= micha@NetBSD.org
+HOMEPAGE= https://sourceforge.net/projects/schilytools/
+COMMENT= Test tar archive for POSIX.1-1990 compliance
+LICENSE= cddl-1.0
+
+MAKE_JOBS_SAFE= no
+
+.include "../../mk/bsd.prefs.mk"
+
+TOOL_DEPENDS+= smake>=1.3nb11:../../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}
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+# Shared platform specific code for schilytools (provided by smake package)
+.include "../../devel/smake/Makefile.common"
+
+do-configure:
+ cd ${WRKSRC}/inc && ${SMAKE} ${MAKE_FLAGS}
+
+do-build:
+ cd ${WRKSRC} && for library in libschily ; \
+ do \
+ cd ${WRKSRC}/$${library} && ${SMAKE} ${MAKE_FLAGS}; \
+ done
+ cd ${WRKSRC}/tartest && ${SMAKE} ${MAKE_FLAGS}
+
+do-install:
+ cd ${WRKSRC}/tartest && ${SMAKE} ${MAKE_FLAGS} install
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/tartest/PLIST b/archivers/tartest/PLIST
new file mode 100644
index 00000000000..3af9e34332b
--- /dev/null
+++ b/archivers/tartest/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2021/06/25 13:41:48 micha Exp $
+bin/tartest
+man/man1/tartest.1
diff --git a/archivers/tartest/distinfo b/archivers/tartest/distinfo
new file mode 100644
index 00000000000..8ab387eef99
--- /dev/null
+++ b/archivers/tartest/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/06/25 13:41:48 micha Exp $
+
+SHA1 (schily-2021-06-07.tar.bz2) = 355c162afdffb730e632902620397cc7851c3595
+RMD160 (schily-2021-06-07.tar.bz2) = 8239c965ad9da0d7ce21c39ed28f3f367f929cbf
+SHA512 (schily-2021-06-07.tar.bz2) = f71fb7b521e1b39e87ec9e44b29576eb2e67f0783e24760590f4323243ee1df7e7bdc214aa95d9e3cde6d090c14cab85ddfeaa8ea93b3942997c72c257b53a60
+Size (schily-2021-06-07.tar.bz2) = 4905609 bytes
diff --git a/devel/smake/Makefile.common b/devel/smake/Makefile.common
index dc60e96dbd0..c01792cd3bc 100644
--- a/devel/smake/Makefile.common
+++ b/devel/smake/Makefile.common
@@ -1,5 +1,6 @@
-# $NetBSD: Makefile.common,v 1.6 2021/06/25 10:43:03 micha Exp $
+# $NetBSD: Makefile.common,v 1.7 2021/06/25 13:41:48 micha Exp $
# used by archivers/star/Makefile
+# used by archivers/tartest/Makefile
# used by devel/smake/Makefile
# used by security/mdigest/Makefile
# used by shells/bosh/Makefile