[Midnightbsd-cvs] mports [24640] trunk/graphics/librsvg2: update librsvg2 to 2.40.20 (security patch)

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Nov 21 21:09:50 EST 2018


Revision: 24640
          http://svnweb.midnightbsd.org/mports/?rev=24640
Author:   laffer1
Date:     2018-11-21 21:09:49 -0500 (Wed, 21 Nov 2018)
Log Message:
-----------
update librsvg2 to 2.40.20 (security patch)

Modified Paths:
--------------
    trunk/graphics/librsvg2/Makefile
    trunk/graphics/librsvg2/distinfo
    trunk/graphics/librsvg2/pkg-plist

Modified: trunk/graphics/librsvg2/Makefile
===================================================================
--- trunk/graphics/librsvg2/Makefile	2018-11-22 02:07:33 UTC (rev 24639)
+++ trunk/graphics/librsvg2/Makefile	2018-11-22 02:09:49 UTC (rev 24640)
@@ -1,8 +1,7 @@
 # $MidnightBSD$
 
 PORTNAME=	librsvg
-PORTVERSION=	2.40.6
-PORTREVISION=	1
+PORTVERSION=	2.40.20
 CATEGORIES=	graphics gnome
 MASTER_SITES=	GNOME
 PKGNAMESUFFIX=	2
@@ -13,26 +12,27 @@
 
 LICENSE=	gpl2
 
-LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2 \
-		libpng.so:${PORTSDIR}/graphics/png \
-		libcroco-0.6.so:${PORTSDIR}/textproc/libcroco
-RUN_DEPENDS=	gtk-engines2>=2.7.5_1:${PORTSDIR}/x11-themes/gtk-engines2
+PORTSCOUT=	limit:^2\.40\.
 
-USES=		gettext gmake libtool pathfix pkgconfig tar:xz
-USE_GNOME=	gnomeprefix libgsf gtk20 introspection:build
+BUILD_DEPENDS=	valac:lang/vala
+LIB_DEPENDS=	libfreetype.so:print/freetype2 \
+		libfontconfig.so:x11-fonts/fontconfig \
+		libpng.so:graphics/png \
+		libcroco-0.6.so:textproc/libcroco
+
+USES=		gettext gmake gnome libtool localbase pathfix pkgconfig tar:xz
+USE_GNOME=	cairo gnomeprefix libgsf gdkpixbuf2 introspection:build \
+		libxml2 pango
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 INSTALL_TARGET=	install-strip
-CONFIGURE_ARGS=	--with-svgz \
-		--disable-vala \
-		--with-croco \
-		--disable-Bsymbolic \
-		--enable-gtk-theme
+CONFIGURE_ARGS=	--enable-vala \
+		--disable-Bsymbolic
 
+PLIST_SUB+=	PORTVERSION=${PORTVERSION}
+
 post-patch:
-	@${REINPLACE_CMD} -e 's|GTK3_REQUIRED=3.[0-9].[0-9]|GTK3_REQUIRED=9.90.0|g' \
+	@${REINPLACE_CMD} -e 's|GTK3_REQUIRED=3.[0-9][0-9].[0-9]|GTK3_REQUIRED=9.90.0|g' \
 		${WRKSRC}/configure
 
 .include <bsd.port.mk>

Modified: trunk/graphics/librsvg2/distinfo
===================================================================
--- trunk/graphics/librsvg2/distinfo	2018-11-22 02:07:33 UTC (rev 24639)
+++ trunk/graphics/librsvg2/distinfo	2018-11-22 02:09:49 UTC (rev 24640)
@@ -1,2 +1,3 @@
-SHA256 (gnome2/librsvg-2.40.6.tar.xz) = 8af349f241677b04b7a1ea6b9b33a6343e781bcccc8a09d00208a47342584f06
-SIZE (gnome2/librsvg-2.40.6.tar.xz) = 512500
+TIMESTAMP = 1516305968
+SHA256 (gnome2/librsvg-2.40.20.tar.xz) = cff4dd3c3b78bfe99d8fcfad3b8ba1eee3289a0823c0e118d78106be6b84c92b
+SIZE (gnome2/librsvg-2.40.20.tar.xz) = 1796376

Modified: trunk/graphics/librsvg2/pkg-plist
===================================================================
--- trunk/graphics/librsvg2/pkg-plist	2018-11-22 02:07:33 UTC (rev 24639)
+++ trunk/graphics/librsvg2/pkg-plist	2018-11-22 02:09:49 UTC (rev 24640)
@@ -9,7 +9,7 @@
 lib/librsvg-2.a
 lib/librsvg-2.so
 lib/librsvg-2.so.2
-lib/librsvg-2.so.2.40.6
+lib/librsvg-2.so.%%PORTVERSION%%
 libdata/pkgconfig/librsvg-2.0.pc
 man/man1/rsvg-convert.1.gz
 share/doc/rsvg-2.0/RsvgHandle.html
@@ -25,7 +25,6 @@
 share/doc/rsvg-2.0/api-index-full.html
 share/doc/rsvg-2.0/home.png
 share/doc/rsvg-2.0/index.html
-share/doc/rsvg-2.0/index.sgml
 share/doc/rsvg-2.0/left-insensitive.png
 share/doc/rsvg-2.0/left.png
 share/doc/rsvg-2.0/licence.html
@@ -42,5 +41,7 @@
 share/doc/rsvg-2.0/up-insensitive.png
 share/doc/rsvg-2.0/up.png
 share/gir-1.0/Rsvg-2.0.gir
- at exec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true
- at unexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true
+share/thumbnailers/librsvg.thumbnailer
+share/vala/vapi/librsvg-2.0.vapi
+ at postexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true
+ at postunexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache 2>/dev/null || /usr/bin/true



More information about the Midnightbsd-cvs mailing list