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_0_1_6:1.3
FSL_0_1_5:1.3
FSL_0_1_1:1.3
LMTP2NNTP_1_2a5:1.3
LMTP2NNTP_1_2a4:1.3
LMTP2NNTP_1_2a3:1.2
LMTP2NNTP_1_2a1:1.2;
locks; strict;
comment @# @;
1.24
date 2007.06.08.13.55.11; author rse; state Exp;
branches;
next 1.23;
commitid EI0Ix2yCSjTw97ls;
1.23
date 2007.03.02.15.09.43; author thl; state Exp;
branches;
next 1.22;
commitid fLR4TuLv3uXsIw8s;
1.22
date 2005.10.03.08.08.11; author rse; state Exp;
branches;
next 1.21;
1.21
date 2005.10.03.08.02.10; author rse; state Exp;
branches;
next 1.20;
1.20
date 2005.10.03.07.58.34; author rse; state Exp;
branches;
next 1.19;
1.19
date 2005.02.18.09.39.25; author thl; state Exp;
branches;
next 1.18;
1.18
date 2005.01.24.15.05.36; author rse; state Exp;
branches;
next 1.17;
1.17
date 2005.01.24.15.03.17; author rse; state Exp;
branches;
next 1.16;
1.16
date 2004.04.22.15.46.34; author thl; state Exp;
branches;
next 1.15;
1.15
date 2004.03.26.17.14.18; author thl; state Exp;
branches;
next 1.14;
1.14
date 2004.03.19.14.55.47; author thl; state Exp;
branches;
next 1.13;
1.13
date 2003.11.17.10.37.04; author thl; state Exp;
branches;
next 1.12;
1.12
date 2003.10.28.15.27.02; author thl; state Exp;
branches;
next 1.11;
1.11
date 2003.06.30.14.15.46; author thl; state Exp;
branches;
next 1.10;
1.10
date 2003.01.06.11.41.51; author rse; state Exp;
branches;
next 1.9;
1.9
date 2003.01.06.11.19.45; author rse; state Exp;
branches;
next 1.8;
1.8
date 2002.11.09.14.37.45; author rse; state Exp;
branches;
next 1.7;
1.7
date 2002.10.11.16.00.48; author rse; state Exp;
branches;
next 1.6;
1.6
date 2002.07.30.19.12.30; author rse; state Exp;
branches;
next 1.5;
1.5
date 2002.07.30.19.08.24; author rse; state Exp;
branches;
next 1.4;
1.4
date 2002.07.28.08.04.53; author rse; state Exp;
branches;
next 1.3;
1.3
date 2002.03.14.15.29.23; author thl; state Exp;
branches;
next 1.2;
1.2
date 2001.11.08.20.28.22; author rse; state Exp;
branches;
next 1.1;
1.1
date 2001.11.08.09.53.34; author rse; state Exp;
branches;
next ;
desc
@@
1.24
log
@- Upgraded build environment to GNU shtool 2.0.7
- Do not use literal "(NULL)" on pointer comparisons.
@
text
@##
## OSSP l2 - Flexible Logging
## Copyright (c) 2001-2005 Cable & Wireless
## Copyright (c) 2001-2005 The OSSP Project
## Copyright (c) 2001-2005 Ralf S. Engelschall
##
## 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.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.7 "2.0.*" echo fixperm install mkdir tarball version
@@autogen libtool 1.5.22 "1.5*"
@@autogen autoconf 2.61 "2.6[0-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.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
## Copyright (c) 2001-2004 The OSSP Project
## Copyright (c) 2001-2004 Ralf S. Engelschall
@
1.20
log
@upgrade build environment
@
text
@d106 1
a106 1
scp l2-${V}.tar.gz ossp@@master.ossp.org:/e/ossp/ftp/pkg/lib/l2/
@
1.19
log
@use consolidation account for upload
@
text
@d45 2
a46 2
@@autogen shtool 2.0.1 "2.0.*" echo fixperm install mkdir tarball version
@@autogen libtool 1.5.10 "1.5*"
@
1.18
log
@Upgraded build environment to GNU shtool 2.0.1 and GNU libtool 1.5.10.
@
text
@d106 1
a106 1
scp l2-${V}.tar.gz master.ossp.org:/e/ossp/ftp/pkg/lib/l2/
@
1.17
log
@Adjust copyright messages for new year 2005.
@
text
@d45 3
a47 3
@@autogen shtool 1.6.2 "1.6.*" echo fixperm install mkdir tarball version
@@autogen libtool 1.5.2 "1.5*"
@@autogen autoconf 2.59 "2.5[4-9]*"
@
1.16
log
@change devtool.conf %import of OSSP sa to inject a faked HAVE_CONFIG_H
@
text
@d3 3
a5 3
## Copyright (c) 2001-2003 Cable & Wireless Deutschland GmbH
## Copyright (c) 2001-2003 The OSSP Project (http://www.ossp.org/)
## Copyright (c) 2001-2003 Ralf S. Engelschall
@
1.15
log
@automate large parts of lib_sa import
@
text
@d38 1
a38 1
/^#ifdef HAVE_CONFIG_H/ { print "#define SA_PREFIX l2_util_\n#include \"l2_config.h\"\n"; p=0 }
@
1.14
log
@Upgrade and unify build environment devtool an devtool.func; change devtool.conf to require current versions of shtool, libtool and autoconf
@
text
@d31 13
@
1.13
log
@align devtool.conf sections; add missing commit in cfg %tag
@
text
@d33 2
a34 2
@@autogen libtool 1.5 "1.[45]*"
@@autogen autoconf 2.58 "2.5[4-9]*"
@
1.12
log
@uprev libtool support to 1.5
@
text
@d32 3
a34 3
@@autogen shtool 1.6.2 "1.6.*" all
@@autogen libtool 1.5 "1.[45]*"
@@autogen autoconf 2.57 "2.5[6-9]*"
d56 3
a58 4
./shtool version -l c -n "OSSP l2" -p l2_ -e l2_version.c
V=`./shtool version -l c -d long l2_version.c`
sed -e "s/Version .*(.*)/Version $V/g" README.n
mv README.n README
d61 1
a61 1
V=`./shtool version -l c -d short l2_version.c | sed -e 's;\.;_;g'`
d73 1
a73 1
./configure
d81 1
a81 1
V=`./shtool version -l c -d short l2_version.c`
d92 1
a92 1
V=`./shtool version -l c -d short l2_version.c`
@
1.11
log
@tag/commit when releasing
@
text
@d33 1
a33 1
@@autogen libtool 1.4.3 "1.4*"
@
1.10
log
@- remove trailing whitespaces
- adjust copyright messages
- consistently use "OSSP l2"
- consistently talk about "Flexible Logging"
- use standard OSSP ASCII-art
@
text
@d51 1
d64 1
@
1.9
log
@upgrade to the latest Flex & Bison & Autoconf combo
@
text
@d2 26
d57 1
a57 1
sed -e "s/Version .*(.*)/Version $V/g" README.n
@
1.8
log
@ok, with the latest and greatest plus a little tweaking it works again.
@
text
@d8 1
a8 1
@@autogen autoconf 2.54 "2.5[4-9]*"
@
1.7
log
@upgrade to OSSP sa 0.9.2 and release OSSP l2 0.9.1 with it
@
text
@d6 2
a7 2
@@autogen shtool 1.6.1 "1.6.*" all
@@autogen libtool 1.4.2 "1.4*"
@
1.6
log
@fix URLs
@
text
@d8 1
a8 1
@@autogen autoconf 2.53 "2.5[3-9]*"
@
1.5
log
@polish for release
@
text
@d64 1
a64 1
echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/l2//"
d66 1
a66 1
scp l2-${V}.tar.gz master.ossp.org:/e/ossp/ftp/pkg/lib/l2//
@
1.4
log
@fix devtool config
@
text
@d23 5
d29 9
a37 1
./shtool version -l c -n "OSSP l2" -p "l2_" -e l2_version.c
d40 12
a51 1
make distclean >/dev/null 2>&1
d53 1
d56 11
a66 1
-e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool.conf' -c 'gzip --best' .
@
1.3
log
@upgrade to Autoconf 2.53 environment
@
text
@d6 1
a6 1
@@autogen shtool 1.6.0 "1.6.*" all
d31 1
a31 1
-e 'CVS,\.cvsignore,\.[ao],^\.,devtool.conf' -c 'gzip --best' .
@
1.2
log
@Add --enable-maintainer mode and only use Bison and Flex if this mode
enabled. Else we assume end user mode where the scanner and parser files
have to be already pre-generated. Additionally check the version of the
installed GNU Flex to make sure developers to not think the 1997'er Flex
version 2.5.4 is sufficient.
@
text
@d6 1
a6 1
@@autogen shtool 1.5.4 "1.5.*" all
d8 1
a8 1
@@autogen autoconf 2.52 "2.5.*"
d24 1
a24 1
./shtool version -l c -n "OSSP L2" -p "l2_" -e l2_version.c
@
1.1
log
@switch to devtool stuff (taken over from OSSP SA)
@
text
@d19 1
@