mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Add libtar 1.2, a library for manipulating POSIX and GNU tar files.
PR: 24114 Submitted by: George Reid <greid@ukug.uk.freebsd.org>
This commit is contained in:
parent
ff049e43e4
commit
30ca9191d0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39456
@ -174,6 +174,7 @@
|
||||
SUBDIR += libsock
|
||||
SUBDIR += libstash
|
||||
SUBDIR += libtai
|
||||
SUBDIR += libtar
|
||||
SUBDIR += libtecla
|
||||
SUBDIR += libtool
|
||||
SUBDIR += libunicode
|
||||
|
22
devel/libtar/Makefile
Normal file
22
devel/libtar/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# New ports collection makefile for: libtar
|
||||
# Date created: 06 January 2001
|
||||
# Whom: George Reid <greid@ukug.uk.freebsd.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= libtar
|
||||
PORTVERSION= 1.2
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ftp://ftp-dev.cso.uiuc.edu/pub/libtar/
|
||||
|
||||
MAINTAINER= greid@ukug.uk.freebsd.org
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
.include "files/manpages"
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/libtar/distinfo
Normal file
1
devel/libtar/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (libtar-1.2.tar.gz) = ad926b68bcf279a0d5e8ae656dc6a612
|
59
devel/libtar/files/manpages
Normal file
59
devel/libtar/files/manpages
Normal file
@ -0,0 +1,59 @@
|
||||
MAN3= TH_ISBLK.3 \
|
||||
TH_ISCHR.3 \
|
||||
TH_ISDIR.3 \
|
||||
TH_ISFIFO.3 \
|
||||
TH_ISLNK.3 \
|
||||
TH_ISLONGLINK.3 \
|
||||
TH_ISLONGNAME.3 \
|
||||
TH_ISREG.3 \
|
||||
TH_ISSYM.3 \
|
||||
libtar_hash_delete.3 \
|
||||
libtar_hash_insert.3 \
|
||||
libtar_hash_kill.3 \
|
||||
libtar_hash_read.3 \
|
||||
libtar_hash_read_reset.3 \
|
||||
libtar_hash_value.3 \
|
||||
libtar_list_add.3 \
|
||||
libtar_list_del.3 \
|
||||
libtar_list_kill.3 \
|
||||
libtar_list_match.3 \
|
||||
libtar_list_read.3 \
|
||||
libtar_list_read_reset.3 \
|
||||
libtar_list_reverse_read.3 \
|
||||
libtar_list_reverse_read_reset.3 \
|
||||
tar_append_eof.3 \
|
||||
tar_append_regfile.3 \
|
||||
tar_append_tree.3 \
|
||||
tar_block_write.3 \
|
||||
tar_close.3 \
|
||||
tar_extract_blockdev.3 \
|
||||
tar_extract_chardev.3 \
|
||||
tar_extract_dir.3 \
|
||||
tar_extract_fifo.3 \
|
||||
tar_extract_glob.3 \
|
||||
tar_extract_hardlink.3 \
|
||||
tar_extract_regfile.3 \
|
||||
tar_extract_symlink.3 \
|
||||
tar_fd.3 \
|
||||
tar_fdopen.3 \
|
||||
tar_set_file_perms.3 \
|
||||
tar_skip_regfile.3 \
|
||||
th_finish.3 \
|
||||
th_get_crc.3 \
|
||||
th_get_devmajor.3 \
|
||||
th_get_devminor.3 \
|
||||
th_get_gid.3 \
|
||||
th_get_linkname.3 \
|
||||
th_get_mode.3 \
|
||||
th_get_mtime.3 \
|
||||
th_get_size.3 \
|
||||
th_get_uid.3 \
|
||||
th_print.3 \
|
||||
th_set_device.3 \
|
||||
th_set_group.3 \
|
||||
th_set_link.3 \
|
||||
th_set_mode.3 \
|
||||
th_set_path.3 \
|
||||
th_set_type.3 \
|
||||
th_set_user.3 \
|
||||
th_write.3
|
72
devel/libtar/files/patch-doc::Makefile.in
Normal file
72
devel/libtar/files/patch-doc::Makefile.in
Normal file
@ -0,0 +1,72 @@
|
||||
--- doc/Makefile.in.orig Sat Nov 25 01:44:57 2000
|
||||
+++ doc/Makefile.in Sat Jan 6 19:00:35 2001
|
||||
@@ -67,46 +67,57 @@
|
||||
$(MKDIR) $(DESTDIR)$(mandir)/man3
|
||||
$(INSTALL_DATA) $(srcdir)/tar_open.3 $(DESTDIR)$(mandir)/man3
|
||||
for i in $(TAR_OPEN_SO); do \
|
||||
- echo ".so man3/tar_open.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
- done
|
||||
+ $(LN_S) $(DESTDIR)$(mandir)/man3/tar_open.3 \
|
||||
+ $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
+ done
|
||||
$(INSTALL_DATA) $(srcdir)/tar_append_file.3 $(DESTDIR)$(mandir)/man3
|
||||
for i in $(TAR_APPEND_FILE_SO); do \
|
||||
- echo ".so man3/tar_append_file.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
+ $(LN_S) $(DESTDIR)$(mandir)/man3/tar_append_file.3 \
|
||||
+ $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
done
|
||||
$(INSTALL_DATA) $(srcdir)/tar_block_read.3 $(DESTDIR)$(mandir)/man3
|
||||
for i in $(TAR_BLOCK_READ_SO); do \
|
||||
- echo ".so man3/tar_block_read.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
+ $(LN_S) $(DESTDIR)$(mandir)/man3/tar_block_read.3 \
|
||||
+ $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
done
|
||||
$(INSTALL_DATA) $(srcdir)/th_read.3 $(DESTDIR)$(mandir)/man3
|
||||
for i in $(TH_READ_SO); do \
|
||||
- echo ".so man3/th_read.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
+ $(LN_S) $(DESTDIR)$(mandir)/man3/th_read.3 \
|
||||
+ $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
done
|
||||
$(INSTALL_DATA) $(srcdir)/th_set_from_stat.3 $(DESTDIR)$(mandir)/man3
|
||||
for i in $(TH_SET_FROM_STAT_SO); do \
|
||||
- echo ".so man3/th_set_from_stat.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
+ $(LN_S) $(DESTDIR)$(mandir)/man3/th_set_from_stat.3 \
|
||||
+ $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
done
|
||||
$(INSTALL_DATA) $(srcdir)/tar_extract_file.3 $(DESTDIR)$(mandir)/man3
|
||||
for i in $(TAR_EXTRACT_FILE_SO); do \
|
||||
- echo ".so man3/tar_extract_file.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
+ $(LN_S) $(DESTDIR)$(mandir)/man3/tar_extract_file.3 \
|
||||
+ $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
done
|
||||
$(INSTALL_DATA) $(srcdir)/th_get_pathname.3 $(DESTDIR)$(mandir)/man3
|
||||
for i in $(TH_GET_PATHNAME_SO); do \
|
||||
- echo ".so man3/th_get_pathname.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
+ $(LN_S) $(DESTDIR)$(mandir)/man3/th_get_pathname.3 \
|
||||
+ $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
done
|
||||
$(INSTALL_DATA) $(srcdir)/th_print_long_ls.3 $(DESTDIR)$(mandir)/man3
|
||||
for i in $(TH_PRINT_LONG_LS_SO); do \
|
||||
- echo ".so man3/th_print_long_ls.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
+ $(LN_S) $(DESTDIR)$(mandir)/man3/th_print_long_ls.3 \
|
||||
+ $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
done
|
||||
$(INSTALL_DATA) $(srcdir)/tar_extract_all.3 $(DESTDIR)$(mandir)/man3
|
||||
for i in $(TAR_EXTRACT_ALL_SO); do \
|
||||
- echo ".so man3/tar_extract_all.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
+ $(LN_S) $(DESTDIR)$(mandir)/man3/tar_extract_all.3 \
|
||||
+ $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
done
|
||||
$(INSTALL_DATA) @LHPKG@_hash_new.3 $(DESTDIR)$(mandir)/man3
|
||||
for i in $(@LHPKG@_HASH_NEW_SO); do \
|
||||
- echo ".so man3/@LHPKG@_hash_new.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
+ $(LN_S) $(DESTDIR)$(mandir)/man3/@LHPKG@_hash_new.3 \
|
||||
+ $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
done
|
||||
$(INSTALL_DATA) @LHPKG@_list_new.3 $(DESTDIR)$(mandir)/man3
|
||||
for i in $(@LHPKG@_LIST_NEW_SO); do \
|
||||
- echo ".so man3/@LHPKG@_list_new.3" > $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
+ $(LN_S) $(DESTDIR)$(mandir)/man3/@LHPKG@_list_new.3 \
|
||||
+ $(DESTDIR)$(mandir)/man3/$${i}.3; \
|
||||
done
|
||||
|
10
devel/libtar/files/patch-lib::append.c
Normal file
10
devel/libtar/files/patch-lib::append.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- lib/append.c.orig Sat Jan 6 17:47:16 2001
|
||||
+++ lib/append.c Sat Jan 6 17:47:40 2001
|
||||
@@ -16,7 +16,6 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/param.h>
|
||||
-#include <sys/sysmacros.h>
|
||||
|
||||
#include <compat.h>
|
||||
|
10
devel/libtar/files/patch-lib::encode.c
Normal file
10
devel/libtar/files/patch-lib::encode.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- lib/encode.c.orig Sat Jan 6 17:47:54 2001
|
||||
+++ lib/encode.c Sat Jan 6 17:47:59 2001
|
||||
@@ -15,7 +15,6 @@
|
||||
|
||||
#include <pwd.h>
|
||||
#include <grp.h>
|
||||
-#include <sys/sysmacros.h>
|
||||
|
||||
#ifdef STDC_HEADERS
|
||||
# include <string.h>
|
10
devel/libtar/files/patch-lib::extract.c
Normal file
10
devel/libtar/files/patch-lib::extract.c
Normal file
@ -0,0 +1,10 @@
|
||||
--- lib/extract.c.orig Sat Jan 6 17:48:06 2001
|
||||
+++ lib/extract.c Sat Jan 6 17:48:12 2001
|
||||
@@ -15,7 +15,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <sys/param.h>
|
||||
-#include <sys/sysmacros.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
#include <utime.h>
|
1
devel/libtar/pkg-comment
Normal file
1
devel/libtar/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A library for manipulating POSIX and GNU tar files
|
6
devel/libtar/pkg-descr
Normal file
6
devel/libtar/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
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
|
4
devel/libtar/pkg-plist
Normal file
4
devel/libtar/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
bin/libtar
|
||||
include/libtar.h
|
||||
include/libtar_listhash.h
|
||||
lib/libtar.a
|
Loading…
Reference in New Issue
Block a user