Difference between revisions of "Releasing GotCloud"

From Genome Analysis Wiki
Jump to navigationJump to search
Line 1: Line 1:
 
Back to parent: [[GotCloud]]
 
Back to parent: [[GotCloud]]
  
Software for GotCloud is kept in a got repository on github (eventually).
+
Software for GotCloud is kept in a '''git''' repository '''on github''' (eventually).
 
This document describes how we create the Debian and Redhat packages used with GotCloud.
 
This document describes how we create the Debian and Redhat packages used with GotCloud.
  

Revision as of 15:01, 4 December 2012

Back to parent: GotCloud

Software for GotCloud is kept in a git repository on github (eventually). This document describes how we create the Debian and Redhat packages used with GotCloud.

Get the software (in this case from our local repository):

 git clone ....git/gotcloud gotcloud
 Cloning into 'gotcloud'...
 done.
 ls gotcloud
 bin/  debian/  INSTALL.txt  README  scripts/  test/

Build the Packages

Debian binaries

 cd gotcloud
 debian/makedeb.sh bin
 dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
 dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
 dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
 dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
 dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
 dpkg-buildpackage: source package gotcloud-bin
 dpkg-buildpackage: source version 1.0
 dpkg-buildpackage: source changed by Mary Kate Trost <mktrost@umich.edu>
 dpkg-buildpackage: host architecture amd64
   [lines deleted]  
 dpkg-gencontrol -isp
 chown -R root.root debian/tmp
 chmod -R o-s,go=u,go-ws debian/tmp
 dpkg --build debian/tmp .
 dpkg-deb: building package `gotcloud-bin' in `./gotcloud-bin_1.0_amd64.deb'.
 rm -rf tmp
 Package file now in /home/tpg/dev/gotcloud
 -rw-r--r-- 1 tpg tpg 3366722 Dec  4 13:55 gotcloud-bin_1.0_amd64.deb

Debian test

Redhat binary RPM

Redhat test RPM