OSSP CVS Repository

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

Check-in Number: 3496
Date: 2003-Jul-07 17:19:26 (local)
2003-Jul-07 15:19:26 (UTC)
User:ms
Branch:
Comment: Complete build systeme.
Tickets:
Inspections:
Files:
ossp-pkg/rc/README      1.8 -> 1.9     1 inserted, 1 deleted
ossp-pkg/rc/devtool.conf      1.14 -> 1.15     41 inserted, 8 deleted
ossp-pkg/rc/rc_version.c      1.1 -> 1.2     9 inserted, 9 deleted

ossp-pkg/rc/README 1.8 -> 1.9

--- README       2003/07/07 13:30:50     1.8
+++ README       2003/07/07 15:19:26     1.9
@@ -5,7 +5,7 @@
   |_|_|_|  \___/|____/____/|_|     |_|  \___|
 
   OSSP rc - Run-Command Processor
-  Version 0.1.0 (00-Duc-2002)
+  Version 
 
   ABSTRACT
 


ossp-pkg/rc/devtool.conf 1.14 -> 1.15

--- devtool.conf 2002/07/29 14:08:39     1.14
+++ devtool.conf 2003/07/07 15:19:26     1.15
@@ -3,8 +3,8 @@
 ##
 
 %autogen
-    @autogen shtool   1.6.1 "1.[56].*" all
-    @autogen autoconf 2.53  "2.5[3-9]*"
+    @autogen shtool   1.6.2 "1.[56].*" all
+    @autogen autoconf 2.57  "2.5[3-9]*"
 
     echo "===> rc_ex (devtool autogen)"
     (cd rc_ex && ./devtool autogen)
@@ -44,21 +44,54 @@
 
 %configure
     ./configure \
-        --prefix=/tmp/rc \
+        --prefix=/tmp/rc/ \
         --disable-shared \
         --enable-debug
         "$@"
 
 %version
-    ./shtool version -l txt -n "OSSP rc" -e rc_version.c
-    shtool version -l txt -n "OSSP rc" -p "rc_" -e rc_version.c
-    V=`shtool version -l txt -d long rc_version.c`
+    ./shtool version -l c -n "OSSP rc" -p "rc_" -e rc_version.c
+    V=`./shtool version -l c -d long rc_version.c`
     sed -e "s/Version .*(.*)/Version $V/g" <README >README.n
     mv README.n README
 
+%release
+    ./devtool dist
+    ./devtool upload
+
+%tag
+    V=`./shtool version -l c -d short rc_version.c | sed -e 's;\.;_;g'`
+    echo "+++ tagging CVS sources as OSSP_RC_${V}"
+    cvs tag OSSP_RC_${V}
+
 %dist
+    echo "+++ cleaning"
+    rm -f rc-*.tar.gz
+    make distclean >/dev/null 2>&1
+    ./devtool autoclean
+    echo "+++ generating"
+    ./devtool autogen
+    echo "+++ configuring"
+    ./devtool configure
+    echo "+++ building"
+    make clean all -j4
+    echo "+++ cleaning"
     make distclean >/dev/null 2>&1
+    echo "+++ fixing"
     ./shtool fixperm -v .
-    V=`./shtool version -l txt -d short VERSION`
+    echo "+++ rolling"
+    V=`./shtool version -l c -d short rc_version.c`
     ./shtool tarball -o rc-${V}.tar.gz -d rc-${V} -u ossp -g ossp \
-                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool.conf' -c 'gzip --best' .
+                     -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$,*.bak,00TODO,autom4te\.cache,^[0-9]\.*' \
+                     -c 'gzip --best' .
+    ls -l rc-${V}.tar.gz
+    echo "+++ testing"
+    gunzip <rc-${V}.tar.gz | tar tvf - | head -10
+    echo "[...]"
+    gunzip <rc-${V}.tar.gz | tar tvf - | tail -10
+
+%upload
+    echo "+++ copying to ftp://ftp.ossp.org/pkg/tool/rc/"
+        V=`./shtool version -lc -dshort rc_version.c`
+    scp rc-${V}.tar.gz master.ossp.org:/e/ossp/ftp/pkg/tool/rc/
+


ossp-pkg/rc/rc_version.c 1.1 -> 1.2

--- rc_version.c 2002/02/05 19:12:24     1.1
+++ rc_version.c 2003/07/07 15:19:26     1.2
@@ -8,7 +8,7 @@
 #ifndef _RC_VERSION_C_
 #define _RC_VERSION_C_
 
-#define RC_VERSION 0x001201
+#define RC_VERSION 0x007200
 
 typedef struct {
     const int   v_hex;
@@ -32,14 +32,14 @@
 #undef  _RC_VERSION_C_AS_HEADER_
 
 rc_version_t rc_version = {
-    0x001201,
-    "0.1.1",
-    "0.1.1 (05-Feb-2002)",
-    "This is OSSP rc, Version 0.1.1 (05-Feb-2002)",
-    "OSSP rc 0.1.1 (05-Feb-2002)",
-    "OSSP rc/0.1.1",
-    "@(#)OSSP rc 0.1.1 (05-Feb-2002)",
-    "$Id: rc_version.c,v 1.1 2002/02/05 19:12:24 ms Exp $"
+    0x007200,
+    "0.7.0",
+    "0.7.0 (07-Jul-2003)",
+    "This is OSSP rc, Version 0.7.0 (07-Jul-2003)",
+    "OSSP rc 0.7.0 (07-Jul-2003)",
+    "OSSP rc/0.7.0",
+    "@(#)OSSP rc 0.7.0 (07-Jul-2003)",
+    "$Id: rc_version.c,v 1.2 2003/07/07 15:19:26 ms Exp $"
 };
 
 #endif /* _RC_VERSION_C_AS_HEADER_ */

CVSTrac 2.0.1