Commit Graph

49 Commits

Author SHA1 Message Date
sthen
0a5b5bddee replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:50:46 +00:00
fcambus
431cdfdb12 Drop maintainership. 2019-05-29 20:20:55 +00:00
fcambus
b2889517df Update lynx to 2.8.9rel1.
OK sthen@
2018-08-12 08:28:49 +00:00
fcambus
54f6108b83 Update lynx to 2.8.9pl19. 2018-05-18 14:22:07 +00:00
fcambus
09b881ad9d Update lynx to 2.8.9pl18 and switch HOMEPAGE and MASTER_SITES to HTTPS. 2018-05-07 09:33:09 +00:00
fcambus
1113017427 Update lynx to 2.8.9pl17. 2018-03-29 22:38:53 +00:00
jsing
488222ef78 Make use of SSL_set_min_proto_version().
This function has been available in LibreSSL for a while now.

ok sthen@
2018-02-14 15:38:27 +00:00
jca
d56ed745ab Fix a bunch of invisible-island.net ftp MASTER_SITES 2017-10-20 19:00:04 +00:00
fcambus
ff9df825da Update lynx to 2.8.9pl16. 2017-07-28 17:05:29 +00:00
fcambus
e86ab1ae14 Avoid parsing DOWNLOADER and PRINTER directives from lynx.cfg.
As a side note, there is no need to explicitely disable parsing UPLOADER
directives because we --disable-dired at configure time, nor EXTERNAL
directives as we do not build with --enable-externs.

OK mestre@, tb@
2017-07-07 10:17:28 +00:00
fcambus
bbf0409eb5 Update lynx to 2.8.9pl15. 2017-07-05 22:04:11 +00:00
fcambus
358c9bda47 Update lynx to 2.8.9pl14. 2017-05-13 10:16:05 +00:00
fcambus
40dfb8de1a Update lynx to 2.8.9pl13.
While there, amend our lynx.cfg patch to switch default site to HTTPS.
2017-04-30 12:08:32 +00:00
fcambus
d8e7df99a2 Update lynx to 2.8.9pl11.
OK sthen@
2016-11-25 15:58:55 +00:00
fcambus
96d2c61232 Remove the bzip2 dependency from Lynx. We were previously linking
against bzlib so the library would be used instead of the bzip2 binary.

We now disable bzip2 detection at the configure level (thanks to sthen@
for the pointers), which prevents accepting bzip2 compressed HTML and
thus avoid spawning processes.

OK tb@, sthen@
2016-09-24 15:50:36 +00:00
fcambus
8a4bb5880c Update my mail address 2016-09-22 12:57:17 +00:00
fcambus
8427005e5e Disable spawning an external viewer. On top of disabling the hardcoded
XLOADIMAGE_COMMAND value in userdefs.h, we also remove the possibility
of setting a custom value in lynx.cfg.

The ability to assign MIME types to external viewers via configuration
file (via the VIEWER variables) is also disabled.

OK tb@
2016-09-04 13:35:02 +00:00
sthen
c76eb151e5 update to lynx2.8.9dev.9, from fcambus 2016-05-17 00:08:44 +00:00
sthen
21c8edb39a Link lynx with bzlib, to avoid an attempt to exec() to handle bzip2-
compressed http transfers. From Frederic Cambus (maintainer).
2016-04-22 22:21:56 +00:00
tb
a4e7464812 Help lynx to live up to its no "proc" and no "exec" promises:
sthen@ found that the mailcap mechanism can spawn a viewer. Rename
the hardcoded /etc/mailcap and ~/.mailcap files to /dev/null and
disable the ability to undo that via a config file. lynx copes by
offering to download files with MIME types it can't handle itself.

fcambus found that "lynx index.html" + typing e spawns an editor.
Hardcode "no_editor = TRUE" before pledge() and tweak manpage.

Most of this is by fcambus (MAINTAINER).
/dev/null bit from me, based on a hint from sthen@.

ok sthen@ on previous version
2016-04-15 03:21:51 +00:00
tb
72193d0da3 Add pledge(2) support to lynx.
The heavy lifting and final touches were done by Frederic Cambus; this
version includes earlier patches, ideas and tweaks from daniel@ and me.

ok daniel@, patch and notes from Frederic Cambus (MAINTAINER)

Notes :
-------
The idea is to avoid using otherwise required 'getpw', 'proc', 'exec'
promises entirely. We achieve this by disabling a couple of features,
mostly removing obsolete stuff. While we are at it, we attempt to pave
the way to be able to remove even more promises in the future, and
reduce potential attack vectors.

We disable them either at compile time :

--disable-bibp-urls
--disable-dired
--disable-finger

