2003-07-17 23:21:03 +02:00
|
|
|
# $NetBSD: Makefile,v 1.32 2003/07/17 21:21:15 grant Exp $
|
1999-09-18 16:49:08 +02:00
|
|
|
#
|
|
|
|
|
Update gtar packages to 1.13.25, with security fixes from redhat.
Summary of changes (see NEWS and Changelog from the distribution for details):
- don't allow absolute paths, and path containing ../
* New option --overwrite-dir
* New option --recursion (the default) that is the inverse of --no-recursion.
* New options --anchored, --ignore-case, --wildcards,
--wildcards-match-slash, and their negations (e.g., --no-anchored).
Along with --recursion and --no-recursion, these options control how
exclude patterns are interpreted.
* The default interpretation of exclude patterns is now --no-anchored
--no-ignore-case --recursion --wildcards --wildcards-match-slash.
* The --no-recursion option now affects extraction too.
* New options --no-same-owner, --no-same-permissions.
* New option -y or --bzip2 for bzip2 compression, by popular request.
2002-11-20 17:57:54 +01:00
|
|
|
DISTNAME= tar-1.13.25
|
|
|
|
PKGNAME= gtar-base-1.13.25
|
2003-01-21 10:29:45 +01:00
|
|
|
PKGREVISION= 1
|
2001-10-18 17:20:01 +02:00
|
|
|
SVR4_PKGNAME= gtarb
|
1999-09-18 16:49:08 +02:00
|
|
|
CATEGORIES= archivers
|
Update gtar packages to 1.13.25, with security fixes from redhat.
Summary of changes (see NEWS and Changelog from the distribution for details):
- don't allow absolute paths, and path containing ../
* New option --overwrite-dir
* New option --recursion (the default) that is the inverse of --no-recursion.
* New options --anchored, --ignore-case, --wildcards,
--wildcards-match-slash, and their negations (e.g., --no-anchored).
Along with --recursion and --no-recursion, these options control how
exclude patterns are interpreted.
* The default interpretation of exclude patterns is now --no-anchored
--no-ignore-case --recursion --wildcards --wildcards-match-slash.
* The --no-recursion option now affects extraction too.
* New options --no-same-owner, --no-same-permissions.
* New option -y or --bzip2 for bzip2 compression, by popular request.
2002-11-20 17:57:54 +01:00
|
|
|
MASTER_SITES= ftp://alpha.gnu.org/gnu/tar/ \
|
|
|
|
ftp://ftp.sunsite.org.uk/Mirrors/alpha.gnu.org/gnu/tar/ \
|
|
|
|
ftp://ftp.funet.fi/pub/mirrors/alpha.gnu.org/gnu/tar/
|
1999-09-18 16:49:08 +02:00
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
1999-09-18 16:49:08 +02:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/tar/tar.html
|
2001-02-16 14:15:24 +01:00
|
|
|
COMMENT= The GNU tape archiver with remote magnetic tape support
|
1999-09-18 16:49:08 +02:00
|
|
|
|
2003-05-24 00:24:16 +02:00
|
|
|
BUILD_USES_MSGFMT= YES
|
|
|
|
|
2002-08-25 23:48:57 +02:00
|
|
|
USE_BUILDLINK2= YES
|
2002-11-30 12:16:17 +01:00
|
|
|
USE_PKGLOCALEDIR= YES
|
2002-08-25 23:48:57 +02:00
|
|
|
GNU_CONFIGURE= YES
|
2002-11-30 12:16:17 +01:00
|
|
|
|
1999-09-18 16:49:08 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2002-12-22 02:34:38 +01:00
|
|
|
.if defined(GNU_PROGRAM_PREFIX)
|
|
|
|
CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX}
|
|
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --with-catgets
|
|
|
|
PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX}
|
|
|
|
BUILD_DEFS+= GNU_PROGRAM_PREFIX
|
|
|
|
|
2003-01-21 00:23:57 +01:00
|
|
|
.if !defined(GNU_PROGRAM_PREFIX) || ${GNU_PROGRAM_PREFIX} != "g"
|
|
|
|
PLIST_SUBST+= GTAR_LINK=""
|
|
|
|
.else
|
|
|
|
PLIST_SUBST+= GTAR_LINK="@comment "
|
|
|
|
.endif
|
|
|
|
|
1999-09-18 16:49:08 +02:00
|
|
|
post-patch:
|
2003-02-13 18:41:37 +01:00
|
|
|
@${TOUCH} ${WRKSRC}/po/fr.po
|
1999-09-18 16:49:08 +02:00
|
|
|
|
|
|
|
post-install:
|
2002-12-22 18:15:33 +01:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/gtar.1 \
|
2002-12-22 02:34:38 +01:00
|
|
|
${PREFIX}/man/man1/${GNU_PROGRAM_PREFIX}tar.1
|
2003-01-21 00:23:57 +01:00
|
|
|
.if !defined(GNU_PROGRAM_PREFIX) || ${GNU_PROGRAM_PREFIX} != "g"
|
2003-04-22 22:25:08 +02:00
|
|
|
${LN} -sf ${GNU_PROGRAM_PREFIX}tar ${PREFIX}/bin/gtar
|
2003-01-21 00:23:57 +01:00
|
|
|
.endif
|
1999-09-18 16:49:08 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|