示例#1
0
文件: build.py 项目: kans/BitBlinder
 def build(self, doUpdateBeforeBuild):
     """@param doUpdateBeforeBuild: whether to update the tar ball's environment before the actual build"""
     if doUpdateBeforeBuild:
         print "Updating suite: %s %s." % (self.ubuntu, self.arch)
         syscall("DIST=%s ARCH=%s pbuilder update" % (self.ubuntu, self.arch))
     else:
         print "Did not update suite: %s %s before the build." % (self.ubuntu, self.arch)
     print "building suite: %s %s" % (self.ubuntu, self.arch)
     # TODO: ostensibly, could use --debsign-k k415C9DD2 --auto-debsign to sign the deb, but something tries to stat a read only .changes file and fails...
     syscall("DIST=%s ARCH=%s pdebuild" % (self.ubuntu, self.arch))
示例#2
0
 def build(self, doUpdateBeforeBuild):
     """@param doUpdateBeforeBuild: whether to update the tar ball's environment before the actual build"""
     if doUpdateBeforeBuild:
         print "Updating suite: %s %s." % (self.ubuntu, self.arch)
         syscall("DIST=%s ARCH=%s pbuilder update" %
                 (self.ubuntu, self.arch))
     else:
         print "Did not update suite: %s %s before the build." % (
             self.ubuntu, self.arch)
     print "building suite: %s %s" % (self.ubuntu, self.arch)
     #TODO: ostensibly, could use --debsign-k k415C9DD2 --auto-debsign to sign the deb, but something tries to stat a read only .changes file and fails...
     syscall("DIST=%s ARCH=%s pdebuild" % (self.ubuntu, self.arch))
示例#3
0
文件: build.py 项目: kans/BitBlinder
 def initialize(self):
     """issues the system call to make our tarball"""
     command = "DIST=%s ARCH=%s pbuilder create" % (self.ubuntu, self.arch)
     print "Making %s %s tarball.\nThis will take a few forevers." % (self.ubuntu, self.arch)
     syscall(command)
示例#4
0
Maintainer: Matt Kaniaris <*****@*****.**>
Build-Depends: debhelper (>= 4.1.65), binutils (>= 2.14.90.0.7), python-support (>= 0.3), python-dev, python-setuptools, devscripts
Standards-Version: 3.8.0
XS-Python-Version: 2.5, 2.6

Package: python-bitblinder
Architecture: all
Depends: ${python:Depends}, python-twisted (>=2.5.0), python-twisted-web, python-m2crypto, innomitor (>=0.5.0), python-gobject(>=2.0)
Recommends: python-gtk2 (>=2.0)
Description: Anonymous BitTorrent client and platform
 BitBlinder is built on top of the open source Tor project,
 though it uses its own network and client, innomitor.
 The goal of BitBlinder is to make Tor faster and more 
 user friendly even if it needs to sacrifice some
 anonymity.  If you need strong anonymity, use Tor instead.  
 BitBlinder includes a custom BitTorrent client (a fork of 
 BitTornado.)
"""

check_build_assumptions(BASE_NAME, VERSION, BUILD_DIR, CONTROL_FILE_TEXT,
                        options.noInput)
syscall("cp %s/debian/setup.py %s/." % (BUILD_DIR, BUILD_DIR))
syscall("rm -rf %s/windows %s/experiments" % (BUILD_DIR, BUILD_DIR))
make_tar(TAR_NAME, BUILD_DIR, BASE_NAME, VERSION)
build(BUILD_DIR, DEB_NAME)
print "upload is: %s" % (options.upload)
if options.upload:
    upload_file(DEB_NAME, "/home/web/media/distribution/%sDeb" % (BASE_NAME))
    upload_file(TAR_NAME,
                "/home/web/media/distribution/%sSource" % (BASE_NAME))
示例#5
0
 def initialize(self):
     """issues the system call to make our tarball"""
     command = "DIST=%s ARCH=%s pbuilder create" % (self.ubuntu, self.arch)
     print 'Making %s %s tarball.\nThis will take a few forevers.' % (
         self.ubuntu, self.arch)
     syscall(command)
示例#6
0
Section: comm
Priority: optional
Maintainer: Matt Kaniaris <*****@*****.**>
Build-Depends: debhelper (>= 4.1.65), binutils (>= 2.14.90.0.7), python-support (>= 0.3), python-dev, python-setuptools, devscripts
Standards-Version: 3.8.0
XS-Python-Version: 2.5, 2.6

Package: python-bitblinder
Architecture: all
Depends: ${python:Depends}, python-twisted (>=2.5.0), python-twisted-web, python-m2crypto, innomitor (>=0.5.0), python-gobject(>=2.0)
Recommends: python-gtk2 (>=2.0)
Description: Anonymous BitTorrent client and platform
 BitBlinder is built on top of the open source Tor project,
 though it uses its own network and client, innomitor.
 The goal of BitBlinder is to make Tor faster and more 
 user friendly even if it needs to sacrifice some
 anonymity.  If you need strong anonymity, use Tor instead.  
 BitBlinder includes a custom BitTorrent client (a fork of 
 BitTornado.)
"""
  
check_build_assumptions(BASE_NAME, VERSION, BUILD_DIR, CONTROL_FILE_TEXT, options.noInput)
syscall("cp %s/debian/setup.py %s/." % (BUILD_DIR, BUILD_DIR))
syscall("rm -rf %s/windows %s/experiments" % (BUILD_DIR, BUILD_DIR))
make_tar(TAR_NAME, BUILD_DIR, BASE_NAME, VERSION)
build(BUILD_DIR, DEB_NAME)
print "upload is: %s" % (options.upload)
if options.upload:
  upload_file(DEB_NAME, "/home/web/media/distribution/%sDeb" % (BASE_NAME))
  upload_file(TAR_NAME, "/home/web/media/distribution/%sSource" % (BASE_NAME))