Or by hardcoding boolean values to disable the features just before
calling pledge and entering main program loop :

no_exec = TRUE;
no_mail = TRUE;
no_shell = TRUE;

rlogin_ok = FALSE;
telnet_ok = FALSE;

Manpage has been updated to mention those restrictions.

Also, CFLAGS="-DNOUSERS" was added in the Makefile to disable getpwnam
and getpwuid.
2016-03-12 14:29:13 +00:00
juanfra
e0446ae329 Update MASTER_SITES. Reported by Adam Jensen. 2016-02-27 22:46:10 +00:00
dcoppa
1ce1462ced Tweak COMMENT
Suggested by naddy@
From maintainer Frederic Cambus
2016-01-14 10:45:07 +00:00
dcoppa
05af2ab2d5 Add trailing slash to ${HOMEPAGE}
pointed out by sthen@
2016-01-12 16:46:29 +00:00
dcoppa
4b4b44dc90 Update to lynx-2.8.9pl8
From new maintainer Frederic Cambus
2016-01-12 16:05:54 +00:00
sthen
b0afd3bc40 remove bcallah as maintainer of his ports, at his request 2015-08-25 13:18:24 +00:00
bcallah
716cca556b Update to 2.8.9dev6 2015-05-07 19:40:43 +00:00
bcallah
3d9ddb798c Update to 2.8.9d5 2015-04-18 05:00:05 +00:00
bcallah
53cd629d8f Maintenance update to 2.8.9dev4. 2015-01-27 21:16:56 +00:00
daniel
fac3743537 Update lynx to 2.8.9dev.3; ok bcallah@ (MAINTAINER). 2015-01-15 01:15:11 +00:00
bcallah
57507a757f Update to 2.8.9dev2
ok daniel@
2014-12-26 16:10:52 +00:00
landry
8464f65881 @sample lynx.lss to ${SYSCONFDIR}, unbreaks runtime. A better solution
would be to check why this wasnt needed when lynx was in base, but fix
it this way for now.
2014-07-21 07:18:07 +00:00
bcallah
6fba379dfa Import www/lynx. lynx is a console Internet browser that lets you browse
the web, gopherspace, and other protocols.
tweaks and ok schwarze@ sthen@
2014-07-17 12:15:21 +00:00
brad
5a538a73aa remove Lynx, it has been part of the standard distribution for quite awhile 1999-10-31 20:53:55 +00:00
espie
7856893b06 Lots of crisper comments... 1999-04-20 16:07:56 +00:00
marc
e7a338bcf5 port no longer needed as lynx now part of standard OpenBSD release.
Change install to create link /usr/local/bin/lynx ==> /usr/bin/lynx
Change delete to remove the link.
1998-03-12 07:48:28 +00:00
marc
9726d50db3 Make packing list agree with actual installation 1998-02-20 05:55:57 +00:00
gene
5d8a47eacc New patches that cope with our incarnation of curses better. Sorry, my system
dates back to 2.0 and looked good where it shouldn't have.
1998-01-19 21:13:22 +00:00
gene
de722f726b Don't assume unzip is in the user's $PATH. 1998-01-19 21:10:42 +00:00
gene
4211cdc91e Get the build directory for libwww.a right. 1998-01-13 04:07:57 +00:00
gene
5fb7a01da9 Pretty much a regen in response to PR 386. We're backing away from the
rapidly-changing ac- series to the stable, lynx 2.7.2 release.  ac- shoudl
be in a lynx-current port.
Note that in the patches I pull some tricks with Makefiles that work _only_
because we are building out of variables set in bsd.port.mk.
1998-01-12 17:22:51 +00:00
martin
04bacd2801 Update to latest lynx 1997-12-29 21:42:43 +00:00
niklas
420aa9ae61 Deal with stupid syntax error 1997-12-21 11:49:13 +00:00
gene
6d8ce12656 Update to lynx-2.7.1ac101; noted by niklas.
Also, we don't gzip manpages.
1997-12-18 17:52:05 +00:00
deraadt
008288ee30 upgrade to lynx2.7.1ac-0.97; bs@mv.post.ru 1997-11-30 13:22:04 +00:00
todd
55926525fc lynx 2.7.1ac-0.95 1997-11-23 23:27:14 +00:00
gene
089351c733 Upgrade to lac-0.93 which came out jsut in time to antiquate what I
originally imported.
1997-11-23 22:34:41 +00:00
joey
ecc8e1c1ca the first line of the Makefile should be OpenBSD makefile for: not New ports...
removed FreeBSD's $id. no need for it.
1997-11-19 01:07:49 +00:00
gene
51885ce24e Initial import of lynx with an OpenBSDified patch-aa 1997-11-18 02:25:41 +00:00