milis/talimatname/genel/u/ucspi-tcp/talimat

27 lines
726 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Tcp istemci-sunucu uygulamalar üretmek için konsol uygulaması
# URL: http://cr.yp.to/ucspi-tcp.html
# Paketçi: milisarge
# Gerekler:
2018-07-26 10:22:22 +02:00
# Grup: ağ
2018-06-09 00:06:58 +02:00
isim=ucspi-tcp
surum=0.88
devir=1
kaynak=(http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz
ucspi-tcp-0.88-ipv6.patch
head-1.patch)
derle() {
cd "$SRC/$isim-$surum"
patch -p0 < "$SRC/head-1.patch"
patch -p1 < "$SRC/ucspi-tcp-$surum-ipv6.patch"
echo "gcc ${CFLAGS}" > conf-cc
echo "/usr" > conf-home
make
for bin in tcpserver tcprules tcprulescheck argv0 recordio \
tcpclient *\@ tcpcat mconnect mconnect-io addcr \
delcr fixcrio rblsmtpd; do
install -m 755 -D $bin "$PKG/usr/bin/$bin"
done
}