From a563485331b407ce18fd1e725d9ad1098186077e Mon Sep 17 00:00:00 2001 From: niklas Date: Wed, 14 Jan 1998 09:23:59 +0000 Subject: [PATCH] GNU tar 1.12 port --- archivers/gtar/Makefile | 32 ++++++++++++++++++++++++++++++++ archivers/gtar/files/md5 | 1 + archivers/gtar/pkg/COMMENT | 1 + archivers/gtar/pkg/DESCR | 7 +++++++ archivers/gtar/pkg/PLIST | 26 ++++++++++++++++++++++++++ 5 files changed, 67 insertions(+) create mode 100644 archivers/gtar/Makefile create mode 100644 archivers/gtar/files/md5 create mode 100644 archivers/gtar/pkg/COMMENT create mode 100644 archivers/gtar/pkg/DESCR create mode 100644 archivers/gtar/pkg/PLIST diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile new file mode 100644 index 00000000000..5d040bb3eca --- /dev/null +++ b/archivers/gtar/Makefile @@ -0,0 +1,32 @@ +# OpenBSD makefile for: gtar +# Version required: 1.12 +# Date created: 14 Jan 1998 +# Whom: niklas +# +# $OpenBSD: Makefile,v 1.1.1.1 1998/01/14 09:23:59 niklas Exp $ +# + +DISTNAME= tar-1.12 +CATEGORIES= archivers +MASTER_SITES= ${MASTER_SITE_GNU} + +MAINTAINER= niklas@openbsd.org + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --program-prefix=g + +post-install: + strip ${PREFIX}/bin/gtar + strip ${PREFIX}/libexec/grmt + if [ ! -f ${PREFIX}/info/dir ]; then \ + sed -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ + fi + install-info ${PREFIX}/info/tar.info ${PREFIX}/info/dir + @echo + @echo "*** You might want to setup a link to /etc/rmt by issuing:" + @echo "*** ln -sf ${PREFIX}/libexec/grmt /etc/rmt" + @echo "*** If so, you should try to remember to reset that link" + @echo "*** to its former value if you ever pkg_delete this package." + @echo + +.include diff --git a/archivers/gtar/files/md5 b/archivers/gtar/files/md5 new file mode 100644 index 00000000000..c028b50ff91 --- /dev/null +++ b/archivers/gtar/files/md5 @@ -0,0 +1 @@ +MD5 (tar-1.12.tar.gz) = 89f2164a014719adc597c333fba89580 diff --git a/archivers/gtar/pkg/COMMENT b/archivers/gtar/pkg/COMMENT new file mode 100644 index 00000000000..357ede0e0af --- /dev/null +++ b/archivers/gtar/pkg/COMMENT @@ -0,0 +1 @@ +A GNU implementation of the traditional tar archiving utility \ No newline at end of file diff --git a/archivers/gtar/pkg/DESCR b/archivers/gtar/pkg/DESCR new file mode 100644 index 00000000000..7132eb5fc0d --- /dev/null +++ b/archivers/gtar/pkg/DESCR @@ -0,0 +1,7 @@ +GNU `tar' saves many files together into a single tape or disk +archive, and can restore individual files from the archive. It includes +multivolume support, the ability to archive sparse files, automatic archive +compression/decompression, remote archives and special features that allow +`tar' to be used for incremental and full backups. This distribution +also includes `rmt', the remote tape server. The `mt' tape drive control +program is in the GNU `cpio' distribution. diff --git a/archivers/gtar/pkg/PLIST b/archivers/gtar/pkg/PLIST new file mode 100644 index 00000000000..e8a94e5f176 --- /dev/null +++ b/archivers/gtar/pkg/PLIST @@ -0,0 +1,26 @@ +bin/gtar +libexec/grmt +@exec echo "You might want to setup a link to /etc/rmt by issuing:" +@exec echo "ln -sf %D/libexec/grmt /etc/rmt" +@unexec if [ X`readlink /etc/rmt` = X%D/libexec/grmt ]; then rm -f /etc/rmt; echo "*** You should reset the /etc/rmt link to whatever it was earlier, perhaps:"; echo "*** ln -s /usr/sbin/rmt /etc"; fi +@unexec install-info --delete %D/info/tar.info %D/info/dir +info/tar.info +info/tar.info-1 +info/tar.info-2 +info/tar.info-3 +info/tar.info-4 +info/tar.info-5 +info/tar.info-6 +info/tar.info-7 +info/tar.info-8 +@exec install-info %D/info/tar.info %D/info/dir +share/locale/de/LC_MESSAGES/tar.mo +share/locale/fr/LC_MESSAGES/tar.mo +share/locale/it/LC_MESSAGES/tar.mo +share/locale/ko/LC_MESSAGES/tar.mo +share/locale/nl/LC_MESSAGES/tar.mo +share/locale/no/LC_MESSAGES/tar.mo +share/locale/pl/LC_MESSAGES/tar.mo +share/locale/pt/LC_MESSAGES/tar.mo +share/locale/sl/LC_MESSAGES/tar.mo +share/locale/sv/LC_MESSAGES/tar.mo