From 741e2ab66b2da5c91b6325987a2bc0bc6ddfef09 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 15 Nov 2011 23:45:26 +0100 Subject: [PATCH] ucspi-tcp: Added ucspi-tcp 0.88 - A set of command-line tools for building TCP client-server applications --- network/ucspi-tcp/ucspi-tcp-0.88.errno.patch | 28 +++++++++++++++++ network/ucspi-tcp/ucspi-tcp.cache | 22 +++++++++++++ network/ucspi-tcp/ucspi-tcp.conf | 33 ++++++++++++++++++++ network/ucspi-tcp/ucspi-tcp.desc | 32 +++++++++++++++++++ 4 files changed, 115 insertions(+) create mode 100644 network/ucspi-tcp/ucspi-tcp-0.88.errno.patch create mode 100644 network/ucspi-tcp/ucspi-tcp.cache create mode 100644 network/ucspi-tcp/ucspi-tcp.conf create mode 100644 network/ucspi-tcp/ucspi-tcp.desc diff --git a/network/ucspi-tcp/ucspi-tcp-0.88.errno.patch b/network/ucspi-tcp/ucspi-tcp-0.88.errno.patch new file mode 100644 index 000000000..aea317ed5 --- /dev/null +++ b/network/ucspi-tcp/ucspi-tcp-0.88.errno.patch @@ -0,0 +1,28 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../ucspi-tcp/ucspi-tcp-0.88.errno.patch +# Copyright (C) 2011 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +diff -u ucspi-tcp-0.88.old/error.h ucspi-tcp-0.88/error.h +--- ucspi-tcp-0.88.old/error.h 2000-03-18 09:18:20.000000000 -0600 ++++ ucspi-tcp-0.88/error.h 2003-01-08 13:39:12.000000000 -0600 +@@ -1,7 +1,7 @@ + #ifndef ERROR_H + #define ERROR_H + +-extern int errno; ++#include + + extern int error_intr; + extern int error_nomem; diff --git a/network/ucspi-tcp/ucspi-tcp.cache b/network/ucspi-tcp/ucspi-tcp.cache new file mode 100644 index 000000000..95ea5b025 --- /dev/null +++ b/network/ucspi-tcp/ucspi-tcp.cache @@ -0,0 +1,22 @@ + +[TIMESTAMP] 1319284183 Sat Oct 22 13:49:43 2011 +[BUILDTIME] 5 (5) +[SIZE] 0.25 MB, 23 files + +[DEP] bash +[DEP] binutils +[DEP] bzip2 +[DEP] coreutils +[DEP] diffutils +[DEP] fhs +[DEP] findutils +[DEP] gcc +[DEP] glibc +[DEP] grep +[DEP] linux-header +[DEP] make +[DEP] patch +[DEP] sed +[DEP] sysfiles +[DEP] tar +[DEP] util-linux-ng diff --git a/network/ucspi-tcp/ucspi-tcp.conf b/network/ucspi-tcp/ucspi-tcp.conf new file mode 100644 index 000000000..fbe9b96f7 --- /dev/null +++ b/network/ucspi-tcp/ucspi-tcp.conf @@ -0,0 +1,33 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../ucspi-tcp/ucspi-tcp.conf +# Copyright (C) 2011 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +# usual djbware build-time configuration +ucspi_tcp_configure() { + echo "/$prefix" > conf-home + echo "$CC" > conf-cc + echo "$CC -s" > conf-ld +} +hook_add preconf 5 "ucspi_tcp_configure" + +# no install target provided within the Makefile +makeinstopt= +ucspi_tcp_install() { + local progs="addcr argv0 date@ delcr finger@ fixcrio http@ \ + mconnect mconnect-io rblsmtpd recordio tcpcat tcpclient \ + tcprules tcprulescheck tcpserver who@" + for i in $progs; do + cp -vf $i $root$bindir + done +} +hook_add postmake 9 "ucspi_tcp_install" diff --git a/network/ucspi-tcp/ucspi-tcp.desc b/network/ucspi-tcp/ucspi-tcp.desc new file mode 100644 index 000000000..94c5d34c2 --- /dev/null +++ b/network/ucspi-tcp/ucspi-tcp.desc @@ -0,0 +1,32 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../ucspi-tcp/ucspi-tcp.desc +[COPY] Copyright (C) 2011 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] A set of command-line tools for building TCP client-server applications + +[T] ucspi-tcp provides easy-to-use command-line tools for building TCP +[T] client-server applications. + +[U] http://cr.yp.to/ucspi-tcp.html + +[A] Daniel J. Bernstein +[M] Christian Wiese + +[C] extra/network + +[L] PublicDomain +[S] Stable +[V] 0.88 +[P] X -----5---9 800.000 + +[D] 96378368 ucspi-tcp-0.88.tar.gz http://cr.yp.to/ucspi-tcp/