FreeBSD Bugzilla – Attachment 163106 Details for
Bug 204512
[NEW PORT] devel/bazel: Correct, reproducible, and fast builds for everyone
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar archive
bazel.shar (text/plain), 7.29 KB, created by
Yuri Victorovich
on 2015-11-14 00:11:39 UTC
(
hide
)
Description:
shar archive
Filename:
MIME Type:
Creator:
Yuri Victorovich
Created:
2015-11-14 00:11:39 UTC
Size:
7.29 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># devel/bazel ># devel/bazel/Makefile ># devel/bazel/distinfo ># devel/bazel/pkg-descr ># devel/bazel/files ># devel/bazel/files/patch-src_main_tools_process-wrapper.c ># devel/bazel/files/patch-scripts_bootstrap_compile.sh ># devel/bazel/files/patch-site_docs_skylark_cookbook.md ># devel/bazel/files/patch-src_BUILD ># devel/bazel/files/patch-third__party_ijar_test_testenv.sh ># >echo c - devel/bazel >mkdir -p devel/bazel > /dev/null 2>&1 >echo x - devel/bazel/Makefile >sed 's/^X//' >devel/bazel/Makefile << '62767263b990329c8badcf60d01bd118' >X# Created by: Yuri Victorovich <yuri@rawbw.com> >X# $FreeBSD$ >X >XPORTNAME= bazel >XPORTVERSION= 0.1.1 >XCATEGORIES= devel java >X >XMAINTAINER= yuri@rawbw.com >XCOMMENT= Correct, reproducible, and fast builds for everyone >X >XLICENSE= APACHE20 >X >XBUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \ >X zip:${PORTSDIR}/archivers/zip >XRUN_DEPENDS= bash:${PORTSDIR}/shells/bash >X >XPORTEXAMPLES= * >X >XOPTIONS_DEFINE= BASH ZSH EXAMPLES >X >XBASH_PLIST_FILES= share/bash-completion/completions/bazel-complete.bash >XZSH_PLIST_FILES= share/zsh/site-functions/_bazel >XBASH_PLIST_FILES+= "@dirrmtry share/bash-completion/completions" >XZSH_PLIST_FILES+= "@dirrmtry share/zsh/site-functions" >X >XPROTOBUF_TAGNAME= v3.0.0-alpha-3 >XSHELL_BINARY= ${PREFIX}/bin/bash >X >XUSE_GITHUB= yes >XGH_ACCOUNT= bazelbuild google:pb >XGH_PROJECT= bazel protobuf:pb >XGH_TAGNAME= 0.1.1 ${PROTOBUF_TAGNAME}:pb >X >XUSES= autoreconf:build python gmake libtool >XNO_CONFIGURE= yes >XUSE_JAVA= yes >XJAVA_VENDOR= openjdk >XJAVA_VERSION= 1.8 >XJAVA_BUILD= yes >XJAVA_RUN= yes >X >XPLIST_FILES= bin/bazel >X >X.include <bsd.port.options.mk> >X >Xpost-extract: >X @${RM} ${WRKSRC}/third_party/protobuf/protoc-linux-x86_32.exe >X @${LN} -s ${WRKSRC}/third_party/protobuf/bin/protoc ${WRKSRC}/third_party/protobuf/protoc-linux-x86_32.exe >X >Xpost-patch: >X @${REINPLACE_CMD} -i -e 's,#!/bin/bash,#!${SHELL_BINARY},g' `find ${WRKSRC} -name "*.sh"` `find ${WRKSRC} -name "*.bash"` >X @${REINPLACE_CMD} -i -e 's,/bin/bash,${SHELL_BINARY},g' `find ${WRKSRC} -name "*.java" -and -exec ${GREP} -q "/bin/bash" {} \; -and -print` >X @${REINPLACE_CMD} -i -e 's,/bin/bash,${SHELL_BINARY},g' `find ${WRKSRC} -name "*.java-e" -and -exec ${GREP} -q "/bin/bash" {} \; -and -print` >X >Xdo-build: >X @${ECHO} "===> Bootstrapping with custom protobuf version ${PROTOBUF_TAGNAME}" >X @(cd ${WRKDIR}/protobuf-3.0.0-alpha-3 && \ >X ${AUTORECONF} -f -i -Wall,no-obsolete && \ >X ./configure --prefix=${WRKSRC}/third_party/protobuf/ && \ >X ${GMAKE} ${_MAKE_JOBS} install) >X @${ECHO} "===> Returning to the build of ${PORTNAME}-${PORTVERSION}" >X @(cd ${WRKSRC} && ./compile.sh) >X.if ${PORT_OPTIONS:MBASH} >X @(cd ${WRKSRC} && ./output/bazel build scripts:bazel-complete.bash) >X @${CP} ${WRKSRC}/bazel-bin/scripts/bazel-complete.bash ${WRKSRC}/ >X.endif >X @${RM} -rf ${HOME}/.bazelrc ${HOME}/.cache >X >Xdo-install: >X ${CP} ${WRKSRC}/output/bazel ${STAGEDIR}${PREFIX}/bin >X.if ${PORT_OPTIONS:MBASH} >X @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions >X ${INSTALL_DATA} ${WRKSRC}/bazel-complete.bash \ >X ${STAGEDIR}${PREFIX}/share/bash-completion/completions/ >X.endif >X.if ${PORT_OPTIONS:MZSH} >X @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions >X ${INSTALL_DATA} ${WRKSRC}/scripts/zsh_completion/_bazel \ >X ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ >X.endif >X.if ${PORT_OPTIONS:MEXAMPLES} >X ${CP} -r ${WRKSRC}/examples ${STAGEDIR}${EXAMPLESDIR} >X.endif >X >X.include <bsd.port.mk> >62767263b990329c8badcf60d01bd118 >echo x - devel/bazel/distinfo >sed 's/^X//' >devel/bazel/distinfo << '8457c93a1dc8c0e14a963891f29d06ef' >XSHA256 (bazelbuild-bazel-0.1.1_GH0.tar.gz) = 49d11d467cf9e32dea618727198592577fbe76ff2e59217c53e3515ddf61cd95 >XSIZE (bazelbuild-bazel-0.1.1_GH0.tar.gz) = 32568290 >XSHA256 (google-protobuf-v3.0.0-alpha-3_GH0.tar.gz) = bf90fb01b054d364d05d362d63e09d3466311e24bd6db1127dfcd88af443bf05 >XSIZE (google-protobuf-v3.0.0-alpha-3_GH0.tar.gz) = 3614811 >8457c93a1dc8c0e14a963891f29d06ef >echo x - devel/bazel/pkg-descr >sed 's/^X//' >devel/bazel/pkg-descr << '74aebfa5ef2cb472cb1670881364f4ea' >XBazel is Google's own build tool, now publicly available in Beta. >XBazel has built-in support for building both client and server software, >Xincluding client applications for both Android and iOS platforms. It also >Xprovides an extensible framework that you can use to develop your own build >Xrules. >X >XWWW: http://bazel.io/ >74aebfa5ef2cb472cb1670881364f4ea >echo c - devel/bazel/files >mkdir -p devel/bazel/files > /dev/null 2>&1 >echo x - devel/bazel/files/patch-src_main_tools_process-wrapper.c >sed 's/^X//' >devel/bazel/files/patch-src_main_tools_process-wrapper.c << '1d7fba461342157b993b69bc5862509b' >X--- src/main/tools/process-wrapper.c.orig 2015-11-10 15:00:35 UTC >X+++ src/main/tools/process-wrapper.c >X@@ -32,6 +32,7 @@ >X #include <string.h> >X #include <sys/types.h> >X #include <sys/stat.h> >X+#include <sys/wait.h> >X #include <unistd.h> >X >X #include "process-tools.h" >1d7fba461342157b993b69bc5862509b >echo x - devel/bazel/files/patch-scripts_bootstrap_compile.sh >sed 's/^X//' >devel/bazel/files/patch-scripts_bootstrap_compile.sh << '2c67bcf0c9d64124dfd03bf5626ecb3d' >X--- scripts/bootstrap/compile.sh.orig 2015-11-10 15:00:35 UTC >X+++ scripts/bootstrap/compile.sh >X@@ -109,7 +109,7 @@ linux) >X freebsd) >X LDFLAGS="-lprocstat -lz -lrt $LDFLAGS" >X JNILIB="libunix.so" >X- MD5SUM="md5sum" >X+ MD5SUM="/sbin/md5" >X # JAVA_HOME must point to a Java installation. >X JAVA_HOME="${JAVA_HOME:-/usr/local/openjdk8}" >X # Note: the linux protoc binary works on freebsd using linux emulation. >2c67bcf0c9d64124dfd03bf5626ecb3d >echo x - devel/bazel/files/patch-site_docs_skylark_cookbook.md >sed 's/^X//' >devel/bazel/files/patch-site_docs_skylark_cookbook.md << '55b8760d4ee6874ec2165190f24788d2' >X--- site/docs/skylark/cookbook.md.orig 2015-11-13 04:52:45 UTC >X+++ site/docs/skylark/cookbook.md >X@@ -455,7 +455,7 @@ def _impl(ctx): >X ctx.action( >X outputs = [out], >X inputs = [processed], >X- command = "md5sum < %s > %s" % (processed.path, out.path)) >X+ command = "/sbin/md5 < %s > %s" % (processed.path, out.path)) >X >X hash = rule( >X implementation=_impl, >55b8760d4ee6874ec2165190f24788d2 >echo x - devel/bazel/files/patch-src_BUILD >sed 's/^X//' >devel/bazel/files/patch-src_BUILD << '8b435076e81060ffd972c25d1e29931f' >X--- src/BUILD.orig 2015-11-13 04:53:40 UTC >X+++ src/BUILD >X@@ -30,7 +30,7 @@ genrule( >X outs = ["install_base_key"], >X cmd = select({ >X ":darwin": md5_cmd % "/sbin/md5", >X- "//conditions:default": md5_cmd % "md5sum", >X+ "//conditions:default": md5_cmd % "md5", >X }), >X ) >X >8b435076e81060ffd972c25d1e29931f >echo x - devel/bazel/files/patch-third__party_ijar_test_testenv.sh >sed 's/^X//' >devel/bazel/files/patch-third__party_ijar_test_testenv.sh << 'bea94146db7aeb3a038f4617aa7e60a9' >X--- third_party/ijar/test/testenv.sh.orig 2015-11-13 04:54:08 UTC >X+++ third_party/ijar/test/testenv.sh >X@@ -29,7 +29,7 @@ if [[ "$PLATFORM" = "linux" ]]; then >X function statfmt() { >X stat -c "%s" $1 >X } >X- MD5SUM=md5sum >X+ MD5SUM=md5 >X else >X function statfmt() { >X stat -f "%z" $1 >bea94146db7aeb3a038f4617aa7e60a9 >exit >
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 Raw
Actions:
View
Attachments on
bug 204512
:
163079
|
163106
|
163107
|
170220
|
170233
|
176856
|
177513
|
177659
|
177702