aboutsummaryrefslogtreecommitdiff
path: root/base/tcpip
diff options
context:
space:
mode:
authorDeposite Pirate2018-09-16 18:48:36 +0200
committerDeposite Pirate2018-09-16 18:48:36 +0200
commitd150a5f3e462fa7fe194a805a4aa0076f4d03ab9 (patch)
treece5e44d69c5f3175bfdbd1e3717b52c5dcca5638 /base/tcpip
parentf29d3519ce073ec30f99754d93304324f7f26d65 (diff)
Add ports.
Diffstat (limited to 'base/tcpip')
-rw-r--r--base/tcpip/host-20070128-compile.patch.xzbin0 -> 884 bytes
-rw-r--r--base/tcpip/iproute2-3.7.0-datadir.patch.xzbin0 -> 980 bytes
-rw-r--r--base/tcpip/iproute2-3.7.0-installman7.patch.xzbin0 -> 444 bytes
-rw-r--r--base/tcpip/iputils-s20121221-install.patch.xzbin0 -> 600 bytes
-rw-r--r--base/tcpip/iputils-s20121221-ipmask.patch.xzbin0 -> 1932 bytes
-rw-r--r--base/tcpip/iputils-s20121221-manpages.patch.xzbin0 -> 11756 bytes
-rw-r--r--base/tcpip/iputils-s20121221-noinstall.patch.xzbin0 -> 316 bytes
-rw-r--r--base/tcpip/libpcap-1.3.0-autoconf.patch.xzbin0 -> 12168 bytes
-rw-r--r--base/tcpip/libpcap-1.3.0-libnl32.patch.xzbin0 -> 416 bytes
-rw-r--r--base/tcpip/net-tools-20130121-config.patch.xzbin0 -> 2624 bytes
-rw-r--r--base/tcpip/net-tools-20130121-debian242.patch.xzbin0 -> 126504 bytes
-rw-r--r--base/tcpip/net-tools-20130121-install.patch.xzbin0 -> 1612 bytes
-rw-r--r--base/tcpip/net-tools-20130121-missingheaders.patch.xzbin0 -> 216 bytes
-rw-r--r--base/tcpip/tcp_wrappers-7.6-updates.patch.xzbin0 -> 18704 bytes
-rwxr-xr-xbase/tcpip/tcpip.build273
-rw-r--r--base/tcpip/whois-5.0.20-mandir.patch.xzbin0 -> 356 bytes
-rw-r--r--base/tcpip/whois-5.0.20-nomkpasswd.patch.xzbin0 -> 380 bytes
17 files changed, 273 insertions, 0 deletions
diff --git a/base/tcpip/host-20070128-compile.patch.xz b/base/tcpip/host-20070128-compile.patch.xz
new file mode 100644
index 0000000..67d83ad
--- /dev/null
+++ b/base/tcpip/host-20070128-compile.patch.xz
Binary files differ
diff --git a/base/tcpip/iproute2-3.7.0-datadir.patch.xz b/base/tcpip/iproute2-3.7.0-datadir.patch.xz
new file mode 100644
index 0000000..826ac43
--- /dev/null
+++ b/base/tcpip/iproute2-3.7.0-datadir.patch.xz
Binary files differ
diff --git a/base/tcpip/iproute2-3.7.0-installman7.patch.xz b/base/tcpip/iproute2-3.7.0-installman7.patch.xz
new file mode 100644
index 0000000..c27d0c6
--- /dev/null
+++ b/base/tcpip/iproute2-3.7.0-installman7.patch.xz
Binary files differ
diff --git a/base/tcpip/iputils-s20121221-install.patch.xz b/base/tcpip/iputils-s20121221-install.patch.xz
new file mode 100644
index 0000000..b785183
--- /dev/null
+++ b/base/tcpip/iputils-s20121221-install.patch.xz
Binary files differ
diff --git a/base/tcpip/iputils-s20121221-ipmask.patch.xz b/base/tcpip/iputils-s20121221-ipmask.patch.xz
new file mode 100644
index 0000000..1b51bb3
--- /dev/null
+++ b/base/tcpip/iputils-s20121221-ipmask.patch.xz
Binary files differ
diff --git a/base/tcpip/iputils-s20121221-manpages.patch.xz b/base/tcpip/iputils-s20121221-manpages.patch.xz
new file mode 100644
index 0000000..013fe28
--- /dev/null
+++ b/base/tcpip/iputils-s20121221-manpages.patch.xz
Binary files differ
diff --git a/base/tcpip/iputils-s20121221-noinstall.patch.xz b/base/tcpip/iputils-s20121221-noinstall.patch.xz
new file mode 100644
index 0000000..9dd8ea4
--- /dev/null
+++ b/base/tcpip/iputils-s20121221-noinstall.patch.xz
Binary files differ
diff --git a/base/tcpip/libpcap-1.3.0-autoconf.patch.xz b/base/tcpip/libpcap-1.3.0-autoconf.patch.xz
new file mode 100644
index 0000000..7e78543
--- /dev/null
+++ b/base/tcpip/libpcap-1.3.0-autoconf.patch.xz
Binary files differ
diff --git a/base/tcpip/libpcap-1.3.0-libnl32.patch.xz b/base/tcpip/libpcap-1.3.0-libnl32.patch.xz
new file mode 100644
index 0000000..edc8edd
--- /dev/null
+++ b/base/tcpip/libpcap-1.3.0-libnl32.patch.xz
Binary files differ
diff --git a/base/tcpip/net-tools-20130121-config.patch.xz b/base/tcpip/net-tools-20130121-config.patch.xz
new file mode 100644
index 0000000..9683ffa
--- /dev/null
+++ b/base/tcpip/net-tools-20130121-config.patch.xz
Binary files differ
diff --git a/base/tcpip/net-tools-20130121-debian242.patch.xz b/base/tcpip/net-tools-20130121-debian242.patch.xz
new file mode 100644
index 0000000..a544220
--- /dev/null
+++ b/base/tcpip/net-tools-20130121-debian242.patch.xz
Binary files differ
diff --git a/base/tcpip/net-tools-20130121-install.patch.xz b/base/tcpip/net-tools-20130121-install.patch.xz
new file mode 100644
index 0000000..0fd2fd2
--- /dev/null
+++ b/base/tcpip/net-tools-20130121-install.patch.xz
Binary files differ
diff --git a/base/tcpip/net-tools-20130121-missingheaders.patch.xz b/base/tcpip/net-tools-20130121-missingheaders.patch.xz
new file mode 100644
index 0000000..ee76a47
--- /dev/null
+++ b/base/tcpip/net-tools-20130121-missingheaders.patch.xz
Binary files differ
diff --git a/base/tcpip/tcp_wrappers-7.6-updates.patch.xz b/base/tcpip/tcp_wrappers-7.6-updates.patch.xz
new file mode 100644
index 0000000..d308009
--- /dev/null
+++ b/base/tcpip/tcp_wrappers-7.6-updates.patch.xz
Binary files differ
diff --git a/base/tcpip/tcpip.build b/base/tcpip/tcpip.build
new file mode 100755
index 0000000..e6d5678
--- /dev/null
+++ b/base/tcpip/tcpip.build
@@ -0,0 +1,273 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=tcpip
+VERSION=$(date '+%Y%m%d')
+BUILD=1
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: tcpip
+${NAME}:
+${NAME}: Basic TCP/IP networking utilities and libraries.
+${NAME}:
+${NAME}: This package must be installed if you want network or Internet
+${NAME}: access.
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+install_info()
+{
+ for file in "\${*}"; do
+ if [ -x usr/bin/install-info ]; then
+ usr/bin/install-info --info-dir=usr/share/info usr/share/info/\${file}.info.xz 2> /dev/null
+ fi
+ done
+}
+
+# Install texinfo files
+
+install_info inetutils
+EOF
+
+# Sources
+
+SRCNAME[0]=libnl
+SRCVERS[0]=3.2.19
+SRCPACK[0]=http://www.infradead.org/~tgr/libnl/files/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="LGPL21"
+
+build0()
+{
+sed -i 's|pkglibdir = $(libdir)/@PACKAGE@|pkglibdir = $(libdir)/plugins/@PACKAGE@|g' \
+ Makefile.in */Makefile.in */*/Makefile.in */*/*/Makefile.in
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[share]}/net" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --with-pkgconfigdir="${SYS_DIR[share]}/pkgconfig"
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+changelog ChangeLog
+}
+
+SRCNAME[1]=libpcap
+SRCVERS[1]=1.3.0
+SRCPACK[1]=http://www.tcpdump.org/release/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz
+SRCCOPY[1]="BSD3"
+
+build1()
+{
+CPPFLAGS="-I${PKG}${SYS_DIR[include]}/libnl3" \
+LDFLAGS="-L${PKG}${SYS_DIR[lib]}" \
+CFLAGS="${FLAGS} ${CPPFLAGS}" CXXFLAGS="${FLAGS} ${CPPFLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --enable-ipv6 \
+ --enable-bluetooth
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc CREDITS
+changelog CHANGES
+(
+ cd ${PKG}${SYS_DIR[man]}/man3
+ for manpage in *.3pcap; do
+ mv ${manpage} $(basename ${manpage} .3pcap).3
+ done
+)
+rm -f ${PKG}${SYS_DIR[lib]}/*.a
+}
+
+SRCNAME[2]=tcp_wrappers
+SRCVERS[2]=7.6
+SRCPACK[2]=http://ftp.nluug.nl/security/tcpwrappers/${SRCNAME[2]}_${SRCVERS[2]}.tar.gz
+SRCROOT[2]=${SRCNAME[2]}_${SRCVERS[2]}
+
+build2()
+{
+make OPTS="${FLAGS}" REAL_DAEMON_DIR="${SYS_DIR[sbin]}" linux
+make install DESTDIR="${PKG}" MANDIR="${SYS_DIR[man]}" LIBDIR="${SYS_DIR[lib]}"
+doc README
+changelog CHANGES
+rm -f ${PKG}${SYS_DIR[lib]}/libwrap.a
+}
+
+SRCNAME[3]=host
+SRCVERS[3]=20070128
+SRCPACK[3]=ftp://ftp.weird.com/pub/local/${SRCNAME[3]}-${SRCVERS[3]}.tar.gz
+
+build3()
+{
+make ${JOBS} COPTIM="${FLAGS}" CONFDIR="${SYS_DIR[etc]}" \
+ PREFIX="${SYS_DIR[usr]}" MANDIR="${SYS_DIR[man]}/man1"
+make install DESTDIR="${PKG}" CONFDIR="${SYS_DIR[etc]}" \
+ PREFIX="${SYS_DIR[usr]}" MANDIR="${SYS_DIR[man]}/man1"
+for file in mxlookup nscheck nslookup rblookup; do
+ echo ".so man1/host.1" > ${PKG}${SYS_DIR[man]}/man1/${file}.1
+done
+}
+
+SRCNAME[4]=traceroute
+SRCVERS[4]=2.0.19
+SRCPACK[4]=${URL[sf]}/${SRCNAME[4]}/${SRCNAME[4]}/${SRCNAME[4]}-${SRCVERS[4]}/${SRCNAME[4]}-${SRCVERS[4]}.tar.gz
+SRCCOPY[4]="LGPL21 GPL2"
+
+build4()
+{
+make ${JOBS} CFLAGS+="${FLAGS}"
+make install DESTDIR="${PKG}" \
+ prefix="${SYS_DIR[usr]}" \
+ mandir="${SYS_DIR[man]}"
+doc CREDITS
+changelog ChangeLog
+(
+ cd ${PKG}${SYS_DIR[bin]}
+ ln -sf traceroute traceroute6
+ cd ${PKG}${SYS_DIR[man]}/man1
+ echo ".so man1/traceroute.1" > traceroute6.1
+)
+}
+
+SRCNAME[5]=whois
+SRCVERS[5]=5.0.20
+SRCPACK[5]=http://ftp.debian.org/debian/pool/main/w/${SRCNAME[5]}/${SRCNAME[5]}_${SRCVERS[5]}.tar.xz
+SRCCOPY[5]="GPL2"
+
+build5()
+{
+make ${JOBS} CFLAGS="${FLAGS} -I${SYS_DIR[include]}/idn" HAVE_LIBIDN=y
+make install mandir="${SYS_DIR[man]}" BASEDIR="${PKG}"
+}
+
+SRCNAME[6]=inetutils
+SRCVERS[6]=1.9.1
+SRCPACK[6]=${URL[gnu]}/${SRCNAME[6]}/${SRCNAME[6]}-${SRCVERS[6]}.tar.gz
+SRCCOPY[6]="GPL3"
+
+build6()
+{
+#FIXME: PAM: might need to be enabled
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --disable-rpath \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --infodir="${SYS_DIR[info]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --disable-servers \
+ --disable-hostname \
+ --disable-logger \
+ --disable-ifconfig \
+ --disable-talk \
+ --disable-traceroute \
+ --disable-whois
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS THANKS
+changelog NEWS
+chmod 0755 ${PKG}${SYS_DIR[bin]}/{ping,ping6,rcp,rsh,rlogin}
+rmdir ${PKG}/usr/libexec
+}
+
+SRCNAME[7]=iputils
+SRCVERS[7]=s20121221
+SRCPACK[7]=http://www.skbuff.net/${SRCNAME[7]}/${SRCNAME[7]}-${SRCVERS[7]}.tar.bz2
+SRCCOPY[7]="BSD4"
+
+build7()
+{
+make ${JOBS} \
+ CCOPTOPT="${FLAGS}" \
+ VPATH="${SYS_DIR[lib]}"
+make install \
+ SBINDIR="${SYS_DIR[sbin]}" \
+ DESTDIR="${PKG}"
+changelog RELNOTES
+# These utilities are provided by other packages but leave this just in case
+#chmod 4711 \
+# ${PKG}/bin/ping \
+# ${PKG}/bin/ping6 \
+# ${PKG}/usr/bin/traceroute6
+}
+
+SRCNAME[8]=net-tools
+SRCVERS[8]=20130121
+SRCPACK[8]=http://www.tazenda.demon.co.uk/phil/${SRCNAME[8]}/${SRCNAME[8]}-${SRCVERS[8]}.tar.xz
+SRCCOPY[8]="GPL2"
+
+build8()
+{
+make version.h
+make ${JOBS} CFLAGS="${FLAGS}"
+make install-slattach install-plipconfig installdata \
+ DESTDIR="${PKG}" \
+ MANDIR="${SYS_DIR[man]}" \
+ BINDIR="${SYS_DIR[bin]}" \
+ SBINDIR="${SYS_DIR[sbin]}"
+rm -rf ${PKG}${SYS_DIR[man]}/pt_BR
+}
+
+SRCNAME[9]=iproute2
+SRCVERS[9]=3.7.0
+SRCPACK[9]=http://devresources.linuxfoundation.org/dev/${SRCNAME[9]}/download/${SRCNAME[9]}-${SRCVERS[9]}.tar.xz
+SRCCOPY[9]="GPL2"
+
+build9()
+{
+./configure
+make ${JOBS} \
+ CCOPTS="${FLAGS}" \
+ CONFDIR="${SYS_DIR[share]}/net" \
+ DATADIR="${SYS_DIR[share]}/net" \
+ LIBDIR="${SYS_DIR[lib]}/plugins"
+make install \
+ DESTDIR="${PKG}" \
+ CONFDIR="${SYS_DIR[share]}/net" \
+ DATADIR="${SYS_DIR[share]}/net" \
+ SBINDIR="${SYS_DIR[sbin]}" \
+ LIBDIR="${SYS_DIR[lib]}/plugins" \
+ MANDIR="${SYS_DIR[man]}" \
+ DOCDIR="${SYS_DIR[doc]}/${SRCNAME[9]}-${SRCVERS[9]}/extra"
+rm -rf \
+ ${PKG}${SYS_DIR[doc]}/${SRCNAME[9]}-${SRCVERS[9]}/extra
+}
diff --git a/base/tcpip/whois-5.0.20-mandir.patch.xz b/base/tcpip/whois-5.0.20-mandir.patch.xz
new file mode 100644
index 0000000..c4b064e
--- /dev/null
+++ b/base/tcpip/whois-5.0.20-mandir.patch.xz
Binary files differ
diff --git a/base/tcpip/whois-5.0.20-nomkpasswd.patch.xz b/base/tcpip/whois-5.0.20-nomkpasswd.patch.xz
new file mode 100644
index 0000000..2dd3888
--- /dev/null
+++ b/base/tcpip/whois-5.0.20-nomkpasswd.patch.xz
Binary files differ