1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Update to 1.13.22.

PR:		ports/30371
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>

Add a patch to work around a /bin/sh bug described in PR #30392.

Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
This commit is contained in:
Akinori MUSHA 2001-09-11 12:09:13 +00:00
parent 6cae6e6901
commit 638bd0a217
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47659
7 changed files with 95 additions and 36 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= tar
PORTVERSION= 1.13.19
PORTVERSION= 1.13.22
PKGNAMEPREFIX= g
CATEGORIES= archivers sysutils
MASTER_SITES= ftp://alpha.gnu.org/gnu/tar/ \
@ -20,12 +20,13 @@ LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
LDFLAGS='-L${LOCALBASE}/lib ${LDSTATIC}' \
DEFAULT_ARCHIVE='/dev/sa0'
.if defined(WANT_STATIC)
CONFIGURE_ENV+= LDFLAGS='-L${LOCALBASE}/lib -static'
LDSTATIC= -static
.else
CONFIGURE_ENV+= LDFLAGS='-L${LOCALBASE}/lib'
LDSTATIC=
.endif
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (tar-1.13.19.tar.gz) = ff10ade59f5b312869ffb2f229177e14
MD5 (tar-1.13.22.tar.gz) = 6336bb0531efec441617a2fc5211b396

View File

@ -0,0 +1,86 @@
--- configure.orig Wed Aug 29 23:44:29 2001
+++ configure Sat Sep 8 07:57:39 2001
@@ -3734,9 +3734,9 @@
fi
test $jm_cv_func_decl_free != yes
-
+ac_status=$?
cat >>confdefs.h <<EOF
-#define HAVE_DECL_FREE $?
+#define HAVE_DECL_FREE $ac_status
EOF
echo "$as_me:3742: checking whether getgrgid is declared" >&5
@@ -3791,9 +3791,9 @@
fi
test $jm_cv_func_decl_getgrgid != yes
-
+ac_status=$?
cat >>confdefs.h <<EOF
-#define HAVE_DECL_GETGRGID $?
+#define HAVE_DECL_GETGRGID $ac_status
EOF
echo "$as_me:3799: checking whether getpwuid is declared" >&5
@@ -3848,9 +3848,9 @@
fi
test $jm_cv_func_decl_getpwuid != yes
-
+ac_status=$?
cat >>confdefs.h <<EOF
-#define HAVE_DECL_GETPWUID $?
+#define HAVE_DECL_GETPWUID $ac_status
EOF
echo "$as_me:3856: checking whether getenv is declared" >&5
@@ -3905,9 +3905,9 @@
fi
test $jm_cv_func_decl_getenv != yes
-
+ac_status=$?
cat >>confdefs.h <<EOF
-#define HAVE_DECL_GETENV $?
+#define HAVE_DECL_GETENV $ac_status
EOF
echo "$as_me:3913: checking whether malloc is declared" >&5
@@ -3962,9 +3962,9 @@
fi
test $jm_cv_func_decl_malloc != yes
-
+ac_status=$?
cat >>confdefs.h <<EOF
-#define HAVE_DECL_MALLOC $?
+#define HAVE_DECL_MALLOC $ac_status
EOF
echo "$as_me:3970: checking whether strtoul is declared" >&5
@@ -4019,9 +4019,9 @@
fi
test $jm_cv_func_decl_strtoul != yes
-
+ac_status=$?
cat >>confdefs.h <<EOF
-#define HAVE_DECL_STRTOUL $?
+#define HAVE_DECL_STRTOUL $ac_status
EOF
echo "$as_me:4027: checking whether strtoull is declared" >&5
@@ -4076,9 +4076,9 @@
fi
test $jm_cv_func_decl_strtoull != yes
-
+ac_status=$?
cat >>confdefs.h <<EOF
-#define HAVE_DECL_STRTOULL $?
+#define HAVE_DECL_STRTOULL $ac_status
EOF
echo "$as_me:4084: checking which ioctl field to test for reversed bytes" >&5

View File

@ -1,16 +0,0 @@
$FreeBSD$
--- lib/dirname.c.orig Wed Jan 31 02:08:57 2001
+++ lib/dirname.c Wed Jan 31 02:10:31 2001
@@ -19,6 +19,12 @@
# include <config.h>
#endif
+#if HAVE_STRING_H
+# include <string.h>
+#else
+# include <strings.h>
+#endif
+
#if HAVE_STDLIB_H
# include <stdlib.h>
#endif

View File

@ -1,15 +0,0 @@
$FreeBSD$
--- lib/prepargs.c.orig Thu Nov 16 01:32:16 2000
+++ lib/prepargs.c Thu Nov 16 01:32:58 2000
@@ -23,6 +23,11 @@
#endif
#include "prepargs.h"
#include <sys/types.h>
+#if HAVE_STRING_H
+# include <string.h>
+#else
+# include <strings.h>
+#endif
#include <xalloc.h>
#include <ctype.h>

View File

@ -10,3 +10,5 @@ This distribution also includes rmt, the remote tape server.
Note that this port will install these utilities with a 'g' prefix,
e.g. gtar, but the texinfo documentation will refer to them without
the 'g' prefix.
WWW: http://www.gnu.org/software/tar/tar.html

View File

@ -10,9 +10,9 @@ share/locale/de/LC_MESSAGES/tar.mo
share/locale/es/LC_MESSAGES/tar.mo
share/locale/et/LC_MESSAGES/tar.mo
share/locale/fr/LC_MESSAGES/tar.mo
share/locale/id/LC_MESSAGES/tar.mo
share/locale/it/LC_MESSAGES/tar.mo
share/locale/ja/LC_MESSAGES/tar.mo
share/locale/ko/LC_MESSAGES/tar.mo
share/locale/nl/LC_MESSAGES/tar.mo
share/locale/no/LC_MESSAGES/tar.mo
share/locale/pl/LC_MESSAGES/tar.mo
@ -21,3 +21,4 @@ share/locale/pt_BR/LC_MESSAGES/tar.mo
share/locale/ru/LC_MESSAGES/tar.mo
share/locale/sl/LC_MESSAGES/tar.mo
share/locale/sv/LC_MESSAGES/tar.mo
share/locale/tr/LC_MESSAGES/tar.mo