[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / patch

File: [cvs.NetBSD.org] / pkgsrc / devel / patch / Makefile (download)

Revision 1.45, Thu Oct 18 19:26:16 2018 UTC (4 years, 3 months ago) by leot
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.44: +4 -10 lines

patch: Backport patches for several security fixes

pkgsrc changes:
 - Remove custom and no longer needed do-patch target, it was fixed upstream
 - Minor cosmetic improvements pointed out by pkglint

Changes:
 - Backport patches for CVE-2018-6951, CVE-2018-6952 and CVE-2018-1000156

Patch provided by Attila Fülöp via NetBSD/pkgsrc#33, thanks!

Bump PKGREVISION

# $NetBSD: Makefile,v 1.45 2018/10/18 19:26:16 leot Exp $

DISTNAME=	patch-2.7.6
PKGREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNU:=patch/}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.gnu.org/software/patch/patch.html
COMMENT=	Patch files using diff output
LICENSE=	gnu-gpl-v3

GNU_CONFIGURE=		yes
USE_TOOLS+=		awk

.include "../../mk/bsd.prefs.mk"

CONFIGURE_ARGS+=	--program-prefix=g
CONFIGURE_ENV+=		ac_cv_func_setmode_dos=no	# Fix for Interix (and old bsd?)

INSTALLATION_DIRS=	${PKGGNUDIR}bin ${PKGGNUDIR}${PKGMANDIR}/man1

SYMLINKS=	bin/gpatch ${PKGGNUDIR}bin/patch \
		man/man1/gpatch.1 ${PKGGNUDIR}${PKGMANDIR}/man1/patch.1
post-install:
.for o n in ${SYMLINKS}
	${LN} -sf ${PREFIX}/${o} ${DESTDIR}${PREFIX}/${n}
.endfor

.include "../../mk/bsd.pkg.mk"