From owner-freebsd-ports Sat Jan 6 11:10:15 2001 From owner-freebsd-ports@FreeBSD.ORG Sat Jan 6 11:10:02 2001 Return-Path: Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E762A37B402 for ; Sat, 6 Jan 2001 11:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f06JA1i32570; Sat, 6 Jan 2001 11:10:01 -0800 (PST) (envelope-from gnats) Resent-Date: Sat, 6 Jan 2001 11:10:01 -0800 (PST) Resent-Message-Id: <200101061910.f06JA1i32570@freefall.freebsd.org> Resent-From: gnats-admin@FreeBSD.org (GNATS Management) Resent-To: freebsd-ports@FreeBSD.org Resent-Reply-To: gnats-admin@FreeBSD.org, George Reid Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by hub.freebsd.org (Postfix) with ESMTP id 45D2D37B402 for ; Sat, 6 Jan 2001 11:01:56 -0800 (PST) Received: from sobek.openirc.co.uk ([62.252.8.220]) by mta03-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20010106190153.WALL10171.mta03-svc.ntlworld.com@sobek.openirc.co.uk> for ; Sat, 6 Jan 2001 19:01:53 +0000 Message-Id: Date: Sat, 6 Jan 2001 19:06:50 +0000 (GMT) From: George Reid To: FreeBSD-gnats-submit@freebsd.org Subject: ports/24114: New port: libtar: A library for manipulating POSIX and GNU tar files Resent-Sender: gnats@FreeBSD.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24114 >Category: ports >Synopsis: New port: libtar: A library for manipulating POSIX and GNU tar files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 06 11:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: George Reid >Release: FreeBSD 5.0-CURRENT i386 >Organization: FreeBSD UKUG >Environment: n/a >Description: libtar is a C library for manipulating tar archives. It supports both the strict POSIX tar format and many of the commonly-used GNU extensions. - George Reid greid@ukug.uk.freebsd.org >How-To-Repeat: n/a >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: # # libtar # libtar/Makefile # libtar/distinfo # libtar/files # libtar/files/patch-aa # libtar/files/patch-ab # libtar/files/patch-ac # libtar/files/patch-ad # libtar/pkg-comment # libtar/pkg-descr # libtar/pkg-plist # echo c - libtar mkdir -p libtar > /dev/null 2>&1 echo x - libtar/Makefile sed 's/^X//' >libtar/Makefile << 'END-of-libtar/Makefile' X# New ports collection makefile for: libtar X# Date created: 06 January 2001 X# Whom: George Reid X# X# $FreeBSD$ X# X XPORTNAME= libtar XPORTVERSION= 1.2 XCATEGORIES= devel XMASTER_SITES= ftp://ftp-dev.cso.uiuc.edu/pub/libtar/ X XMAINTAINER= greid@ukug.uk.freebsd.org X XGNU_CONFIGURE= yes XUSE_GMAKE= yes X XMAN3= libtar_hash_new.3 libtar_list_new.3 tar_append_file.3 \ X tar_block_read.3 tar_extract_all.3 tar_extract_file.3 \ X tar_open.3 th_get_pathname.3 th_print_long_ls.3 \ X th_read.3 th_set_from_stat.3 X XINSTALLS_SHLIB= yes X X.include END-of-libtar/Makefile echo x - libtar/distinfo sed 's/^X//' >libtar/distinfo << 'END-of-libtar/distinfo' XMD5 (libtar-1.2.tar.gz) = ad926b68bcf279a0d5e8ae656dc6a612 END-of-libtar/distinfo echo c - libtar/files mkdir -p libtar/files > /dev/null 2>&1 echo x - libtar/files/patch-aa sed 's/^X//' >libtar/files/patch-aa << 'END-of-libtar/files/patch-aa' X--- lib/append.c.orig Sat Jan 6 17:47:16 2001 X+++ lib/append.c Sat Jan 6 17:47:40 2001 X@@ -16,7 +16,6 @@ X #include X #include X #include X-#include X X #include X END-of-libtar/files/patch-aa echo x - libtar/files/patch-ab sed 's/^X//' >libtar/files/patch-ab << 'END-of-libtar/files/patch-ab' X--- lib/encode.c.orig Sat Jan 6 17:47:54 2001 X+++ lib/encode.c Sat Jan 6 17:47:59 2001 X@@ -15,7 +15,6 @@ X X #include X #include X-#include X X #ifdef STDC_HEADERS X # include END-of-libtar/files/patch-ab echo x - libtar/files/patch-ac sed 's/^X//' >libtar/files/patch-ac << 'END-of-libtar/files/patch-ac' X--- lib/extract.c.orig Sat Jan 6 17:48:06 2001 X+++ lib/extract.c Sat Jan 6 17:48:12 2001 X@@ -15,7 +15,6 @@ X X #include X #include X-#include X #include X #include X #include END-of-libtar/files/patch-ac echo x - libtar/files/patch-ad sed 's/^X//' >libtar/files/patch-ad << 'END-of-libtar/files/patch-ad' X--- doc/Makefile.in.orig Sat Nov 25 01:44:57 2000 X+++ doc/Makefile.in Sat Jan 6 19:00:35 2001 X@@ -67,46 +67,57 @@ X $(MKDIR) $(DESTDIR)$(mandir)/man3 X $(INSTALL_DATA) $(srcdir)/tar_open.3 $(DESTDIR)$(mandir)/man3 X for i in $(TAR_OPEN_SO); do \ X- echo ".so man3/tar_open.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \ X- done X+ $(LN_S) $(DESTDIR)$(mandir)/man3/tar_open.3 \ X+ $(DESTDIR)$(mandir)/man3/$${i}.3; \ X+ done X $(INSTALL_DATA) $(srcdir)/tar_append_file.3 $(DESTDIR)$(mandir)/man3 X for i in $(TAR_APPEND_FILE_SO); do \ X- echo ".so man3/tar_append_file.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \ X+ $(LN_S) $(DESTDIR)$(mandir)/man3/tar_append_file.3 \ X+ $(DESTDIR)$(mandir)/man3/$${i}.3; \ X done X $(INSTALL_DATA) $(srcdir)/tar_block_read.3 $(DESTDIR)$(mandir)/man3 X for i in $(TAR_BLOCK_READ_SO); do \ X- echo ".so man3/tar_block_read.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \ X+ $(LN_S) $(DESTDIR)$(mandir)/man3/tar_block_read.3 \ X+ $(DESTDIR)$(mandir)/man3/$${i}.3; \ X done X $(INSTALL_DATA) $(srcdir)/th_read.3 $(DESTDIR)$(mandir)/man3 X for i in $(TH_READ_SO); do \ X- echo ".so man3/th_read.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \ X+ $(LN_S) $(DESTDIR)$(mandir)/man3/th_read.3 \ X+ $(DESTDIR)$(mandir)/man3/$${i}.3; \ X done X $(INSTALL_DATA) $(srcdir)/th_set_from_stat.3 $(DESTDIR)$(mandir)/man3 X for i in $(TH_SET_FROM_STAT_SO); do \ X- echo ".so man3/th_set_from_stat.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \ X+ $(LN_S) $(DESTDIR)$(mandir)/man3/th_set_from_stat.3 \ X+ $(DESTDIR)$(mandir)/man3/$${i}.3; \ X done X $(INSTALL_DATA) $(srcdir)/tar_extract_file.3 $(DESTDIR)$(mandir)/man3 X for i in $(TAR_EXTRACT_FILE_SO); do \ X- echo ".so man3/tar_extract_file.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \ X+ $(LN_S) $(DESTDIR)$(mandir)/man3/tar_extract_file.3 \ X+ $(DESTDIR)$(mandir)/man3/$${i}.3; \ X done X $(INSTALL_DATA) $(srcdir)/th_get_pathname.3 $(DESTDIR)$(mandir)/man3 X for i in $(TH_GET_PATHNAME_SO); do \ X- echo ".so man3/th_get_pathname.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \ X+ $(LN_S) $(DESTDIR)$(mandir)/man3/th_get_pathname.3 \ X+ $(DESTDIR)$(mandir)/man3/$${i}.3; \ X done X $(INSTALL_DATA) $(srcdir)/th_print_long_ls.3 $(DESTDIR)$(mandir)/man3 X for i in $(TH_PRINT_LONG_LS_SO); do \ X- echo ".so man3/th_print_long_ls.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \ X+ $(LN_S) $(DESTDIR)$(mandir)/man3/th_print_long_ls.3 \ X+ $(DESTDIR)$(mandir)/man3/$${i}.3; \ X done X $(INSTALL_DATA) $(srcdir)/tar_extract_all.3 $(DESTDIR)$(mandir)/man3 X for i in $(TAR_EXTRACT_ALL_SO); do \ X- echo ".so man3/tar_extract_all.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \ X+ $(LN_S) $(DESTDIR)$(mandir)/man3/tar_extract_all.3 \ X+ $(DESTDIR)$(mandir)/man3/$${i}.3; \ X done X $(INSTALL_DATA) @LHPKG@_hash_new.3 $(DESTDIR)$(mandir)/man3 X for i in $(@LHPKG@_HASH_NEW_SO); do \ X- echo ".so man3/@LHPKG@_hash_new.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \ X+ $(LN_S) $(DESTDIR)$(mandir)/man3/@LHPKG@_hash_new.3 \ X+ $(DESTDIR)$(mandir)/man3/$${i}.3; \ X done X $(INSTALL_DATA) @LHPKG@_list_new.3 $(DESTDIR)$(mandir)/man3 X for i in $(@LHPKG@_LIST_NEW_SO); do \ X- echo ".so man3/@LHPKG@_list_new.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \ X+ $(LN_S) $(DESTDIR)$(mandir)/man3/@LHPKG@_list_new.3 \ X+ $(DESTDIR)$(mandir)/man3/$${i}.3; \ X done X END-of-libtar/files/patch-ad echo x - libtar/pkg-comment sed 's/^X//' >libtar/pkg-comment << 'END-of-libtar/pkg-comment' XA library for manipulating POSIX and GNU tar files END-of-libtar/pkg-comment echo x - libtar/pkg-descr sed 's/^X//' >libtar/pkg-descr << 'END-of-libtar/pkg-descr' Xlibtar is a C library for manipulating tar archives. It supports both Xthe strict POSIX tar format and many of the commonly-used GNU Xextensions. X X- George Reid Xgreid@ukug.uk.freebsd.org END-of-libtar/pkg-descr echo x - libtar/pkg-plist sed 's/^X//' >libtar/pkg-plist << 'END-of-libtar/pkg-plist' Xbin/libtar Xinclude/libtar.h Xinclude/libtar_listhash.h Xlib/libtar.a Xman/man3/TH_ISBLK.3 Xman/man3/TH_ISCHR.3 Xman/man3/TH_ISDIR.3 Xman/man3/TH_ISFIFO.3 Xman/man3/TH_ISLNK.3 Xman/man3/TH_ISLONGLINK.3 Xman/man3/TH_ISLONGNAME.3 Xman/man3/TH_ISREG.3 Xman/man3/TH_ISSYM.3 Xman/man3/libtar_hash_delete.3 Xman/man3/libtar_hash_insert.3 Xman/man3/libtar_hash_kill.3 Xman/man3/libtar_hash_read.3 Xman/man3/libtar_hash_read_reset.3 Xman/man3/libtar_hash_value.3 Xman/man3/libtar_list_add.3 Xman/man3/libtar_list_del.3 Xman/man3/libtar_list_kill.3 Xman/man3/libtar_list_match.3 Xman/man3/libtar_list_read.3 Xman/man3/libtar_list_read_reset.3 Xman/man3/libtar_list_reverse_read.3 Xman/man3/libtar_list_reverse_read_reset.3 Xman/man3/tar_append_eof.3 Xman/man3/tar_append_regfile.3 Xman/man3/tar_append_tree.3 Xman/man3/tar_block_write.3 Xman/man3/tar_close.3 Xman/man3/tar_extract_blockdev.3 Xman/man3/tar_extract_chardev.3 Xman/man3/tar_extract_dir.3 Xman/man3/tar_extract_fifo.3 Xman/man3/tar_extract_glob.3 Xman/man3/tar_extract_hardlink.3 Xman/man3/tar_extract_regfile.3 Xman/man3/tar_extract_symlink.3 Xman/man3/tar_fd.3 Xman/man3/tar_fdopen.3 Xman/man3/tar_set_file_perms.3 Xman/man3/tar_skip_regfile.3 Xman/man3/th_finish.3 Xman/man3/th_get_crc.3 Xman/man3/th_get_devmajor.3 Xman/man3/th_get_devminor.3 Xman/man3/th_get_gid.3 Xman/man3/th_get_linkname.3 Xman/man3/th_get_mode.3 Xman/man3/th_get_mtime.3 Xman/man3/th_get_size.3 Xman/man3/th_get_uid.3 Xman/man3/th_print.3 Xman/man3/th_set_device.3 Xman/man3/th_set_group.3 Xman/man3/th_set_link.3 Xman/man3/th_set_mode.3 Xman/man3/th_set_path.3 Xman/man3/th_set_type.3 Xman/man3/th_set_user.3 Xman/man3/th_write.3 END-of-libtar/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message