Date: Thu, 4 Jan 2018 20:11:12 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458062 - in head/www/p5-WebService-NoPaste: . files Message-ID: <201801042011.w04KBCJq051042@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Thu Jan 4 20:11:12 2018 New Revision: 458062 URL: https://svnweb.freebsd.org/changeset/ports/458062 Log: Convert to options target helper - Use PATCHDIR instead of FILESDIR for patch file - Rename patch file Added: head/www/p5-WebService-NoPaste/files/extra-patch-lib-WebService-NoPaste.pm - copied unchanged from r458061, head/www/p5-WebService-NoPaste/files/extrapatch-lib-WebService-NoPaste.pm Deleted: head/www/p5-WebService-NoPaste/files/extrapatch-lib-WebService-NoPaste.pm Modified: head/www/p5-WebService-NoPaste/Makefile Modified: head/www/p5-WebService-NoPaste/Makefile ============================================================================== --- head/www/p5-WebService-NoPaste/Makefile Thu Jan 4 20:11:07 2018 (r458061) +++ head/www/p5-WebService-NoPaste/Makefile Thu Jan 4 20:11:12 2018 (r458062) @@ -29,9 +29,9 @@ USES= perl5 shebangfix SHEBANG_FILES= nopaste X11_BUILD_DEPENDS= p5-Clipboard>=0:x11/p5-Clipboard -X11_EXTRA_PATCHES_OFF= ${FILESDIR}/extrapatch-lib-WebService-NoPaste.pm +X11_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-lib-WebService-NoPaste.pm -post-patch: - -@${RM} ${WRKSRC}/lib/WebService/NoPaste.pm.orig +post-patch-X11-off: + @${RM} ${WRKSRC}/lib/WebService/NoPaste.pm.orig .include <bsd.port.mk> Copied: head/www/p5-WebService-NoPaste/files/extra-patch-lib-WebService-NoPaste.pm (from r458061, head/www/p5-WebService-NoPaste/files/extrapatch-lib-WebService-NoPaste.pm) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-WebService-NoPaste/files/extra-patch-lib-WebService-NoPaste.pm Thu Jan 4 20:11:12 2018 (r458062, copy of r458061, head/www/p5-WebService-NoPaste/files/extrapatch-lib-WebService-NoPaste.pm) @@ -0,0 +1,37 @@ +--- lib/WebService/NoPaste.pm.orig Tue May 3 20:10:26 2005 ++++ lib/WebService/NoPaste.pm Mon Dec 26 18:45:18 2005 +@@ -3,7 +3,6 @@ + use LWP::UserAgent; + use HTTP::Request::Common 'POST'; + use IO::All; +-use Clipboard; + our $VERSION = '0.03'; + + sub new { +@@ -37,9 +36,9 @@ + io('-')->all + } + +-sub read_from_clipboard { Clipboard->paste } ++sub read_from_clipboard { } + +-sub save_to_clipboard { Clipboard->copy($_[0]); } ++sub save_to_clipboard { } + + my $PLEASE_EMAIL = "WebService::NoPaste has only been tested with 'pastebot' brand paste servers, and even then only to a limited extent. If you got this error unexpectedly, please let me know - rking\@panopic.com."; + sub response_die { +@@ -57,14 +56,6 @@ + + # Manually paste input, manually copy the result url: + $ nopaste +- +- # Turbo mode: use clipboard as input, send, and then put the result +- # URL back into the clipboard: +- $ nopaste cp +- +- # Just take the input from the clipboard, but otherwise leave the +- # clipboard alone: +- $ nopaste c + + # Instantly upload your passwd file for the whole world to see, but + # at least you'll have the result URL conveniently in your
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801042011.w04KBCJq051042>