OSSP CVS Repository

ossp - Check-in [4374]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4374
Date: 2004-Jan-18 21:23:40 (local)
2004-Jan-18 20:23:40 (UTC)
User:rse
Branch:
Comment: add snapshot rolling support
Tickets:
Inspections:
Files:
ossp-pkg/uuid/devtool.conf      1.2 -> 1.3     24 inserted, 0 deleted

ossp-pkg/uuid/devtool.conf 1.2 -> 1.3

--- devtool.conf 2004/01/18 20:19:23     1.2
+++ devtool.conf 2004/01/18 20:23:40     1.3
@@ -49,6 +49,30 @@
     echo "[...]"
     gunzip <uuid-${V}.tar.gz | tar tvf - | tail -10
 
+%snap
+    echo "+++ removing old tarballs"
+    rm -f uuid-*.tar.gz
+    echo "+++ generating"
+    ./devtool autoclean
+    ./devtool autogen
+    echo "+++ configuring"
+    ./configure
+    echo "+++ building"
+    make clean all man
+    echo "+++ cleaning"
+    make distclean
+    echo "+++ fixing"
+    ./shtool fixperm -v .
+    echo "+++ rolling"
+    D=`date '+%Y%m%d'`
+    ./shtool tarball -o uuid-SNAP-${D}.tar.gz -d uuid-SNAP-${D} -u ossp -g ossp \
+                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' .
+    ls -l uuid-SNAP-${D}.tar.gz
+    echo "+++ testing"
+    gunzip <uuid-SNAP-${D}.tar.gz | tar tvf - | head -10
+    echo "[...]"
+    gunzip <uuid-SNAP-${D}.tar.gz | tar tvf - | tail -10
+
 %upload
     echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/uuid/"
     V=`./shtool version -l c -d short uuid_vers.h`

CVSTrac 2.0.1