Index: ossp-pkg/fsl/Makefile.in
RCS File: /v/ossp/cvs/ossp-pkg/fsl/Makefile.in,v
rcsdiff -q -kk '-r1.6' '-r1.7' -u '/v/ossp/cvs/ossp-pkg/fsl/Makefile.in,v' 2>/dev/null
--- Makefile.in 2002/07/27 18:13:51 1.6
+++ Makefile.in 2002/07/31 12:58:03 1.7
@@ -101,14 +101,14 @@
@$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $(TST_NAME) $(TST_OBJS) $(LIB_NAME) $(LIBS)
man: $(MAN_NAME)
-$(MAN_NAME): fsl.pod
- V1=`$(SHTOOL) version -l txt -d short VERSION`; \
- V2=`$(SHTOOL) version -l txt -d long VERSION`; \
+$(MAN_NAME): fsl.pod fsl_version.c
+ VS=`$(SHTOOL) version -lc -dshort fsl_version.c`; \
+ VL=`$(SHTOOL) version -lc -dlong fsl_version.c`; \
D=`$(SHTOOL) version -l txt -d long VERSION | sed -e 's;.*(;;' -e 's;).*;;'`; \
$(POD2MAN) --quotes=none \
--section=3 --center="Faking/Flexible Syslog Library" \
- --release="$$D" --date="OSSP fsl $$V1" fsl.pod | \
- sed -e "s;FSL_VERSION_STR;$$V2;" -e "s;FSL_CFGDIR;$(FSL_CFGDIR);g" >fsl.3
+ --release="$$D" --date="OSSP fsl $$VS" fsl.pod | \
+ sed -e "s;FSL_VERSION_STR;$$VL;" -e "s;FSL_CFGDIR;$(FSL_CFGDIR);g" >fsl.3
check: $(TST_NAME)
@$(LIBTOOL) --mode=execute ./$(TST_NAME)
Index: ossp-pkg/fsl/README
RCS File: /v/ossp/cvs/ossp-pkg/fsl/README,v
rcsdiff -q -kk '-r1.14' '-r1.15' -u '/v/ossp/cvs/ossp-pkg/fsl/README,v' 2>/dev/null
--- README 2002/07/30 18:50:36 1.14
+++ README 2002/07/31 12:58:03 1.15
@@ -5,7 +5,7 @@
|_| |___/_|
OSSP fsl - Faking/Flexible Syslog Library
- Version 0.1.12 (30-Jul-2002)
+ Version 0.1.14 (31-Jul-2002)
ABSTRACT
Index: ossp-pkg/fsl/VERSION
RCS File: /v/ossp/cvs/ossp-pkg/fsl/Attic/VERSION,v
co -q -kk -p'1.13' '/v/ossp/cvs/ossp-pkg/fsl/Attic/VERSION,v' | diff -u - /dev/null -L'ossp-pkg/fsl/VERSION' 2>/dev/null
--- ossp-pkg/fsl/VERSION
+++ /dev/null 2025-04-11 22:02:56.000000000 +0200
@@ -1,6 +0,0 @@
-
- VERSION -- Version Information for OSSP fsl (syntax: Text)
- [automatically generated and maintained by GNU shtool]
-
- This is OSSP fsl, Version 0.1.12 (30-Jul-2002)
-
Index: ossp-pkg/fsl/configure.ac
RCS File: /v/ossp/cvs/ossp-pkg/fsl/configure.ac,v
rcsdiff -q -kk '-r1.9' '-r1.10' -u '/v/ossp/cvs/ossp-pkg/fsl/configure.ac,v' 2>/dev/null
--- configure.ac 2002/07/30 09:42:54 1.9
+++ configure.ac 2002/07/31 12:58:03 1.10
@@ -30,8 +30,14 @@
AC_PREREQ(2.53)
AC_INIT
+
+dnl # announce our version
+V=`./shtool version -lc -dlong fsl_version.c`
+./shtool echo -e "Configuring %BOSSP fsl%b (Faking/Flexible Syslog Library), Version %B${V}%b"
+echo "Copyright (c) 2002 The OSSP Project "
+echo "Copyright (c) 2002 Cable & Wireless Deutschland "
+
FSL_VERSION_STR=`./shtool version -l txt -d long VERSION`
-./shtool echo -e "Configuring %BOSSP fsl%b (Faking/Flexible Syslog Library), version %B${FSL_VERSION_STR}%b"
AC_SUBST(FSL_VERSION_STR)
AC_PROG_MAKE_SET
Index: ossp-pkg/fsl/devtool.conf
RCS File: /v/ossp/cvs/ossp-pkg/fsl/devtool.conf,v
rcsdiff -q -kk '-r1.8' '-r1.9' -u '/v/ossp/cvs/ossp-pkg/fsl/devtool.conf,v' 2>/dev/null
--- devtool.conf 2002/07/28 08:04:25 1.8
+++ devtool.conf 2002/07/31 12:58:03 1.9
@@ -46,14 +46,13 @@
./devtool upload
%version
- ./shtool version -l txt -n "OSSP fsl" -e VERSION
- V=`./shtool version -l txt -d long VERSION`
- sed -e "s/Version .*(.*)/Version $V/g" README.n
- mv README.n README
- cvs commit -m'bump version for release' VERSION README
+ ./shtool version -l c -n "OSSP fsl" -p "fsl_" -e fsl_version.c
+ V=`./shtool version -lc -dlong fsl_version.c`
+ sed -e "s/Version .*(.*)/Version $V/g" README.n && mv README.n README
+ #cvs commit -m'bump version for release' README fsl_version.c
%tag
- V=`./shtool version -l txt -d short VERSION | sed -e 's;\.;_;g'`
+ V=`./shtool version -lc -dshort fsl_version.c` | sed -e 's;\.;_;g'`
echo "+++ tagging CVS sources as FSL_${V}"
cvs tag FSL_${V}
@@ -72,7 +71,7 @@
echo "+++ fixing"
./shtool fixperm -v .
echo "+++ rolling"
- V=`./shtool version -l txt -d short VERSION`
+ V=`./shtool version -lc -dshort fsl_version.c`
./shtool tarball -o fsl-${V}.tar.gz -d fsl-${V} -u ossp -g ossp \
-e 'CVS,\.cvsignore,\.[ao]$,^\.,devtool*,*.tar.gz,^#.*,.*~$' -c 'gzip --best' .
ls -l fsl-${V}.tar.gz
@@ -83,6 +82,6 @@
%upload
echo "+++ copying to ftp://ftp.ossp.org/pkg/lib/fsl/"
- V=`./shtool version -l txt -d short VERSION`
+ V=`./shtool version -lc -dshort fsl_version.c`
scp fsl-${V}.tar.gz master.ossp.org:/e/ossp/ftp/pkg/lib/fsl/
Index: ossp-pkg/fsl/fsl.c
RCS File: /v/ossp/cvs/ossp-pkg/fsl/fsl.c,v
rcsdiff -q -kk '-r1.42' '-r1.43' -u '/v/ossp/cvs/ossp-pkg/fsl/fsl.c,v' 2>/dev/null
--- fsl.c 2002/07/31 11:39:13 1.42
+++ fsl.c 2002/07/31 12:58:03 1.43
@@ -53,6 +53,9 @@
/* autoconfiguration */
#include "config.h"
+/* version */
+#include "fsl_version.c"
+
/* pcre static vector size */
#define OVECSIZE 30
@@ -693,7 +696,7 @@
openfsldebug();
/* tracing */
- fsldebug(L2_LEVEL_TRACE, "openlog() ident=\"%s\", logopt=0x%.8lx, facility=0x%.8lx)", ident, logopt, facility);
+ fsldebug(L2_LEVEL_TRACE, "openlog() ident=\"%s\", logopt=0x%.8lx, facility=0x%.8lx; caught by FSL %s", ident, logopt, facility, fsl_version.v_gnu);
/* remember logopt and handle unsupported values */
ctx.logopt = logopt;
Index: ossp-pkg/fsl/fsl_version.c
RCS File: /v/ossp/cvs/ossp-pkg/fsl/fsl_version.c,v
co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/fsl/fsl_version.c,v' | diff -u /dev/null - -L'ossp-pkg/fsl/fsl_version.c' 2>/dev/null
--- ossp-pkg/fsl/fsl_version.c
+++ - 2025-04-11 22:02:57.768060853 +0200
@@ -0,0 +1,46 @@
+/*
+** fsl_version.c -- Version Information for OSSP fsl (syntax: C/C++)
+** [automatically generated and maintained by GNU shtool]
+*/
+
+#ifdef _FSL_VERSION_C_AS_HEADER_
+
+#ifndef _FSL_VERSION_C_
+#define _FSL_VERSION_C_
+
+#define FSL_VERSION 0x00120E
+
+typedef struct {
+ const int v_hex;
+ const char *v_short;
+ const char *v_long;
+ const char *v_tex;
+ const char *v_gnu;
+ const char *v_web;
+ const char *v_sccs;
+ const char *v_rcs;
+} fsl_version_t;
+
+extern fsl_version_t fsl_version;
+
+#endif /* _FSL_VERSION_C_ */
+
+#else /* _FSL_VERSION_C_AS_HEADER_ */
+
+#define _FSL_VERSION_C_AS_HEADER_
+#include "fsl_version.c"
+#undef _FSL_VERSION_C_AS_HEADER_
+
+fsl_version_t fsl_version = {
+ 0x00120E,
+ "0.1.14",
+ "0.1.14 (31-Jul-2002)",
+ "This is OSSP fsl, Version 0.1.14 (31-Jul-2002)",
+ "OSSP fsl 0.1.14 (31-Jul-2002)",
+ "OSSP fsl/0.1.14",
+ "@(#)OSSP fsl 0.1.14 (31-Jul-2002)",
+ "$Id$"
+};
+
+#endif /* _FSL_VERSION_C_AS_HEADER_ */
+