pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/50072: Update www/links to 2.10
>Number: 50072
>Category: pkg
>Synopsis: Update www/links to 2.10
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Jul 20 18:35:00 +0000 2015
>Originator: Leonardo Taccari
>Release: NetBSD 7.99.20
>Organization:
Università Politecnica delle Marche
>Environment:
System: NetBSD boh 7.99.20 NetBSD 7.99.20 (GENERIC) #37: Tue Jul 14 05:23:55 CEST 2015 leot@boh:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
www/links in pkgsrc (2.9) is not the latest stable version (2.10).
>How-To-Repeat:
$ cd pkgsrc/www/links
$ make show-var VARNAME=PKGNAME_NOREV
>Fix:
Please apply the attached patches for www/links and www/links-gui. While
here I will also attach a possible commit messages including all the
pkgsrc changes and the upstream changes. I have also tried to fix some
minor problems (please give a look to the pkgsrc changes for further
information). Please remember to update pkgsrc/TODO and
pkgsrc/mk/default/options.descriptions (deleting "links-xz" and
"links-zlib" lines).
----------------8<--------------------8<--------------------8<----------------
Update www/links{,gui} to links-{,gui-}2.10.
pkgsrc changes:
o Convert all the old links-xz and links-zlib options to lzma and zlib2.
o Do not include the bzip2, xz and zlib buildlink3.mk files: they are handled in
www/links/options.mk.
o Add "svg" option for links-gui (disabled by default) to reflect upstream
change.
Changes:
o Fix "Counld not assing boundary" bug when posting a form
The bug was found by Greg Cook
o SVG support using the rsvg library
o Attach to existing links instance instead of creating a new instance
o Detect image type based on the first few bytes rather than on
content-type
o New glyphs taken from Volker's git
o Fixed a bug on Windows where dns lookup got stuck if we closed the
primary instance (which resulted in fork) while the lookup was in
progress
o Use OpenMP in the image scaler
o Fixed a bug where the output of font sharpening depended on data read
from uninitialized memory
o Preallocate downloaded files on Linux
o Support libevent and libev
o Enable SSL SNI, some servers need it
o Test for RAND_* functions in configure because libressl doesn't have
them
o Support keepalive on https connections
----------------8<--------------------8<--------------------8<----------------
----------------8<--------------------8<--------------------8<----------------
Index: links/Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/www/links/Makefile.common,v
retrieving revision 1.61
diff -u -r1.61 Makefile.common
--- links/Makefile.common 30 Dec 2014 14:47:25 -0000 1.61
+++ links/Makefile.common 20 Jul 2015 18:12:48 -0000
@@ -3,10 +3,10 @@
# used by www/links/Makefile
# used by www/links-gui/Makefile
-DISTNAME= links-2.9
+DISTNAME= links-2.10
CATEGORIES= www
MASTER_SITES= http://links.twibright.com/download/
-EXTRACT_SUFX= .tar.bz2
+EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://links.twibright.com/
@@ -25,7 +25,5 @@
post-install:
${INSTALL_DATA} ${WRKSRC}/KEYS ${DESTDIR}${PREFIX}/share/doc/links
-.include "../../archivers/bzip2/buildlink3.mk"
-.include "../../archivers/xz/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
+.include "../../devel/libevent/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
Index: links/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/www/links/distinfo,v
retrieving revision 1.61
diff -u -r1.61 distinfo
--- links/distinfo 30 Dec 2014 14:47:25 -0000 1.61
+++ links/distinfo 20 Jul 2015 18:12:48 -0000
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.61 2014/12/30 14:47:25 wiz Exp $
-SHA1 (links-2.9.tar.bz2) = 1202f1ade1075fa4f62e343702e5a0a22cdc2b13
-RMD160 (links-2.9.tar.bz2) = f7ef5b4418ea0bfde660eeaa6e6f2ccbe3f4aaa1
-Size (links-2.9.tar.bz2) = 4111393 bytes
-SHA1 (patch-ab) = ae543b7c986edff8d5aa2d46d54a62311486e0d9
+SHA1 (links-2.10.tar.bz2) = bffd48917a9d038f4277443bf6ea2cf8c9372c3c
+RMD160 (links-2.10.tar.bz2) = 6c760dbc3b1ba61d6f47ce1512061f9d5b518980
+Size (links-2.10.tar.bz2) = 6230715 bytes
+SHA1 (patch-ab) = 679ad68a09d39776977bd5414e5a2f79d5386fa5
Index: links/options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/www/links/options.mk,v
retrieving revision 1.2
diff -u -r1.2 options.mk
--- links/options.mk 27 Jan 2012 08:24:28 -0000 1.2
+++ links/options.mk 20 Jul 2015 18:12:48 -0000
@@ -1,12 +1,14 @@
# $NetBSD: options.mk,v 1.2 2012/01/27 08:24:28 sbd Exp $
-PKG_OPTIONS_VAR= PKG_OPTIONS.links
-PKG_SUPPORTED_OPTIONS= bzip2 links-zlib links-xz
-PKG_SUGGESTED_OPTIONS= bzip2 links-zlib links-xz
+PKG_OPTIONS_VAR= PKG_OPTIONS.links
+PKG_OPTIONS_LEGACY_OPTS+= links-xz:lzma
+PKG_OPTIONS_LEGACY_OPTS+= links-zlib:zlib
+PKG_SUPPORTED_OPTIONS+= bzip2 lzma zlib
+PKG_SUGGESTED_OPTIONS= bzip2 lzma zlib
.include "../../mk/bsd.options.mk"
-.if !empty(PKG_OPTIONS:Mlinks-xz)
+.if !empty(PKG_OPTIONS:Mlzma)
. include "../../archivers/xz/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-lzma
@@ -18,7 +20,7 @@
CONFIGURE_ARGS+= --without-bzip2
.endif
-.if !empty(PKG_OPTIONS:Mlinks-zlib)
+.if !empty(PKG_OPTIONS:Mzlib)
. include "../../devel/zlib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-zlib
Index: links/patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/www/links/patches/patch-ab,v
retrieving revision 1.7
diff -u -r1.7 patch-ab
--- links/patches/patch-ab 30 Dec 2014 14:47:25 -0000 1.7
+++ links/patches/patch-ab 20 Jul 2015 18:12:48 -0000
@@ -1,8 +1,8 @@
$NetBSD: patch-ab,v 1.7 2014/12/30 14:47:25 wiz Exp $
---- configure.orig 2014-12-19 20:04:31.000000000 +0000
+--- configure.orig 2015-07-03 21:23:41.000000000 +0000
+++ configure
-@@ -830,10 +830,10 @@ fi
+@@ -838,10 +838,10 @@ fi
Index: links-gui/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/links-gui/Makefile,v
retrieving revision 1.72
diff -u -r1.72 Makefile
--- links-gui/Makefile 30 Dec 2014 14:47:25 -0000 1.72
+++ links-gui/Makefile 20 Jul 2015 18:12:48 -0000
@@ -5,13 +5,22 @@
CONFLICTS+= links-[0-9]* elinks-0.3*
-USE_TOOLS+= pkg-config
+USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= --enable-graphics
CONFIGURE_ARGS+= --without-sdl
BUILDLINK_DEPMETHOD.libXt?= build
+PKG_SUPPORTED_OPTIONS+= svg
+
.include "../../www/links/Makefile.common"
+
+.if !empty(PKG_OPTIONS:Msvg)
+. include "../../graphics/librsvg/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-librsvg
+.endif
+
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index