OSSP CVS Repository

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

Check-in Number: 1776
Date: 2002-Jan-31 22:35:13 (local)
2002-Jan-31 21:35:13 (UTC)
User:rse
Branch:
Comment: final polishing for release
Tickets:
Inspections:
Files:
ossp-pkg/sa/.cvsignore      1.4 -> 1.5     8 inserted, 7 deleted
ossp-pkg/sa/INSTALL      added-> 1.1
ossp-pkg/sa/Makefile.in      1.11 -> 1.12     17 inserted, 0 deleted
ossp-pkg/sa/README      1.3 -> 1.4     8 inserted, 7 deleted
ossp-pkg/sa/VERSION      1.1 -> 1.2     2 inserted, 2 deleted
ossp-pkg/sa/configure.ac      1.9 -> 1.10     3 inserted, 2 deleted
ossp-pkg/sa/devtool.conf      1.5 -> 1.6     23 inserted, 3 deleted
ossp-pkg/sa/sa-config.in      1.2 -> 1.3     1 inserted, 1 deleted
ossp-pkg/sa/sa.pod      1.23 -> 1.24     12 inserted, 7 deleted

ossp-pkg/sa/.cvsignore 1.4 -> 1.5

--- .cvsignore   2001/10/08 14:47:30     1.4
+++ .cvsignore   2002/01/31 21:35:13     1.5
@@ -1,12 +1,13 @@
+Makefile
 config.guess
+config.h
+config.h.in
 config.sub
-ltmain.sh
-libtool.m4
-shtool
 configure
-config.h.in
-Makefile
-config.h
-sa_test
+libtool.m4
+ltmain.sh
 sa-config
+sa.3
 sa.h
+sa_test
+shtool


ossp-pkg/sa/INSTALL -> 1.1

*** /dev/null    Sat Nov 23 01:04:02 2024
--- -    Sat Nov 23 01:04:06 2024
***************
*** 0 ****
--- 1,17 ----
+    ___  __ _ 
+   / __|/ _` |
+   \__ \ (_| |
+   |___/\__,_|
+ 
+   OSSP sa -- Socket Abstraction Library
+ 
+   INSTALLATION
+ 
+   To install OSSP sa into /path/to/sa/ perform
+   the following steps in your shell:
+       
+     $ ./configure --prefix=/path/to/sa
+     $ make
+     $ make check
+     $ make install
+ 


ossp-pkg/sa/Makefile.in 1.11 -> 1.12

--- Makefile.in  2002/01/02 12:43:50     1.11
+++ Makefile.in  2002/01/31 21:35:13     1.12
@@ -48,6 +48,7 @@
 SHTOOL      = ./shtool
 LIBTOOL     = ./libtool
 TRUE        = true
+POD2MAN     = pod2man
 
 LIB_NAME    = libsa.la
 LIB_OBJS    = sa.lo
@@ -73,6 +74,16 @@
 $(TST_NAME): $(TST_OBJS) $(LIB_NAME)
         @$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $(TST_NAME) $(TST_OBJS) $(LIB_NAME) $(LIBS)
 
+man: sa.3
+sa.3: sa.pod
+        V1=`$(SHTOOL) version -l txt -d short VERSION`; \
+        V2=`$(SHTOOL) version -l txt -d long VERSION`; \
+        D=`$(SHTOOL) version -l txt -d long VERSION | sed -e 's;.*(;;' -e 's;).*;;'`; \
+        $(POD2MAN) --quotes=none \
+                   --section=3 --center="Socket Abstraction" \
+                   --release="$$D" --date="OSSP sa $$V1" sa.pod | \
+        sed -e "s;SA_VERSION_STR;$$V2;" >sa.3
+
 check: $(TST_NAME)
         @$(LIBTOOL) --mode=execute ./$(TST_NAME)
 
@@ -81,14 +92,19 @@
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir)
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(includedir)
         $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir)
+        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man3
         $(SHTOOL) install -c -m 755 sa-config $(DESTDIR)$(bindir)/
         $(SHTOOL) install -c -m 644 sa.h $(DESTDIR)$(includedir)/
+        $(SHTOOL) install -c -m 644 sa.3 $(DESTDIR)$(mandir)/man3/
         @$(LIBTOOL) --mode=install $(SHTOOL) install -c -m 644 libsa.la $(DESTDIR)$(libdir)/
 
 uninstall:
         @$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libsa.la
+        -$(RM) $(DESTDIR)$(mandir)/man3/sa.3
         -$(RM) $(DESTDIR)$(includedir)/sa.h
         -$(RM) $(DESTDIR)$(bindir)/sa-config
+        -$(RMDIR) $(DESTDIR)$(mandir)/man3 >/dev/null 2>&1 || $(TRUE)
+        -$(RMDIR) $(DESTDIR)$(mandir) >/dev/null 2>&1 || $(TRUE)
         -$(RMDIR) $(DESTDIR)$(libdir) >/dev/null 2>&1 || $(TRUE)
         -$(RMDIR) $(DESTDIR)$(includedir) >/dev/null 2>&1 || $(TRUE)
         -$(RMDIR) $(DESTDIR)$(bindir) >/dev/null 2>&1 || $(TRUE)
@@ -106,6 +122,7 @@
         -$(RM) libtool
 
 realclean: distclean
+        -$(RM) ex.3
         -$(RM) configure config.h.in
         -$(RM) shtool
         -$(RM) ltmain.sh libtool.m4 config.guess config.sub


ossp-pkg/sa/README 1.3 -> 1.4

--- README       2002/01/02 12:43:50     1.3
+++ README       2002/01/31 21:35:13     1.4
@@ -3,16 +3,17 @@
   \__ \ (_| |
   |___/\__,_|
 
-  SA - Socket Abstraction Library
-  Version 0.1.0 (13-Sep-2001)
+  OSSP sa -- Socket Abstraction Library
+  Version 0.9.0 (31-Jan-2002)
 
   ABSTRACT
 
-  The OSSP SA library is an abstraction library for the Unix socket
-  interface featuring stream and datagram oriented communication over
-  Unix Domain and Internet Domain sockets. It provides the following key
-  features: address abstraction, type abstraction, I/O timeouts, I/O
-  stream buffering and convinience I/O functions.
+  OSSP sa is an abstraction library for the Unix socket application
+  programming interface (API) featuring stream and datagram oriented
+  communication over Unix Domain and Internet Domain (TCP and UDP)
+  sockets. It provides the following key features: address abstraction
+  (local, IPv4, and IPv6), type abstraction, I/O timeouts, I/O stream
+  buffering and convenience I/O functions.
 
   COPYRIGHT AND LICENSE
 


ossp-pkg/sa/VERSION 1.1 -> 1.2

--- VERSION      2001/10/08 11:43:25     1.1
+++ VERSION      2002/01/31 21:35:13     1.2
@@ -1,6 +1,6 @@
 
-  VERSION -- Version Information for OSSP SA (syntax: Text)
+  VERSION -- Version Information for OSSP sa (syntax: Text)
   [automatically generated and maintained by GNU shtool]
 
-  This is OSSP SA, Version 0.1.0 (08-Oct-2001)
+  This is OSSP sa, Version 0.9.0 (31-Jan-2002)
 


ossp-pkg/sa/configure.ac 1.9 -> 1.10

--- configure.ac 2002/01/31 09:09:55     1.9
+++ configure.ac 2002/01/31 21:35:13     1.10
@@ -33,8 +33,9 @@
 AC_INIT(README)
 
 AC_DIVERT_PUSH(NOTICE)
-V=`./shtool version -l txt -d long VERSION`
-./shtool echo -e "Configuring %BOSSP sa%b (Socket Abstraction), Version %B${V}%b"
+SA_VERSION_STR=`./shtool version -l txt -d long VERSION`
+./shtool echo -e "Configuring %BOSSP sa%b (Socket Abstraction), Version %B${SA_VERSION_STR}%b"
+AC_SUBST(SA_VERSION_STR)
 AC_DIVERT_POP()
 
 AC_SET_MAKE


ossp-pkg/sa/devtool.conf 1.5 -> 1.6

--- devtool.conf 2001/10/31 19:58:22     1.5
+++ devtool.conf 2002/01/31 21:35:13     1.6
@@ -20,12 +20,32 @@
         "$@"
 
 %version
-    ./shtool version -l txt -n "OSSP SA" -e VERSION
+    ./shtool version -l txt -n "OSSP sa" -e VERSION
+    V=`./shtool version -l txt -d long VERSION`
+    sed -e "s/Version .*(.*)/Version $V/g" <README >README.n 
+    mv README.n README
 
 %dist
-    make distclean >/dev/null 2>&1
+    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"
     V=`./shtool version -l txt -d short VERSION`
     ./shtool tarball -o sa-${V}.tar.gz -d sa-${V} -u ossp -g ossp \
-                     -e 'CVS,\.cvsignore,\.[ao],^\.,devtool.conf' -c 'gzip --best' .
+                     -e 'CVS,\.cvsignore,\.[ao],^\.,devtool*,*.tar.gz' -c 'gzip --best' .
+    ls -l sa-${V}.tar.gz
+    echo "+++ testing"
+    gunzip <sa-${V}.tar.gz | tar tvf -
+
+%release
+    echo "+++ copying to ftp://ftp.ossp.org/pkg/sa/"
+    scp sa-*.tar.gz master.ossp.org:/e/ossp/ftp/pkg/sa/
 


ossp-pkg/sa/sa-config.in 1.2 -> 1.3

--- sa-config.in 2002/01/02 12:43:50     1.2
+++ sa-config.in 2002/01/31 21:35:13     1.3
@@ -82,7 +82,7 @@
             exit 0
             ;;
         --version|-v)
-            echo "OSSP SA $sa_version"
+            echo "OSSP sa $sa_version"
             exit 0
             ;;
         --all)


ossp-pkg/sa/sa.pod 1.23 -> 1.24

--- sa.pod       2002/01/02 14:41:07     1.23
+++ sa.pod       2002/01/31 21:35:13     1.24
@@ -32,7 +32,11 @@
 
 =head1 NAME
 
-B<OSSP sa> - Socket Abstraction Library
+B<OSSP sa> - Socket Abstraction
+
+=head1 VERSION
+
+B<OSSP sa SA_VERSION_STR>
 
 =head1 SYNOPSIS
 
@@ -438,7 +442,7 @@
 (I<yesno>=C<1>) or disabling (I<yesno>=C<0>) Nagle's Algorithm
 (see RFC898); C<SA_OPTION_LINGER> (C<struct linger *>I<linger>) for enabling
 (C<linger-E<gt>l_onoff>=C<1>) or disabling (C<linger-E<gt>l_onoff>=C<0>
-and C<linger-E<gt>l_linger=I<seconds>) lingering on close (see
+and C<linger-E<gt>l_linger=>I<seconds>) lingering on close (see
 C<struct linger> in F<sys/socket.h>); C<SA_OPTION_REUSEADDR> (C<int>
 I<yesno>) for enabling (I<yesno>=C<1>) or disabling (I<yesno>=C<0>)
 the reusability of the address on binding (see C<SO_REUSEADDR>
@@ -670,11 +674,12 @@
 
 =head1 HISTORY
 
-B<OSSP sa> was invented in August 2001 by Ralf S. Engelschall for use
-inside the OSSP project. Its creation was prompted by the requirement
-to implement an SMTP logging channel for B<OSSP l2> (logging library).
-Its initial code was derived from a predecessor sub-library originally
-written for socket address abstraction inside B<OSSP lmtp2nntp>.
+B<OSSP sa> was invented in August 2001 by Ralf S. Engelschall
+E<lt>rse@engelschall.comE<gt> for use inside the OSSP project. Its
+creation was prompted by the requirement to implement an SMTP logging
+channel for B<OSSP l2> (logging library). Its initial code was derived
+from a predecessor sub-library originally written for socket address
+abstraction inside B<OSSP lmtp2nntp>.
 
 =head1 AUTHORS
 

CVSTrac 2.0.1