From greid@ukug.uk.freebsd.org  Sat Jan  6 11:01:57 2001
Return-Path: <greid@ukug.uk.freebsd.org>
Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43])
	by hub.freebsd.org (Postfix) with ESMTP id 45D2D37B402
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>;
          Sat, 6 Jan 2001 19:01:53 +0000
Message-Id: <Pine.BSF.4.21.0101061906200.64649-100000@sobek.openirc.co.uk>
Date: Sat, 6 Jan 2001 19:06:50 +0000 (GMT)
From: George Reid <greid@ukug.uk.freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: New port: libtar: A library for manipulating POSIX and GNU tar files

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 06 11:10:01 PST 2001
>Closed-Date:    Sat Mar 10 11:40:06 PST 2001
>Last-Modified:  Sat Mar 10 11:40:48 PST 2001
>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 <greid@ukug.uk.freebsd.org>
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 <bsd.port.mk>
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 <errno.h>
X #include <fcntl.h>
X #include <sys/param.h>
X-#include <sys/sysmacros.h>
X 
X #include <compat.h>
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 <pwd.h>
X #include <grp.h>
X-#include <sys/sysmacros.h>
X 
X #ifdef STDC_HEADERS
X # include <string.h>
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 <stdio.h>
X #include <sys/param.h>
X-#include <sys/sysmacros.h>
X #include <fcntl.h>
X #include <errno.h>
X #include <utime.h>
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:

From: "Akinori MUSHA" <knu@iDaemons.org>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc:  
Subject: Re: ports/24114: New port: libtar: A library for manipulating POSIX and GNU tar files
Date: Sun, 07 Jan 2001 04:47:08 +0900

 At Sat, 6 Jan 2001 19:06:50 +0000 (GMT),
 George Reid wrote:
 > libtar is a C library for manipulating tar archives. It supports both
 
 Seems to me that it should go under the `archiver' category, then.
 
 -- 
                      /
                     /__  __            Akinori.org / MUSHA.org
                    / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
 Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp
 
 "We're only at home when we're on the run, on the wing, on the fly"
 

From: George Reid <greid@ukug.uk.freebsd.org>
To: Akinori MUSHA <knu@iDaemons.org>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/24114: New port: libtar: A library for manipulating POSIX
 and GNU tar files
Date: Sat, 6 Jan 2001 22:17:37 +0000 (GMT)

 On Sat, 6 Jan 2001, Akinori MUSHA wrote:
 
 >  Seems to me that it should go under the `archiver' category, then.
 
 And not under 'devel' like zziplib? Perhaps this needs to be moved.
 
 G
 
 "And then it comes to be that the soothing light
    at the end of your tunnel was just a freight
             train, comin' your way."
 
       George Reid * greid@ukug.uk.freebsd.org
 
 

From: "Akinori MUSHA" <knu@iDaemons.org>
To: George Reid <greid@dogma.freebsd-uk.eu.org>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/24114: New port: libtar: A library for manipulating POSIX and GNU tar files
Date: Sun, 07 Jan 2001 08:05:15 +0900

 At Sat, 6 Jan 2001 22:17:37 +0000 (GMT),
 George Reid wrote:
 > On Sat, 6 Jan 2001, Akinori MUSHA wrote:
 > 
 > >  Seems to me that it should go under the `archiver' category, then.
 > 
 > And not under 'devel' like zziplib? Perhaps this needs to be moved.
 
 Yes, and probably sysutils/{afio,guitar,gtar,star} too.  They look
 more suitable in 'archiver' than in 'sysutils', judging from the
 meanings of their names and what they actually do.
 
 My 2 yen,
 
 -- 
                      /
                     /__  __            Akinori.org / MUSHA.org
                    / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
 Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp
 
 "We're only at home when we're on the run, on the wing, on the fly"
 

From: George Reid <greid@ukug.uk.freebsd.org>
To: Akinori MUSHA <knu@iDaemons.org>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/24114: New port: libtar: A library for manipulating POSIX
 and GNU tar files
Date: Sat, 6 Jan 2001 23:30:49 +0000 (GMT)

 On Sat, 6 Jan 2001, Akinori MUSHA wrote:
 
 >  Yes, and probably sysutils/{afio,guitar,gtar,star} too.  They look
 >  more suitable in 'archiver' than in 'sysutils', judging from the
 >  meanings of their names and what they actually do.
 
 Indeed. I wasn't really sure where to put it, so I guess it is the
 committer's call.
 
 G
 
 "And then it comes to be that the soothing light
    at the end of your tunnel was just a freight
             train, comin' your way."
 
       George Reid * greid@ukug.uk.freebsd.org
 
 

From: Christian Weisgerber <naddy@mips.inka.de>
To: knu@iDaemons.org
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/24114: New port: libtar: A library for manipulating POSIX and GNU tar files
Date: Sun, 7 Jan 2001 02:08:37 +0100 (CET)

 "Akinori MUSHA" <knu@iDaemons.org>:
 
 >  > >  Seems to me that it should go under the `archiver' category, then.
 >  > 
 >  > And not under 'devel' like zziplib? Perhaps this needs to be moved.
 >  
 >  Yes, and probably sysutils/{afio,guitar,gtar,star} too.
 
 I certainly agree that gtar and star should be in archivers.
 
 -- 
 Christian "naddy" Weisgerber                          naddy@mips.inka.de
 
State-Changed-From-To: open->closed 
State-Changed-By: will 
State-Changed-When: Sat Mar 10 11:40:06 PST 2001 
State-Changed-Why:  
Committed, thanks.  Next time remember to remove manpages from the packaging 
list.  I made a files/manpages file since there were so many, and fixed the 
names of all your patchfiles. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=24114 
>Unformatted:
