diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2019-11-04 22:43:07 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2019-11-04 22:43:07 +0000 |
commit | 807603118a2c55d2c78b3615fb38c2a30edf9c85 (patch) | |
tree | f3805c416da661e9648e7679544f4c984600c3e6 /www | |
parent | 366790689c55376507a8345f3a4b147db6529857 (diff) | |
download | ports-807603118a2c55d2c78b3615fb38c2a30edf9c85.tar.gz ports-807603118a2c55d2c78b3615fb38c2a30edf9c85.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/lynx-current/Makefile | 38 | ||||
-rw-r--r-- | www/lynx-current/distinfo | 6 | ||||
-rw-r--r-- | www/lynx-current/files/patch-WWW_Library_Implementation_HTTP.c | 11 | ||||
-rw-r--r-- | www/lynx-current/files/patch-makefile.in | 43 | ||||
-rw-r--r-- | www/lynx-current/pkg-plist | 1 |
5 files changed, 49 insertions, 50 deletions
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile index ee8200fb0ce1..f45b13df7fbf 100644 --- a/www/lynx-current/Makefile +++ b/www/lynx-current/Makefile @@ -2,15 +2,14 @@ # $FreeBSD$ PORTNAME= lynx -PORTVERSION= 2.8.9d16 -PORTREVISION= 1 +PORTVERSION= 2.9.0d4 CATEGORIES= www MASTER_SITES= http://invisible-mirror.net/archives/lynx/tarballs/ \ ftp://invisible-island.net/lynx/tarballs/ PKGNAMESUFFIX= -current DISTNAME= ${PORTNAME}${PORTVERSION:S/p/pre./:S/d/dev./} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= adamw@FreeBSD.org COMMENT= Non-graphical, text-based World-Wide Web client LICENSE= GPLv2 @@ -20,11 +19,11 @@ RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:misc/mime-support CONFLICTS_INSTALL= lynx-2.8.[0-8].* ja-lynx-[0-9]* WRKSRC= ${WRKDIR}/${DISTNAME} -USES= cpe iconv ncurses shebangfix ssl tar:bzip2 +USES= cpe iconv ncurses shebangfix tar:bzip2 SHEBANG_FILES= samples/mailto-form.pl GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-zlib --libdir="${L_LIB}" \ - --enable-nsl-fork --with-bzlib \ +CONFIGURE_ARGS= --with-zlib --libdir="${PREFIX}/etc" \ + --enable-nsl-fork --with-bzlib --with-zlib \ --enable-nested-tables --enable-default-colors \ --enable-addrlist-page \ --enable-gzip-help \ @@ -32,34 +31,31 @@ CONFIGURE_ARGS= --with-zlib --libdir="${L_LIB}" \ --enable-ipv6 \ --with-mime-libdir=${PREFIX}/etc \ ${ICONV_CONFIGURE_ARG} \ - --with-screen=ncursesw \ - --with-ssl=${OPENSSLBASE} + --with-screen=ncursesw CPE_VERSION= ${PORTVERSION:C/[pd].+//} CPE_UPDATE= ${PORTVERSION:E:C/[0-9]+//:S/p/pre./:S/d/dev./} MAKE_JOBS_UNSAFE= yes -MAKE_FLAGS= helpdir=${L_HELP} docdir=${L_DOC} -f +MAKE_FLAGS= helpdir="${PREFIX}/share/lynx_help" docdir="${DOCSDIR}" -f MAKEFILE= makefile INSTALL_TARGET= install-full -L_LIB= ${PREFIX}/etc -L_DOC= ${PREFIX}/share/doc/lynx -L_HELP= ${PREFIX}/share/lynx_help -DOCSDIR= ${L_DOC} +DOCSDIR= ${PREFIX}/share/doc/lynx -OPTIONS_DEFINE= IDN NLS DOCS +OPTIONS_DEFINE= GNUTLS IDN NLS DOCS OPTIONS_DEFAULT=IDN OPTIONS_SUB= yes -NLS_USES= gettext -NLS_CONFIGURE_ENABLE= nls - -IDN_LIB_DEPENDS= libidn.so:dns/libidn IDN_CONFIGURE_ENABLE= idna +IDN_LIB_DEPENDS= libidn.so:dns/libidn + +GNUTLS_CONFIGURE_ON= --with-gnutls --without-ssl +GNUTLS_CONFIGURE_OFF= --with-ssl=${OPENSSLBASE} --without-gnutls +GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls +GNUTLS_USES_OFF= ssl -post-patch: - ${REINPLACE_CMD} -Ee 's/lynx\.(cfg|lss)\.default/lynx.\1.sample/g' \ - -e '/SYSCONFDIR)\/lynx\.(cfg|lss)$$/d' ${WRKSRC}/makefile.in +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext .include <bsd.port.mk> diff --git a/www/lynx-current/distinfo b/www/lynx-current/distinfo index 6528041bb069..b056fa7575c3 100644 --- a/www/lynx-current/distinfo +++ b/www/lynx-current/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1500197310 -SHA256 (lynx2.8.9dev.16.tar.bz2) = 04318a100b052d079d0018fa371aa28cfb41ab68db3a959f3b75c2170eea1bc8 -SIZE (lynx2.8.9dev.16.tar.bz2) = 2674662 +TIMESTAMP = 1572905013 +SHA256 (lynx2.9.0dev.4.tar.bz2) = 043aaf753de917687094bc80c37db93390904b573c13e82dbd1756de4c00af00 +SIZE (lynx2.9.0dev.4.tar.bz2) = 2723001 diff --git a/www/lynx-current/files/patch-WWW_Library_Implementation_HTTP.c b/www/lynx-current/files/patch-WWW_Library_Implementation_HTTP.c deleted file mode 100644 index 20d2e29fcf9c..000000000000 --- a/www/lynx-current/files/patch-WWW_Library_Implementation_HTTP.c +++ /dev/null @@ -1,11 +0,0 @@ ---- WWW/Library/Implementation/HTTP.c.orig 2016-11-23 16:45:25 UTC -+++ WWW/Library/Implementation/HTTP.c -@@ -926,7 +926,7 @@ static int HTLoadHTTP(const char *arg, - #elif SSLEAY_VERSION_NUMBER >= 0x0900 - #ifndef USE_NSS_COMPAT_INCL - if (!try_tls) { --#if OPENSSL_VERSION_NUMBER >= 0x10100000L -+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) - SSL_set_min_proto_version(handle, TLS1_1_VERSION); - #else - SSL_set_options(handle, SSL_OP_NO_TLSv1); diff --git a/www/lynx-current/files/patch-makefile.in b/www/lynx-current/files/patch-makefile.in index f9249d82bb8c..878e2fa37243 100644 --- a/www/lynx-current/files/patch-makefile.in +++ b/www/lynx-current/files/patch-makefile.in @@ -1,6 +1,15 @@ ---- makefile.in.orig 2009-11-25 13:56:48.000000000 +0300 -+++ makefile.in 2010-03-26 11:13:46.000000000 +0300 -@@ -384,14 +384,10 @@ +--- makefile.in.orig 2019-08-26 20:21:48 UTC ++++ makefile.in +@@ -324,7 +324,7 @@ install-doc : $(DOCDIR) $(HELPDIR) + cd $(HELPDIR) && rm -f $$name ;\ + r= ;\ + test "$(LN_S)" = "ln -s" || r=`echo $(helpdir)|sed -e "s%[^/]\+%..%g" -e "s%^.%%"`; \ +- cd $(HELPDIR) && ( $(LN_S) $$r$(docdir)/$$name . || cp $(DOCDIR)/$$name . );\ ++ cd $(HELPDIR) && ( $(LN_S) ../doc/lynx/$$name . || cp $(DOCDIR)/$$name . );\ + done' + -$(SHELL) -c 'case `id|sed -e "s/(.*//"` in uid=0) chown -R root $(DOCDIR);; esac' + +@@ -393,14 +393,10 @@ install-help : $(CFG2HTML) help_files.sed $(HELPDIR) $ if test "$(COMPRESS_PROG)" != "" ; then \ (cd $(HELPDIR) && $(COMPRESS_PROG) $$files ) \ fi' @@ -12,37 +21,41 @@ - cp $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ; \ - fi' - @echo Updating $(sysconfdir)/lynx.cfg to point to installed help-files -+ @echo Updating $(sysconfdir)/lynx.cfg.default ++ @echo Updating $(sysconfdir)/lynx.cfg.sample + cp $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.tmp -+ rm -f $(SYSCONFDIR)/lynx.cfg.default -+ @echo Updating $(sysconfdir)/lynx.cfg.default to point to installed help-files ++ rm -f $(SYSCONFDIR)/lynx.cfg.sample ++ @echo Updating $(sysconfdir)/lynx.cfg.sample to point to installed help-files @ECHO_CC@sed -e '/^HELPFILE:http/s!^!#!' \ -e '/^#HELPFILE:file/s!#!!' \ $(SYSCONFDIR)/lynx.tmp | \ -@@ -399,9 +394,10 @@ +@@ -408,8 +404,8 @@ install-help : $(CFG2HTML) help_files.sed $(HELPDIR) $ $(SHELL) $(scripts_dir)/cfg_path.sh lynx_doc $(helpdir) | \ sed -e '/^HELPFILE:file/s!$$!$(COMPRESS_EXT)!' \ -e '/^HELPFILE:file/s!$(COMPRESS_EXT)$(COMPRESS_EXT)$$!$(COMPRESS_EXT)!' \ - >$(SYSCONFDIR)/lynx.cfg - chmod 644 $(SYSCONFDIR)/lynx.cfg -+ >$(SYSCONFDIR)/lynx.cfg.default -+ chmod 644 $(SYSCONFDIR)/lynx.cfg.default ++ >$(SYSCONFDIR)/lynx.cfg.sample ++ chmod 644 $(SYSCONFDIR)/lynx.cfg.sample -rm -f $(SYSCONFDIR)/lynx.tmp -+ -[ ! -f $(SYSCONFDIR)/lynx.cfg ] && $(INSTALL_DATA) $(SYSCONFDIR)/lynx.cfg.default $(SYSCONFDIR)/lynx.cfg LYHelp.h : help_files.sed $(srcdir)/LYHelp.hin - @echo Creating $@ -@@ -423,10 +419,11 @@ +@@ -432,17 +428,15 @@ cfg_defs.h : $(scripts_dir)/cfg_defs.sh $(scripts_dir) $(SHELL) -c 'SHELL=$(SHELL) $(SHELL) $(scripts_dir)/cfg_defs.sh $(srcdir)' install-cfg : $(SYSCONFDIR) - @$(SHELL) $(scripts_dir)/install-cfg.sh "$(INSTALL_DATA)" $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.cfg -+ @$(SHELL) $(scripts_dir)/install-cfg.sh "$(INSTALL_DATA)" $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.cfg.default ++ @$(SHELL) $(scripts_dir)/install-cfg.sh "$(INSTALL_DATA)" $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.cfg.sample install-lss : $(SYSCONFDIR) - @$(SHELL) $(scripts_dir)/install-lss.sh "$(INSTALL_DATA)" $(srcdir)/samples/lynx.lss $(SYSCONFDIR)/lynx.lss -+ @$(SHELL) $(scripts_dir)/install-lss.sh "$(INSTALL_DATA)" $(srcdir)/samples/lynx.lss $(SYSCONFDIR)/lynx.lss.default -+ -[ ! -f $(SYSCONFDIR)/lynx.lss ] && $(INSTALL_DATA) $(SYSCONFDIR)/lynx.lss.default $(SYSCONFDIR)/lynx.lss ++ @$(SHELL) $(scripts_dir)/install-lss.sh "$(INSTALL_DATA)" $(srcdir)/samples/lynx.lss $(SYSCONFDIR)/lynx.lss.sample uninstall :: @MSG_DIR_MAKE@ cd $(PO_DIR) && $(MAKE_RECUR) uninstall + -rm -f $(BINDIR)/$(binary_PROG) + -rm -f $(MANDIR)/$(actual_PROG).1 +- -rm -f $(SYSCONFDIR)/lynx.cfg +- -rm -f $(SYSCONFDIR)/lynx.lss + + uninstall \ + uninstall-help :: diff --git a/www/lynx-current/pkg-plist b/www/lynx-current/pkg-plist index 5de157af386a..b04edc0b4c03 100644 --- a/www/lynx-current/pkg-plist +++ b/www/lynx-current/pkg-plist @@ -106,6 +106,7 @@ man/man1/lynx.1.gz %%NLS%%share/locale/ja/LC_MESSAGES/lynx.mo %%NLS%%share/locale/nl/LC_MESSAGES/lynx.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/lynx.mo +%%NLS%%share/locale/ro/LC_MESSAGES/lynx.mo %%NLS%%share/locale/ru/LC_MESSAGES/lynx.mo %%NLS%%share/locale/sl/LC_MESSAGES/lynx.mo %%NLS%%share/locale/sv/LC_MESSAGES/lynx.mo |