Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Jeremy Blosser (a43d6edc64d39ab8b1f5b6550b20c385c3b535b3)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jeremy Blosser <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Jeremy Blosser (a43d6edc64d39ab8b1f5b6550b20c385c3b535b3)
  • Date: Sun, 1 Apr 2007 13:13:51 -0500

GIT changes to master grimoire by Jeremy Blosser <jblosser-smgl AT firinn.org>:

net/ucspi-tcp/BUILD | 7 ++++---
net/ucspi-tcp/DETAILS | 23 +++++++++++++++++++++--
net/ucspi-tcp/HISTORY | 7 +++++++
net/ucspi-tcp/INSTALL | 6 +++++-
net/ucspi-tcp/PRE_BUILD | 5 +++++
net/ucspi-tcp/maketcprules | 13 +++++++++++++
net/ucspi-tcp/ucspi-tcp-docs.tar.gz |binary
7 files changed, 55 insertions(+), 6 deletions(-)

New commits:
commit a43d6edc64d39ab8b1f5b6550b20c385c3b535b3
Author: Jeremy Blosser <jblosser-smgl AT firinn.org>
Commit: Jeremy Blosser <jblosser-smgl AT firinn.org>

ucspi-tcp: Apply some old local changes.

diff --git a/net/ucspi-tcp/BUILD b/net/ucspi-tcp/BUILD
index 56a7419..ab5621e 100755
--- a/net/ucspi-tcp/BUILD
+++ b/net/ucspi-tcp/BUILD
@@ -1,3 +1,4 @@
- echo gcc -O2 -include /usr/include/errno.h > conf-cc &&
- sedit "s/\/usr\/local/\/usr/" conf-home &&
- make
+echo "gcc ${CFLAGS} -include /usr/include/errno.h" >conf-cc &&
+echo "gcc ${LDFLAGS}" >conf-ld &&
+echo "/usr" >conf-home &&
+make
diff --git a/net/ucspi-tcp/DETAILS b/net/ucspi-tcp/DETAILS
index 34411bf..00b727e 100755
--- a/net/ucspi-tcp/DETAILS
+++ b/net/ucspi-tcp/DETAILS
@@ -7,8 +7,27 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
WEB_SITE=http://cr.yp.to/$SPELL/
ENTERED=20041110
LICENSE[0]="http://cr.yp.to/distributors.html";
- SHORT="An initd replacement."
+ LICENSE[1]="http://cr.yp.to/softwarelaw.html";
+ SHORT="A ucspi implementation for TCP connections."

cat << EOF
-An initd replacement.
+tcpclient and tcpserver are easy-to-use command-line tools for building
+TCP client-server applications. tcpclient makes a TCP connection and
+runs a program of your choice. tcpserver waits for incoming connections
+and, for each connection, runs a program of your choice. Your program
+receives environment variables showing the local and remote host names,
+IP addresses, and port numbers.
+
+tcpserver offers a concurrency limit to protect you from running out of
+processes and memory. When you are handling 40 (by default) simultaneous
+connections, tcpserver smoothly defers acceptance of new connections.
+
+tcpserver also provides TCP access control features, similar to
+tcp-wrappers/tcpd's hosts.allow but much faster. Its access control
+rules are compiled into a hashed format with cdb, so it can easily deal
+with thousands of different hosts.
+
+tcpclient and tcpserver conform to UCSPI, the UNIX Client-Server Program
+Interface, using the TCP protocol. UCSPI tools are available for several
+different networks.
EOF
diff --git a/net/ucspi-tcp/HISTORY b/net/ucspi-tcp/HISTORY
index 8df0f38..29c61bb 100644
--- a/net/ucspi-tcp/HISTORY
+++ b/net/ucspi-tcp/HISTORY
@@ -4,6 +4,13 @@
2006-08-16 Matthew Clark <matthewclark AT inlesserterms.net>
* DETAILS: Replaced MD5 hash with SHA512

+2005-10-11 Jeremy Blosser <jblosser-smgl AT firinn.org>
+ * DETAILS: Add the license URL that gives permission to patch, correct
+ short and long description.
+ * PRE_BUILD, BUILD, INSTALL: Standardize the build and install more.
+ * ucspi-tcp-docs.tar.gz: Add, extra docs.
+ * maketcprules: Add, helper script for managing tcprules.
+
2004-12-03 Robert Helgesson <rycee AT home.se>
* DETAILS: Changed license field, this package is _NOT_ under GPL.

diff --git a/net/ucspi-tcp/INSTALL b/net/ucspi-tcp/INSTALL
index a9ea479..0768bb5 100755
--- a/net/ucspi-tcp/INSTALL
+++ b/net/ucspi-tcp/INSTALL
@@ -1 +1,5 @@
- make setup check
+make setup check &&
+
+/usr/bin/install -d "${INSTALL_ROOT}/etc/tcpcontrol" &&
+/usr/bin/install -m 755 "${SCRIPT_DIRECTORY}/maketcprules" \
+ "${INSTALL_ROOT}/usr/bin"
diff --git a/net/ucspi-tcp/PRE_BUILD b/net/ucspi-tcp/PRE_BUILD
new file mode 100755
index 0000000..ebe1d11
--- /dev/null
+++ b/net/ucspi-tcp/PRE_BUILD
@@ -0,0 +1,5 @@
+default_pre_build &&
+
+cd "${SOURCE_DIRECTORY}" &&
+tar -xzvf "${SCRIPT_DIRECTORY}/ucspi-tcp-docs.tar.gz" &&
+mv ucspi-tcp *.html docs
diff --git a/net/ucspi-tcp/maketcprules b/net/ucspi-tcp/maketcprules
new file mode 100755
index 0000000..53a4b10
--- /dev/null
+++ b/net/ucspi-tcp/maketcprules
@@ -0,0 +1,13 @@
+#!/bin/sh
+cd /etc/tcpcontrol
+for rules in *.rules
+do
+ if [ -e "$rules" ]
+ then
+ echo "Making rules from file '$rules'"
+ base=`basename $rules .rules`
+ cdb=${base}.cdb
+ tmp=${base}.tmp
+ tcprules $cdb $tmp <$rules
+ fi
+done
diff --git a/net/ucspi-tcp/ucspi-tcp-docs.tar.gz
b/net/ucspi-tcp/ucspi-tcp-docs.tar.gz
new file mode 100644
index 0000000..8c576a8
Binary files /dev/null and b/net/ucspi-tcp/ucspi-tcp-docs.tar.gz differ



  • [SM-Commit] GIT changes to master grimoire by Jeremy Blosser (a43d6edc64d39ab8b1f5b6550b20c385c3b535b3), Jeremy Blosser, 04/01/2007

Archive powered by MHonArc 2.6.24.

Top of Page