[or-cvs] r23808: {arm} More changes for deb builds: - adding script for release pre (in arm/resources: . build/debian)

Damian Johnson atagar1 at gmail.com
Tue Nov 16 16:24:58 UTC 2010


Author: atagar
Date: 2010-11-16 16:24:58 +0000 (Tue, 16 Nov 2010)
New Revision: 23808

Added:
   arm/resources/deb-prep.sh
Modified:
   arm/resources/build/debian/changelog
   arm/resources/build/debian/make-deb
   arm/resources/notes.txt
Log:
More changes for deb builds:
- adding script for release prep
- dumping a copy of the changelog into debian metadata (request by weasel)
- using 'fakeroot debian/rules clean' rather than manual cleaning (suggestion by weasel)



Modified: arm/resources/build/debian/changelog
===================================================================
--- arm/resources/build/debian/changelog	2010-11-16 15:59:38 UTC (rev 23807)
+++ arm/resources/build/debian/changelog	2010-11-16 16:24:58 UTC (rev 23808)
@@ -1,6 +1,37 @@
 tor-arm (1.3.7-1) unstable; urgency=low
 
-  * see http://www.atagar.com/arm/log.php
+  * added: installation/removal scripts and man page (thanks to kaner)
+  * added: scripts and resources for making deb and rpm releases
+  * added: path prefix option for chroot jails (requested by asn)
+  * added: customizable graph size (requested by voidzero)
+  * added: incremental y-axis measurements to the graph (requested by voidzero)
+  * added: caching for static GETINFO parameter
+  * added: logging for the refresh rate metric
+  * change: full rewrite of the log panel
+  * change: using PidFile entry to fetch pid if available (idea by arma)
+  * change: dropping irrelevant information from the header when not running...
+  * change: updated torctl version to the current git head release
+  * change: measuring by bits for transfer rates (config can set it back...
+  * change: home/end keys jump to start/end of all scroll areas
+  * change: trimmed last couple letters off downloaded/uploaded labels
+  * change: dropping the 'frequentRefresh' parameter in favor of just doing...
+  * fix: shifting bandwidth prepopulation by a sampling interval to account...
+  * fix: making rdns resolution disabled by defaut due to possible...
+  * fix: skipping bandwidth prepopulation if not running as a relay...
+  * fix: bandwidth stats above the graph weren't getting reset by sighups...
+  * fix: config and connection panels were failing to parse a torrc with...
+  * fix: remapping torrc aliases so GETCONF calls don't fail
+  * fix: crashing error in bandwidth panel for wide screen displays...
+  * fix: changing debian arch to all rather than any (suggestion by murb)
+  * fix: had case sensitive check for the torrc logging types (caught by asn)
+  * fix: crashing error when ExitPolicy was undefined (caught by asn)
+  * fix: dumping a stacktrace to /tmp and exiting immediately if exceptions...
+  * fix: connection panel failed to handle family entries identified by its...
+  * fix: race condition between heartbeat detection and getting the first...
+  * fix: refreshing after popups to make the interface seem more responsive
+  * fix: crashing and minor display issues if orport was left unset
+  * fix (10/7/10, r23463): crashing from type issue in the graph panel
+  * for more information see http://www.atagar.com/arm/log.php
 
  -- Damian Johnson (www.atagar.com) <atagar1 at gmail.com>  Wed, 6 Oct 2010 22:30:43 -0700
 

Modified: arm/resources/build/debian/make-deb
===================================================================
--- arm/resources/build/debian/make-deb	2010-11-16 15:59:38 UTC (rev 23807)
+++ arm/resources/build/debian/make-deb	2010-11-16 16:24:58 UTC (rev 23808)
@@ -1,19 +1,4 @@
 #!/bin/sh
 debuild -I.svn -i.svn -I.pyc -i.pyc
+fakeroot debian/rules clean
 
-# cleans up after deb build
-files="build debian/tor-arm debian/python-module-stampdir debian/tor-arm.debhelper.log debian/files debian/tor-arm.substvars"
-
-for i in $files 
-do
-  if [ -f $i -o -d $i ]; then
-    rm -rf $i
-    
-    if [ $? = 0 ]; then
-      echo "removed $i"
-    else
-      exit 1
-    fi
-  fi
-done
-

Added: arm/resources/deb-prep.sh
===================================================================
--- arm/resources/deb-prep.sh	                        (rev 0)
+++ arm/resources/deb-prep.sh	2010-11-16 16:24:58 UTC (rev 23808)
@@ -0,0 +1,13 @@
+#!/bin/sh
+# Creates a release directory that's ready to make a debian build. From here
+# simply run:
+# cd release_build
+# ./debian/make-deb
+
+# alternate (works, but svn export is simpler):
+# tar czf tor-arm_1.3.7.orig.tar.gz --exclude-vcs --exclude="*.pyc" -v release
+
+svn export release release_build
+tar czf tor-arm_1.3.7.orig.tar.gz release_build
+svn export resources/build/debian release_build/debian
+


Property changes on: arm/resources/deb-prep.sh
___________________________________________________________________
Added: svn:executable
   + *

Modified: arm/resources/notes.txt
===================================================================
--- arm/resources/notes.txt	2010-11-16 15:59:38 UTC (rev 23807)
+++ arm/resources/notes.txt	2010-11-16 16:24:58 UTC (rev 23808)
@@ -1,15 +1,11 @@
 builds -
   Helper scripts for deb and rpm builds.
   
-  Deb build:
-    svn export relese release_build
-    tar czf tor-arm_1.3.7.orig.tar.gz release_build
-    svn export resources/build/debian release_build/debian
-    cd release_build
-    ./debian/make-deb
-    
-    # alternate (works, but svn export is simpler):
-    # tar czf tor-arm_1.3.7.orig.tar.gz --exclude-vcs --exclude="*.pyc" -v release
+  For the debian build see 'deb-prep.sh'. At release time:
+  - bump the version:
+    - /resources/deb-prep.sh
+    - /release/src/version.py
+  - dump /release/ChangeLog into /resources/build/debian/changelog
 
 TorCtl (dependency) -
   Last Updated: 8/22/10 (c514a0a7105cebe7cc5fa199750b90369b820bfb):



More information about the tor-commits mailing list