Enhanced links with graphics support, tables, javascript and much more.

See http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/ for details.

brad@ ok.
This commit is contained in:
fgsch 2002-07-25 01:56:42 +00:00
parent 1b1ddd6bfa
commit d0d5952260
6 changed files with 86 additions and 0 deletions

41
www/links+/Makefile Normal file
View File

@ -0,0 +1,41 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/07/25 01:56:42 fgsch Exp $
COMMENT= "graphics and text browser with javascript support"
VER= 2.1pre2
DISTNAME= links-${VER}
PKGNAME= links+-${VER}
CATEGORIES= www
MASTER_SITES= http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/
MAINTAINER= Federico G. Schwindt <fgsch@openbsd.org>
HOMEPAGE= http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= jpeg.62::graphics/jpeg \
png.2::graphics/png \
tiff.35::graphics/tiff
FLAVORS= no_x11
FLAVOR?=
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-javascript --enable-graphics --with-ssl
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.if !${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS+= --with-x
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/links+
${INSTALL_DATA} ${WRKSRC}/doc/links_cal/* ${PREFIX}/share/links+
.include <bsd.port.mk>

3
www/links+/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (links-2.1pre2.tar.gz) = 0c9053c69a7149c75cdc93b8166b1322
RMD160 (links-2.1pre2.tar.gz) = 152971e2880e8db35e93f64411d410f6e4f68ad8
SHA1 (links-2.1pre2.tar.gz) = 2640db0da5d80c90e90d467139429b4099c71f2c

12
www/links+/pkg/DESCR Normal file
View File

@ -0,0 +1,12 @@
Links main features:
- Graphics and text browser
- Easy and quick user control via pull-down menu in both text and
graphics mode, in 25 languages.
- Tables, frames in both graphics and text mode, builtin image
display in graphics mode
- Javascript support with full user control over script run
Flavors:
no_x11 - disable X support.
WWW: ${HOMEPAGE}

9
www/links+/pkg/MESSAGE Normal file
View File

@ -0,0 +1,9 @@
+---------------
|
| If X support was enabled, run:
|
| ${PREFIX}/bin/links -g ${PREFIX}/share/links+/calibration.html
|
| and proceed with the calibration of your monitor and Links.
|
+---------------

15
www/links+/pkg/PLIST Normal file
View File

@ -0,0 +1,15 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/07/25 01:56:42 fgsch Exp $
@pkgcfl links-*
bin/links
man/man1/links.1
share/links+/adjusted.png
share/links+/black-control-rocking.png
share/links+/black-icon.png
share/links+/calibration.html
share/links+/elbow.png
share/links+/kalibrace.html
share/links+/picture-crank-0.png
share/links+/picture-crank-up.png
share/links+/picture-icon.png
share/links+/test_pattern.png
@dirrm share/links+

6
www/links+/pkg/SECURITY Normal file
View File

@ -0,0 +1,6 @@
$OpenBSD: SECURITY,v 1.1.1.1 2002/07/25 01:56:42 fgsch Exp $
get_temp_name() calls tempnam() in session.c
It is only used in continue_download, which use the temporary name in
create_download_file, with safe == 1 (even though it sets safe to 1 in
a particularly funky way).
so this ends in an open(..., O_CREAT|O_TRUNC|O_EXCL, 0600), which is safe.