FreeBSD Bugzilla – Attachment 159805 Details for
Bug 202207
textproc/urlview: update port to use github (USE_GITHUB)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
USE_GITHUB patch
urlview_port.patch (text/plain), 3.52 KB, created by
Derek Schrock
on 2015-08-12 16:27:42 UTC
(
hide
)
Description:
USE_GITHUB patch
Filename:
MIME Type:
Creator:
Derek Schrock
Created:
2015-08-12 16:27:42 UTC
Size:
3.52 KB
patch
obsolete
>diff --git a/Makefile b/Makefile >index 4df2c5d..03cb2f9 100644 >--- a/Makefile >+++ b/Makefile >@@ -2,21 +2,18 @@ > # $FreeBSD$ > > PORTNAME= urlview >-PORTVERSION= 0.9 >-PORTREVISION= 7 >+PORTVERSION= 0.9.2013.10.20 > CATEGORIES= textproc www >-MASTER_SITES= ftp://ftp.mutt.org/mutt/contrib/ \ >- ftp://ftp.cs.tu-berlin.de/pub/net/mail/mutt/contrib/ \ >- ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/contrib/ \ >- ftp://ftp.gbnet.net/pub/mutt-international/contrib/ \ >- ftp://ftp.gwdg.de/pub/unix/mail/mutt/international/contrib/ \ >- http://seis.bris.ac.uk/~mexas/ > > MAINTAINER= udvzsolt@gmail.com > COMMENT= URL extractor/launcher > > LICENSE= GPLv2 > >+USE_GITHUB= yes >+GH_ACCOUNT= sigpipe >+GH_TAGNAME= 45443109 >+ > GNU_CONFIGURE= yes > PLIST_FILES= bin/urlview \ > etc/urlview.conf.sample \ >diff --git a/distinfo b/distinfo >index cda6c78..a60a1ba 100644 >--- a/distinfo >+++ b/distinfo >@@ -1,2 +1,2 @@ >-SHA256 (urlview-0.9.tar.gz) = 74d18026e84e3cd70a3fdd1a7247a68031b0c1c1c6d761d64b7063ff71091cc3 >-SIZE (urlview-0.9.tar.gz) = 46685 >+SHA256 (sigpipe-urlview-0.9.2013.10.20-45443109_GH0.tar.gz) = 2aa14d67a8bd44fd0533fa6000507a1aa67e9d72447b0c2eb66183a2f830cd31 >+SIZE (sigpipe-urlview-0.9.2013.10.20-45443109_GH0.tar.gz) = 91331 >diff --git a/files/patch-sample.urlview b/files/patch-sample.urlview >index faf6a6a..aa6d231 100644 >--- a/files/patch-sample.urlview >+++ b/files/patch-sample.urlview >@@ -1,4 +1,4 @@ >---- sample.urlview~ >+--- sample.urlview.orig 2013-10-21 20:46:25 UTC > +++ sample.urlview > @@ -3,7 +3,6 @@ > # man urlview <Man page> >@@ -8,18 +8,22 @@ > # > # You can call 'urlview' while in 'mutt' by pressing the Ctrl b keys. > # Put these macros in your $HOME/.muttrc file. >-@@ -19,10 +18,8 @@ >+@@ -19,13 +18,11 @@ > #REGEXP (((http|https|ftp|gopher)|mailto):(//)?[^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):] > REGEXP (((http|https|ftp|gopher)|mailto)[.:][^ >"\t]*|www\.[-a-z0-9.]+)[^ .,;\t>">\):] > > -# Command to invoke for selected URL. Use lynx, netscape, or url_handler.sh >--# shell script. >+-# shell script. Alternatively, you can leave COMMAND unset and set the BROWSER >+-# environment variable instead. > - > -#COMMAND lynx %s > -#COMMAND netscape -remote 'openURL(%s)' > -COMMAND url_handler.sh > +# Command to invoke for selected URL. >- >++ > +#COMMAND lynx %s # :VT > +#COMMAND u=%s; xterm -e lynx $u || lynx $u # :XT > +#COMMAND firefox %s 2>/dev/null & # :XW >+ >+ >+ # Quit urlview after launch >diff --git a/files/patch-urlview.c b/files/patch-urlview.c >deleted file mode 100644 >index 63d8f3f..0000000 >--- a/files/patch-urlview.c >+++ /dev/null >@@ -1,20 +0,0 @@ >---- urlview.c.orig 2013-07-19 22:44:59.000000000 +0100 >-+++ urlview.c 2013-07-19 22:45:22.000000000 +0100 >-@@ -46,6 +46,8 @@ >- #include <rx/rxposix.h> >- #endif >- >-+#include "quote.h" >-+ >- #define DEFAULT_REGEXP "(((https?|ftp|gopher)://|(mailto|file|news):)[^' \t<>\"]+|(www|web|w3)\\.[-a-z0-9.]+)[^' \t.,;<>\"\\):]" >- #define DEFAULT_COMMAND "firefox %s" >- #define SYSTEM_INITFILE "/usr/local/etc/urlview.conf" >-@@ -61,7 +63,7 @@ >- MOTION >- }; >- >--extern int mutt_enter_string (unsigned char *buf, size_t buflen, int y, int x, >-+extern int mutt_enter_string (char *buf, size_t buflen, int y, int x, >- int flags); >- >- void search_forward (char *search, int urlcount, char **url, int *redraw, int *current, int *top) >diff --git a/pkg-descr b/pkg-descr >index a1c3032..67c68dd 100644 >--- a/pkg-descr >+++ b/pkg-descr >@@ -4,3 +4,5 @@ command to view a specific item. > > urlview uses a regular expression to extract URLs from the > specified text files. >+ >+WWW: https://github.com/sigpipe/urlview
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 202207
:
159708
|
159709
|
159716
|
159768
|
159794
|
159805
|
159840
|
159843
|
159844
|
159851
|
159852