pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

let me update mk/git-package.mk



If you make at wip/twittering-mode, 
You may have following lines:

+ -----------------
| t-105@makoto 11:21:50/120712(..wip/twittering-mode)% make clean && make patch 
                        
| ===> Cleaning for twittering-mode-1.0nb20120712
| ===> Skipping vulnerability checks.
|      ... (snip) ...
| 
| => Build dependency checkperms>=1.1: found checkperms-1.11
| => Full dependency emacs>=24.1<25: found emacs-24.1
| ===> Overriding tools for twittering-mode-1.0nb20120712
| ===> Extracting for twittering-mode-1.0nb20120712
| error: SSL certificate problem: unable to get local issuer certificate while 
accessing https://github.com/hayamiz/twittering-mode.git/info/refs
| fatal: HTTP request failed
| *** Error code 128
| 
| Stop.
| make: stopped in /export/CHROOT/usr/pkgsrc/wip/twittering-mode
| *** Error code 1
| 
| Stop.
| make: stopped in /export/CHROOT/usr/pkgsrc/wip/twittering-mode
+ -----------------

This means we need 
  -c http.sslVerify=false
command option to git.

I would like to commit following patch to fix this problem,

Thanks a lot,
---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.

Index: mk/git-package.mk
===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/mk/git-package.mk,v
retrieving revision 1.13
diff -u -r1.13 git-package.mk
--- mk/git-package.mk   5 Dec 2011 14:43:23 -0000       1.13
+++ mk/git-package.mk   12 Jul 2012 02:32:32 -0000
@@ -18,6 +18,9 @@
 #      GIT_TAG.${id}
 #              Overridable GIT tag for a repository.
 #
+#      GIT_CMD_OPTION
+#              Command line options, usually null string 
+#              (The example is -c http.sslVerify=false for twittering-mode)
 
 .if !defined(_PKG_MK_GIT_PACKAGE_MK)
 _PKG_MK_GIT_PACKAGE_MK=        # defined
@@ -62,7 +65,7 @@
 
 USE_TOOLS+=            date pax
 
-_GIT_CMD=              git
+_GIT_CMD=              git ${GIT_CMD_OPTION}
 _GIT_ENV=              # empty
 _GIT_FLAGS=            --quiet --depth 1
 _GIT_TODAY_CMD=                ${DATE} -u +'%Y-%m-%d'
Index: twittering-mode/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/twittering-mode/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- twittering-mode/Makefile    12 Jul 2012 02:28:56 -0000      1.2
+++ twittering-mode/Makefile    12 Jul 2012 02:32:32 -0000
@@ -15,6 +15,7 @@
 GIT_REPOSITORIES=      master
 GIT_REPO.master=       https://github.com/hayamiz/twittering-mode.git
 GIT_MODULE.master=     twittering-mode
+GIT_CMD_OPTION=                -c http.sslVerify=false
 
 WRKSRC=                ${WRKDIR}/twittering-mode
 NO_BUILD=      yes

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index