OSSP CVS Repository

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

Check-in Number: 5215
Date: 2005-Oct-03 10:02:10 (local)
2005-Oct-03 08:02:10 (UTC)
User:rse
Branch:
Comment: fix path
Tickets:
Inspections:
Files:
ossp-pkg/l2/devtool.conf      added-> 1.21

ossp-pkg/l2/devtool.conf -> 1.21

*** /dev/null    Wed Apr 24 20:11:00 2024
--- -    Wed Apr 24 20:14:50 2024
***************
*** 0 ****
--- 1,107 ----
+ ##
+ ##  OSSP l2 - Flexible Logging
+ ##  Copyright (c) 2001-2004 Cable & Wireless <http://www.cw.com/>
+ ##  Copyright (c) 2001-2004 The OSSP Project <http://www.ossp.org/>
+ ##  Copyright (c) 2001-2004 Ralf S. Engelschall <rse@engelschall.com>
+ ##
+ ##  This file is part of OSSP l2, a flexible logging library which
+ ##  can be found at http://www.ossp.org/pkg/lib/l2/.
+ ##
+ ##  Permission to use, copy, modify, and distribute this software for
+ ##  any purpose with or without fee is hereby granted, provided that
+ ##  the above copyright notice and this permission notice appear in all
+ ##  copies.
+ ##
+ ##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ ##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ ##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ ##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
+ ##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ ##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ ##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ ##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ ##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ ##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ ##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ ##  SUCH DAMAGE.
+ ##
+ ##  devtool.conf -- Development Tool Configuration
+ ##
+ 
+ %import
+     #../lib_sa has to be prepared manually
+     for i in sa.ac sa.c sa.h; do
+         cp ../lib_sa/$i l2_ut_$i
+     done
+     awk <l2_ut_sa.h '
+             BEGIN { p=1 }
+             /^#ifdef HAVE_CONFIG_H/ { print "#define SA_PREFIX l2_util_\n#define HAVE_CONFIG_H 1\n#include \"l2_config.h\"\n"; p=0 }
+             // { if (p==1) print $0 }
+             /^#endif/ { p=1 }
+             ' >l2_ut_sa.h.n && mv l2_ut_sa.h.n l2_ut_sa.h
+     shtool subst -e 's;#include "sa.h";#include "l2_ut_sa.h";' l2_ut_sa.c
+ 
+ %autogen
+     @autogen shtool   2.0.3  "2.0.*" echo fixperm install mkdir tarball version
+     @autogen libtool  1.5.20 "1.5*"
+     @autogen autoconf 2.59   "2.5[4-9]*"
+ 
+ %autoclean
+     @autoclean shtool
+     @autoclean libtool
+     @autoclean autoconf
+ 
+ %configure
+     ./configure \
+         --prefix=/tmp/l2 \
+         --disable-shared \
+         --enable-maintainer \
+         --enable-debug \
+         "$@"
+ 
+ %release
+     ./devtool version
+     ./devtool tag
+     ./devtool dist
+     ./devtool upload
+ 
+ %version
+     ./shtool version -lc -n "OSSP l2" -p "l2_" -e l2_version.c
+     V=`./shtool version -lc -dlong l2_version.c`
+     sed -e "s/Version .*(.*)/Version $V/g" <README >README.n && mv README.n README
+ 
+ %tag
+     V=`./shtool version -lc -dshort l2_version.c | sed -e 's;\.;_;g'`
+     echo "+++ tagging CVS sources as L2_${V}"
+     cvs commit -m 'flush pending changes before tagging'
+     cvs tag L2_${V}
+ 
+ %dist
+     echo "+++ removing old tarballs"
+     rm -f l2-*.tar.gz
+     echo "+++ generating"
+     ./devtool autoclean
+     ./devtool autogen
+     echo "+++ configuring"
+     ./devtool configure
+     echo "+++ building"
+     make clean all man
+     echo "+++ cleaning"
+     make distclean
+     echo "+++ fixing"
+     ./shtool fixperm -v .
+     echo "+++ rolling"
+     V=`./shtool version -lc -dshort l2_version.c`
+     ./shtool tarball -o l2-${V}.tar.gz -d l2-${V} -u ossp -g ossp \
+                      -e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' .
+     ls -l l2-${V}.tar.gz
+     echo "+++ testing"
+     gunzip <l2-${V}.tar.gz | tar tvf - | head -10
+     echo "[...]"
+     gunzip <l2-${V}.tar.gz | tar tvf - | tail -10
+ 
+ %upload
+     echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/l2/"
+     V=`./shtool version -lc -dshort l2_version.c`
+     scp l2-${V}.tar.gz ossp@master.ossp.org:/v/ossp/ftp/pkg/lib/l2/
+ 

CVSTrac 2.0.1