summaryrefslogtreecommitdiff
path: root/www/links-hacked
diff options
context:
space:
mode:
Diffstat (limited to 'www/links-hacked')
-rw-r--r--www/links-hacked/Makefile84
-rw-r--r--www/links-hacked/distinfo2
-rw-r--r--www/links-hacked/files/patch-https.c14
-rw-r--r--www/links-hacked/files/patch-png.c38
-rw-r--r--www/links-hacked/pkg-descr5
5 files changed, 0 insertions, 143 deletions
diff --git a/www/links-hacked/Makefile b/www/links-hacked/Makefile
deleted file mode 100644
index af382b1aec02..000000000000
--- a/www/links-hacked/Makefile
+++ /dev/null
@@ -1,84 +0,0 @@
-# Created by: Peter Vereshagin <peter@vereshagin.org>
-# $FreeBSD$
-
-PORTNAME= links-hacked
-DISTVERSION= 101110
-PORTREVISION= 7
-CATEGORIES?= www
-MASTER_SITES= http://xray.sai.msu.ru/~karpov/links-hacked/downloads/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Hacked version of a Links WWW browser
-
-LICENSE= GPLv2
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-USES= autoreconf ssl
-USE_CSTD= gnu89
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-ssl --without-pmshell --without-atheos --without-fb
-
-CFLAGS+= -Wno-error=return-type
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo
-
-CONFLICTS= links-[0-9]*
-
-PLIST_FILES= bin/links man/man1/links.1.gz
-
-OPTIONS_DEFINE= FORMSAVE FREETYPE JS
-OPTIONS_RADIO= GRAPHICS
-OPTIONS_RADIO_GRAPHICS= DIRECTFB SVGALIB X11
-OPTIONS_DEFAULT= FORMSAVE FREETYPE JS X11
-
-DIRECTFB_DESC= DirectFB driver support
-DIRECTFB_LIB_DEPENDS= libdirectfb-1.4.so:devel/directfb
-DIRECTFB_CONFIGURE_WITH= directfb
-FORMSAVE_DESC= Form saving/loading support
-FORMSAVE_LIB_DEPENDS= libgdbm.so:databases/gdbm
-FORMSAVE_CONFIGURE_ENABLE= form-saving
-FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2
-FREETYPE_CONFIGURE_WITH= freetype
-JS_DESC= Javascript interpreter support (very basic)
-JS_CONFIGURE_ENABLE= javascript
-SVGALIB_LIB_DEPENDS= libvga.so:graphics/svgalib
-SVGALIB_CONFIGURE_WITH= svgalib
-X11_USE= xorg=x11,xorgproto
-X11_CONFIGURE_WITH= x
-
-.include <bsd.port.options.mk>
-
-.if ${SSL_DEFAULT} == base
-BROKEN_FreeBSD_12= incomplete definition of type 'struct ssl_st'
-BROKEN_FreeBSD_13= incomplete definition of type 'struct ssl_st'
-.endif
-
-.if ${PORT_OPTIONS:MDIRECTFB} || ${PORT_OPTIONS:MSVGALIB} || ${PORT_OPTIONS:MX11}
-LIB_DEPENDS+= libpng.so:graphics/png \
- libtiff.so:graphics/tiff
-USES+= jpeg
-CONFIGURE_ARGS+= --enable-graphics
-.else
-CONFIGURE_ARGS+= --disable-graphics --without-libjpeg --without-libtiff
-.endif
-
-.if ${PORT_OPTIONS:MX11}
-DESKTOP_ENTRIES="Links" \
- "Lynx-like hacked WWW browser" \
- "${PREFIX}/share/pixmaps/links.xpm" \
- "links -g" \
- "Network;WebBrowser;" \
- false
-PLIST_FILES+= share/pixmaps/links.xpm
-.endif
-
-post-install:
-.if ${PORT_OPTIONS:MX11}
- (cd ${WRKSRC}/graphics && ${INSTALL_DATA} links.xpm \
- ${STAGEDIR}${PREFIX}/share/pixmaps)
-.endif
-
-.include <bsd.port.mk>
diff --git a/www/links-hacked/distinfo b/www/links-hacked/distinfo
deleted file mode 100644
index 2abe3d5d8462..000000000000
--- a/www/links-hacked/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (links-hacked-101110.tar.gz) = 4a6fcff2992880c830b9a6caeb8396d5aa83ddacb00881f31ec9beba791c914e
-SIZE (links-hacked-101110.tar.gz) = 5796750
diff --git a/www/links-hacked/files/patch-https.c b/www/links-hacked/files/patch-https.c
deleted file mode 100644
index 8703e89f1dce..000000000000
--- a/www/links-hacked/files/patch-https.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- https.c.orig 2008-06-07 07:41:41 UTC
-+++ https.c
-@@ -15,7 +15,10 @@ SSL *getSSL(void)
- char f_randfile[PATH_MAX];
-
- if (!context) {
-- if (RAND_egd(RAND_file_name(f_randfile, sizeof(f_randfile)))<0){
-+#ifndef OPENSSL_NO_EGD
-+ if (RAND_egd(RAND_file_name(f_randfile, sizeof(f_randfile)))<0)
-+#endif
-+ {
- /* Not an EGD, so read and write to it */
- if (RAND_load_file(f_randfile, -1))
- RAND_write_file(f_randfile);
diff --git a/www/links-hacked/files/patch-png.c b/www/links-hacked/files/patch-png.c
deleted file mode 100644
index 6e605f609c66..000000000000
--- a/www/links-hacked/files/patch-png.c
+++ /dev/null
@@ -1,38 +0,0 @@
---- png.c.orig 2008-06-07 09:41:41.000000000 +0200
-+++ png.c 2012-05-06 09:32:52.000000000 +0200
-@@ -38,7 +38,7 @@
- /* Error for from-web PNG images. */
- void img_my_png_error(png_structp png_ptr, png_const_charp error_string)
- {
-- longjmp(png_ptr->jmpbuf,1);
-+ longjmp(png_jmpbuf(png_ptr),1);
- }
-
- void png_info_callback(png_structp png_ptr, png_infop info_ptr)
-@@ -192,7 +192,7 @@
- #ifdef DEBUG
- if (!info_ptr) internal ("png_create_info_struct failed\n");
- #endif /* #ifdef DEBUG */
-- if (setjmp(png_ptr->jmpbuf)){
-+ if (setjmp(png_jmpbuf(png_ptr))){
- error:
- png_destroy_read_struct(&png_ptr, &info_ptr,
- (png_infopp)NULL);
-@@ -202,7 +202,7 @@
- png_set_progressive_read_fn(png_ptr, NULL,
- png_info_callback, png_row_callback,
- png_end_callback);
-- if (setjmp(png_ptr->jmpbuf)) goto error;
-+ if (setjmp(png_jmpbuf(png_ptr))) goto error;
- decoder=mem_alloc(sizeof(*decoder));
- decoder->png_ptr=png_ptr;
- decoder->info_ptr=info_ptr;
-@@ -221,7 +221,7 @@
- png_ptr=((struct png_decoder *)(cimg->decoder))->png_ptr;
- info_ptr=((struct png_decoder *)(cimg->decoder))->info_ptr;
- end_callback_hit=0;
-- if (setjmp(png_ptr->jmpbuf)){
-+ if (setjmp(png_jmpbuf(png_ptr))){
- img_end(cimg);
- return;
- }
diff --git a/www/links-hacked/pkg-descr b/www/links-hacked/pkg-descr
deleted file mode 100644
index ac1558536394..000000000000
--- a/www/links-hacked/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-WWW browser Links well known and now hacked for more features including
-tabs, basic auth and toolbar, hot key for images, form entry saving, much
-better X fonts, etc.
-
-WWW: http://xray.sai.msu.ru/~karpov/links-hacked/