FreeBSD Bugzilla – Attachment 132831 Details for
Bug 177196
[MAINTAINER] www/gist: obsolete bundled certificate
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gist-3.1.0_3.patch
gist-3.1.0_3.patch (text/plain), 1.67 KB, created by
changlp
on 2013-03-21 14:00:01 UTC
(
hide
)
Description:
gist-3.1.0_3.patch
Filename:
MIME Type:
Creator:
changlp
Created:
2013-03-21 14:00:01 UTC
Size:
1.67 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/www/gist/Makefile /home/iamben/tmp/ports/www/gist/Makefile >--- /usr/ports/www/gist/Makefile 2012-11-17 14:02:34.000000000 +0800 >+++ /home/iamben/tmp/ports/www/gist/Makefile 2013-03-21 21:30:08.958539518 +0800 >@@ -7,12 +7,14 @@ > > PORTNAME= gist > PORTVERSION= 3.1.0 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= www net > > MAINTAINER= changlp@cs.nctu.edu.tw > COMMENT= A gist pastebin posting command > >+RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss >+ > CONFLICTS= p5-App-gist-[0-9]* > > USE_GITHUB= yes >@@ -26,8 +28,18 @@ > NO_BUILD= YES > PLIST_FILES= bin/gist > >+.include <bsd.port.pre.mk> >+ >+.if ${RUBY_VER} < 1.9 >+RUN_DEPENDS+= ${DEPEND_RUBY_ICONV} >+.endif >+ >+post-patch: >+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ >+ ${WRKSRC}/gist >+ > do-install: > ${INSTALL_SCRIPT} ${WRKSRC}/gist ${PREFIX}/bin/gist > ${INSTALL_MAN} ${WRKSRC}/man/gist.1 ${MAN1PREFIX}/man/man1 > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >diff -ruN --exclude=CVS /usr/ports/www/gist/files/patch-gist /home/iamben/tmp/ports/www/gist/files/patch-gist >--- /usr/ports/www/gist/files/patch-gist 1970-01-01 08:00:00.000000000 +0800 >+++ /home/iamben/tmp/ports/www/gist/files/patch-gist 2013-03-21 21:27:59.525535658 +0800 >@@ -0,0 +1,11 @@ >+--- gist.orig 2013-03-21 21:19:12.580541283 +0800 >++++ gist 2013-03-21 21:18:07.352536038 +0800 >+@@ -1224,7 +1224,7 @@ >+ >+ http.use_ssl = true >+ http.verify_mode = OpenSSL::SSL::VERIFY_PEER >+- http.ca_file = ca_cert >++ http.ca_file = "%%LOCALBASE%%/share/certs/ca-root-nss.crt" >+ >+ req = Net::HTTP::Post.new(url.path) >+ req.body = JSON.generate(data(files, private_gist, description))
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 177196
: 132831