summaryrefslogtreecommitdiff
path: root/www/gist
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2011-05-21 17:52:28 +0000
committerBeech Rintoul <beech@FreeBSD.org>2011-05-21 17:52:28 +0000
commitd002ca18c84607c0f993bfc12b21742f88e726be (patch)
tree23e205fde7e792b90956fd03d5c16b8ab447867a /www/gist
parentAllow to exit by pressing `q' in addition to ESC. Don't bump PORTREVISION (diff)
- Update to 2.0.3
- Remove the security/ca_root_nss dependency and obsolete patch since built-in certificate issue has been resolved PR: ports/156773 Approved by: maintainer timeout (> Two Weeks) itetcu (mentor)(implicit)
Notes
Notes: svn path=/head/; revision=274415
Diffstat (limited to 'www/gist')
-rw-r--r--www/gist/Makefile14
-rw-r--r--www/gist/distinfo4
-rw-r--r--www/gist/files/patch-gist11
3 files changed, 5 insertions, 24 deletions
diff --git a/www/gist/Makefile b/www/gist/Makefile
index 8278fbe7de1f..334621b6ef64 100644
--- a/www/gist/Makefile
+++ b/www/gist/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= gist
-PORTVERSION= 2.0.1
+PORTVERSION= 2.0.3
CATEGORIES= www net
-MASTER_SITES= https://github.com/defunkt/gist/raw/7340b581e0b7219f5fe39cea3ee7e9e8a653f2dc/
+MASTER_SITES= https://github.com/defunkt/${PORTNAME}/raw/v${PORTVERSION}/
DISTNAME= gist
EXTRACT_SUFX=
EXTRACT_ONLY=
@@ -16,21 +16,13 @@ EXTRACT_ONLY=
MAINTAINER= codeblock@eighthbit.net
COMMENT= A gist pastebin posting command
-RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
-
CONFLICTS= p5-WWW-GitHub-Gist-[0-9]*
USE_RUBY= YES
NO_BUILD= YES
-NO_WRKSUBDIR= YES
PLIST_FILES= bin/gist
-do-extract:
- @${RM} -rf ${WRKDIR}
- @${MKDIR} ${WRKDIR}
- @${CP} ${DISTDIR}/gist ${WRKDIR}
-
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/gist ${PREFIX}/bin/gist
+ ${INSTALL_SCRIPT} ${DISTDIR}/gist ${PREFIX}/bin/gist
.include <bsd.port.mk>
diff --git a/www/gist/distinfo b/www/gist/distinfo
index 35c843d0eae4..16aebc2ffadf 100644
--- a/www/gist/distinfo
+++ b/www/gist/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gist) = 1e5591286f012d65644efdec20430530716ea5db488a244bc52adb4847751dcb
-SIZE (gist) = 235655
+SHA256 (gist) = 5089b3b300d16a83b54c7ddf5dfc3561cadda35dae4a002bc66d888526ef9033
+SIZE (gist) = 17761
diff --git a/www/gist/files/patch-gist b/www/gist/files/patch-gist
deleted file mode 100644
index 638af6ab7b79..000000000000
--- a/www/gist/files/patch-gist
+++ /dev/null
@@ -1,11 +0,0 @@
---- gist.orig 2011-03-29 18:51:45.258852583 +0800
-+++ gist 2011-03-29 14:51:47.060574433 +0800
-@@ -182,7 +182,7 @@
-
- http.use_ssl = true
- http.verify_mode = OpenSSL::SSL::VERIFY_PEER
-- http.cert = OpenSSL::X509::Certificate.new(ca_cert)
-+ http.ca_file = "/usr/local/share/certs/ca-root-nss.crt"
-
- req = Net::HTTP::Post.new(url.path)
- req.form_data = data(files, private_gist)