aboutsummaryrefslogtreecommitdiff
path: root/contrib/gitian-descriptors/gitian-osx.yml
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-11-26 11:21:35 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-11-26 11:29:23 +0100
commit686fa79cae32779d3c12454be32aa5a3e94b7c22 (patch)
tree467a63694e1315f25aff6193244850ac26759372 /contrib/gitian-descriptors/gitian-osx.yml
parentce7204bf2eb78e38d2ac94c6a614eadee25a13a8 (diff)
parent7a9cf80b19f3facabe53bf5a60fd813d7d63a6ff (diff)
Merge pull request #5363
7a9cf80 docs: add/update docs for osx dmg signing (Cory Fields) 914868a build: add a deterministic dmg signer (Cory Fields) d69ed2b build: Clean up the dmg layout (Cory Fields) 2f327a3 build: add the deploydir target for gitian (Cory Fields)
Diffstat (limited to 'contrib/gitian-descriptors/gitian-osx.yml')
-rw-r--r--contrib/gitian-descriptors/gitian-osx.yml15
1 files changed, 14 insertions, 1 deletions
diff --git a/contrib/gitian-descriptors/gitian-osx.yml b/contrib/gitian-descriptors/gitian-osx.yml
index cbe28e4f34..eb6df2096e 100644
--- a/contrib/gitian-descriptors/gitian-osx.yml
+++ b/contrib/gitian-descriptors/gitian-osx.yml
@@ -106,8 +106,21 @@ script: |
./configure --prefix=${BASEPREFIX}/${i} --bindir=${INSTALLPATH}/bin --includedir=${INSTALLPATH}/include --libdir=${INSTALLPATH}/lib --disable-ccache --disable-maintainer-mode --disable-dependency-tracking ${CONFIGFLAGS}
make ${MAKEOPTS}
make install-strip
+
+ make deploydir
+ mkdir -p unsigned-app-${i}
+ cp contrib/macdeploy/detached-sig-apply.sh unsigned-app-${i}
+ cp contrib/macdeploy/detached-sig-create.sh unsigned-app-${i}
+ cp ${BASEPREFIX}/${i}/native/bin/dmg ${BASEPREFIX}/${i}/native/bin/genisoimage unsigned-app-${i}
+ cp ${BASEPREFIX}/${i}/native/bin/${i}-codesign_allocate unsigned-app-${i}/codesign_allocate
+ cp ${BASEPREFIX}/${i}/native/bin/${i}-pagestuff unsigned-app-${i}/pagestuff
+ mv dist unsigned-app-${i}
+ pushd unsigned-app-${i}
+ find . | sort | tar --no-recursion -czf ${OUTDIR}/${DISTNAME}-osx-unsigned.tar.gz -T -
+ popd
+
make deploy
- ${WRAP_DIR}/dmg dmg Bitcoin-Qt.dmg ${OUTDIR}/${DISTNAME}-osx.dmg
+ ${WRAP_DIR}/dmg dmg Bitcoin-Qt.dmg ${OUTDIR}/${DISTNAME}-osx-unsigned.dmg
cd installed
find . -name "lib*.la" -delete