FreeBSD Bugzilla – Attachment 227163 Details for
Bug 257812
patch and update ww/lynx-current affected by CVE-2021-38165
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to the www/lynx-current port
www_lynx-current.patch (text/plain), 4.54 KB, created by
Piotr Smyrak
on 2021-08-13 16:03:47 UTC
(
hide
)
Description:
patch to the www/lynx-current port
Filename:
MIME Type:
Creator:
Piotr Smyrak
Created:
2021-08-13 16:03:47 UTC
Size:
4.54 KB
patch
obsolete
>diff --git i/www/lynx-current/Makefile w/www/lynx-current/Makefile >index 9eba9d3f8ecd..7e9746b5245f 100644 >--- i/www/lynx-current/Makefile >+++ w/www/lynx-current/Makefile >@@ -1,10 +1,11 @@ > # Created by: ache > > PORTNAME= lynx >-PORTVERSION= 2.9.0d6 >+PORTVERSION= 2.9.0d9 > CATEGORIES= www > MASTER_SITES= http://invisible-mirror.net/archives/lynx/tarballs/ \ >- ftp://invisible-island.net/lynx/tarballs/ >+ ftp://ftp.invisible-island.net/lynx/tarballs/ >+ > PKGNAMESUFFIX= -current > DISTNAME= ${PORTNAME}${PORTVERSION:S/p/pre./:S/d/dev./} > >diff --git i/www/lynx-current/distinfo w/www/lynx-current/distinfo >index 50e721bd581e..1ab218f1bc0d 100644 >--- i/www/lynx-current/distinfo >+++ w/www/lynx-current/distinfo >@@ -1,3 +1,3 @@ > TIMESTAMP = 1605020628 >-SHA256 (lynx2.9.0dev.6.tar.bz2) = 78f0be7f81f4b84d8d33b45a05145f015e35355109be350e461de5c03abf53b2 >-SIZE (lynx2.9.0dev.6.tar.bz2) = 2730690 >+SHA256 (lynx2.9.0dev.9.tar.bz2) = 6fd6dd3f57681ad58d3397c273b430a411ae049b367fd4909b3d70b722da501a >+SIZE (lynx2.9.0dev.9.tar.bz2) = 2746988 >diff --git i/www/lynx-current/files/patch-makefile.in w/www/lynx-current/files/patch-makefile.in >index 878e2fa37243..eb7da39b5351 100644 >--- i/www/lynx-current/files/patch-makefile.in >+++ w/www/lynx-current/files/patch-makefile.in >@@ -1,45 +1,45 @@ >---- makefile.in.orig 2019-08-26 20:21:48 UTC >-+++ makefile.in >-@@ -324,7 +324,7 @@ install-doc : $(DOCDIR) $(HELPDIR) >+--- makefile.in.orig 2021-08-01 20:50:51.000000000 +0200 >++++ makefile.in 2021-08-13 17:31:19.742347000 +0200 >+@@ -325,7 +325,7 @@ > 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) $ >+ done';\ >+ $(SHELL) -c 'set -x; \ >+ case `id|sed -e "s/(.*//"` in \ >+@@ -403,14 +403,10 @@ > if test "$(COMPRESS_PROG)" != "" ; then \ > (cd $(HELPDIR) && $(COMPRESS_PROG) $$files ) \ > fi' >-- @echo Updating $(sysconfdir)/lynx.cfg >+- @echo "Updating $(sysconfdir)/lynx.cfg" > - @ECHO_CC@$(SHELL) -c \ > - 'if test -f $(SYSCONFDIR)/lynx.cfg ; then \ > - mv $(SYSCONFDIR)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ; \ > - else \ > - cp $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ; \ > - fi' >-- @echo Updating $(sysconfdir)/lynx.cfg to point to installed help-files >-+ @echo Updating $(sysconfdir)/lynx.cfg.sample >+- @echo "Updating $(sysconfdir)/lynx.cfg to point to installed help-files" >++ @echo "Updating $(sysconfdir)/lynx.cfg.sample" > + cp $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.tmp > + rm -f $(SYSCONFDIR)/lynx.cfg.sample >-+ @echo Updating $(sysconfdir)/lynx.cfg.sample to point to installed help-files >++ @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 | \ >-@@ -408,8 +404,8 @@ install-help : $(CFG2HTML) help_files.sed $(HELPDIR) $ >+@@ -418,8 +414,8 @@ > $(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.sample >-+ chmod 644 $(SYSCONFDIR)/lynx.cfg.sample >- -rm -f $(SYSCONFDIR)/lynx.tmp >+- >$(SYSCONFDIR)/lynx.cfg ;\ >+- chmod 644 $(SYSCONFDIR)/lynx.cfg ;\ >++ >$(SYSCONFDIR)/lynx.cfg.sample; \ >++ chmod 644 $(SYSCONFDIR)/lynx.cfg.sample; \ >+ rm -f $(SYSCONFDIR)/lynx.tmp > > LYHelp.h : help_files.sed $(srcdir)/LYHelp.hin >-@@ -432,17 +428,15 @@ cfg_defs.h : $(scripts_dir)/cfg_defs.sh $(scripts_dir) >+@@ -442,17 +438,15 @@ > $(SHELL) -c 'SHELL=$(SHELL) $(SHELL) $(scripts_dir)/cfg_defs.sh $(srcdir)' > > install-cfg : $(SYSCONFDIR) >@@ -51,11 +51,12 @@ > + @$(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 >+ @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 >++ rm -f $(MANDIR)/$(actual_PROG).1 > > uninstall \ > uninstall-help ::
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 257812
: 227163