FreeBSD Bugzilla – Attachment 179213 Details for
Bug 216180
Fix textproc/extract_url to fetch from GitHub instead of Google Code
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
extract_url-1.6.1.patch
extract_url-1.6.1.patch (text/plain), 5.62 KB, created by
Danilo G. Baio
on 2017-01-22 13:51:10 UTC
(
hide
)
Description:
extract_url-1.6.1.patch
Filename:
MIME Type:
Creator:
Danilo G. Baio
Created:
2017-01-22 13:51:10 UTC
Size:
5.62 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 432123) >+++ Makefile (working copy) >@@ -2,20 +2,16 @@ > # $FreeBSD$ > > PORTNAME= extract_url >-PORTVERSION= 1.5.8 >-PORTREVISION= 1 >+PORTVERSION= 1.6.1 >+DISTVERSIONPREFIX= v > CATEGORIES= textproc >-MASTER_SITES= GOOGLE_CODE >-PROJECTHOST= extracturl > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= dbaio@bsd.com.br > COMMENT= Perl script that extracts URLs from email in MIME or plain text format > > LICENSE= BSD2CLAUSE > LICENSE_FILE= ${WRKSRC}/COPYING > >-BROKEN= Unfetchable (google code has gone away) >- > BUILD_DEPENDS= p5-MIME-Tools>=0:mail/p5-MIME-Tools \ > p5-HTML-Parser>=0:www/p5-HTML-Parser > RUN_DEPENDS:= ${BUILD_DEPENDS} >@@ -25,26 +21,26 @@ > SUB_FILES= pkg-message > NO_ARCH= yes > >-WRKSRC= ${WRKDIR}/${PORTNAME} >+USE_GITHUB= yes >+GH_ACCOUNT= m3m0ryh0l3 >+GH_PROJECT= extracturl > > PLIST_FILES= bin/extract_url \ >- etc/extract_urlview.sample \ >+ share/extract_url/extract_urlview.sample \ > man/man1/extract_url.1.gz > PORTDOCS= AUTHORS NEWS README > >-OPTIONS_DEFINE= DOCS GETOPT_LONG URI_FIND >+OPTIONS_DEFINE= DOCS URI_FIND > OPTIONS_RADIO= URL_SELECTOR > OPTIONS_RADIO_URL_SELECTOR= CURSES_UI URLVIEW >-OPTIONS_DEFAULT= CURSES_UI GETOPT_LONG URI_FIND >+OPTIONS_DEFAULT= CURSES_UI URI_FIND > OPTIONS_SUB= yes > > CURSES_UI_DESC= Allows it to fully replace urlview >-GETOPT_LONG_DESC= Recognizes long options --version and --list > URI_FIND_DESC= Recognizes more exotic URL variations in plain text > URLVIEW_DESC= Uses urlview for the URL selector menu > > CURSES_UI_RUN_DEPENDS= p5-Curses-UI>=0:devel/p5-Curses-UI >-GETOPT_LONG_RUN_DEPENDS=p5-Getopt-Long>=0:devel/p5-Getopt-Long > URLVIEW_RUN_DEPENDS= urlview>=0:textproc/urlview > URI_FIND_RUN_DEPENDS= p5-URI-Find>=0:textproc/p5-URI-Find > >@@ -53,8 +49,9 @@ > ${WRKSRC}/${MAKEFILE} > > post-install: >- ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}view \ >- ${STAGEDIR}${PREFIX}/etc/${PORTNAME}view.sample >+ @${MKDIR} ${STAGEDIR}${DATADIR} >+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}view.sample \ >+ ${STAGEDIR}${DATADIR}/ > > post-install-DOCS-on: > @${MKDIR} ${STAGEDIR}${DOCSDIR} >Index: distinfo >=================================================================== >--- distinfo (revision 432123) >+++ distinfo (working copy) >@@ -1,2 +1,3 @@ >-SHA256 (extract_url-1.5.8.tar.gz) = 58eac907cb926deba74ab81e7503a1055fd3cbe20952f011d8e6b75da12d6bcc >-SIZE (extract_url-1.5.8.tar.gz) = 13861 >+TIMESTAMP = 1485089324 >+SHA256 (m3m0ryh0l3-extracturl-v1.6.1_GH0.tar.gz) = 6ce3a977477cce6c7c8355500db4ef660d5b22118df6534d3ab022124c62a393 >+SIZE (m3m0ryh0l3-extracturl-v1.6.1_GH0.tar.gz) = 16192 >Index: files/extract_urlview >=================================================================== >--- files/extract_urlview (revision 432123) >+++ files/extract_urlview (nonexistent) >@@ -1,31 +0,0 @@ >-################################ >-### extract_url(1) configuration >-# >-# Copy this file to ~/.extract_urlview >- >-# Command used to view URLs >-#COMMAND firefox %s & >- >-# URL will be opened without prompting when emails contains only one >-#SHORTCUT >- >-# Turn off showing the full URL before opening it >-#NOREVIEW >- >-# Disable the automatic exit of URL selection menu after viewing a URL >-#PERSISTENT >- >-# Ignore links that don't correspond to any text >-#IGNORE_EMPTY_TAGS >- >-# Specify which HTML tags will be examined for URLs >-#HTML_TAGS a,applet,area,blockquote,embed,form,frame,iframe,input,ins,isindex,head,layer,link,object,q,script,xmp >- >-# Key for PERSISTENT behaviour, or opposite if PERSISTENT is specified >-#ALTSELECT k >- >-# Show [url] list or show URLs in [context] when the program is run >-#DEFAULT_VIEW url >- >-# Sanitize URLs before they are displayed >-#DISPLAY_SANITIZED > >Property changes on: files/extract_urlview >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: files/patch-extract__url.pl >=================================================================== >--- files/patch-extract__url.pl (nonexistent) >+++ files/patch-extract__url.pl (working copy) >@@ -0,0 +1,22 @@ >+--- extract_url.pl.orig 2017-01-18 14:59:52 UTC >++++ extract_url.pl >+@@ -54,18 +54,7 @@ sub VERSION_MESSAGE { >+ >+ my $term_cols = 80; >+ my ($term_rows, $term_wpix, $term_hpix); >+-if (eval "use Term::Readkey") { >+- ($term_cols, $term_rows, $term_wpix, $term_hpix) = GetTerminalSize(); >+-} else { >+- require 'sys/ioctl.ph'; >+- if (defined &TIOCGWINSZ and open(TTY, "+</dev/tty")) { >+- my $winsize = ''; >+- unless (ioctl(TTY, &TIOCGWINSZ, $winsize)) { >+- die sprintf "$0: ioctl TIOCGWINSZ (%08x: $!)\n", &TIOCGWINSZ; >+- } >+- ($term_rows, $term_cols, $term_wpix, $term_hpix) = unpack('S4', $winsize); >+- } >+-} >++require 'sys/ioctl.ph'; >+ my $list_width = $term_cols - 4; # 4 is for the border width on either side >+ >+ my %options; > >Property changes on: files/patch-extract__url.pl >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/pkg-message.in >=================================================================== >--- files/pkg-message.in (revision 432123) >+++ files/pkg-message.in (working copy) >@@ -8,7 +8,7 @@ > > su - user > >- cp %%PREFIX%%/etc/extract_urlview.sample ~/.extract_urlview >+ cp %%DATADIR%%/extract_urlview.sample ~/.extract_urlview > > exit >
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 216180
:
178992
| 179213