Import of pkgsrc-2014Q1
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.129 2013/02/17 10:29:00 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.132 2013/10/21 11:30:10 fhajny Exp $
|
||||
#
|
||||
|
||||
COMMENT= Archivers
|
||||
@@ -39,7 +39,9 @@ SUBDIR+= lhasa
|
||||
SUBDIR+= libarchive
|
||||
SUBDIR+= libcomprex
|
||||
SUBDIR+= liblzo
|
||||
SUBDIR+= libunrar
|
||||
SUBDIR+= libzip
|
||||
SUBDIR+= lrzip
|
||||
SUBDIR+= lzip
|
||||
SUBDIR+= lziprecover
|
||||
SUBDIR+= lzma
|
||||
@@ -55,6 +57,7 @@ SUBDIR+= nulib2
|
||||
SUBDIR+= ocaml-bz2
|
||||
SUBDIR+= ocaml-zip
|
||||
SUBDIR+= p5-Archive-Any
|
||||
SUBDIR+= p5-Archive-Any-Lite
|
||||
SUBDIR+= p5-Archive-Peek
|
||||
SUBDIR+= p5-Archive-Tar
|
||||
SUBDIR+= p5-Archive-Zip
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.26 2012/09/11 19:46:52 asau Exp $
|
||||
# $NetBSD: Makefile,v 1.27 2013/11/04 16:41:43 joerg Exp $
|
||||
|
||||
DISTNAME= arj-3.10.22
|
||||
CATEGORIES= archivers
|
||||
@@ -24,9 +24,8 @@ ARJ_DOCSDIR= ${PREFIX}/share/doc/arj
|
||||
|
||||
.include "../../mk/compiler.mk"
|
||||
|
||||
.if !empty(CC_VERSION:Mgcc-4.*)
|
||||
CFLAGS+= -fno-unit-at-a-time
|
||||
.endif
|
||||
_WRAP_EXTRA_ARGS.CC+= -g -O0
|
||||
BUILDLINK_TRANSFORM+= rm:-s
|
||||
|
||||
pre-configure:
|
||||
${CP} -f ${WRKSRC}/environ.c ${WRKSRC}/environ.c.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$NetBSD: distinfo,v 1.14 2009/05/13 14:26:24 hasso Exp $
|
||||
$NetBSD: distinfo,v 1.15 2013/11/04 16:41:43 joerg Exp $
|
||||
|
||||
SHA1 (arj-3.10.22.tar.gz) = e8470f480e9eee14906e5485a8898e5c24738c8b
|
||||
RMD160 (arj-3.10.22.tar.gz) = 80f8a1a8cd203f73def8e957d96563a4dba80153
|
||||
@@ -10,3 +10,4 @@ SHA1 (patch-ad) = 186b05ec694daa25504123690f9b7bba9f22a7f4
|
||||
SHA1 (patch-ae) = 46181177d4a42b510a02ce8e138275dca453f1de
|
||||
SHA1 (patch-af) = c4e5a0dc8a2b42af471fd065ab28f162d94bd0b7
|
||||
SHA1 (patch-ag) = ce4d0fefed6ccf7ab7fad864a7cb7faa36e4e4ac
|
||||
SHA1 (patch-integr.c) = 8c3f9fd4db4d4b1323cceccd6cfa31dc09ab39af
|
||||
|
||||
13
archivers/arj/patches/patch-integr.c
Normal file
13
archivers/arj/patches/patch-integr.c
Normal file
@@ -0,0 +1,13 @@
|
||||
$NetBSD: patch-integr.c,v 1.1 2013/11/04 16:41:43 joerg Exp $
|
||||
|
||||
--- integr.c.orig 2013-11-04 16:18:17.000000000 +0000
|
||||
+++ integr.c
|
||||
@@ -5,7 +5,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
-static const char intergrity_identifier[] = {
|
||||
+const char intergrity_identifier[] = {
|
||||
0xB0, 0x03, 0xB0, 0x02, 0xB0, 0x03,
|
||||
0xB0, 0x04, 0xB0, 0x05,
|
||||
0x90, 0x90, 0x90, 0x90,
|
||||
@@ -1,7 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.20 2013/06/06 12:54:01 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.25 2014/02/12 23:17:32 tron Exp $
|
||||
|
||||
DISTNAME= ark-${_KDE_VERSION}
|
||||
PKGREVISION= 3
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= archivers
|
||||
COMMENT= Manages various archive formats within the KDE environment
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$NetBSD: distinfo,v 1.5 2013/05/21 12:49:28 markd Exp $
|
||||
$NetBSD: distinfo,v 1.7 2014/02/01 02:20:44 markd Exp $
|
||||
|
||||
SHA1 (ark-4.10.3.tar.xz) = 26437751ddf6f466a948a402f253f66bfc19660e
|
||||
RMD160 (ark-4.10.3.tar.xz) = 72b660ba3e99f9551e407ad57be5d4325e2d714d
|
||||
Size (ark-4.10.3.tar.xz) = 237876 bytes
|
||||
SHA1 (ark-4.11.5.tar.xz) = 2392d08c3a1d5d92cb1ec668e4e5013154fc0e14
|
||||
RMD160 (ark-4.11.5.tar.xz) = 7002d69ec1bf0ea2cb7315bf8cfeefb51a143b05
|
||||
Size (ark-4.11.5.tar.xz) = 230492 bytes
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
# $NetBSD: Makefile,v 1.52 2012/09/11 19:46:53 asau Exp $
|
||||
# $NetBSD: Makefile,v 1.53 2013/09/20 04:05:13 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= bzip2-1.0.6
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= http://www.bzip.org/1.0.6/
|
||||
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
# $NetBSD: builtin.mk,v 1.8 2010/07/06 23:35:01 obache Exp $
|
||||
# $NetBSD: builtin.mk,v 1.9 2013/11/23 10:51:09 obache Exp $
|
||||
|
||||
BUILTIN_PKG:= bzip2
|
||||
|
||||
BUILTIN_FIND_FILES_VAR:= H_BZIP2
|
||||
BUILTIN_FIND_FILES.H_BZIP2= /usr/include/bzlib.h \
|
||||
/boot/common/include/bzlib.h
|
||||
BUILTIN_FIND_HEADERS_VAR:= H_BZIP2
|
||||
BUILTIN_FIND_HEADERS.H_BZIP2= bzlib.h
|
||||
BUILTIN_FIND_GREP.H_BZIP2= BZ2_
|
||||
|
||||
.include "../../mk/buildlink3/bsd.builtin.mk"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.3 2011/09/04 21:51:17 cheusov Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2013/09/20 04:05:13 joerg Exp $
|
||||
#
|
||||
# Replacement Makefile for bzip2.
|
||||
#
|
||||
@@ -14,7 +14,7 @@ all: libbz2.la bzip2 bzip2recover
|
||||
|
||||
libbz2.la: ${LOBJS}
|
||||
${LIBTOOL} --tag=CC --mode=link ${CC} ${LDFLAGS} ${CFLAGS} -o ${.TARGET} \
|
||||
${LOBJS} -version-info 0:0 -rpath ${PREFIX}/lib
|
||||
${LOBJS} -version-info 0:0 -rpath ${PREFIX}/lib -no-undefined
|
||||
|
||||
libbz2.a: ${OBJS}
|
||||
${AR} cq ${.TARGET} ${OBJS}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.43 2013/06/28 15:03:55 ryoon Exp $
|
||||
# $NetBSD: Makefile,v 1.45 2014/02/12 23:17:32 tron Exp $
|
||||
|
||||
DISTNAME= dar-2.4.10
|
||||
PKGREVISION= 2
|
||||
CATEGORIES= archivers sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dar/}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$NetBSD: distinfo,v 1.28 2013/06/28 15:03:55 ryoon Exp $
|
||||
$NetBSD: distinfo,v 1.29 2014/01/20 19:29:34 joerg Exp $
|
||||
|
||||
SHA1 (dar-2.4.10.tar.gz) = bf02ba10bfcd2ad959017706f167fc390aafe932
|
||||
RMD160 (dar-2.4.10.tar.gz) = 26161a09a60e36a3094f94d8831a157b7c3e4d0a
|
||||
@@ -6,7 +6,7 @@ Size (dar-2.4.10.tar.gz) = 1760827 bytes
|
||||
SHA1 (patch-aa) = 734ec162dbc339b2015a169bb9fe723e45d0a29b
|
||||
SHA1 (patch-ab) = f07d55861f21545b0ae8ac6b187a94526e44e345
|
||||
SHA1 (patch-ac) = dcbf4e31071c83a167a60a20e4980b35f055a46e
|
||||
SHA1 (patch-ad) = df21f72b12ab19123f1c61e8e1645519c43d7f7b
|
||||
SHA1 (patch-ad) = e32c33d5670f39a04f8ceef94d6e9d5a6b524016
|
||||
SHA1 (patch-ae) = 54220384bf2031df64c38f5abea038382ca37e8e
|
||||
SHA1 (patch-af) = 414e58277c946b59f57352e260ac5d49673ef008
|
||||
SHA1 (patch-src_dar__suite_command__line.cpp) = 63d3004bf7d49277c1508fe5d9ac52ec0d5bf11f
|
||||
@@ -17,8 +17,9 @@ SHA1 (patch-src_dar__suite_line__tools.cpp) = 076c5213aaa3e6dfa471322b6597c0ce8c
|
||||
SHA1 (patch-src_examples_factoriel.cpp) = 6c9e038b7a3bbfdc96dbbdf1b7e100c159353f87
|
||||
SHA1 (patch-src_examples_formula.cpp) = 583ceeba0a232e657ab0696711f630476ec2e495
|
||||
SHA1 (patch-src_examples_prime.cpp) = 09fc3b96642945042a2d13bb4c1995546cdb7607
|
||||
SHA1 (patch-src_libdar_mask__list.hpp) = b16686706cb7ad7065467decfd93271f01d9c663
|
||||
SHA1 (patch-src_libdar_mask__list.hpp) = b3b6eaa36875784432e53d5dfbfb33d7623054a3
|
||||
SHA1 (patch-src_libdar_secu__string.hpp) = 6793cb79bf5f8c4d3ac83ba4f2cd2fd9f452afb1
|
||||
SHA1 (patch-src_testing_Makefile.in) = e8d48b5fa9fcdd2f5bef3fca240850c0787f6647
|
||||
SHA1 (patch-src_testing_test__catalogue.cpp) = 2d1a8299f01776e3fa9996819aa8be523b73b4cc
|
||||
SHA1 (patch-src_testing_test__deci.cpp) = 053e2123a5219dc0cb827743e348f9463ce84615
|
||||
SHA1 (patch-src_testing_test__escape.cpp) = b7959b2e5e3675d2e64f232face3b18384f8e3da
|
||||
|
||||
@@ -1,18 +1,134 @@
|
||||
$NetBSD: patch-ad,v 1.6 2011/08/20 16:02:23 cheusov Exp $
|
||||
$NetBSD: patch-ad,v 1.7 2014/01/20 19:29:34 joerg Exp $
|
||||
|
||||
On Solaris 10 with SunPro, vector<> does not have a method assign().
|
||||
|
||||
--- src/libdar/mask_list.cpp.orig 2011-02-11 20:23:42.000000000 +0000
|
||||
+++ src/libdar/mask_list.cpp
|
||||
@@ -200,7 +200,10 @@ namespace libdar
|
||||
my_tmp.unique(); // remove duplicates
|
||||
@@ -55,6 +55,21 @@ using namespace std;
|
||||
namespace libdar
|
||||
{
|
||||
|
||||
+static bool cmp_strings(const std::string &x, const std::string &y)
|
||||
+{
|
||||
+ size_t i;
|
||||
+ for (i = 0; i < x.size(); ++i) {
|
||||
+ if (x[i] == y[i])
|
||||
+ continue;
|
||||
+ if(x[i] == '/')
|
||||
+ return true;
|
||||
+ if(y[i] == '/')
|
||||
+ return false;
|
||||
+ return x[i] < y[i];
|
||||
+ }
|
||||
+ return false;
|
||||
+}
|
||||
+
|
||||
mask_list::mask_list(const string & filename_list_st, bool case_sensit, const path & prefix_t, bool include)
|
||||
{
|
||||
NLS_SWAP_IN;
|
||||
@@ -194,12 +209,14 @@ namespace libdar
|
||||
|
||||
// we use a temporary list of string of my_chart to use
|
||||
// the lexicographic sorting with having the / as the lowest character
|
||||
- list<basic_string<my_char> > my_tmp = convert_list_string_char(tmp);
|
||||
- my_tmp.sort(); // sort the list ( using the string's < operator over "my_char" )
|
||||
- my_tmp.unique(); // remove duplicates
|
||||
+ tmp.sort(cmp_strings);
|
||||
+ tmp.unique();
|
||||
|
||||
// converting the sorted list to vector, to get the indexing feature of this type
|
||||
- contenu.assign(my_tmp.begin(), my_tmp.end());
|
||||
+ contenu.clear();
|
||||
+ for (list< basic_string<my_char> >::const_iterator it = my_tmp.begin(); it != my_tmp.end(); it++)
|
||||
+ for (list< string >::const_iterator it = tmp.begin(); it != tmp.end(); it++)
|
||||
+ contenu.push_back(*it);
|
||||
+
|
||||
taille = contenu.size();
|
||||
if(taille < contenu.size())
|
||||
throw Erange("mask_list::mask_list", tools_printf(gettext("Too much line in file %S (integer overflow)"), &filename_list_st));
|
||||
@@ -218,23 +235,23 @@ namespace libdar
|
||||
return false;
|
||||
|
||||
U_I min = 0, max = taille-1, tmp;
|
||||
- basic_string<my_char> target;
|
||||
+ string target;
|
||||
bool ret;
|
||||
|
||||
if(case_s)
|
||||
- target = convert_string_char(expression);
|
||||
+ target = expression;
|
||||
else
|
||||
{
|
||||
string hidden = expression;
|
||||
tools_to_upper(hidden);
|
||||
- target = convert_string_char(hidden);
|
||||
+ target = hidden;
|
||||
}
|
||||
|
||||
// divide & conquer algorithm on a sorted list (aka binary search)
|
||||
while(max - min > 1)
|
||||
{
|
||||
tmp = (min + max)/2;
|
||||
- if(contenu[tmp] < target)
|
||||
+ if(cmp_strings(contenu[tmp], target))
|
||||
min = tmp;
|
||||
else
|
||||
if(contenu[tmp] == target)
|
||||
@@ -246,57 +263,11 @@ namespace libdar
|
||||
ret = contenu[max] == target || contenu[min] == target;
|
||||
if(including && !ret) // if including files, we must also include directories leading to a listed file
|
||||
{
|
||||
- string c_max = convert_string_my_char(contenu[max]);
|
||||
+ string c_max = contenu[max];
|
||||
ret = path(c_max).is_subdir_of(expression, case_s);
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
-
|
||||
- //////// private routines implementation
|
||||
-
|
||||
-
|
||||
- list<basic_string<mask_list::my_char> > mask_list::convert_list_string_char(const list<string> & src)
|
||||
- {
|
||||
- list<basic_string<my_char> > ret;
|
||||
- list<string>::const_iterator it = src.begin();
|
||||
-
|
||||
- while(it != src.end())
|
||||
- {
|
||||
- ret.push_back(convert_string_char(*it));
|
||||
- ++it;
|
||||
- }
|
||||
- return ret;
|
||||
- }
|
||||
-
|
||||
- basic_string<mask_list::my_char> mask_list::convert_string_char(const string & src)
|
||||
- {
|
||||
- basic_string<my_char> ret;
|
||||
-
|
||||
- string::const_iterator ut = src.begin();
|
||||
- while(ut != src.end())
|
||||
- {
|
||||
- ret += my_char(*ut);
|
||||
- ++ut;
|
||||
- }
|
||||
-
|
||||
- return ret;
|
||||
- }
|
||||
-
|
||||
- string mask_list::convert_string_my_char(const basic_string<mask_list::my_char> & src)
|
||||
- {
|
||||
- string ret;
|
||||
-
|
||||
- basic_string<my_char>::const_iterator ut = src.begin();
|
||||
- while(ut != src.end())
|
||||
- {
|
||||
- ret += char(*ut);
|
||||
- ++ut;
|
||||
- }
|
||||
-
|
||||
- return ret;
|
||||
- }
|
||||
-
|
||||
-
|
||||
} // end of namespace
|
||||
|
||||
@@ -1,13 +1,52 @@
|
||||
$NetBSD: patch-src_libdar_mask__list.hpp,v 1.1 2013/06/26 15:49:31 joerg Exp $
|
||||
$NetBSD: patch-src_libdar_mask__list.hpp,v 1.2 2014/01/20 19:29:34 joerg Exp $
|
||||
|
||||
--- src/libdar/mask_list.hpp.orig 2013-06-20 19:11:02.000000000 +0000
|
||||
--- src/libdar/mask_list.hpp.orig 2012-11-30 20:51:11.000000000 +0000
|
||||
+++ src/libdar/mask_list.hpp
|
||||
@@ -80,7 +80,7 @@ namespace libdar
|
||||
class my_char
|
||||
{
|
||||
public:
|
||||
@@ -70,46 +70,10 @@ namespace libdar
|
||||
|
||||
private:
|
||||
|
||||
- // we need to change to lexicographical order relationship for the '/' character be the most lower of all. This way
|
||||
- // the first entry listed from a set a file sharing the same first characters will be the one corresponding
|
||||
- // to the directory with this common prefix.
|
||||
-
|
||||
- class my_char
|
||||
- {
|
||||
- public:
|
||||
- my_char() { val = 0; };
|
||||
+ my_char() = default;
|
||||
my_char(const char x) : val(x) {};
|
||||
bool operator < (const my_char & x) const
|
||||
{
|
||||
- my_char(const char x) : val(x) {};
|
||||
- bool operator < (const my_char & x) const
|
||||
- {
|
||||
- if(val == '/')
|
||||
- if(x.val == '/')
|
||||
- return false;
|
||||
- else
|
||||
- return true;
|
||||
- else
|
||||
- if(x.val == '/')
|
||||
- return false;
|
||||
- else
|
||||
- return val < x.val;
|
||||
- };
|
||||
-
|
||||
- operator char() const
|
||||
- {
|
||||
- return val;
|
||||
- };
|
||||
-
|
||||
- private:
|
||||
- char val;
|
||||
- };
|
||||
-
|
||||
- std::vector <std::basic_string<my_char> > contenu;
|
||||
+ std::vector <std::string > contenu;
|
||||
U_I taille;
|
||||
bool case_s;
|
||||
bool including; // mask is used for including files (not for excluding files)
|
||||
-
|
||||
- static std::list<std::basic_string<my_char> > convert_list_string_char(const std::list<std::string> & src);
|
||||
- static std::basic_string<my_char> convert_string_char(const std::string & src);
|
||||
- static std::string convert_string_my_char(const std::basic_string<my_char> & src);
|
||||
};
|
||||
|
||||
/// @}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# $NetBSD: Makefile,v 1.128 2013/06/06 12:54:01 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.130 2013/10/10 14:41:57 ryoon Exp $
|
||||
#
|
||||
|
||||
DISTNAME= file-roller-2.32.2
|
||||
PKGREVISION= 16
|
||||
PKGREVISION= 18
|
||||
CATEGORIES= archivers gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/file-roller/2.32/}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# $NetBSD: Makefile,v 1.47 2013/06/23 13:46:28 ryoon Exp $
|
||||
# $NetBSD: Makefile,v 1.48 2013/07/21 10:31:26 shattered Exp $
|
||||
#
|
||||
|
||||
DISTNAME= cpio-2.11
|
||||
PKGNAME= g${DISTNAME}
|
||||
PKGREVISION= 1
|
||||
PKGREVISION= 2
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=cpio/}
|
||||
|
||||
@@ -32,8 +32,6 @@ CONFIGURE_ARGS+= --program-prefix=g
|
||||
|
||||
PLIST_VARS+= rmt
|
||||
|
||||
CHECK_FILES_SKIP+= lib/charset.alias
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
# don't include rmt if gtar won't build it
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
@comment $NetBSD: PLIST,v 1.13 2013/06/23 13:46:28 ryoon Exp $
|
||||
@comment $NetBSD: PLIST,v 1.14 2013/07/21 10:31:26 shattered Exp $
|
||||
bin/gcpio
|
||||
gnu/bin/cpio
|
||||
gnu/man/man1/cpio.1
|
||||
gnu/man/man1/mt.1
|
||||
info/cpio.info
|
||||
lib/charset.alias
|
||||
libexec/grmt
|
||||
man/man1/gcpio.1
|
||||
man/man1/gmt.1
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.49 2012/12/06 11:38:19 jperkin Exp $
|
||||
# $NetBSD: Makefile,v 1.50 2013/07/21 09:03:19 shattered Exp $
|
||||
|
||||
DISTNAME= sharutils-4.11.1
|
||||
PKGREVISION= 2
|
||||
DISTNAME= sharutils-4.13.4
|
||||
PKGNAME= g${DISTNAME}
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=sharutils/}
|
||||
@@ -29,6 +28,9 @@ CONFIGURE_ARGS+= --program-prefix=g
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
pre-install:
|
||||
${RM} -f ${DESTDIR}${PREFIX}/lib/charset.alias
|
||||
|
||||
post-install:
|
||||
.for f in shar unshar
|
||||
${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/${f}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@comment $NetBSD: PLIST,v 1.10 2012/06/02 08:26:45 cheusov Exp $
|
||||
@comment $NetBSD: PLIST,v 1.11 2013/07/21 09:03:19 shattered Exp $
|
||||
bin/gshar
|
||||
bin/gunshar
|
||||
gnu/bin/shar
|
||||
@@ -14,6 +14,7 @@ share/locale/cs/LC_MESSAGES/sharutils.mo
|
||||
share/locale/da/LC_MESSAGES/sharutils.mo
|
||||
share/locale/de/LC_MESSAGES/sharutils.mo
|
||||
share/locale/el/LC_MESSAGES/sharutils.mo
|
||||
share/locale/eo/LC_MESSAGES/sharutils.mo
|
||||
share/locale/es/LC_MESSAGES/sharutils.mo
|
||||
share/locale/et/LC_MESSAGES/sharutils.mo
|
||||
share/locale/fi/LC_MESSAGES/sharutils.mo
|
||||
@@ -24,13 +25,9 @@ share/locale/hu/LC_MESSAGES/sharutils.mo
|
||||
share/locale/id/LC_MESSAGES/sharutils.mo
|
||||
share/locale/it/LC_MESSAGES/sharutils.mo
|
||||
share/locale/ja/LC_MESSAGES/sharutils.mo
|
||||
share/locale/nb/LC_MESSAGES/sharutils.mo
|
||||
share/locale/nl/LC_MESSAGES/sharutils.mo
|
||||
share/locale/nn/LC_MESSAGES/sharutils.mo
|
||||
share/locale/pl/LC_MESSAGES/sharutils.mo
|
||||
share/locale/pt/LC_MESSAGES/sharutils.mo
|
||||
share/locale/ru/LC_MESSAGES/sharutils.mo
|
||||
share/locale/rw/LC_MESSAGES/sharutils.mo
|
||||
share/locale/sr/LC_MESSAGES/sharutils.mo
|
||||
share/locale/sv/LC_MESSAGES/sharutils.mo
|
||||
share/locale/tr/LC_MESSAGES/sharutils.mo
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$NetBSD: distinfo,v 1.17 2011/11/19 18:59:20 marino Exp $
|
||||
$NetBSD: distinfo,v 1.18 2013/07/21 09:03:19 shattered Exp $
|
||||
|
||||
SHA1 (sharutils-4.11.1.tar.gz) = e73d15384e5bd688a12ff0b48a605170ea13f4d5
|
||||
RMD160 (sharutils-4.11.1.tar.gz) = 79b57b8c139cd7845de2c0778f5230261c5331b2
|
||||
Size (sharutils-4.11.1.tar.gz) = 1297757 bytes
|
||||
SHA1 (sharutils-4.13.4.tar.gz) = 29c8a3ed89ae63cda6c25db552719abeb9d50cbd
|
||||
RMD160 (sharutils-4.13.4.tar.gz) = cd1160ffe963181c99396e6b2a0c2b09464a807a
|
||||
Size (sharutils-4.13.4.tar.gz) = 1956545 bytes
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
# $NetBSD: Makefile,v 1.78 2012/12/31 00:25:56 sbd Exp $
|
||||
# $NetBSD: Makefile,v 1.82 2014/03/18 18:11:26 bsiegert Exp $
|
||||
#
|
||||
# Please run 'make files/gtar.1' when updating version of this package
|
||||
# to regenerate the man page. converters/help2man is needed.
|
||||
|
||||
DISTNAME= tar-1.26
|
||||
DISTNAME= tar-1.27.1
|
||||
PKGNAME= ${DISTNAME:S/tar/gtar-base/}
|
||||
PKGREVISION= 2
|
||||
PKGREVISION= 1
|
||||
SVR4_PKGNAME= gtarb
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=tar/}
|
||||
@@ -49,9 +52,23 @@ PLIST.rmt= yes
|
||||
CONFIGURE_ENV+= gt_cv_func_gnugettext3_libintl=yes
|
||||
.endif
|
||||
|
||||
SYMLINKS = bin/gtar ${PKGGNUDIR}bin/tar \
|
||||
${PKGMANDIR}/man1/gtar.1 ${PKGGNUDIR}${PKGMANDIR}/man1/tar.1 \
|
||||
libexec/grmt ${PKGGNUDIR}libexec/rmt
|
||||
.if ${OPSYS} == "MirBSD"
|
||||
CPPFLAGS+= -Dstrtoimax=strtoll -Dstrtoumax=strtoull
|
||||
.endif
|
||||
|
||||
SYMLINKS= bin/gtar ${PKGGNUDIR}bin/tar \
|
||||
${PKGMANDIR}/man1/gtar.1 ${PKGGNUDIR}${PKGMANDIR}/man1/tar.1
|
||||
|
||||
.if defined(PLIST.rmt) && ${PLIST.rmt} == "yes"
|
||||
SYMLINKS+= libexec/grmt ${PKGGNUDIR}libexec/rmt
|
||||
.endif
|
||||
|
||||
files/gtar.1: build
|
||||
${ECHO} .\\\" > ${FILESDIR}/gtar.1
|
||||
${ECHO} .\\\" \$$NetBSD\$$ >> ${FILESDIR}/gtar.1
|
||||
help2man --name "The GNU version of the tar archiving utility" \
|
||||
--info-page tar ${WRKSRC}/src/tar | \
|
||||
${SED} '/help2man/d' >> ${FILESDIR}/gtar.1
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${FILESDIR}/gtar.1 \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@comment $NetBSD: PLIST,v 1.16 2012/06/01 16:43:14 cheusov Exp $
|
||||
@comment $NetBSD: PLIST,v 1.17 2014/02/24 08:16:56 adam Exp $
|
||||
bin/gtar
|
||||
gnu/bin/tar
|
||||
gnu/man/man1/tar.1
|
||||
@@ -11,6 +11,7 @@ share/locale/cs/LC_MESSAGES/tar.mo
|
||||
share/locale/da/LC_MESSAGES/tar.mo
|
||||
share/locale/de/LC_MESSAGES/tar.mo
|
||||
share/locale/el/LC_MESSAGES/tar.mo
|
||||
share/locale/eo/LC_MESSAGES/tar.mo
|
||||
share/locale/es/LC_MESSAGES/tar.mo
|
||||
share/locale/et/LC_MESSAGES/tar.mo
|
||||
share/locale/eu/LC_MESSAGES/tar.mo
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
$NetBSD: distinfo,v 1.30 2011/05/11 07:49:58 adam Exp $
|
||||
$NetBSD: distinfo,v 1.32 2014/03/18 09:03:26 obache Exp $
|
||||
|
||||
SHA1 (tar-1.26.tar.bz2) = 70f298c3cd997b694864c55e6d8655324c87a0cc
|
||||
RMD160 (tar-1.26.tar.bz2) = d507dc5a57a823701cae5cdd2b98aba48ec74d3f
|
||||
Size (tar-1.26.tar.bz2) = 2339773 bytes
|
||||
SHA1 (tar-1.27.1.tar.bz2) = 67aa31d0d497849c05ba5ea6eb41cff130407751
|
||||
RMD160 (tar-1.27.1.tar.bz2) = a99ccfd874ac72c1e0feec2d86423c3e5bcd19fb
|
||||
Size (tar-1.27.1.tar.bz2) = 2573070 bytes
|
||||
SHA1 (patch-ad) = f3a988a6b675a389d8d307fe1a90dde81ba98df5
|
||||
SHA1 (patch-gnu_readlinkat.c) = b1ddbf5159db92df9186354f27db5c9cb93b9afa
|
||||
|
||||
@@ -1,265 +1,611 @@
|
||||
.\"
|
||||
.\" $NetBSD: gtar.1,v 1.4 2004/09/27 16:12:04 wiz Exp $
|
||||
.\" @(#)tar.1 1.13.25 2000/12/14 Werner;
|
||||
.\" from SuSe tar-1.13.25-45.src.rpm
|
||||
.TH TAR 1 "14 December 2000" "Version 1.13.25"
|
||||
.UC 1
|
||||
.\" $NetBSD: gtar.1,v 1.5 2014/03/12 13:32:14 fhajny Exp $
|
||||
.TH TAR "1" "March 2014" "tar 1.27.1" "User Commands"
|
||||
.SH NAME
|
||||
tar \- The GNU version of the tar archiving utility
|
||||
.SH SYNOPSIS
|
||||
.B tar
|
||||
.RB [ \- ]
|
||||
.RB [ "A \-\-catenate \-\-concatenate" \||\| "c \-\-create" \||\| "d \-\-diff \-\-compare" \||\| "r \-\-append" \||\| "t \-\-list" \||\| "u \-\-update" \||\| "x \-\-extract \-\-get" ]
|
||||
.RB [ \-\-atime\-preserve ]
|
||||
.RB [ "\-b, \-\-block\-size=\fIN\fP" ]
|
||||
.RB [ "\-B, \-\-read\-full\-blocks" ]
|
||||
.RB [ "\-C, \-\-directory=\fIDIR\fP" ]
|
||||
.RB [ \-\-checkpoint ]
|
||||
.RB [ "\-f, \-\-file=\fR[\fP\fIHOSTNAME\fP:\fR]\fP\fIF\fP" ]
|
||||
.RB [ "\-F, \-\-info\-script=\fIF\fP, \-\-new\-volume\-script=\fIF\fP" ]
|
||||
.RB [ "\-\-force\-local" ]
|
||||
.RB [ "\-G, \-\-incremental" ]
|
||||
.RB [ "\-g, \-\-listed\-incremental=\fIF\fP" ]
|
||||
.RB [ "\-h, \-\-dereference" ]
|
||||
.RB [ "\-i, \-\-ignore\-zeros" ]
|
||||
.RB [ "\-j, \-\-bzip2, \-\-bunzip2" ]
|
||||
.RB [ \-\-ignore\-failed\-read ]
|
||||
.RB [ "\-k, \-\-keep\-old\-files" ]
|
||||
.RB [ "\-K, \-\-starting\-file=\fIF\fP" ]
|
||||
.RB [ "\-l, \-\-one\-file\-system" ]
|
||||
.RB [ "\-L, \-\-tape\-length=\fIN\fP" ]
|
||||
.RB [ "\-m, \-\-modification\-time" ]
|
||||
.RB [ "\-M, \-\-multi\-volume" ]
|
||||
.RB [ "\-N, \-\-after\-date=\fIDATE\fP, \-\-newer=\fIDATE\fP" ]
|
||||
.RB [ "\-o, \-\-old\-archive, \-\-portability" ]
|
||||
.RB [ "\-O, \-\-to\-stdout" ]
|
||||
.RB [ "\-p, \-\-same\-permissions, \-\-preserve\-permissions" ]
|
||||
.RB [ "\-P, \-\-absolute\-paths" ]
|
||||
.RB [ \-\-preserve ]
|
||||
.RB [ "\-R, \-\-record\-number" ]
|
||||
.RB [ "\-\-recursive\-unlink" ]
|
||||
.RB [ \-\-remove\-files ]
|
||||
.RB [ "\-s, \-\-same\-order, \-\-preserve\-order" ]
|
||||
.RB [ \-\-same\-owner ]
|
||||
.RB [ "\-S, \-\-sparse" ]
|
||||
.RB [ "\-T, \-\-files\-from=\fIF\fP" ]
|
||||
.RB [ \-\-null ]
|
||||
.RB [ \-\-totals ]
|
||||
.RB [ "\-v, \-\-verbose" ]
|
||||
.RB [ "\-V, \-\-label=\fINAME\fP" ]
|
||||
.RB [ \-\-version ]
|
||||
.RB [ "\-w, \-\-interactive, \-\-confirmation" ]
|
||||
.RB [ "\-W, \-\-verify" ]
|
||||
.RB [ "\-\-exclude=\fIFILE\fP" ]
|
||||
.RB [ "\-X, \-\-exclude\-from=\fIFILE\fP" ]
|
||||
.RB [ "\-Z, \-\-compress, \-\-uncompress" ]
|
||||
.RB [ "\-z, \-\-gzip, \-\-ungzip" ]
|
||||
.RB [ "\-\-use\-compress\-program=\fIPROG\fP" ]
|
||||
.RB [ \-\-block\-compress ]
|
||||
.RB [ \-\fR[\fP0\-7\fR][\fPlmh\fR]\fP ]
|
||||
.TP
|
||||
.I filename1 \fR[\fP filename2\fR,\fP \fR...\fP filenameN \fR]
|
||||
.TP
|
||||
.I directory1 \fR[\fP directory2\fR,\fP \fR...\fP directoryN \fR]
|
||||
[\fIOPTION\fR...] [\fIFILE\fR]...
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
This manual page documents the GNU version 1.13.25 of
|
||||
.BR tar ,
|
||||
an archiving program designed to store and extract files from
|
||||
an archive file known as a
|
||||
.IR tarfile .
|
||||
A
|
||||
.I tarfile
|
||||
may be made on a tape drive, however, it is also common
|
||||
to write a
|
||||
.I tarfile
|
||||
to a normal file.
|
||||
The first argument to
|
||||
.B tar
|
||||
must be one of the options:
|
||||
.BR Acdrtux ,
|
||||
followed by any optional functions.
|
||||
The final arguments to
|
||||
.B tar
|
||||
are the names of the files or directories which should be archived. The use
|
||||
of a directory name always implies that the subdirectories below should be
|
||||
included in the archive.
|
||||
.SH "FUNCTION LETTERS"
|
||||
GNU 'tar' saves many files together into a single tape or disk archive, and can
|
||||
restore individual files from the archive.
|
||||
.SH EXAMPLES
|
||||
.TP
|
||||
.B One of the following options must be used:
|
||||
tar \-cf archive.tar foo bar
|
||||
# Create archive.tar from files foo and bar.
|
||||
.TP
|
||||
.B \-A, \-\-catenate, \-\-concatenate
|
||||
tar \-tvf archive.tar
|
||||
# List all files in archive.tar verbosely.
|
||||
.TP
|
||||
tar \-xf archive.tar
|
||||
# Extract all files from archive.tar.
|
||||
.IP
|
||||
Main operation mode:
|
||||
.TP
|
||||
\-A, \-\-catenate, \-\-concatenate
|
||||
append tar files to an archive
|
||||
.TP
|
||||
.B \-c, \-\-create
|
||||
\-c, \-\-create
|
||||
create a new archive
|
||||
.TP
|
||||
.B \-d, \-\-diff, \-\-compare
|
||||
\-d, \-\-diff, \-\-compare
|
||||
find differences between archive and file system
|
||||
.TP
|
||||
.B \-\-delete
|
||||
delete from the archive (not for use on mag tapes!)
|
||||
\-\-delete
|
||||
delete from the archive (not on mag tapes!)
|
||||
.TP
|
||||
.B \-r, \-\-append
|
||||
\-r, \-\-append
|
||||
append files to the end of an archive
|
||||
.TP
|
||||
.B \-t, \-\-list
|
||||
\-t, \-\-list
|
||||
list the contents of an archive
|
||||
.TP
|
||||
.B \-u, \-\-update
|
||||
only append files that are newer than copy in archive
|
||||
\-\-test\-label
|
||||
test the archive volume label and exit
|
||||
.TP
|
||||
.B \-x, \-\-extract, \-\-get
|
||||
\-u, \-\-update
|
||||
only append files newer than copy in archive
|
||||
.TP
|
||||
\-x, \-\-extract, \-\-get
|
||||
extract files from an archive
|
||||
.SH "OTHER OPTIONS"
|
||||
.IP
|
||||
Operation modifiers:
|
||||
.TP
|
||||
.B \-\-atime\-preserve
|
||||
don't change access times on dumped files
|
||||
\-\-check\-device
|
||||
check device numbers when creating incremental
|
||||
archives (default)
|
||||
.TP
|
||||
.B \-b, \-\-block\-size=\fIN
|
||||
block size of \fIN\fPx512 bytes (default \fIN\fP=20)
|
||||
\-g, \-\-listed\-incremental=FILE
|
||||
handle new GNU\-format incremental backup
|
||||
.TP
|
||||
.B \-B, \-\-read\-full\-blocks
|
||||
reblock as we read (for reading 4.2BSD pipes)
|
||||
\-G, \-\-incremental
|
||||
handle old GNU\-format incremental backup
|
||||
.TP
|
||||
.B \-C, \-\-directory=\fIDIR
|
||||
change to directory \fIDIR
|
||||
\-\-ignore\-failed\-read
|
||||
do not exit with nonzero on unreadable files
|
||||
.TP
|
||||
.B \-\-checkpoint
|
||||
print directory names while reading the archive
|
||||
\-\-level=NUMBER
|
||||
dump level for created listed\-incremental archive
|
||||
.TP
|
||||
.B \-f, \-\-file=\fR[\fP\fIHOSTNAME\fP:\fR]\fP\fIF
|
||||
use archive file or device \fIF\fP (default /dev/rmt0)
|
||||
\-n, \-\-seek
|
||||
archive is seekable
|
||||
.TP
|
||||
.B \-\-force\-local
|
||||
archive file is local even if has a colon
|
||||
\-\-no\-check\-device
|
||||
do not check device numbers when creating
|
||||
incremental archives
|
||||
.TP
|
||||
.B \-F, \-\-info\-script=\fIF\fP, \-\-new\-volume\-script=\fIF
|
||||
run script at end of each tape (implies \-M)
|
||||
\-\-no\-seek
|
||||
archive is not seekable
|
||||
.TP
|
||||
.B \-G, \-\-incremental
|
||||
create/list/extract old GNU\-format incremental backup
|
||||
\-\-occurrence[=NUMBER]
|
||||
process only the NUMBERth occurrence of each file
|
||||
in the archive; this option is valid only in
|
||||
conjunction with one of the subcommands \-\-delete,
|
||||
\-\-diff, \-\-extract or \-\-list and when a list of
|
||||
files is given either on the command line or via
|
||||
the \-T option; NUMBER defaults to 1
|
||||
.TP
|
||||
.B \-g, \-\-listed\-incremental=\fIF
|
||||
create/list/extract new GNU\-format incremental backup
|
||||
\-\-sparse\-version=MAJOR[.MINOR]
|
||||
set version of the sparse format to use (implies
|
||||
\-\-sparse)
|
||||
.TP
|
||||
.B \-h, \-\-dereference
|
||||
don't dump symlinks; dump the files they point to
|
||||
\-S, \-\-sparse
|
||||
handle sparse files efficiently
|
||||
.IP
|
||||
Overwrite control:
|
||||
.TP
|
||||
.B \-i, \-\-ignore\-zeros
|
||||
ignore blocks of zeros in archive (normally mean EOF)
|
||||
\-k, \-\-keep\-old\-files
|
||||
don't replace existing files when extracting,
|
||||
treat them as errors
|
||||
.TP
|
||||
.B \-j, \-\-bzip2, \-\-bunzip2
|
||||
filter the archive through bzip2
|
||||
\-\-keep\-directory\-symlink
|
||||
preserve existing symlinks to directories when
|
||||
extracting
|
||||
.TP
|
||||
.B \-\-ignore\-failed\-read
|
||||
don't exit with non\-zero status on unreadable files
|
||||
\-\-keep\-newer\-files
|
||||
don't replace existing files that are newer than
|
||||
their archive copies
|
||||
.TP
|
||||
.B \-k, \-\-keep\-old\-files
|
||||
keep existing files; don't overwrite them from archive
|
||||
\-\-no\-overwrite\-dir
|
||||
preserve metadata of existing directories
|
||||
.TP
|
||||
.B \-K, \-\-starting\-file=\fIF
|
||||
begin at file F in the archive
|
||||
\-\-overwrite
|
||||
overwrite existing files when extracting
|
||||
.TP
|
||||
.B \-l, \-\-one\-file\-system
|
||||
stay in local file system when creating an archive
|
||||
\-\-overwrite\-dir
|
||||
overwrite metadata of existing directories when
|
||||
extracting (default)
|
||||
.TP
|
||||
.B \-L, \-\-tape\-length=\fIN
|
||||
change tapes after writing N*1024 bytes
|
||||
\-\-recursive\-unlink
|
||||
empty hierarchies prior to extracting directory
|
||||
.TP
|
||||
.B \-m, \-\-modification\-time
|
||||
don't extract file modified time
|
||||
.TP
|
||||
.B \-M, \-\-multi\-volume
|
||||
create/list/extract multi\-volume archive
|
||||
.TP
|
||||
.B \-N, \-\-after\-date=\fIDATE\fP, \-\-newer=\fIDATE
|
||||
only store files newer than \fIDATE
|
||||
.TP
|
||||
.B \-o, \-\-old\-archive, \-\-portability
|
||||
write a V7 format archive, rather than ANSI format
|
||||
.TP
|
||||
.B \-O, \-\-to\-stdout
|
||||
extract files to standard output
|
||||
.TP
|
||||
.B \-p, \-\-same\-permissions, \-\-preserve\-permissions
|
||||
extract all protection information
|
||||
.TP
|
||||
.B \-P, \-\-absolute\-paths
|
||||
don't strip leading `/'s from file names
|
||||
.TP
|
||||
.B \-\-preserve
|
||||
like \-p \-s
|
||||
.TP
|
||||
.B \-R, \-\-record\-number
|
||||
show record number within archive with each message
|
||||
.TP
|
||||
.B \-\-recursive\-unlink
|
||||
Empty hierarchies prior to extracting directory
|
||||
.TP
|
||||
.B \-\-remove\-files
|
||||
\-\-remove\-files
|
||||
remove files after adding them to the archive
|
||||
.TP
|
||||
.B \-s, \-\-same\-order, \-\-preserve\-order
|
||||
list of names to extract is sorted to match archive
|
||||
\-\-skip\-old\-files
|
||||
don't replace existing files when extracting,
|
||||
silently skip over them
|
||||
.TP
|
||||
.B \-\-same\-owner
|
||||
create extracted files with the same ownership
|
||||
\-U, \-\-unlink\-first
|
||||
remove each file prior to extracting over it
|
||||
.TP
|
||||
.B \-S, \-\-sparse
|
||||
handle sparse files efficiently
|
||||
.TP
|
||||
.B \-T, \-\-files\-from=\fIF
|
||||
get names to extract or create from file \fIF
|
||||
.TP
|
||||
.B \-\-null
|
||||
-T reads null\-terminated names, disable \-C
|
||||
.TP
|
||||
.B \-\-totals
|
||||
print total bytes written with \-\-create
|
||||
.TP
|
||||
.B \-v, \-\-verbose
|
||||
verbosely list files processed
|
||||
.TP
|
||||
.B \-V, \-\-label=\fINAME
|
||||
create archive with volume name \fINAME
|
||||
.TP
|
||||
.B \-\-version
|
||||
print tar program version number
|
||||
.TP
|
||||
.B \-w, \-\-interactive, \-\-confirmation
|
||||
ask for confirmation for every action
|
||||
.TP
|
||||
.B \-W, \-\-verify
|
||||
\-W, \-\-verify
|
||||
attempt to verify the archive after writing it
|
||||
.IP
|
||||
Select output stream:
|
||||
.HP
|
||||
\-\-ignore\-command\-error ignore exit codes of children
|
||||
.TP
|
||||
.B \-\-exclude=\fIFILE
|
||||
exclude file \fIFILE
|
||||
\-\-no\-ignore\-command\-error
|
||||
treat non\-zero exit codes of children as
|
||||
error
|
||||
.TP
|
||||
.B \-X, \-\-exclude\-from=\fIFILE
|
||||
exclude files listed in \fIFILE
|
||||
\-O, \-\-to\-stdout
|
||||
extract files to standard output
|
||||
.TP
|
||||
.B \-Z, \-\-compress, \-\-uncompress
|
||||
filter the archive through compress
|
||||
\-\-to\-command=COMMAND
|
||||
pipe extracted files to another program
|
||||
.IP
|
||||
Handling of file attributes:
|
||||
.TP
|
||||
.B \-z, \-\-gzip, \-\-ungzip
|
||||
\-\-atime\-preserve[=METHOD]
|
||||
preserve access times on dumped files, either
|
||||
by restoring the times after reading
|
||||
(METHOD='replace'; default) or by not setting the
|
||||
times in the first place (METHOD='system')
|
||||
.TP
|
||||
\-\-delay\-directory\-restore
|
||||
delay setting modification times and
|
||||
permissions of extracted directories until the end
|
||||
of extraction
|
||||
.TP
|
||||
\-\-group=NAME
|
||||
force NAME as group for added files
|
||||
.TP
|
||||
\-\-mode=CHANGES
|
||||
force (symbolic) mode CHANGES for added files
|
||||
.TP
|
||||
\-\-mtime=DATE\-OR\-FILE
|
||||
set mtime for added files from DATE\-OR\-FILE
|
||||
.TP
|
||||
\-m, \-\-touch
|
||||
don't extract file modified time
|
||||
.TP
|
||||
\-\-no\-delay\-directory\-restore
|
||||
cancel the effect of \-\-delay\-directory\-restore
|
||||
option
|
||||
.TP
|
||||
\-\-no\-same\-owner
|
||||
extract files as yourself (default for ordinary
|
||||
users)
|
||||
.TP
|
||||
\-\-no\-same\-permissions
|
||||
apply the user's umask when extracting permissions
|
||||
from the archive (default for ordinary users)
|
||||
.TP
|
||||
\-\-numeric\-owner
|
||||
always use numbers for user/group names
|
||||
.TP
|
||||
\-\-owner=NAME
|
||||
force NAME as owner for added files
|
||||
.TP
|
||||
\-p, \-\-preserve\-permissions, \-\-same\-permissions
|
||||
extract information about file permissions
|
||||
(default for superuser)
|
||||
.TP
|
||||
\-\-preserve
|
||||
same as both \-p and \-s
|
||||
.TP
|
||||
\-\-same\-owner
|
||||
try extracting files with the same ownership as
|
||||
exists in the archive (default for superuser)
|
||||
.TP
|
||||
\-s, \-\-preserve\-order, \-\-same\-order
|
||||
member arguments are listed in the same order as
|
||||
the files in the archive
|
||||
.IP
|
||||
Handling of extended file attributes:
|
||||
.TP
|
||||
\-\-acls
|
||||
Enable the POSIX ACLs support
|
||||
.TP
|
||||
\-\-no\-acls
|
||||
Disable the POSIX ACLs support
|
||||
.TP
|
||||
\-\-no\-selinux
|
||||
Disable the SELinux context support
|
||||
.TP
|
||||
\-\-no\-xattrs
|
||||
Disable extended attributes support
|
||||
.TP
|
||||
\-\-selinux
|
||||
Enable the SELinux context support
|
||||
.TP
|
||||
\-\-xattrs
|
||||
Enable extended attributes support
|
||||
.TP
|
||||
\-\-xattrs\-exclude=MASK
|
||||
specify the exclude pattern for xattr keys
|
||||
.TP
|
||||
\-\-xattrs\-include=MASK
|
||||
specify the include pattern for xattr keys
|
||||
.IP
|
||||
Device selection and switching:
|
||||
.TP
|
||||
\-f, \-\-file=ARCHIVE
|
||||
use archive file or device ARCHIVE
|
||||
.TP
|
||||
\-\-force\-local
|
||||
archive file is local even if it has a colon
|
||||
.TP
|
||||
\-F, \-\-info\-script=NAME, \-\-new\-volume\-script=NAME
|
||||
run script at end of each tape (implies \-M)
|
||||
.TP
|
||||
\-L, \-\-tape\-length=NUMBER
|
||||
change tape after writing NUMBER x 1024 bytes
|
||||
.TP
|
||||
\-M, \-\-multi\-volume
|
||||
create/list/extract multi\-volume archive
|
||||
.TP
|
||||
\-\-rmt\-command=COMMAND
|
||||
use given rmt COMMAND instead of rmt
|
||||
.TP
|
||||
\-\-rsh\-command=COMMAND
|
||||
use remote COMMAND instead of rsh
|
||||
.TP
|
||||
\-\-volno\-file=FILE
|
||||
use/update the volume number in FILE
|
||||
.IP
|
||||
Device blocking:
|
||||
.TP
|
||||
\-b, \-\-blocking\-factor=BLOCKS
|
||||
BLOCKS x 512 bytes per record
|
||||
.TP
|
||||
\-B, \-\-read\-full\-records
|
||||
reblock as we read (for 4.2BSD pipes)
|
||||
.TP
|
||||
\-i, \-\-ignore\-zeros
|
||||
ignore zeroed blocks in archive (means EOF)
|
||||
.TP
|
||||
\-\-record\-size=NUMBER
|
||||
NUMBER of bytes per record, multiple of 512
|
||||
.IP
|
||||
Archive format selection:
|
||||
.TP
|
||||
\-H, \-\-format=FORMAT
|
||||
create archive of the given format
|
||||
.IP
|
||||
FORMAT is one of the following:
|
||||
.TP
|
||||
gnu
|
||||
GNU tar 1.13.x format
|
||||
.TP
|
||||
oldgnu
|
||||
GNU format as per tar <= 1.12
|
||||
.TP
|
||||
pax
|
||||
POSIX 1003.1\-2001 (pax) format
|
||||
.TP
|
||||
posix
|
||||
same as pax
|
||||
.TP
|
||||
ustar
|
||||
POSIX 1003.1\-1988 (ustar) format
|
||||
.TP
|
||||
v7
|
||||
old V7 tar format
|
||||
.TP
|
||||
\-\-old\-archive, \-\-portability
|
||||
same as \-\-format=v7
|
||||
.TP
|
||||
\-\-pax\-option=keyword[[:]=value][,keyword[[:]=value]]...
|
||||
control pax keywords
|
||||
.TP
|
||||
\-\-posix
|
||||
same as \-\-format=posix
|
||||
.TP
|
||||
\-V, \-\-label=TEXT
|
||||
create archive with volume name TEXT; at
|
||||
list/extract time, use TEXT as a globbing pattern
|
||||
for volume name
|
||||
.IP
|
||||
Compression options:
|
||||
.TP
|
||||
\-a, \-\-auto\-compress
|
||||
use archive suffix to determine the compression
|
||||
program
|
||||
.TP
|
||||
\-I, \-\-use\-compress\-program=PROG
|
||||
filter through PROG (must accept \-d)
|
||||
.TP
|
||||
\-j, \-\-bzip2
|
||||
filter the archive through bzip2
|
||||
.TP
|
||||
\-J, \-\-xz
|
||||
filter the archive through xz
|
||||
.TP
|
||||
\-\-lzip
|
||||
filter the archive through lzip
|
||||
.TP
|
||||
\-\-lzma
|
||||
filter the archive through lzma
|
||||
.HP
|
||||
\-\-lzop
|
||||
.TP
|
||||
\-\-no\-auto\-compress
|
||||
do not use archive suffix to determine the
|
||||
compression program
|
||||
.TP
|
||||
\-z, \-\-gzip, \-\-gunzip, \-\-ungzip
|
||||
filter the archive through gzip
|
||||
.TP
|
||||
.B \-\-use\-compress\-program=\fIPROG
|
||||
filter the archive through \fIPROG\fP (which must accept \-d)
|
||||
\-Z, \-\-compress, \-\-uncompress
|
||||
filter the archive through compress
|
||||
.IP
|
||||
Local file selection:
|
||||
.TP
|
||||
.B \-\-block\-compress
|
||||
block the output of compression program for tapes
|
||||
\-\-add\-file=FILE
|
||||
add given FILE to the archive (useful if its name
|
||||
starts with a dash)
|
||||
.TP
|
||||
.B \-\fR[\fP0\-7\fR][\fPlmh\fR]
|
||||
specify drive and density
|
||||
.SH BUGS
|
||||
.LP
|
||||
The GNU folks, in general, abhor man pages, and create info documents instead.
|
||||
The maintainer of tar falls into this category. This man page is neither
|
||||
complete, nor current, and was included in the Debian Linux packaging of tar
|
||||
entirely to reduce the frequency with which the lack of a man page gets
|
||||
reported as a bug in our defect tracking system.
|
||||
|
||||
If you really want to understand tar, then you should run info and read the
|
||||
tar info pages, or use the info mode in emacs.
|
||||
\-\-backup[=CONTROL]
|
||||
backup before removal, choose version CONTROL
|
||||
.TP
|
||||
\-C, \-\-directory=DIR
|
||||
change to directory DIR
|
||||
.TP
|
||||
\-\-exclude=PATTERN
|
||||
exclude files, given as a PATTERN
|
||||
.TP
|
||||
\-\-exclude\-backups
|
||||
exclude backup and lock files
|
||||
.TP
|
||||
\-\-exclude\-caches
|
||||
exclude contents of directories containing
|
||||
CACHEDIR.TAG, except for the tag file itself
|
||||
.TP
|
||||
\-\-exclude\-caches\-all
|
||||
exclude directories containing CACHEDIR.TAG
|
||||
.TP
|
||||
\-\-exclude\-caches\-under exclude everything under directories containing
|
||||
CACHEDIR.TAG
|
||||
.TP
|
||||
\-\-exclude\-tag=FILE
|
||||
exclude contents of directories containing FILE,
|
||||
except for FILE itself
|
||||
.HP
|
||||
\-\-exclude\-tag\-all=FILE exclude directories containing FILE
|
||||
.TP
|
||||
\-\-exclude\-tag\-under=FILE
|
||||
exclude everything under directories
|
||||
containing FILE
|
||||
.TP
|
||||
\-\-exclude\-vcs
|
||||
exclude version control system directories
|
||||
.TP
|
||||
\-h, \-\-dereference
|
||||
follow symlinks; archive and dump the files they
|
||||
point to
|
||||
.TP
|
||||
\-\-hard\-dereference
|
||||
follow hard links; archive and dump the files they
|
||||
refer to
|
||||
.TP
|
||||
\-K, \-\-starting\-file=MEMBER\-NAME
|
||||
begin at member MEMBER\-NAME when reading the
|
||||
archive
|
||||
.TP
|
||||
\-\-newer\-mtime=DATE
|
||||
compare date and time when data changed only
|
||||
.TP
|
||||
\-\-no\-null
|
||||
disable the effect of the previous \-\-null option
|
||||
.TP
|
||||
\-\-no\-recursion
|
||||
avoid descending automatically in directories
|
||||
.TP
|
||||
\-\-no\-unquote
|
||||
do not unquote filenames read with \-T
|
||||
.HP
|
||||
\-\-null \-T reads null\-terminated names, disable \-C
|
||||
.TP
|
||||
\-N, \-\-newer=DATE\-OR\-FILE, \-\-after\-date=DATE\-OR\-FILE
|
||||
only store files newer than DATE\-OR\-FILE
|
||||
.TP
|
||||
\-\-one\-file\-system
|
||||
stay in local file system when creating archive
|
||||
.TP
|
||||
\-P, \-\-absolute\-names
|
||||
don't strip leading '/'s from file names
|
||||
.TP
|
||||
\-\-recursion
|
||||
recurse into directories (default)
|
||||
.TP
|
||||
\-\-suffix=STRING
|
||||
backup before removal, override usual suffix ('~'
|
||||
unless overridden by environment variable
|
||||
SIMPLE_BACKUP_SUFFIX)
|
||||
.TP
|
||||
\-T, \-\-files\-from=FILE
|
||||
get names to extract or create from FILE
|
||||
.TP
|
||||
\-\-unquote
|
||||
unquote filenames read with \-T (default)
|
||||
.TP
|
||||
\-X, \-\-exclude\-from=FILE
|
||||
exclude patterns listed in FILE
|
||||
.IP
|
||||
File name transformations:
|
||||
.TP
|
||||
\-\-strip\-components=NUMBER
|
||||
strip NUMBER leading components from file
|
||||
names on extraction
|
||||
.TP
|
||||
\-\-transform=EXPRESSION, \-\-xform=EXPRESSION
|
||||
use sed replace EXPRESSION to transform file
|
||||
names
|
||||
.IP
|
||||
File name matching options (affect both exclude and include patterns):
|
||||
.TP
|
||||
\-\-anchored
|
||||
patterns match file name start
|
||||
.TP
|
||||
\-\-ignore\-case
|
||||
ignore case
|
||||
.TP
|
||||
\-\-no\-anchored
|
||||
patterns match after any '/' (default for
|
||||
exclusion)
|
||||
.TP
|
||||
\-\-no\-ignore\-case
|
||||
case sensitive matching (default)
|
||||
.TP
|
||||
\-\-no\-wildcards
|
||||
verbatim string matching
|
||||
.TP
|
||||
\-\-no\-wildcards\-match\-slash
|
||||
wildcards do not match '/'
|
||||
.TP
|
||||
\-\-wildcards
|
||||
use wildcards (default for exclusion)
|
||||
.TP
|
||||
\-\-wildcards\-match\-slash
|
||||
wildcards match '/' (default for exclusion)
|
||||
.IP
|
||||
Informative output:
|
||||
.TP
|
||||
\-\-checkpoint[=NUMBER]
|
||||
display progress messages every NUMBERth record
|
||||
(default 10)
|
||||
.TP
|
||||
\-\-checkpoint\-action=ACTION
|
||||
execute ACTION on each checkpoint
|
||||
.TP
|
||||
\-\-full\-time
|
||||
print file time to its full resolution
|
||||
.TP
|
||||
\-\-index\-file=FILE
|
||||
send verbose output to FILE
|
||||
.TP
|
||||
\-l, \-\-check\-links
|
||||
print a message if not all links are dumped
|
||||
.TP
|
||||
\-\-no\-quote\-chars=STRING
|
||||
disable quoting for characters from STRING
|
||||
.TP
|
||||
\-\-quote\-chars=STRING
|
||||
additionally quote characters from STRING
|
||||
.TP
|
||||
\-\-quoting\-style=STYLE
|
||||
set name quoting style; see below for valid STYLE
|
||||
values
|
||||
.TP
|
||||
\-R, \-\-block\-number
|
||||
show block number within archive with each message
|
||||
.TP
|
||||
\-\-show\-defaults
|
||||
show tar defaults
|
||||
.TP
|
||||
\-\-show\-omitted\-dirs
|
||||
when listing or extracting, list each directory
|
||||
that does not match search criteria
|
||||
.TP
|
||||
\-\-show\-snapshot\-field\-ranges
|
||||
show valid ranges for snapshot\-file fields
|
||||
.TP
|
||||
\-\-show\-transformed\-names, \-\-show\-stored\-names
|
||||
show file or archive names after transformation
|
||||
.TP
|
||||
\-\-totals[=SIGNAL]
|
||||
print total bytes after processing the archive;
|
||||
with an argument \- print total bytes when this
|
||||
SIGNAL is delivered; Allowed signals are: SIGHUP,
|
||||
SIGQUIT, SIGINT, SIGUSR1 and SIGUSR2; the names
|
||||
without SIG prefix are also accepted
|
||||
.TP
|
||||
\-\-utc
|
||||
print file modification times in UTC
|
||||
.TP
|
||||
\-v, \-\-verbose
|
||||
verbosely list files processed
|
||||
.TP
|
||||
\-\-warning=KEYWORD
|
||||
warning control
|
||||
.TP
|
||||
\-w, \-\-interactive, \-\-confirmation
|
||||
ask for confirmation for every action
|
||||
.IP
|
||||
Compatibility options:
|
||||
.TP
|
||||
\-o
|
||||
when creating, same as \-\-old\-archive; when
|
||||
extracting, same as \-\-no\-same\-owner
|
||||
.IP
|
||||
Other options:
|
||||
.TP
|
||||
\-?, \-\-help
|
||||
give this help list
|
||||
.TP
|
||||
\-\-restrict
|
||||
disable use of some potentially harmful options
|
||||
.TP
|
||||
\-\-usage
|
||||
give a short usage message
|
||||
.TP
|
||||
\-\-version
|
||||
print program version
|
||||
.PP
|
||||
Mandatory or optional arguments to long options are also mandatory or optional
|
||||
for any corresponding short options.
|
||||
.PP
|
||||
The backup suffix is '~', unless set with \-\-suffix or SIMPLE_BACKUP_SUFFIX.
|
||||
The version control may be set with \-\-backup or VERSION_CONTROL, values are:
|
||||
.TP
|
||||
none, off
|
||||
never make backups
|
||||
.TP
|
||||
t, numbered
|
||||
make numbered backups
|
||||
.TP
|
||||
nil, existing
|
||||
numbered if numbered backups exist, simple otherwise
|
||||
.TP
|
||||
never, simple
|
||||
always make simple backups
|
||||
.PP
|
||||
Valid arguments for the \-\-quoting\-style option are:
|
||||
.IP
|
||||
literal
|
||||
shell
|
||||
shell\-always
|
||||
c
|
||||
c\-maybe
|
||||
escape
|
||||
locale
|
||||
clocale
|
||||
.PP
|
||||
*This* tar defaults to:
|
||||
\-\-format=gnu \-f\- \-b20 \-\-quoting\-style=escape
|
||||
\-\-rmt\-command=/opt/local/libexec/grmt \-\-rsh\-command=/usr/bin/rsh
|
||||
.SH AUTHOR
|
||||
Written by John Gilmore and Jay Fenlason.
|
||||
.SH "REPORTING BUGS"
|
||||
Report bugs to <bug\-tar@gnu.org>.
|
||||
.SH COPYRIGHT
|
||||
Copyright \(co 2013 Free Software Foundation, Inc.
|
||||
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
|
||||
.br
|
||||
This is free software: you are free to change and redistribute it.
|
||||
There is NO WARRANTY, to the extent permitted by law.
|
||||
.SH "SEE ALSO"
|
||||
The full documentation for
|
||||
.B tar
|
||||
is maintained as a Texinfo manual. If the
|
||||
.B info
|
||||
and
|
||||
.B tar
|
||||
programs are properly installed at your site, the command
|
||||
.IP
|
||||
.B info tar
|
||||
.PP
|
||||
should give you access to the complete manual.
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
# $NetBSD: hacks.mk,v 1.1 2012/08/24 15:04:53 tsutsui Exp $
|
||||
|
||||
.if !defined(BISON_HACKS_MK)
|
||||
BISON_HACKS_MK= defined
|
||||
|
||||
.include "../../mk/compiler.mk"
|
||||
|
||||
### gcc-4.5.3 in NetBSD/m68k 6.0_BETA2 gets ICE on compiling mktime.c.
|
||||
### -O1 works around in this case.
|
||||
.if !empty(MACHINE_PLATFORM:MNetBSD-*-m68k) && !empty(CC_VERSION:Mgcc-4.5.*)
|
||||
PKG_HACKS+= optimisation
|
||||
BUILDLINK_TRANSFORM+= rename:-O[2s]*:-O1
|
||||
.endif
|
||||
|
||||
.endif # BISON_HACKS_MK
|
||||
14
archivers/gtar-base/patches/patch-gnu_readlinkat.c
Normal file
14
archivers/gtar-base/patches/patch-gnu_readlinkat.c
Normal file
@@ -0,0 +1,14 @@
|
||||
$NetBSD: patch-gnu_readlinkat.c,v 1.1 2014/03/18 09:03:26 obache Exp $
|
||||
|
||||
* workaround for NetBSD-5.x, readlink is defined as a macro.
|
||||
|
||||
--- gnu/readlinkat.c.orig 2013-06-29 05:54:25.000000000 +0000
|
||||
+++ gnu/readlinkat.c
|
||||
@@ -41,6 +41,7 @@
|
||||
#define AT_FUNC_POST_FILE_PARAM_DECLS , char *buf, size_t len
|
||||
#define AT_FUNC_POST_FILE_ARGS , buf, len
|
||||
#define AT_FUNC_RESULT ssize_t
|
||||
+#undef readlink
|
||||
#include "at-func.c"
|
||||
#undef AT_FUNC_NAME
|
||||
#undef AT_FUNC_F1
|
||||
@@ -1,8 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.32 2012/09/11 19:46:55 asau Exp $
|
||||
# $NetBSD: Makefile,v 1.33 2014/02/24 08:16:56 adam Exp $
|
||||
|
||||
DISTNAME= tar-1.26
|
||||
DISTNAME= tar-1.27.1
|
||||
PKGNAME= ${DISTNAME:S/tar/gtar-info/}
|
||||
PKGREVISION= 1
|
||||
SVR4_PKGNAME= gtari
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=tar/}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$NetBSD: distinfo,v 1.11 2011/05/11 07:49:59 adam Exp $
|
||||
$NetBSD: distinfo,v 1.12 2014/02/24 08:16:56 adam Exp $
|
||||
|
||||
SHA1 (tar-1.26.tar.bz2) = 70f298c3cd997b694864c55e6d8655324c87a0cc
|
||||
RMD160 (tar-1.26.tar.bz2) = d507dc5a57a823701cae5cdd2b98aba48ec74d3f
|
||||
Size (tar-1.26.tar.bz2) = 2339773 bytes
|
||||
SHA1 (tar-1.27.1.tar.bz2) = 67aa31d0d497849c05ba5ea6eb41cff130407751
|
||||
RMD160 (tar-1.27.1.tar.bz2) = a99ccfd874ac72c1e0feec2d86423c3e5bcd19fb
|
||||
Size (tar-1.27.1.tar.bz2) = 2573070 bytes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.42 2012/09/11 19:46:55 asau Exp $
|
||||
# $NetBSD: Makefile,v 1.43 2014/02/24 08:16:56 adam Exp $
|
||||
|
||||
DISTNAME= gtar-1.26
|
||||
DISTNAME= gtar-1.27.1
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= # empty
|
||||
DISTFILES= # empty
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
# $NetBSD: Makefile,v 1.28 2013/06/11 08:28:30 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.29 2013/10/29 13:32:07 obache Exp $
|
||||
|
||||
DISTNAME= gzip-1.6
|
||||
SVR4_PKGNAME= gzip
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=gzip/}
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
#MASTER_SITES= ${MASTER_SITE_GNU:=gzip/}
|
||||
#EXTRACT_SUFX= .tar.xz
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
EXTRACT_SUFX= .tar
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://www.gnu.org/software/gzip/gzip.html
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
$NetBSD: distinfo,v 1.7 2013/06/11 08:28:30 adam Exp $
|
||||
$NetBSD: distinfo,v 1.8 2013/10/29 13:32:07 obache Exp $
|
||||
|
||||
SHA1 (gzip-1.6.tar.xz) = 05bd01fc90178b806e0c13f9526e2ad392084085
|
||||
RMD160 (gzip-1.6.tar.xz) = a8bda5948f5a684d2042ba637d7d5da7047da5f1
|
||||
Size (gzip-1.6.tar.xz) = 725084 bytes
|
||||
SHA1 (gzip-1.6.tar) = 7d546c77fd49f1dc093c0fb23512bf926ce94a40
|
||||
RMD160 (gzip-1.6.tar) = 62a506b3305c0d112410574fbe8ace537b32ae10
|
||||
Size (gzip-1.6.tar) = 5048320 bytes
|
||||
SHA1 (patch-aa) = a08b277aa95df808d055f4daf95fd1462c300290
|
||||
SHA1 (patch-ab) = 738d6e5f9300c2718694cc4134b36637b323ea8a
|
||||
SHA1 (patch-lib_fflush.c) = 0cefe0da43d9d06afea104a42119c60b572def31
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# $NetBSD: Makefile,v 1.30 2012/09/11 19:46:55 asau Exp $
|
||||
# $NetBSD: Makefile,v 1.31 2013/09/18 20:58:35 asau Exp $
|
||||
|
||||
DISTNAME= ha0999
|
||||
PKGNAME= ha-0.999b
|
||||
PKGREVISION= 1
|
||||
PKGREVISION= 2
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= # ftp://ftp.kiarchive.ru/pub/unix/arcers/
|
||||
EXTRACT_SUFX= .tgz
|
||||
@@ -16,7 +16,6 @@ WRKSRC= ${WRKDIR}
|
||||
|
||||
MAKE_FILE= makefile.nix
|
||||
BUILD_TARGET= ha
|
||||
USE_TOOLS+= gmake
|
||||
|
||||
INSTALLATION_DIRS= bin
|
||||
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
$NetBSD: distinfo,v 1.6 2005/02/23 14:45:23 agc Exp $
|
||||
$NetBSD: distinfo,v 1.7 2013/09/18 20:58:35 asau Exp $
|
||||
|
||||
SHA1 (ha0999.tgz) = 8dd106748619772f988ee0bce59937a4de1677ed
|
||||
RMD160 (ha0999.tgz) = 41b52392267551f834b58e0a4b69b89e813c8bd6
|
||||
Size (ha0999.tgz) = 44271 bytes
|
||||
SHA1 (patch-aa) = 3cb453dd45de59331542a83328759d00b156a933
|
||||
SHA1 (patch-ab) = 4dcf130fa23beab775fc4b11883d4a820f223016
|
||||
SHA1 (patch-ac) = 5504ba8f6070cd6ed984a4ad870ebc9eb58353c4
|
||||
SHA1 (patch-ab) = 671ad83192103551401a2aebadf3900c9669c2d8
|
||||
SHA1 (patch-ac) = b5c7c2e8d1d9190b619918cee02725c7db4c4de3
|
||||
SHA1 (patch-ad) = a50bd6e5ce904c204cd8e453538efb538dd03002
|
||||
SHA1 (patch-c_makefile) = 3909cb7726c1dc5a487f5b2a164ad3c0502d717c
|
||||
SHA1 (patch-nix_machine.h) = 7ea8c6ffea40aaebb6b69ffc0c1db54f1873f639
|
||||
SHA1 (patch-nix_makefile) = 82a35bb0848de3806aad9c62df9b49340211e76f
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$NetBSD: patch-ab,v 1.2 2004/01/29 12:55:36 grant Exp $
|
||||
$NetBSD: patch-ab,v 1.3 2013/09/18 20:58:36 asau Exp $
|
||||
|
||||
--- makefile.nix.orig 1995-01-12 18:26:26.000000000 +1100
|
||||
--- makefile.nix.orig 1995-01-12 07:26:26.000000000 +0000
|
||||
+++ makefile.nix
|
||||
@@ -21,10 +21,9 @@
|
||||
|
||||
@@ -16,3 +16,13 @@ $NetBSD: patch-ab,v 1.2 2004/01/29 12:55:36 grant Exp $
|
||||
|
||||
MDEFINES = "CC=$(CC)" "CPP=$(CPP)" "CFLAGS=$(CFLAGS)" "DEFS=$(DEFS)"
|
||||
SUBDIRS = c $(MCH) include
|
||||
@@ -46,6 +45,6 @@ clean:
|
||||
#
|
||||
# include a dependency file if one exists
|
||||
#
|
||||
-ifeq (.depend,$(wildcard .depend))
|
||||
-include .depend
|
||||
-endif
|
||||
+#ifeq (.depend,$(wildcard .depend))
|
||||
+#include .depend
|
||||
+#endif
|
||||
|
||||
@@ -1,8 +1,20 @@
|
||||
$NetBSD: patch-ac,v 1.1 2001/07/15 11:49:42 jlam Exp $
|
||||
$NetBSD: patch-ac,v 1.2 2013/09/18 20:58:36 asau Exp $
|
||||
|
||||
--- nix/machine.c.orig Thu Jan 12 01:53:00 1995
|
||||
--- nix/machine.c.orig 1995-01-12 06:53:00.000000000 +0000
|
||||
+++ nix/machine.c
|
||||
@@ -417,7 +417,7 @@
|
||||
@@ -335,8 +335,10 @@ char *md_timestring(unsigned long t) {
|
||||
|
||||
static char ts[22];
|
||||
struct tm *tim;
|
||||
+ time_t t_;
|
||||
|
||||
- tim=localtime((long *)&t);
|
||||
+ t_ = t;
|
||||
+ tim=localtime(&t_);
|
||||
sprintf(ts,"%04d-%02d-%02d %02d:%02d",tim->tm_year+1900,tim->tm_mon+1,
|
||||
tim->tm_mday,tim->tm_hour,tim->tm_min);
|
||||
return ts;
|
||||
@@ -417,7 +419,7 @@ char *md_stripname(char *mdfullpath) {
|
||||
if (plainname!=NULL) free(plainname),plainname=NULL;
|
||||
if ((plainname=malloc(strlen(mdfullpath)+1))==NULL)
|
||||
error(1,ERR_MEM,"md_stripname()");
|
||||
|
||||
15
archivers/ha/patches/patch-c_makefile
Normal file
15
archivers/ha/patches/patch-c_makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
$NetBSD: patch-c_makefile,v 1.1 2013/09/18 20:58:36 asau Exp $
|
||||
|
||||
--- c/makefile.orig 1995-01-12 06:43:42.000000000 +0000
|
||||
+++ c/makefile
|
||||
@@ -35,7 +35,7 @@ clean:
|
||||
#
|
||||
# include a dependency file if one exists
|
||||
#
|
||||
-ifeq (.depend,$(wildcard .depend))
|
||||
-include .depend
|
||||
-endif
|
||||
+#ifeq (.depend,$(wildcard .depend))
|
||||
+#include .depend
|
||||
+#endif
|
||||
|
||||
12
archivers/ha/patches/patch-nix_machine.h
Normal file
12
archivers/ha/patches/patch-nix_machine.h
Normal file
@@ -0,0 +1,12 @@
|
||||
$NetBSD: patch-nix_machine.h,v 1.1 2013/09/18 20:58:36 asau Exp $
|
||||
|
||||
--- nix/machine.h.orig 1995-01-12 07:45:22.000000000 +0000
|
||||
+++ nix/machine.h
|
||||
@@ -19,6 +19,7 @@
|
||||
HA *nix specific include file
|
||||
***********************************************************************/
|
||||
|
||||
+#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
15
archivers/ha/patches/patch-nix_makefile
Normal file
15
archivers/ha/patches/patch-nix_makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
$NetBSD: patch-nix_makefile,v 1.1 2013/09/18 20:58:36 asau Exp $
|
||||
|
||||
--- nix/makefile.orig 1995-01-12 06:43:24.000000000 +0000
|
||||
+++ nix/makefile
|
||||
@@ -38,7 +38,7 @@ clean:
|
||||
#
|
||||
# include a dependency file if one exists
|
||||
#
|
||||
-ifeq (.depend,$(wildcard .depend))
|
||||
-include .depend
|
||||
-endif
|
||||
+#ifeq (.depend,$(wildcard .depend))
|
||||
+#include .depend
|
||||
+#endif
|
||||
|
||||
@@ -1,21 +1,19 @@
|
||||
# $NetBSD: Makefile,v 1.5 2013/05/08 17:40:30 shattered Exp $
|
||||
#
|
||||
# $NetBSD: Makefile,v 1.6 2013/12/02 20:08:06 adam Exp $
|
||||
|
||||
DISTNAME= lhasa-0.1.0
|
||||
DISTNAME= lhasa-0.2.0
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= http://www.soulsphere.org/projects/lhasa/
|
||||
MASTER_SITES= https://soulsphere.org/projects/lhasa/
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://fragglet.github.com/lhasa/
|
||||
COMMENT= Freely licensed lha archiving tool (for .lzh and .lha files)
|
||||
LICENSE= isc
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LIBTOOL= yes
|
||||
TEST_TARGET= check
|
||||
USE_LIBTOOL= yes
|
||||
GNU_CONFIGURE= yes
|
||||
PKGCONFIG_OVERRIDE= liblhasa.pc.in
|
||||
TEST_TARGET= check
|
||||
|
||||
CONFLICTS= lha-[0-9]*
|
||||
|
||||
PKGCONFIG_OVERRIDE= liblhasa.pc.in
|
||||
CONFLICTS= lha-[0-9]*
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$NetBSD: distinfo,v 1.4 2013/05/08 17:40:30 shattered Exp $
|
||||
$NetBSD: distinfo,v 1.5 2013/12/02 20:08:06 adam Exp $
|
||||
|
||||
SHA1 (lhasa-0.1.0.tar.gz) = c1714dd534004a80044b4fbdbe3d41a5fe1548fc
|
||||
RMD160 (lhasa-0.1.0.tar.gz) = 49dfc45792e78fde80791e84845a66652960ae31
|
||||
Size (lhasa-0.1.0.tar.gz) = 2694901 bytes
|
||||
SHA1 (lhasa-0.2.0.tar.gz) = ffc5c9cebe99e94f7ab3c8ddba522565eac8e42b
|
||||
RMD160 (lhasa-0.2.0.tar.gz) = b23a5c6b3603d9e76df58e05c7a3d73ff7832814
|
||||
Size (lhasa-0.2.0.tar.gz) = 2833575 bytes
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# $NetBSD: Makefile,v 1.38 2013/06/13 21:46:34 jperkin Exp $
|
||||
# $NetBSD: Makefile,v 1.39 2014/02/12 23:17:32 tron Exp $
|
||||
#
|
||||
|
||||
DISTNAME= libarchive-2.8.4
|
||||
PKGREVISION= 2
|
||||
PKGREVISION= 3
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= # empty
|
||||
DISTFILES= # empty
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# $NetBSD: builtin.mk,v 1.4 2011/10/27 04:23:50 joerg Exp $
|
||||
# $NetBSD: builtin.mk,v 1.5 2013/11/23 10:51:09 obache Exp $
|
||||
|
||||
BUILTIN_PKG:= libarchive
|
||||
|
||||
BUILTIN_FIND_FILES_VAR:= H_ARCHIVE
|
||||
BUILTIN_FIND_FILES.H_ARCHIVE= /usr/include/archive.h
|
||||
BUILTIN_FIND_HEADERS_VAR:= H_ARCHIVE
|
||||
BUILTIN_FIND_HEADERS.H_ARCHIVE= archive.h
|
||||
|
||||
.include "../../mk/buildlink3/bsd.builtin.mk"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.28 2013/02/06 23:21:35 jperkin Exp $
|
||||
# $NetBSD: Makefile,v 1.29 2014/02/12 23:17:32 tron Exp $
|
||||
|
||||
DISTNAME= libcomprex-0.3.3
|
||||
PKGREVISION= 7
|
||||
PKGREVISION= 8
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnupdate/}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: buildlink3.mk,v 1.17 2013/02/06 23:21:35 jperkin Exp $
|
||||
# $NetBSD: buildlink3.mk,v 1.18 2014/02/12 23:17:32 tron Exp $
|
||||
|
||||
BUILDLINK_TREE+= libcomprex
|
||||
|
||||
@@ -6,7 +6,7 @@ BUILDLINK_TREE+= libcomprex
|
||||
LIBCOMPREX_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.libcomprex+= libcomprex>=0.3.2
|
||||
BUILDLINK_ABI_DEPENDS.libcomprex+= libcomprex>=0.3.3nb7
|
||||
BUILDLINK_ABI_DEPENDS.libcomprex+= libcomprex>=0.3.3nb8
|
||||
BUILDLINK_PKGSRCDIR.libcomprex?= ../../archivers/libcomprex
|
||||
|
||||
.include "../../www/curl/buildlink3.mk"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.26 2012/09/11 19:46:56 asau Exp $
|
||||
#
|
||||
# $NetBSD: Makefile,v 1.27 2013/12/23 11:57:02 wiz Exp $
|
||||
|
||||
DISTNAME= lzo-1.08
|
||||
PKGNAME= lib${DISTNAME}
|
||||
@@ -7,7 +6,7 @@ PKGREVISION= 1
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= http://www.oberhumer.com/opensource/lzo/download/LZO-v1/
|
||||
|
||||
MAINTAINER= rh@NetBSD.org
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://www.oberhumer.com/opensource/lzo/
|
||||
COMMENT= Portable lossless data compression library (v1)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
$NetBSD: distinfo,v 1.10 2011/04/15 16:23:00 drochner Exp $
|
||||
$NetBSD: distinfo,v 1.11 2013/10/27 20:29:44 joerg Exp $
|
||||
|
||||
SHA1 (lzo-1.08.tar.gz) = ad1b458cf9d5d49153665d2adc25bd6129028221
|
||||
RMD160 (lzo-1.08.tar.gz) = d7013f09a6c86241ceb75475323e841d3d9d0867
|
||||
Size (lzo-1.08.tar.gz) = 426692 bytes
|
||||
SHA1 (patch-aa) = e889ba225be55952b2dd65e0960561bf292d4843
|
||||
SHA1 (patch-ab) = 13cee5843c7f33896744266a9c2832826f04142a
|
||||
SHA1 (patch-ab) = 1297cd7636d6714dcda9e77cd34c26a11718cf48
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$NetBSD: patch-ab,v 1.3 2011/04/15 16:23:00 drochner Exp $
|
||||
$NetBSD: patch-ab,v 1.4 2013/10/27 20:29:44 joerg Exp $
|
||||
|
||||
--- configure.orig Fri May 21 22:08:40 2004
|
||||
--- configure.orig 2002-07-13 01:31:52.000000000 +0000
|
||||
+++ configure
|
||||
@@ -12063,8 +12063,6 @@ if test "X$GCC" = Xyes; then
|
||||
MFX_CC="GCC"
|
||||
@@ -11,3 +11,21 @@ $NetBSD: patch-ab,v 1.3 2011/04/15 16:23:00 drochner Exp $
|
||||
fi
|
||||
CFLAGS="$CFLAGS -Wall -Wcast-align -Wcast-qual -Wwrite-strings"
|
||||
case $MFX_CPU in
|
||||
@@ -12072,17 +12070,10 @@ if test "X$GCC" = Xyes; then
|
||||
MFX_ARCH="i386"
|
||||
mfx_unaligned_ok_2="yes"
|
||||
mfx_unaligned_ok_4="yes"
|
||||
- CFLAGS="$CFLAGS -fno-strength-reduce"
|
||||
;;
|
||||
*)
|
||||
- if test "X$mfx_cv_prog_gcc_bug_strength_reduce" = Xyes; then
|
||||
- CFLAGS="$CFLAGS -fno-strength-reduce"
|
||||
- fi
|
||||
;;
|
||||
esac
|
||||
- if test "X$mfx_cv_prog_gcc_bug_schedule_insns" = Xyes; then
|
||||
- CFLAGS="$CFLAGS -fno-schedule-insns -fno-schedule-insns2"
|
||||
- fi
|
||||
fi
|
||||
|
||||
|
||||
|
||||
10
archivers/libunrar/DESCR
Normal file
10
archivers/libunrar/DESCR
Normal file
@@ -0,0 +1,10 @@
|
||||
This package contains the unrar library.
|
||||
|
||||
unRAR is a utility to extract, test and view the contents of archives
|
||||
created with the RAR archiver, version 1.50 and above. The unRAR
|
||||
utility is a minor part of the RAR archiver and contains RAR
|
||||
uncompression algorithm. UnRAR requires very small volume of memory to
|
||||
operate.
|
||||
|
||||
The license for this software states that "the code may not be used to
|
||||
develop a RAR (WinRAR) compatible archiver."
|
||||
16
archivers/libunrar/Makefile
Normal file
16
archivers/libunrar/Makefile
Normal file
@@ -0,0 +1,16 @@
|
||||
# $NetBSD: Makefile,v 1.1 2013/09/01 08:28:29 wiz Exp $
|
||||
|
||||
.include "../../archivers/unrar/Makefile.common"
|
||||
PKGNAME= ${DISTNAME:S/^/lib/:S/src//}
|
||||
|
||||
BUILD_TARGET= lib
|
||||
INSTALLATION_DIRS= include lib
|
||||
CXXFLAGS+= -DRARDLL
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/dll.hpp ${DESTDIR}${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/os.hpp ${DESTDIR}${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/raros.hpp ${DESTDIR}${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/libunrar.so ${DESTDIR}${PREFIX}/lib
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
5
archivers/libunrar/PLIST
Normal file
5
archivers/libunrar/PLIST
Normal file
@@ -0,0 +1,5 @@
|
||||
@comment $NetBSD: PLIST,v 1.1 2013/09/01 08:28:29 wiz Exp $
|
||||
include/dll.hpp
|
||||
include/os.hpp
|
||||
include/raros.hpp
|
||||
lib/libunrar.so
|
||||
@@ -1,6 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.16 2013/04/27 23:05:54 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.17 2013/12/31 11:07:14 wiz Exp $
|
||||
|
||||
DISTNAME= libzip-0.11.1
|
||||
DISTNAME= libzip-0.11.2
|
||||
CATEGORIES= archivers devel
|
||||
MASTER_SITES= http://www.nih.at/libzip/
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@comment $NetBSD: PLIST,v 1.6 2013/04/01 16:03:31 wiz Exp $
|
||||
@comment $NetBSD: PLIST,v 1.7 2013/12/31 11:07:14 wiz Exp $
|
||||
bin/zipcmp
|
||||
bin/zipmerge
|
||||
bin/ziptorrent
|
||||
@@ -34,9 +34,11 @@ man/man3/zip_file_extra_field_set.3
|
||||
man/man3/zip_file_extra_fields_count.3
|
||||
man/man3/zip_file_extra_fields_count_by_id.3
|
||||
man/man3/zip_file_get_comment.3
|
||||
man/man3/zip_file_get_external_attributes.3
|
||||
man/man3/zip_file_rename.3
|
||||
man/man3/zip_file_replace.3
|
||||
man/man3/zip_file_set_comment.3
|
||||
man/man3/zip_file_set_external_attributes.3
|
||||
man/man3/zip_file_strerror.3
|
||||
man/man3/zip_fopen.3
|
||||
man/man3/zip_fopen_encrypted.3
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$NetBSD: distinfo,v 1.13 2013/04/27 23:05:54 wiz Exp $
|
||||
$NetBSD: distinfo,v 1.14 2013/12/31 11:07:14 wiz Exp $
|
||||
|
||||
SHA1 (libzip-0.11.1.tar.xz) = 3c82cdc0de51f06d5e1c60f098d3d9cc0d48f8a7
|
||||
RMD160 (libzip-0.11.1.tar.xz) = debf91c79b7aa39c1de8ed65b311ded2bb1b3201
|
||||
Size (libzip-0.11.1.tar.xz) = 395104 bytes
|
||||
SHA1 (libzip-0.11.2.tar.xz) = da86a7b4bb2b7ab7c8c5fb773f8a48a5adc7a405
|
||||
RMD160 (libzip-0.11.2.tar.xz) = 4f94874c2f1d06c8c3020f22f17c9ef6da388051
|
||||
Size (libzip-0.11.2.tar.xz) = 413352 bytes
|
||||
|
||||
4
archivers/lrzip/DESCR
Normal file
4
archivers/lrzip/DESCR
Normal file
@@ -0,0 +1,4 @@
|
||||
Compression program optimised for large files. The larger the file and the
|
||||
more memory you have, the better the compression advantage this will provide,
|
||||
especially once the files are larger than 100MB. The advantage can be chosen
|
||||
to be either size (much smaller than bzip2) or speed (much faster than bzip2).
|
||||
26
archivers/lrzip/Makefile
Normal file
26
archivers/lrzip/Makefile
Normal file
@@ -0,0 +1,26 @@
|
||||
# $NetBSD: Makefile,v 1.4 2014/01/09 15:34:02 jperkin Exp $
|
||||
|
||||
DISTNAME= lrzip-0.616
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= http://ck.kolivas.org/apps/lrzip/
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
MAINTAINER= tm@core.io
|
||||
HOMEPAGE= http://ck.kolivas.org/apps/lrzip/
|
||||
COMMENT= Long Range ZIP or Lzma RZIP
|
||||
LICENSE= gnu-gpl-v2
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LIBTOOL= yes
|
||||
USE_TOOLS+= bash:run pkg-config pod2man
|
||||
USE_LANGUAGES= c c++
|
||||
|
||||
PKGCONFIG_OVERRIDE+= lrzip.pc.in
|
||||
|
||||
REPLACE_BASH+= lrztar
|
||||
|
||||
.include "../../archivers/bzip2/buildlink3.mk"
|
||||
.include "../../archivers/lzo/buildlink3.mk"
|
||||
.include "../../devel/zlib/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
35
archivers/lrzip/PLIST
Normal file
35
archivers/lrzip/PLIST
Normal file
@@ -0,0 +1,35 @@
|
||||
@comment $NetBSD: PLIST,v 1.1 2013/10/21 11:29:05 fhajny Exp $
|
||||
bin/lrunzip
|
||||
bin/lrzcat
|
||||
bin/lrzip
|
||||
bin/lrztar
|
||||
bin/lrzuntar
|
||||
include/Lrzip.h
|
||||
lib/liblrzip.la
|
||||
lib/pkgconfig/lrzip.pc
|
||||
man/man1/lrunzip.1
|
||||
man/man1/lrzcat.1
|
||||
man/man1/lrzip.1
|
||||
man/man1/lrztar.1
|
||||
man/man1/lrzuntar.1
|
||||
man/man5/lrzip.conf.5
|
||||
share/doc/lrzip/AUTHORS
|
||||
share/doc/lrzip/BUGS
|
||||
share/doc/lrzip/COPYING
|
||||
share/doc/lrzip/ChangeLog
|
||||
share/doc/lrzip/README
|
||||
share/doc/lrzip/README-NOT-BACKWARD-COMPATIBLE
|
||||
share/doc/lrzip/README.Assembler
|
||||
share/doc/lrzip/README.benchmarks
|
||||
share/doc/lrzip/README.lzo_compresses.test.txt
|
||||
share/doc/lrzip/TODO
|
||||
share/doc/lrzip/WHATS-NEW
|
||||
share/doc/lrzip/lrzip.conf.example
|
||||
share/doc/lrzip/lzma/7zC.txt
|
||||
share/doc/lrzip/lzma/7zFormat.txt
|
||||
share/doc/lrzip/lzma/Methods.txt
|
||||
share/doc/lrzip/lzma/README
|
||||
share/doc/lrzip/lzma/README-Alloc
|
||||
share/doc/lrzip/lzma/history.txt
|
||||
share/doc/lrzip/lzma/lzma.txt
|
||||
share/doc/lrzip/magic.header.txt
|
||||
8
archivers/lrzip/distinfo
Normal file
8
archivers/lrzip/distinfo
Normal file
@@ -0,0 +1,8 @@
|
||||
$NetBSD: distinfo,v 1.2 2013/11/08 21:14:01 joerg Exp $
|
||||
|
||||
SHA1 (lrzip-0.616.tar.bz2) = 374a021ff087ee93b2d5894fd16aa3aef26dfa8f
|
||||
RMD160 (lrzip-0.616.tar.bz2) = 6cc2a3f6fd13bfbaba93ae61bf0597383e0d98cd
|
||||
Size (lrzip-0.616.tar.bz2) = 493886 bytes
|
||||
SHA1 (patch-liblrzip.c) = 64092c1b186ced54ba57aba21eb4c9180c82e3ed
|
||||
SHA1 (patch-lrzip.h) = 42c3f7eccbd93e1bad5bb91941c1e69a2ff261cd
|
||||
SHA1 (patch-lrzip__private.h) = b56cc367a9c2038ccc3448ec2d8c7e07c7e3b44c
|
||||
14
archivers/lrzip/patches/patch-liblrzip.c
Normal file
14
archivers/lrzip/patches/patch-liblrzip.c
Normal file
@@ -0,0 +1,14 @@
|
||||
$NetBSD: patch-liblrzip.c,v 1.1 2013/10/21 11:29:05 fhajny Exp $
|
||||
|
||||
fmemopen is also not available on SunOS.
|
||||
--- liblrzip.c.orig 2013-09-01 14:41:11.000000000 +0000
|
||||
+++ liblrzip.c
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "lrzip_core.h"
|
||||
#include "rzip.h"
|
||||
|
||||
-#if defined(__APPLE__) || defined(__FreeBSD__)
|
||||
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun)
|
||||
# define fmemopen(s, len, modes) fake_fmemopen((s), (len), (modes))
|
||||
static FILE *fake_fmemopen(void *buf, size_t buflen, const char *mode)
|
||||
{
|
||||
14
archivers/lrzip/patches/patch-lrzip.h
Normal file
14
archivers/lrzip/patches/patch-lrzip.h
Normal file
@@ -0,0 +1,14 @@
|
||||
$NetBSD: patch-lrzip.h,v 1.1 2013/10/21 11:29:05 fhajny Exp $
|
||||
|
||||
stdarg needed with modern GCC for va_list.
|
||||
--- Lrzip.h.orig 2012-05-10 12:45:41.000000000 +0000
|
||||
+++ Lrzip.h
|
||||
@@ -28,6 +28,8 @@
|
||||
# include <inttypes.h>
|
||||
#endif
|
||||
|
||||
+#include <stdarg.h>
|
||||
+
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
13
archivers/lrzip/patches/patch-lrzip__private.h
Normal file
13
archivers/lrzip/patches/patch-lrzip__private.h
Normal file
@@ -0,0 +1,13 @@
|
||||
$NetBSD: patch-lrzip__private.h,v 1.1 2013/11/08 21:14:02 joerg Exp $
|
||||
|
||||
--- lrzip_private.h.orig 2013-11-08 20:52:44.000000000 +0000
|
||||
+++ lrzip_private.h
|
||||
@@ -139,7 +139,7 @@ extern int errno;
|
||||
#define unlikely(x) __builtin_expect(!!(x), 0)
|
||||
#define __maybe_unused __attribute__((unused))
|
||||
|
||||
-#if defined(__MINGW32__) || defined(__CYGWIN__) || defined(ANDROID) || defined(__APPLE__)
|
||||
+#if defined(__MINGW32__) || defined(__CYGWIN__) || defined(ANDROID) || defined(__APPLE__) || defined(__NetBSD__)
|
||||
# define ffsll __builtin_ffsll
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.7 2013/04/10 20:55:12 shattered Exp $
|
||||
#
|
||||
# $NetBSD: Makefile,v 1.9 2013/10/10 12:03:03 adam Exp $
|
||||
|
||||
DISTNAME= lzip-1.14
|
||||
DISTNAME= lzip-1.15
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= http://download.savannah.gnu.org/releases/lzip/
|
||||
|
||||
@@ -17,4 +16,7 @@ CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR}
|
||||
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
|
||||
INFO_FILES= YES
|
||||
|
||||
MAKEFLAGS+= CXX=${CXX:Q} CPPFLAGS=${CPPFLAGS:Q}
|
||||
MAKEFLAGS+= CXXFLAGS=${CXXFLAGS:Q} LDFLAGS=${LDFLAGS:Q}
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$NetBSD: distinfo,v 1.4 2013/04/10 20:55:12 shattered Exp $
|
||||
$NetBSD: distinfo,v 1.5 2013/10/09 20:34:09 wiz Exp $
|
||||
|
||||
SHA1 (lzip-1.14.tar.gz) = ee54a3f39f7bf96ec677765f88b8458d0988bf10
|
||||
RMD160 (lzip-1.14.tar.gz) = cab15b04900c9355e4b2f6eec3c07c756046195d
|
||||
Size (lzip-1.14.tar.gz) = 80699 bytes
|
||||
SHA1 (lzip-1.15.tar.gz) = a79d062d72071b5bb2bb7ef50dda6ac408c24192
|
||||
RMD160 (lzip-1.15.tar.gz) = 72499b8142bc789d2141d91b61063900c8f1c0c9
|
||||
Size (lzip-1.15.tar.gz) = 97409 bytes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.2 2012/09/11 19:46:57 asau Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2013/10/09 20:35:10 wiz Exp $
|
||||
|
||||
DISTNAME= lziprecover-1.13
|
||||
DISTNAME= lziprecover-1.15
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= http://download.savannah.gnu.org/releases/lzip/
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$NetBSD: distinfo,v 1.1.1.1 2012/03/14 14:40:36 wiz Exp $
|
||||
$NetBSD: distinfo,v 1.2 2013/10/09 20:35:10 wiz Exp $
|
||||
|
||||
SHA1 (lziprecover-1.13.tar.gz) = 08683073911478fcdc31b4b5cb92a33c8909828f
|
||||
RMD160 (lziprecover-1.13.tar.gz) = e684105c713f579458383ca21455af6e8c0e081c
|
||||
Size (lziprecover-1.13.tar.gz) = 77771 bytes
|
||||
SHA1 (lziprecover-1.15.tar.gz) = 69553f7936d45d1c8e08e69574672f81b72933f2
|
||||
RMD160 (lziprecover-1.15.tar.gz) = 9f4acd11151afd1c6d46b684fb99ce0fc45d5dbc
|
||||
Size (lziprecover-1.15.tar.gz) = 82763 bytes
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.22 2013/04/06 03:45:06 rodent Exp $
|
||||
# $NetBSD: Makefile,v 1.23 2013/10/12 17:16:54 tron Exp $
|
||||
#
|
||||
|
||||
DISTNAME= mousetar-20021217
|
||||
@@ -23,7 +23,7 @@ CPPFLAGS+= -DDIRENT_FIXUP
|
||||
CPPFLAGS.SunOS+= -DTAR_INODE_NONE -DLINUX_NAMLEN
|
||||
CPPFLAGS.SunOS+= -DL_SET=SEEK_SET -DL_INCR=SEEK_CUR -DL_XTND=SEEK_END
|
||||
|
||||
.if ${MACHINE_PLATFORM:MNetBSD-[2-9].*-*} != ""
|
||||
.if !empty(MACHINE_PLATFORM:MNetBSD-[2-9].*-*)
|
||||
CPPFLAGS+= -DTAR_INODE_INTERNAL
|
||||
.endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$NetBSD: distinfo,v 1.6 2012/03/09 06:14:39 sbd Exp $
|
||||
$NetBSD: distinfo,v 1.7 2014/01/02 03:24:47 dholland Exp $
|
||||
|
||||
SHA1 (tar.c) = 0fcce941a7e5beee2646b3b7d7dee5d6cf22f455
|
||||
RMD160 (tar.c) = 78561e1ef3a55f1b77c8949a7b7a6efb4904d7ef
|
||||
@@ -6,4 +6,4 @@ Size (tar.c) = 286925 bytes
|
||||
SHA1 (tar.man) = a43498f78f3122edf1970a471c9bd313c0ace2f1
|
||||
RMD160 (tar.man) = 3a295603a2381ea8417b4ce77b73b50ca42fd5e6
|
||||
Size (tar.man) = 49336 bytes
|
||||
SHA1 (patch-aa) = 8d1b0d31f1eabb3bc6528579cca8df50d4f6066d
|
||||
SHA1 (patch-aa) = 6a1e99e27c2a825b22de92327bb639e31a032168
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$NetBSD: patch-aa,v 1.4 2012/03/09 06:14:39 sbd Exp $
|
||||
$NetBSD: patch-aa,v 1.5 2014/01/02 03:24:47 dholland Exp $
|
||||
|
||||
--- tar.c.orig 2012-03-09 06:07:25.071601044 +0000
|
||||
+++ tar.c
|
||||
@@ -16,10 +16,10 @@ $NetBSD: patch-aa,v 1.4 2012/03/09 06:14:39 sbd Exp $
|
||||
#include <sys/file.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/time.h>
|
||||
+#if defined(__linux__)
|
||||
+#if 0
|
||||
#include <sys/dir.h>
|
||||
+#else
|
||||
+#include <sys/dirent.h>
|
||||
+
|
||||
+#endif
|
||||
+#include <dirent.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2012/10/16 15:31:40 asau Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2014/01/09 14:26:17 jperkin Exp $
|
||||
|
||||
PKGNAME= ocaml-bz2-${VERSION}
|
||||
DISTNAME= camlbz2-${VERSION}
|
||||
@@ -25,6 +25,7 @@ PLIST_VARS+= opt
|
||||
PLIST.opt= yes
|
||||
.endif
|
||||
|
||||
.include "../../archivers/bzip2/buildlink3.mk"
|
||||
.include "../../lang/ocaml/buildlink3.mk"
|
||||
.include "../../devel/ocaml-findlib/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.8 2013/04/03 12:29:40 jaapb Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2014/01/09 14:27:05 jperkin Exp $
|
||||
#
|
||||
|
||||
PKGNAME= ocaml-zip-${VERSION}
|
||||
@@ -24,6 +24,7 @@ BUILD_TARGET+= allopt
|
||||
PLIST.opt= yes
|
||||
.endif
|
||||
|
||||
.include "../../devel/zlib/buildlink3.mk"
|
||||
.include "../../lang/ocaml/buildlink3.mk"
|
||||
.include "../../devel/ocaml-findlib/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
||||
5
archivers/p5-Archive-Any-Lite/DESCR
Normal file
5
archivers/p5-Archive-Any-Lite/DESCR
Normal file
@@ -0,0 +1,5 @@
|
||||
Archive::Any::Lite is a fork of Archive::Any. The main difference is this works
|
||||
properly even when you fork(), and may require less memory to extract a tarball.
|
||||
On the other hand, this isn't pluggable (this only supports file formats used in
|
||||
the CPAN toolchains), and this doesn't check mime types (at least as of this
|
||||
writing).
|
||||
27
archivers/p5-Archive-Any-Lite/Makefile
Normal file
27
archivers/p5-Archive-Any-Lite/Makefile
Normal file
@@ -0,0 +1,27 @@
|
||||
# $NetBSD: Makefile,v 1.2 2013/12/09 14:17:41 obache Exp $
|
||||
|
||||
DISTNAME= Archive-Any-Lite-0.07
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= archivers perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Archive/}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://search.cpan.org/dist/Archive-Any-Lite/
|
||||
COMMENT= Simple CPAN package extractor
|
||||
LICENSE= ${PERL5_LICENSE}
|
||||
|
||||
DEPENDS+= {perl>=5.9.3,p5-Archive-Tar>=0}:../../archivers/p5-Archive-Tar
|
||||
DEPENDS+= p5-Archive-Zip>=0:../../archivers/p5-Archive-Zip
|
||||
DEPENDS+= p5-PathTools>=0:../../devel/p5-PathTools
|
||||
DEPENDS+= {perl>=5.9.3,p5-IO-Zlib>=0}:../../devel/p5-IO-Zlib
|
||||
DEPENDS+= {perl>=5.10.1,p5-IO-Compress>=0}:../../devel/p5-IO-Compress # IO::Uncompress::Bunzip2>=0
|
||||
|
||||
BUILD_DEPENDS+= p5-Test-UseAllModules>=0:../../devel/p5-Test-UseAllModules
|
||||
|
||||
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
||||
|
||||
PERL5_PACKLIST= auto/Archive/Any/Lite/.packlist
|
||||
|
||||
.include "../../lang/perl5/module.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
5
archivers/p5-Archive-Any-Lite/distinfo
Normal file
5
archivers/p5-Archive-Any-Lite/distinfo
Normal file
@@ -0,0 +1,5 @@
|
||||
$NetBSD: distinfo,v 1.1 2013/08/25 06:17:35 wen Exp $
|
||||
|
||||
SHA1 (Archive-Any-Lite-0.07.tar.gz) = 0c4b9dd34bcdb28aa868c27f9ca6d645e8883cf4
|
||||
RMD160 (Archive-Any-Lite-0.07.tar.gz) = d72e03aa03d8136eeff270a9bf701eed385a4a9f
|
||||
Size (Archive-Any-Lite-0.07.tar.gz) = 21207 bytes
|
||||
@@ -1,8 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.7 2013/05/31 12:39:35 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2014/02/06 12:20:45 abs Exp $
|
||||
|
||||
DISTNAME= Archive-Any-0.0932
|
||||
DISTNAME= Archive-Any-0.0941
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
PKGREVISION= 4
|
||||
SVR4_PKGNAME= p5aan
|
||||
CATEGORIES= archivers perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Archive/}
|
||||
@@ -12,12 +11,14 @@ HOMEPAGE= http://search.cpan.org/dist/Archive-Any/
|
||||
COMMENT= Perl5 module with single interface to deal with archives
|
||||
LICENSE= ${PERL5_LICENSE}
|
||||
|
||||
DEPENDS+= p5-Archive-Tar>=0.22:../../archivers/p5-Archive-Tar
|
||||
DEPENDS+= p5-Archive-Zip>=1.07:../../archivers/p5-Archive-Zip
|
||||
DEPENDS+= p5-File-MMagic>=1.27:../../misc/p5-File-MMagic
|
||||
DEPENDS+= p5-MIME-Types>=1.16:../../mail/p5-MIME-Types
|
||||
DEPENDS+= p5-Module-Find>=0.05:../../devel/p5-Module-Find
|
||||
DEPENDS+= p5-Test-Warn>0:../../devel/p5-Test-Warn
|
||||
DEPENDS+= {perl>=5.9.3,p5-Archive-Tar>=0.22}:../../archivers/p5-Archive-Tar
|
||||
DEPENDS+= p5-Archive-Tar>=0:../../archivers/p5-Archive-Tar
|
||||
DEPENDS+= p5-Archive-Zip>=0:../../archivers/p5-Archive-Zip
|
||||
DEPENDS+= p5-File-MMagic>=0:../../misc/p5-File-MMagic
|
||||
DEPENDS+= p5-MIME-Types>=0:../../mail/p5-MIME-Types
|
||||
DEPENDS+= p5-Module-Find>=0:../../devel/p5-Module-Find
|
||||
|
||||
BUILD_DEPENDS+= p5-Test-Warn>0:../../devel/p5-Test-Warn
|
||||
|
||||
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$NetBSD: distinfo,v 1.1.1.1 2008/10/30 22:39:06 he Exp $
|
||||
$NetBSD: distinfo,v 1.2 2014/02/06 12:20:45 abs Exp $
|
||||
|
||||
SHA1 (Archive-Any-0.0932.tar.gz) = 605d6299b89aaa6416e33dd243b36b064d148ccf
|
||||
RMD160 (Archive-Any-0.0932.tar.gz) = de202fa47d75b58db86397c6006f861f81fe9822
|
||||
Size (Archive-Any-0.0932.tar.gz) = 17916 bytes
|
||||
SHA1 (Archive-Any-0.0941.tar.gz) = 32f5419f7ab3d3d3127b6147e280c384c101298a
|
||||
RMD160 (Archive-Any-0.0941.tar.gz) = 4696ed84f0de411bdfa6fe4773d8386879fb5868
|
||||
Size (Archive-Any-0.0941.tar.gz) = 78703 bytes
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.53 2013/05/31 12:39:35 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.56 2014/02/06 12:25:52 abs Exp $
|
||||
|
||||
DISTNAME= Archive-Tar-1.90
|
||||
DISTNAME= Archive-Tar-1.96
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
PKGREVISION= 2
|
||||
SVR4_PKGNAME= p5tar
|
||||
CATEGORIES= archivers perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Archive/}
|
||||
@@ -12,11 +11,10 @@ HOMEPAGE= http://search.cpan.org/dist/Archive-Tar/
|
||||
COMMENT= Perl5 module interface to manipulate tar files
|
||||
LICENSE= ${PERL5_LICENSE}
|
||||
|
||||
DEPENDS+= p5-IO-Zlib>=1.01:../../devel/p5-IO-Zlib
|
||||
DEPENDS+= {perl>=5.9.3,p5-IO-Zlib>=1.01}:../../devel/p5-IO-Zlib
|
||||
# IO::Compress::{Base,Gzip,Bzip2} are included since perl-5.10.1
|
||||
DEPENDS+= {perl>=5.10.1,p5-IO-Compress>=2.017}:../../devel/p5-IO-Compress
|
||||
DEPENDS+= p5-IO-String-[0-9]*:../../devel/p5-IO-String
|
||||
DEPENDS+= {perl>=5.10.0,p5-Package-Constants-[0-9]*}:../../devel/p5-Package-Constants
|
||||
DEPENDS+= p5-Text-Diff-[0-9]*:../../textproc/p5-Text-Diff
|
||||
|
||||
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$NetBSD: distinfo,v 1.31 2012/09/10 12:52:47 sno Exp $
|
||||
$NetBSD: distinfo,v 1.33 2014/02/06 12:25:52 abs Exp $
|
||||
|
||||
SHA1 (Archive-Tar-1.90.tar.gz) = 074460aa3c120c4f1ab2d899e2c39da7e2418fd1
|
||||
RMD160 (Archive-Tar-1.90.tar.gz) = 5f1902a012f011000c01140585e33379fc19f778
|
||||
Size (Archive-Tar-1.90.tar.gz) = 58055 bytes
|
||||
SHA1 (Archive-Tar-1.96.tar.gz) = 4b4e4284a99aedc559400203e1101ca7d6b5a1fc
|
||||
RMD160 (Archive-Tar-1.96.tar.gz) = 7701dcebbbc808122abbdb0ccb36ef738e175413
|
||||
Size (Archive-Tar-1.96.tar.gz) = 59077 bytes
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.33 2013/05/31 12:39:35 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.35 2014/02/06 12:23:33 abs Exp $
|
||||
|
||||
DISTNAME= Archive-Zip-1.30
|
||||
DISTNAME= Archive-Zip-1.37
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
PKGREVISION= 4
|
||||
SVR4_PKGNAME= p5zip
|
||||
CATEGORIES= archivers perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Archive/}
|
||||
@@ -12,7 +11,7 @@ HOMEPAGE= http://search.cpan.org/dist/Archive-Zip/
|
||||
COMMENT= Perl5 module interface to manipulate zip files
|
||||
LICENSE= ${PERL5_LICENSE}
|
||||
|
||||
DEPENDS+= p5-IO-Compress>=2.017:../../devel/p5-IO-Compress
|
||||
DEPENDS+= {perl>=5.10.1,p5-IO-Compress>=2.017}:../../devel/p5-IO-Compress # Compress::Raw::Zlib>=2.017
|
||||
|
||||
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$NetBSD: distinfo,v 1.10 2009/07/07 19:10:05 sno Exp $
|
||||
$NetBSD: distinfo,v 1.11 2014/02/06 12:23:33 abs Exp $
|
||||
|
||||
SHA1 (Archive-Zip-1.30.tar.gz) = 06237589a4f61c4b04d3e7c93719268fc3ae031a
|
||||
RMD160 (Archive-Zip-1.30.tar.gz) = 2a26be69f356c4ccc75712c04b578ea65e0b6a89
|
||||
Size (Archive-Zip-1.30.tar.gz) = 197179 bytes
|
||||
SHA1 (Archive-Zip-1.37.tar.gz) = b25cc3c03cc9c4c3b2ad29d7d385319dee2ddb08
|
||||
RMD160 (Archive-Zip-1.37.tar.gz) = ae33bb98fb0338c6a7b4a347b1b8d781810b1a3a
|
||||
Size (Archive-Zip-1.37.tar.gz) = 184345 bytes
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
# $NetBSD: Makefile,v 1.20 2013/05/31 12:39:35 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.21 2013/10/02 10:53:24 wiz Exp $
|
||||
|
||||
DISTNAME= Compress-Bzip2-2.15
|
||||
DISTNAME= Compress-Bzip2-2.17
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= archivers perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/R/RU/RURBAN/}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://search.cpan.org/dist/Compress-Bzip2/
|
||||
COMMENT= Perl5 interface to bzip2 compression library
|
||||
LICENSE= gnu-gpl-v2
|
||||
LICENSE= ${PERL5_LICENSE}
|
||||
|
||||
PERL5_PACKLIST= auto/Compress/Bzip2/.packlist
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
$NetBSD: distinfo,v 1.6 2013/04/19 16:30:46 hiramatsu Exp $
|
||||
$NetBSD: distinfo,v 1.7 2013/10/02 10:53:24 wiz Exp $
|
||||
|
||||
SHA1 (Compress-Bzip2-2.15.tar.gz) = ca2e2a85b42874fee303e78f230389dbb36e204a
|
||||
RMD160 (Compress-Bzip2-2.15.tar.gz) = b9fab156c207543f77942b1178649997131b7d40
|
||||
Size (Compress-Bzip2-2.15.tar.gz) = 892090 bytes
|
||||
SHA1 (Compress-Bzip2-2.17.tar.gz) = 614d08ccb15a44612e2a3549eb480b21f0e2dcdd
|
||||
RMD160 (Compress-Bzip2-2.17.tar.gz) = b9fc4199fb9dab57243a1aaa2f639a04eb87d2d2
|
||||
Size (Compress-Bzip2-2.17.tar.gz) = 892182 bytes
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
# $NetBSD: Makefile,v 1.51 2012/09/11 19:46:59 asau Exp $
|
||||
# $NetBSD: Makefile,v 1.54 2013/10/05 07:40:59 adam Exp $
|
||||
|
||||
DISTNAME= p7zip_9.20.1_src_all
|
||||
PKGNAME= p7zip-9.20.1
|
||||
PKGREVISION= 2
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=p7zip/}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
@@ -22,10 +23,11 @@ PTHREAD_OPTS+= require
|
||||
PLIST_VARS= dll
|
||||
|
||||
# compiles, but does not recognize any archives as supported
|
||||
DYNAMIC_7Z= NO
|
||||
DYNAMIC_7Z= YES
|
||||
.if !empty(DYNAMIC_7Z:MYES)
|
||||
BUILD_TARGET= all2
|
||||
PLIST.dll= yes
|
||||
CFLAGS+= -fPIC
|
||||
.endif
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:S/-/_/}
|
||||
@@ -42,6 +44,11 @@ INSTALLATION_DIRS+= share/doc/p7zip
|
||||
INSTALLATION_DIRS+= share/doc/p7zip/commands
|
||||
INSTALLATION_DIRS+= share/doc/p7zip/switches
|
||||
|
||||
SUBST_CLASSES+= lib
|
||||
SUBST_FILES.lib+= CPP/7zip/UI/Common/LoadCodecs.cpp
|
||||
SUBST_SED.lib+= -e "s,getenv(.P7ZIP_HOME_DIR.),\"${PREFIX}/lib/\","
|
||||
SUBST_STAGE.lib= post-patch
|
||||
|
||||
.include "../../mk/endian.mk"
|
||||
|
||||
.if !empty(MACHINE_ENDIAN:Mbig)
|
||||
@@ -53,6 +60,7 @@ CFLAGS+= -DLITTLE_ENDIAN
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/7za ${DESTDIR}${PREFIX}/bin
|
||||
.if !empty(DYNAMIC_7Z:MYES)
|
||||
${INSTALL_LIB} ${WRKSRC}/bin/7z.so ${DESTDIR}${PREFIX}/lib/
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/7z ${DESTDIR}${PREFIX}/lib/7z
|
||||
ln -f -s ${PREFIX}/lib/7z/7z ${DESTDIR}${PREFIX}/bin
|
||||
${INSTALL_LIB} ${WRKSRC}/bin/Codecs/* \
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
@comment $NetBSD: PLIST,v 1.17 2011/03/21 13:45:51 adam Exp $
|
||||
@comment $NetBSD: PLIST,v 1.18 2013/10/04 21:51:57 wiz Exp $
|
||||
bin/7z
|
||||
bin/7za
|
||||
${PLIST.dll}lib/7z.so
|
||||
${PLIST.dll}lib/7z/7z
|
||||
${PLIST.dll}lib/7z/Codecs/Rar29.so
|
||||
man/man1/7z.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.48 2012/09/11 19:46:59 asau Exp $
|
||||
# $NetBSD: Makefile,v 1.49 2013/09/12 11:18:40 jperkin Exp $
|
||||
|
||||
DISTNAME= pax-20080110
|
||||
PKGREVISION= 2
|
||||
@@ -13,6 +13,7 @@ COMMENT= POSIX standard archiver with many extensions
|
||||
BOOTSTRAP_PKG= yes
|
||||
CHECK_PERMS= no
|
||||
|
||||
MAKE_ENV+= CATMAN_SECTION_SUFFIX=${CATMAN_SECTION_SUFFIX:Q}
|
||||
MAKE_ENV+= MANINSTALL=${MANINSTALL:Q}
|
||||
|
||||
USE_FEATURES= nbcompat
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.in,v 1.12 2012/03/04 19:50:21 joerg Exp $
|
||||
# $NetBSD: Makefile.in,v 1.13 2013/09/12 11:18:40 jperkin Exp $
|
||||
|
||||
srcdir= @srcdir@
|
||||
|
||||
@@ -55,7 +55,13 @@ install:
|
||||
$(INSTALL) -m 444 tar.1 $(DESTDIR)$(man1dir)/$$(echo tar | sed '$(program_transform_name)').1
|
||||
.if !empty(MANINSTALL:Mcatinstall)
|
||||
$(INSTALL) -m 755 -d $(DESTDIR)$(cat1dir)
|
||||
. if defined(CATMAN_SECTION_SUFFIX) && !empty(CATMAN_SECTION_SUFFIX:M[Yy][Ee][Ss])
|
||||
$(INSTALL) -m 444 $(PROG).cat1 $(DESTDIR)$(cat1dir)/$$(echo $(PROG) | sed '$(program_transform_name)').1
|
||||
$(INSTALL) -m 444 cpio.cat1 $(DESTDIR)$(cat1dir)/$$(echo cpio | sed '$(program_transform_name)').1
|
||||
$(INSTALL) -m 444 tar.cat1 $(DESTDIR)$(cat1dir)/$$(echo tar | sed '$(program_transform_name)').1
|
||||
. else
|
||||
$(INSTALL) -m 444 $(PROG).cat1 $(DESTDIR)$(cat1dir)/$$(echo $(PROG) | sed '$(program_transform_name)').0
|
||||
$(INSTALL) -m 444 cpio.cat1 $(DESTDIR)$(cat1dir)/$$(echo cpio | sed '$(program_transform_name)').0
|
||||
$(INSTALL) -m 444 tar.cat1 $(DESTDIR)$(cat1dir)/$$(echo tar | sed '$(program_transform_name)').0
|
||||
. endif
|
||||
.endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mtree_extern.h,v 1.3 2008/10/26 12:48:48 joerg Exp $ */
|
||||
/* $NetBSD: mtree_extern.h,v 1.4 2014/03/14 22:16:50 ryoon Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991, 1993
|
||||
@@ -59,6 +59,16 @@
|
||||
#define MAXHOSTNAMELEN 256
|
||||
#endif
|
||||
|
||||
/*
|
||||
* SCO OpenServer 5.0.7/3.2 has no MAXPATHLEN, but it has PATH_MAX (256).
|
||||
* in limits.h. But it is not usable under ordinal condition.
|
||||
*/
|
||||
#if !defined(MAXPATHLEN)
|
||||
#if defined(_SCO_DS)
|
||||
#define MAXPATHLEN 1024
|
||||
#endif
|
||||
#endif
|
||||
|
||||
void addtag(slist_t *, char *);
|
||||
int check_excludes(const char *, const char *);
|
||||
int compare(NODE *, FTSENT *);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pack_dev.c,v 1.4 2008/04/29 05:46:09 martin Exp $ */
|
||||
/* $NetBSD: pack_dev.c,v 1.5 2013/07/26 12:37:41 ryoon Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
|
||||
@@ -41,7 +41,7 @@
|
||||
#include <sys/cdefs.h>
|
||||
#endif
|
||||
#if !defined(lint)
|
||||
__RCSID("$NetBSD: pack_dev.c,v 1.4 2008/04/29 05:46:09 martin Exp $");
|
||||
__RCSID("$NetBSD: pack_dev.c,v 1.5 2013/07/26 12:37:41 ryoon Exp $");
|
||||
#endif /* not lint */
|
||||
|
||||
#if HAVE_SYS_TYPES_H
|
||||
@@ -84,10 +84,10 @@ static const char iMinorError[] = "invalid minor number";
|
||||
static const char tooManyFields[] = "too many fields for format";
|
||||
|
||||
/* exported */
|
||||
portdev_t
|
||||
dev_t
|
||||
pack_native(int n, u_long numbers[], const char **error)
|
||||
{
|
||||
portdev_t dev = 0;
|
||||
dev_t dev = 0;
|
||||
|
||||
if (n == 2) {
|
||||
dev = TODEV(numbers[0], numbers[1]);
|
||||
@@ -101,10 +101,10 @@ pack_native(int n, u_long numbers[], const char **error)
|
||||
}
|
||||
|
||||
|
||||
static portdev_t
|
||||
static dev_t
|
||||
pack_netbsd(int n, u_long numbers[], const char **error)
|
||||
{
|
||||
portdev_t dev = 0;
|
||||
dev_t dev = 0;
|
||||
|
||||
if (n == 2) {
|
||||
dev = makedev_netbsd(numbers[0], numbers[1]);
|
||||
@@ -120,13 +120,13 @@ pack_netbsd(int n, u_long numbers[], const char **error)
|
||||
|
||||
#define major_freebsd(x) ((int32_t)(((x) & 0x0000ff00) >> 8))
|
||||
#define minor_freebsd(x) ((int32_t)(((x) & 0xffff00ff) >> 0))
|
||||
#define makedev_freebsd(x,y) ((portdev_t)((((x) << 8) & 0x0000ff00) | \
|
||||
#define makedev_freebsd(x,y) ((dev_t)((((x) << 8) & 0x0000ff00) | \
|
||||
(((y) << 0) & 0xffff00ff)))
|
||||
|
||||
static portdev_t
|
||||
static dev_t
|
||||
pack_freebsd(int n, u_long numbers[], const char **error)
|
||||
{
|
||||
portdev_t dev = 0;
|
||||
dev_t dev = 0;
|
||||
|
||||
if (n == 2) {
|
||||
dev = makedev_freebsd(numbers[0], numbers[1]);
|
||||
@@ -142,13 +142,13 @@ pack_freebsd(int n, u_long numbers[], const char **error)
|
||||
|
||||
#define major_8_8(x) ((int32_t)(((x) & 0x0000ff00) >> 8))
|
||||
#define minor_8_8(x) ((int32_t)(((x) & 0x000000ff) >> 0))
|
||||
#define makedev_8_8(x,y) ((portdev_t)((((x) << 8) & 0x0000ff00) | \
|
||||
#define makedev_8_8(x,y) ((dev_t)((((x) << 8) & 0x0000ff00) | \
|
||||
(((y) << 0) & 0x000000ff)))
|
||||
|
||||
static portdev_t
|
||||
static dev_t
|
||||
pack_8_8(int n, u_long numbers[], const char **error)
|
||||
{
|
||||
portdev_t dev = 0;
|
||||
dev_t dev = 0;
|
||||
|
||||
if (n == 2) {
|
||||
dev = makedev_8_8(numbers[0], numbers[1]);
|
||||
@@ -164,13 +164,13 @@ pack_8_8(int n, u_long numbers[], const char **error)
|
||||
|
||||
#define major_12_20(x) ((int32_t)(((x) & 0xfff00000) >> 20))
|
||||
#define minor_12_20(x) ((int32_t)(((x) & 0x000fffff) >> 0))
|
||||
#define makedev_12_20(x,y) ((portdev_t)((((x) << 20) & 0xfff00000) | \
|
||||
#define makedev_12_20(x,y) ((dev_t)((((x) << 20) & 0xfff00000) | \
|
||||
(((y) << 0) & 0x000fffff)))
|
||||
|
||||
static portdev_t
|
||||
static dev_t
|
||||
pack_12_20(int n, u_long numbers[], const char **error)
|
||||
{
|
||||
portdev_t dev = 0;
|
||||
dev_t dev = 0;
|
||||
|
||||
if (n == 2) {
|
||||
dev = makedev_12_20(numbers[0], numbers[1]);
|
||||
@@ -186,13 +186,13 @@ pack_12_20(int n, u_long numbers[], const char **error)
|
||||
|
||||
#define major_14_18(x) ((int32_t)(((x) & 0xfffc0000) >> 18))
|
||||
#define minor_14_18(x) ((int32_t)(((x) & 0x0003ffff) >> 0))
|
||||
#define makedev_14_18(x,y) ((portdev_t)((((x) << 18) & 0xfffc0000) | \
|
||||
#define makedev_14_18(x,y) ((dev_t)((((x) << 18) & 0xfffc0000) | \
|
||||
(((y) << 0) & 0x0003ffff)))
|
||||
|
||||
static portdev_t
|
||||
static dev_t
|
||||
pack_14_18(int n, u_long numbers[], const char **error)
|
||||
{
|
||||
portdev_t dev = 0;
|
||||
dev_t dev = 0;
|
||||
|
||||
if (n == 2) {
|
||||
dev = makedev_14_18(numbers[0], numbers[1]);
|
||||
@@ -208,13 +208,13 @@ pack_14_18(int n, u_long numbers[], const char **error)
|
||||
|
||||
#define major_8_24(x) ((int32_t)(((x) & 0xff000000) >> 24))
|
||||
#define minor_8_24(x) ((int32_t)(((x) & 0x00ffffff) >> 0))
|
||||
#define makedev_8_24(x,y) ((portdev_t)((((x) << 24) & 0xff000000) | \
|
||||
#define makedev_8_24(x,y) ((dev_t)((((x) << 24) & 0xff000000) | \
|
||||
(((y) << 0) & 0x00ffffff)))
|
||||
|
||||
static portdev_t
|
||||
static dev_t
|
||||
pack_8_24(int n, u_long numbers[], const char **error)
|
||||
{
|
||||
portdev_t dev = 0;
|
||||
dev_t dev = 0;
|
||||
|
||||
if (n == 2) {
|
||||
dev = makedev_8_24(numbers[0], numbers[1]);
|
||||
@@ -231,14 +231,14 @@ pack_8_24(int n, u_long numbers[], const char **error)
|
||||
#define major_12_12_8(x) ((int32_t)(((x) & 0xfff00000) >> 20))
|
||||
#define unit_12_12_8(x) ((int32_t)(((x) & 0x000fff00) >> 8))
|
||||
#define subunit_12_12_8(x) ((int32_t)(((x) & 0x000000ff) >> 0))
|
||||
#define makedev_12_12_8(x,y,z) ((portdev_t)((((x) << 20) & 0xfff00000) | \
|
||||
#define makedev_12_12_8(x,y,z) ((dev_t)((((x) << 20) & 0xfff00000) | \
|
||||
(((y) << 8) & 0x000fff00) | \
|
||||
(((z) << 0) & 0x000000ff)))
|
||||
|
||||
static portdev_t
|
||||
static dev_t
|
||||
pack_bsdos(int n, u_long numbers[], const char **error)
|
||||
{
|
||||
portdev_t dev = 0;
|
||||
dev_t dev = 0;
|
||||
|
||||
if (n == 2) {
|
||||
dev = makedev_12_20(numbers[0], numbers[1]);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pack_dev.h,v 1.3 2008/04/29 05:46:09 martin Exp $ */
|
||||
/* $NetBSD: pack_dev.h,v 1.4 2013/07/26 12:37:41 ryoon Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
|
||||
@@ -32,12 +32,7 @@
|
||||
#ifndef _PACK_DEV_H
|
||||
#define _PACK_DEV_H
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
typedef __dev32_t portdev_t;
|
||||
#else
|
||||
typedef dev_t portdev_t;
|
||||
#endif
|
||||
typedef portdev_t pack_t(int, u_long [], const char **);
|
||||
typedef dev_t pack_t(int, u_long [], const char **);
|
||||
|
||||
pack_t *pack_find(const char *);
|
||||
pack_t pack_native;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pax.h,v 1.12 2010/01/30 08:46:20 obache Exp $ */
|
||||
/* $NetBSD: pax.h,v 1.13 2014/03/14 22:16:50 ryoon Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992 Keith Muller.
|
||||
@@ -40,7 +40,7 @@
|
||||
#endif
|
||||
|
||||
/* Tape support only available if one of the following is available. */
|
||||
#if (HAVE_SYS_MTIO_H || HAVE_SYS_TAPE_H) && !defined(UNIXWARE)
|
||||
#if (HAVE_SYS_MTIO_H || HAVE_SYS_TAPE_H) && !defined(UNIXWARE) && !defined(_SCO_DS)
|
||||
#define SUPPORT_TAPE 1
|
||||
#endif
|
||||
|
||||
@@ -80,6 +80,16 @@
|
||||
#define ISRMT 5 /* rmt */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* SCO OpenServer 5.0.7/3.2 has no MAXPATHLEN, but it has PATH_MAX (256).
|
||||
* in limits.h. But it is not usable under ordinal condition.
|
||||
*/
|
||||
#if !defined(MAXPATHLEN)
|
||||
#if defined(_SCO_DS)
|
||||
#define MAXPATHLEN 1024
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Pattern matching structure
|
||||
*
|
||||
@@ -255,6 +265,8 @@ typedef struct oplist {
|
||||
# define major(x) ((int)(0x00ff & ((x) >> 8)))
|
||||
# define minor(x) ((int)(0xffff00ff & (x)))
|
||||
# define makedev(maj,min) ((0xff00 & ((maj)<<8))|(0xffff00ff & (min)))
|
||||
# elif defined(_SCO_DS)
|
||||
# include <sys/sysmacros.h>
|
||||
# endif
|
||||
# define MAJOR(x) major(x)
|
||||
# define MINOR(x) minor(x)
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.17 2013/02/22 03:07:43 taca Exp $
|
||||
# $NetBSD: Makefile,v 1.18 2014/02/12 23:17:32 tron Exp $
|
||||
|
||||
MODNAME= zlib
|
||||
PKGREVISION= 1
|
||||
CATEGORIES+= archivers
|
||||
COMMENT= PHP extension for zlib compression
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.9 2012/09/11 19:47:00 asau Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2014/01/25 10:45:15 wiz Exp $
|
||||
#
|
||||
|
||||
DISTNAME= archive-2.0
|
||||
@@ -21,7 +21,7 @@ USE_TOOLS+= pax
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
PYTHON_PATCH_SCRIPTS= AppRun tests/testall.py
|
||||
REPLACE_PYTHON= AppRun tests/testall.py
|
||||
REPLACE_SH= Messages/dist Messages/update-po
|
||||
|
||||
INSTALLATION_DIRS= share/rox/Archive
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2010/09/10 03:58:06 taca Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2014/03/13 18:07:52 taca Exp $
|
||||
|
||||
DISTNAME= archive-tar-minitar-0.5.2
|
||||
PKGREVISION= 2
|
||||
@@ -12,7 +12,7 @@ LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 OR ruby-license
|
||||
# XXX: graphics/ruby-color depends on minitar but using command minitar?
|
||||
post-install:
|
||||
${MV} ${DESTDIR}${PREFIX}/bin/minitar \
|
||||
${DESTDIR}${PREFIX}/bin/minitar${RUBY_VER}
|
||||
${DESTDIR}${PREFIX}/bin/minitar${RUBY_SUFFIX}
|
||||
|
||||
.include "../../lang/ruby/gem.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@comment $NetBSD: PLIST,v 1.3 2010/09/10 03:58:06 taca Exp $
|
||||
bin/minitar${RUBY_VER}
|
||||
@comment $NetBSD: PLIST,v 1.4 2014/03/13 18:07:52 taca Exp $
|
||||
bin/minitar${RUBY_SUFFIX}
|
||||
${GEM_HOME}/cache/archive-tar-minitar-${PKGVERSION}.gem
|
||||
${GEM_LIBDIR}/ChangeLog
|
||||
${GEM_LIBDIR}/Install
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$NetBSD: distinfo,v 1.2 2011/03/08 09:27:54 obache Exp $
|
||||
$NetBSD: distinfo,v 1.3 2014/03/16 07:24:21 taca Exp $
|
||||
|
||||
SHA1 (bz2-0.2.2.tar.gz) = d7315b5a054ff824c8022cc19b29ccbb1bd10255
|
||||
RMD160 (bz2-0.2.2.tar.gz) = af39483be363d72a34bf82eebfcf072618e75145
|
||||
Size (bz2-0.2.2.tar.gz) = 17129 bytes
|
||||
SHA1 (patch-bz2.c) = e8aaa2678f2de4ac87f4ca06a10e377474f82f28
|
||||
SHA1 (patch-bz2.c) = 5e14083bcbf334a9d17fde6a0debc71c9710290a
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
$NetBSD: patch-bz2.c,v 1.2 2014/03/16 07:24:22 taca Exp $
|
||||
|
||||
* for ruby-1.9
|
||||
* for ruby-1.9 and later.
|
||||
|
||||
--- bz2.c.orig 2004-12-04 14:36:59.000000000 +0000
|
||||
+++ bz2.c
|
||||
@@ -46,7 +46,19 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
Data_Get_Struct(elem, struct bz_iv, bziv);
|
||||
if (bziv->bz2) {
|
||||
RDATA(bziv->bz2)->dfree = ruby_xfree;
|
||||
@@ -301,7 +309,8 @@ bz_io_data_finalize(ptr)
|
||||
@@ -249,7 +257,11 @@ bz_writer_close(obj)
|
||||
Get_BZ2(obj, bzf);
|
||||
res = bz_writer_internal_close(bzf);
|
||||
if (!NIL_P(res) && (bzf->flags & BZ2_RB_INTERNAL)) {
|
||||
+#if RUBY_API_VERSION_MAJOR >=2 && RUBY_API_VERSION_MINOR >= 1
|
||||
+ rb_obj_reveal(res, rb_cString);
|
||||
+#else
|
||||
RBASIC(res)->klass = rb_cString;
|
||||
+#endif
|
||||
}
|
||||
return res;
|
||||
}
|
||||
@@ -301,7 +313,8 @@ bz_io_data_finalize(ptr)
|
||||
(*bziv->finalize)(ptr);
|
||||
}
|
||||
else if (TYPE(bzf->io) == T_FILE) {
|
||||
@@ -56,7 +68,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
if (file->f) {
|
||||
fclose(file->f);
|
||||
file->f = 0;
|
||||
@@ -310,6 +319,16 @@ bz_io_data_finalize(ptr)
|
||||
@@ -310,6 +323,16 @@ bz_io_data_finalize(ptr)
|
||||
fclose(file->f2);
|
||||
file->f2 = 0;
|
||||
}
|
||||
@@ -73,7 +85,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -396,8 +415,8 @@ bz_str_write(obj, str)
|
||||
@@ -396,8 +419,8 @@ bz_str_write(obj, str)
|
||||
if (TYPE(str) != T_STRING) {
|
||||
rb_raise(rb_eArgError, "expected a String");
|
||||
}
|
||||
@@ -84,7 +96,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
}
|
||||
return str;
|
||||
}
|
||||
@@ -436,7 +455,7 @@ bz_writer_init(argc, argv, obj)
|
||||
@@ -436,7 +459,7 @@ bz_writer_init(argc, argv, obj)
|
||||
else {
|
||||
VALUE iv;
|
||||
struct bz_iv *bziv;
|
||||
@@ -93,7 +105,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
|
||||
rb_io_taint_check(a);
|
||||
if (!rb_respond_to(a, id_write)) {
|
||||
@@ -507,8 +526,8 @@ bz_writer_write(obj, a)
|
||||
@@ -507,8 +530,8 @@ bz_writer_write(obj, a)
|
||||
bzf->buflen = BZ_RB_BLOCKSIZE;
|
||||
bzf->buf[0] = bzf->buf[bzf->buflen] = '\0';
|
||||
}
|
||||
@@ -104,7 +116,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
while (bzf->bzs.avail_in) {
|
||||
bzf->bzs.next_out = bzf->buf;
|
||||
bzf->bzs.avail_out = bzf->buflen;
|
||||
@@ -523,7 +542,7 @@ bz_writer_write(obj, a)
|
||||
@@ -523,7 +546,7 @@ bz_writer_write(obj, a)
|
||||
rb_funcall(bzf->io, id_write, 1, rb_str_new(bzf->buf, n));
|
||||
}
|
||||
}
|
||||
@@ -113,7 +125,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
}
|
||||
|
||||
static VALUE
|
||||
@@ -614,7 +633,7 @@ bz_reader_init(argc, argv, obj)
|
||||
@@ -614,7 +637,7 @@ bz_reader_init(argc, argv, obj)
|
||||
}
|
||||
if (rb_respond_to(a, id_read)) {
|
||||
if (TYPE(a) == T_FILE) {
|
||||
@@ -122,7 +134,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
|
||||
GetOpenFile(a, fptr);
|
||||
rb_io_check_readable(fptr);
|
||||
@@ -691,14 +710,14 @@ bz_next_available(bzf, in)
|
||||
@@ -691,14 +714,14 @@ bz_next_available(bzf, in)
|
||||
}
|
||||
if (!bzf->bzs.avail_in) {
|
||||
bzf->in = rb_funcall(bzf->io, id_read, 1, INT2FIX(1024));
|
||||
@@ -140,7 +152,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
}
|
||||
if ((bzf->buflen - in) < (BZ_RB_BLOCKSIZE / 2)) {
|
||||
bzf->buf = REALLOC_N(bzf->buf, char, bzf->buflen+BZ_RB_BLOCKSIZE+1);
|
||||
@@ -780,7 +799,7 @@ bz_read_until(bzf, str, len, td1)
|
||||
@@ -780,7 +803,7 @@ bz_read_until(bzf, str, len, td1)
|
||||
if (nex) {
|
||||
res = rb_str_cat(res, bzf->buf, nex);
|
||||
}
|
||||
@@ -149,7 +161,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
return res;
|
||||
}
|
||||
return Qnil;
|
||||
@@ -845,8 +864,8 @@ bz_reader_read(argc, argv, obj)
|
||||
@@ -845,8 +868,8 @@ bz_reader_read(argc, argv, obj)
|
||||
}
|
||||
while (1) {
|
||||
total = bzf->bzs.avail_out;
|
||||
@@ -160,7 +172,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
res = rb_str_cat(res, bzf->bzs.next_out, n);
|
||||
bzf->bzs.next_out += n;
|
||||
bzf->bzs.avail_out -= n;
|
||||
@@ -868,10 +887,10 @@ bz_getc(obj)
|
||||
@@ -868,10 +891,10 @@ bz_getc(obj)
|
||||
{
|
||||
VALUE length = INT2FIX(1);
|
||||
VALUE res = bz_reader_read(1, &length, obj);
|
||||
@@ -173,7 +185,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
}
|
||||
|
||||
static VALUE
|
||||
@@ -911,15 +930,15 @@ bz_reader_ungets(obj, a)
|
||||
@@ -911,15 +934,15 @@ bz_reader_ungets(obj, a)
|
||||
if (!bzf->buf) {
|
||||
bz_raise(BZ_SEQUENCE_ERROR);
|
||||
}
|
||||
@@ -196,7 +208,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
bzf->buf[bzf->buflen] = '\0';
|
||||
bzf->bzs.next_out = bzf->buf;
|
||||
bzf->bzs.avail_out = bzf->buflen;
|
||||
@@ -966,8 +985,8 @@ bz_reader_gets_internal(argc, argv, obj,
|
||||
@@ -966,8 +989,8 @@ bz_reader_gets_internal(argc, argv, obj,
|
||||
if (NIL_P(rs)) {
|
||||
return bz_reader_read(1, &rs, obj);
|
||||
}
|
||||
@@ -207,7 +219,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
return bz_reader_gets(obj);
|
||||
}
|
||||
|
||||
@@ -977,7 +996,7 @@ bz_reader_gets_internal(argc, argv, obj,
|
||||
@@ -977,7 +1000,7 @@ bz_reader_gets_internal(argc, argv, obj,
|
||||
rspara = 1;
|
||||
}
|
||||
else {
|
||||
@@ -216,7 +228,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
rspara = 0;
|
||||
}
|
||||
|
||||
@@ -1024,13 +1043,13 @@ bz_reader_set_unused(obj, a)
|
||||
@@ -1024,13 +1047,13 @@ bz_reader_set_unused(obj, a)
|
||||
Check_Type(a, T_STRING);
|
||||
Get_BZ2(obj, bzf);
|
||||
if (!bzf->in) {
|
||||
@@ -234,7 +246,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
return Qnil;
|
||||
}
|
||||
|
||||
@@ -1042,10 +1061,10 @@ bz_reader_getc(obj)
|
||||
@@ -1042,10 +1065,10 @@ bz_reader_getc(obj)
|
||||
VALUE len = INT2FIX(1);
|
||||
|
||||
str = bz_reader_read(1, &len, obj);
|
||||
@@ -247,7 +259,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -1319,7 +1338,7 @@ bz_reader_s_foreach(argc, argv, obj)
|
||||
@@ -1319,7 +1342,7 @@ bz_reader_s_foreach(argc, argv, obj)
|
||||
rb_raise(rb_eArgError, "call out of a block");
|
||||
}
|
||||
rb_scan_args(argc, argv, "11", &fname, &sep);
|
||||
@@ -256,7 +268,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
arg.argc = argc - 1;
|
||||
arg.sep = sep;
|
||||
arg.obj = rb_funcall2(rb_mKernel, id_open, 1, &fname);
|
||||
@@ -1357,7 +1376,7 @@ bz_reader_s_readlines(argc, argv, obj)
|
||||
@@ -1357,7 +1380,7 @@ bz_reader_s_readlines(argc, argv, obj)
|
||||
struct bz_file *bzf;
|
||||
|
||||
rb_scan_args(argc, argv, "11", &fname, &sep);
|
||||
@@ -265,7 +277,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
arg.argc = argc - 1;
|
||||
arg.sep = sep;
|
||||
arg.obj = rb_funcall2(rb_mKernel, id_open, 1, &fname);
|
||||
@@ -1411,7 +1430,7 @@ bz_str_read(argc, argv, obj)
|
||||
@@ -1411,7 +1434,7 @@ bz_str_read(argc, argv, obj)
|
||||
Data_Get_Struct(obj, struct bz_str, bzs);
|
||||
rb_scan_args(argc, argv, "01", &len);
|
||||
if (NIL_P(len)) {
|
||||
@@ -274,7 +286,7 @@ $NetBSD: patch-bz2.c,v 1.1 2011/03/08 09:27:54 obache Exp $
|
||||
}
|
||||
else {
|
||||
count = NUM2INT(len);
|
||||
@@ -1422,13 +1441,13 @@ bz_str_read(argc, argv, obj)
|
||||
@@ -1422,13 +1445,13 @@ bz_str_read(argc, argv, obj)
|
||||
if (!count || bzs->pos == -1) {
|
||||
return Qnil;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/11 07:29:42 taca Exp $
|
||||
@comment $NetBSD: PLIST,v 1.2 2014/03/13 18:09:45 taca Exp $
|
||||
${GEM_HOME}/cache/${GEM_NAME}.gem
|
||||
${GEM_EXTSDIR}/libarchive_ruby.${RUBY_DLEXT}
|
||||
${GEM_LIBDIR}/COPYING.libarchive
|
||||
${GEM_LIBDIR}/LICENSE.libbzip2
|
||||
${GEM_LIBDIR}/README.txt
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
# $NetBSD: Makefile,v 1.8 2012/09/11 19:47:00 asau Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2013/11/13 18:10:20 minskim Exp $
|
||||
|
||||
DISTNAME= ruby-xz-0.1.1
|
||||
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//}
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= archivers
|
||||
|
||||
MAINTAINER= minskim@NetBSD.org
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$NetBSD: distinfo,v 1.3 2012/03/20 12:29:23 taca Exp $
|
||||
$NetBSD: distinfo,v 1.4 2013/11/13 18:10:20 minskim Exp $
|
||||
|
||||
SHA1 (ruby-xz-0.1.1.gem) = e90f6d1d5cc0cdf5a483d0b738e9c3510bb5da77
|
||||
RMD160 (ruby-xz-0.1.1.gem) = 44baebe06c0558e9f4fb3490413bf08a83e12645
|
||||
Size (ruby-xz-0.1.1.gem) = 17408 bytes
|
||||
SHA1 (patch-lib_xz_lib__lzma.rb) = a4622d2941503fdd7f06bc977770575628efe1c8
|
||||
SHA1 (patch-lib_xz_lib__lzma.rb) = e26ec075ad4b05da397bce4ae80b939567c93b3e
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$NetBSD: patch-lib_xz_lib__lzma.rb,v 1.1 2012/03/20 07:26:05 taca Exp $
|
||||
$NetBSD: patch-lib_xz_lib__lzma.rb,v 1.2 2013/11/13 18:10:20 minskim Exp $
|
||||
|
||||
Use an absolute path for a library to load.
|
||||
|
||||
@@ -9,7 +9,7 @@ Use an absolute path for a library to load.
|
||||
:lzma_prog_error
|
||||
|
||||
- ffi_lib ['lzma.so.2', 'lzma.so', 'lzma']
|
||||
+ ffi_lib ['lzma.@SHLIB_EXT@.2', 'lzma.@SHLIB_EXT@', 'lzma'].map! { |f| File.join('@LOCALBASE@/lib', f) }
|
||||
+ ffi_lib ['liblzma.@SHLIB_EXT@.2', 'liblzma.@SHLIB_EXT@', 'liblzma'].map! { |f| File.join('@LOCALBASE@/lib', f) }
|
||||
|
||||
attach_function :lzma_easy_encoder, [:pointer, :uint32, :int], :int
|
||||
attach_function :lzma_code, [:pointer, :int], :int
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
$NetBSD: distinfo,v 1.2 2013/01/26 23:00:32 wiz Exp $
|
||||
$NetBSD: distinfo,v 1.3 2014/01/09 15:40:55 jperkin Exp $
|
||||
|
||||
SHA1 (trrntzip_v02_src.tar.gz) = ad2487d7e9edc6608358104df8367da3d535fd2b
|
||||
RMD160 (trrntzip_v02_src.tar.gz) = 1a6718babc3cfb42e99fadbb53360ecb4f15b5b9
|
||||
Size (trrntzip_v02_src.tar.gz) = 46971 bytes
|
||||
SHA1 (patch-aa) = 639626aab0ab5f3a359cde057d83f0291f1476cb
|
||||
SHA1 (patch-configure.ac) = f6657e42c74ad4722c852c733c819ebb0c58e8ef
|
||||
SHA1 (patch-src_platform.c) = ef7d4dae6b40dfea623a882141316ddf80e4c6eb
|
||||
|
||||
22
archivers/torrentzip/patches/patch-src_platform.c
Normal file
22
archivers/torrentzip/patches/patch-src_platform.c
Normal file
@@ -0,0 +1,22 @@
|
||||
$NetBSD: patch-src_platform.c,v 1.1 2014/01/09 15:40:55 jperkin Exp $
|
||||
|
||||
cfmakeraw compatability for SunOS.
|
||||
|
||||
--- src/platform.c.orig 2005-04-17 08:36:15.000000000 +0000
|
||||
+++ src/platform.c
|
||||
@@ -45,7 +45,15 @@ getch (void)
|
||||
|
||||
tcgetattr (1, &t);
|
||||
t2 = t;
|
||||
+#ifdef __sun
|
||||
+ t2.c_iflag &= ~(IMAXBEL|IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
|
||||
+ t2.c_oflag &= ~OPOST;
|
||||
+ t2.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
|
||||
+ t2.c_cflag &= ~(CSIZE|PARENB);
|
||||
+ t2.c_cflag |= CS8;
|
||||
+#else
|
||||
cfmakeraw (&t2);
|
||||
+#endif
|
||||
tcsetattr (1, TCSANOW, &t2);
|
||||
fread (&c, 1, 1, stdin);
|
||||
tcsetattr (1, TCSANOW, &t);
|
||||
@@ -1,9 +1,9 @@
|
||||
$NetBSD: distinfo,v 1.20 2013/05/28 19:00:04 joerg Exp $
|
||||
$NetBSD: distinfo,v 1.21 2014/01/09 15:54:44 jperkin Exp $
|
||||
|
||||
SHA1 (unalz-0.61.tgz) = a6cab2a02b7f44957211e694b7d8d144840b2255
|
||||
RMD160 (unalz-0.61.tgz) = 68cb957aeacfc8452e01637f7e0a50939d515ab6
|
||||
Size (unalz-0.61.tgz) = 138152 bytes
|
||||
SHA1 (patch-UnAlz.h) = c21ec95926b716adf3c6d7145a17440bbb1e81ad
|
||||
SHA1 (patch-UnAlz.h) = ecd2cb74b6d9fc53caa79a20ff0f930dfc00712d
|
||||
SHA1 (patch-aa) = 327fd080040946fe7a0707698f90d7709a2d3c5b
|
||||
SHA1 (patch-ab) = 5dca0ba5d5b6b99c3b6985195e6fc52dc89fae44
|
||||
SHA1 (patch-ac) = 00c6255437f4ebdf3676787ed63cc838a16476d4
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user