Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  3 May 2011 02:50:16 +0800 (CST)
From:      Lung-Pin Chang <changlp@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        codeblock@eighthbit.net
Subject:   ports/156773: [PATCH] www/gist: update to 2.0.3
Message-ID:  <20110502185017.0153D9B4D0@Archon.iamben.csie.net>
Resent-Message-ID: <201105021900.p42J0NsA095070@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         156773
>Category:       ports
>Synopsis:       [PATCH] www/gist: update to 2.0.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 02 19:00:22 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Lung-Pin Chang
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD Archon.iamben.csie.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011
>Description:
- Update to 2.0.3
- Remove the security/ca_root_nss dependency and obsolete patch since built-in certificate issue has been resolved

Removed file(s):
- files/patch-gist

Port maintainer (codeblock@eighthbit.net) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- gist-2.0.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/gist/Makefile /home/iamben/tmp/gist/Makefile
--- /usr/ports/www/gist/Makefile	2011-04-16 01:16:53.000000000 +0800
+++ /home/iamben/tmp/gist/Makefile	2011-05-03 02:41:06.701314079 +0800
@@ -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 @@
 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 -ruN --exclude=CVS /usr/ports/www/gist/distinfo /home/iamben/tmp/gist/distinfo
--- /usr/ports/www/gist/distinfo	2011-04-16 01:16:53.000000000 +0800
+++ /home/iamben/tmp/gist/distinfo	2011-05-03 02:37:34.983517854 +0800
@@ -1,2 +1,2 @@
-SHA256 (gist) = 1e5591286f012d65644efdec20430530716ea5db488a244bc52adb4847751dcb
-SIZE (gist) = 235655
+SHA256 (gist) = 5089b3b300d16a83b54c7ddf5dfc3561cadda35dae4a002bc66d888526ef9033
+SIZE (gist) = 17761
diff -ruN --exclude=CVS /usr/ports/www/gist/files/patch-gist /home/iamben/tmp/gist/files/patch-gist
--- /usr/ports/www/gist/files/patch-gist	2011-04-16 01:16:53.000000000 +0800
+++ /home/iamben/tmp/gist/files/patch-gist	1970-01-01 08:00:00.000000000 +0800
@@ -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)
--- gist-2.0.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110502185017.0153D9B4D0>