From a99e5ef3a8fd220bbe4f90286bc0d314ad344d38 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Tue, 24 Sep 2024 20:26:36 +0200 Subject: [PATCH] cad/gerbv: update 2.7.0 -> 2.10.0, new upstream, URL changed - Also fixes CVE-2023-4508 PR: 281369 Reported by: diizzy Changes: https://github.com/gerbv/gerbv/blob/main/NEWS --- cad/gerbv/Makefile | 13 +++++++------ cad/gerbv/distinfo | 6 +++--- cad/gerbv/pkg-plist | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/cad/gerbv/Makefile b/cad/gerbv/Makefile index 031ef54de888..9decb381912e 100644 --- a/cad/gerbv/Makefile +++ b/cad/gerbv/Makefile @@ -1,12 +1,12 @@ PORTNAME= gerbv -PORTVERSION= 2.7.0 -PORTREVISION= 3 +DISTVERSION= 2.10.0 +DISTVERSIONPREFIX=v CATEGORIES= cad -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} +MASTER_SITES= GH MAINTAINER= pi@FreeBSD.org COMMENT= Gerber file viewer -WWW= http://gerbv.geda-project.org/ +WWW= https://gerbv.github.io/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING @@ -14,8 +14,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 -USES= autoreconf compiler:c++11-lang cpe desktop-file-utils gmake gnome \ - libtool localbase pathfix pkgconfig +USES= autoreconf compiler:c++11-lang cpe desktop-file-utils \ + gmake gnome libtool localbase pathfix pkgconfig +USE_GITHUB= yes USE_GNOME= cairo gtk20 USE_LDCONFIG= yes diff --git a/cad/gerbv/distinfo b/cad/gerbv/distinfo index 56162eddebf9..f11a23f20329 100644 --- a/cad/gerbv/distinfo +++ b/cad/gerbv/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1548269427 -SHA256 (gerbv-2.7.0.tar.gz) = c5ee808c4230ce6be3ad10ab63c547098386d43022704de25ddb9378e62053b4 -SIZE (gerbv-2.7.0.tar.gz) = 5691407 +TIMESTAMP = 1727024998 +SHA256 (gerbv-gerbv-v2.10.0_GH0.tar.gz) = 3eef8eb8a2755da8400e7a4394229475ad4cf1a2f85345720ee1da135a1aec44 +SIZE (gerbv-gerbv-v2.10.0_GH0.tar.gz) = 4508865 diff --git a/cad/gerbv/pkg-plist b/cad/gerbv/pkg-plist index 85d647511988..0bc82fa9c675 100644 --- a/cad/gerbv/pkg-plist +++ b/cad/gerbv/pkg-plist @@ -1,5 +1,5 @@ bin/gerbv -include/gerbv-%%VERSION%%/gerbv.h +include/gerbv-/gerbv.h lib/libgerbv.a lib/libgerbv.so lib/libgerbv.so.1