Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=db2d95796e6f0ee36cf6b7e25c320bc8f7344069

commit db2d95796e6f0ee36cf6b7e25c320bc8f7344069
Author: Marius Cirsta <[email protected]>
Date:   Mon Nov 16 11:10:08 2015 +0200

Revert "netkit-telnet-0.17-7-x86_64 - removed - orphaned package -> [ Zsolt 
Szalai ]"

This reverts commit c5b3fbae7128430339c5b4aab5055ca3ff77a394.

We still need some netkit stuff like telnet

diff --git a/source/network/netkit-telnet/FrugalBuild 
b/source/network/netkit-telnet/FrugalBuild
new file mode 100644
index 0000000..660d87e
--- /dev/null
+++ b/source/network/netkit-telnet/FrugalBuild
@@ -0,0 +1,32 @@
+# Compiling Time: 0.08 SBU
+# Contributor: Miklos Vajna <[email protected]>
+# Maintainer: Zsolt Szalai <[email protected]>
+
+pkgname=netkit-telnet
+pkgver=0.17
+pkgrel=7
+pkgdesc="Basic network tools, fixed and ported from BSD code."
+url="ftp://ftp.linux.org.uk/pub/linux/Networking/netkit";
+groups=('network')
+archs=('i686' 'x86_64' 'arm')
+depends=('rpcbind' 'ncurses')
+up2date="Flasttar $url"
+source=($url/$pkgname-$pkgver.tar.gz \
+       # we use Debian's patch as it fixes several security problems
+       
http://ftp.debian.org/debian/pool/main/n/netkit-telnet/${pkgname}_$pkgver-36.diff.gz
 \
+       $pkgname-$pkgver-gcc34.diff)
+sha1sums=('41213dedaf242126b54a3ac51b905a351eb22b15' \
+          'a12b757186439b1599b171f86b4f56cd5cce7fbf' \
+          '9e44125585ada2b3d23f1540eeaa7efcf8f63bbe')
+
+# if you don't have a telnetd group, check out your /etc/group.pacnew!
+
+build()
+{
+       Fmkdir /usr/{bin,sbin} /usr/man/man{1,5,8}
+       Fpatchall
+       Fmake
+       Fmakeinstall INSTALLROOT=$Fdestdir
+}
+
+# optimization OK
diff --git a/source/network/netkit-telnet/netkit-telnet-0.17-gcc34.diff 
b/source/network/netkit-telnet/netkit-telnet-0.17-gcc34.diff
new file mode 100644
index 0000000..0fd38d9
--- /dev/null
+++ b/source/network/netkit-telnet/netkit-telnet-0.17-gcc34.diff
@@ -0,0 +1,24 @@
+diff -Naur netkit-telnet-0.17.orig/telnet/Makefile 
netkit-telnet-0.17/telnet/Makefile
+--- netkit-telnet-0.17.orig/telnet/Makefile    2005-09-04 12:36:58.000000000 
+0200
++++ netkit-telnet-0.17/telnet/Makefile 2005-09-04 12:37:35.000000000 +0200
+@@ -6,7 +6,7 @@
+ #CXXFLAGS:=$(patsubst -O2, -g, $(CXXFLAGS))
+
+ # -DAUTHENTICATE
+-CXXFLAGS += -DUSE_TERMIO -DKLUDGELINEMODE
++CXXFLAGS += -DUSE_TERMIO -DKLUDGELINEMODE -D_GNU_SOURCE
+ LIBS = $(LIBTERMCAP)
+
+ SRCS = commands.cc main.cc network.cc ring.cc sys_bsd.cc telnet.cc \
+diff -Naur netkit-telnet-0.17.orig/telnetd/Makefile 
netkit-telnet-0.17/telnetd/Makefile
+--- netkit-telnet-0.17.orig/telnetd/Makefile   2005-09-04 12:36:58.000000000 
+0200
++++ netkit-telnet-0.17/telnetd/Makefile        2005-09-04 12:38:37.000000000 
+0200
+@@ -10,7 +10,7 @@
+
+ CFLAGS += '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS \
+          -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS \
+-         -DLOGIN_WRAPPER=\"/usr/lib/telnetlogin\"
++         -DLOGIN_WRAPPER=\"/usr/lib/telnetlogin\" -D_GNU_SOURCE
+ # LIBS += $(LIBTERMCAP)
+
+ OBJS = telnetd.o state.o termstat.o slc.o sys_term.o utility.o \
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to