Permalink
Browse files

FTN soft added from https://github.com/Entware/rtndev

  • Loading branch information...
ryzhovau committed Sep 26, 2017
1 parent dac4684 commit e5dae3b90028a067227b2bfafb89bc07fffbbc6c
Showing with 35,103 additions and 0 deletions.
  1. +57 −0 binkd/Makefile
  2. +60 −0 binkd/patches/010-dn_skipname.patch
  3. +53 −0 crashmail/Makefile
  4. +11 −0 crashmail/patches/010-compile-flags.patch
  5. +61 −0 fidoip/Makefile
  6. +36 −0 fidoip/files/etc/binkd.cfg
  7. +83 −0 fidoip/files/etc/fido/config
  8. +1 −0 fidoip/files/etc/fido/screenrc
  9. BIN fidoip/files/nodelist/goldnode.gxa
  10. +2 −0 fidoip/files/nodelist/goldnode.gxl
  11. BIN fidoip/files/nodelist/goldnode.gxn
  12. +839 −0 fidoip/files/nodelist/net5020.ndl
  13. +1,581 −0 fidoip/files/nodelist/pnt5020.ndl
  14. +3 −0 fidoip/files/sbin/binkd_monthly_stat.sh
  15. +3 −0 fidoip/files/sbin/binkd_weekly_stat.sh
  16. +3 −0 fidoip/files/sbin/binkd_yesterday_stat.sh
  17. +209 −0 fidoip/files/sbin/binkdstat.pl
  18. +2 −0 fidoip/files/sbin/export_arealist_to_windows.sh
  19. +33 −0 fidoip/files/sbin/fidomail
  20. +4 −0 fidoip/files/sbin/ge
  21. +2 −0 fidoip/files/sbin/gl
  22. +65 −0 fidoip/files/sbin/hpt_area.pl
  23. +3 −0 fidoip/files/sbin/hpt_info.sh
  24. +61 −0 fidoip/files/sbin/hpt_log.pl
  25. +2 −0 fidoip/files/sbin/import_arealist_from_windows.sh
  26. +4 −0 fidoip/files/sbin/linkarea_stat.sh
  27. +26 −0 fidoip/files/sbin/nodelist.sh
  28. +4 −0 fidoip/files/sbin/pack.sh
  29. +4 −0 fidoip/files/sbin/recv
  30. +2 −0 fidoip/files/sbin/save_arealist.sh
  31. +8 −0 fidoip/files/sbin/send
  32. +451 −0 fidoip/files/sbin/setup_config.bash
  33. +435 −0 fidoip/files/sbin/stat-binkd.pl
  34. +66 −0 golded-nsf/Makefile
  35. +124 −0 golded-nsf/files/gedcolor.cfg
  36. +122 −0 golded-nsf/files/golded.cfg
  37. +23 −0 golded-nsf/files/golded.cfm
  38. +108 −0 golded-nsf/files/golded.tpl
  39. +1,489 −0 golded-nsf/files/goldhelp.cfg
  40. +518 −0 golded-nsf/files/goldkeys.cfg
  41. +583 −0 golded-nsf/files/goldlang.cfg
  42. +27,639 −0 golded-nsf/patches/010-golded_fghi_v003.diff.patch
  43. +10 −0 golded-nsf/patches/020-GNUmaker-def-cross-compile.patch
  44. +8 −0 golded-nsf/patches/021-xlatcfg-perl-path.patch
  45. +59 −0 golded-plus/Makefile
  46. +58 −0 husky/Makefile
  47. +11 −0 husky/files/Makefile
  48. +37 −0 husky/patches/010-hptsqfix-no-rus-docs.patch
  49. +20 −0 husky/patches/020-areastat.patch
  50. +38 −0 husky/patches/030-huskymak.cfg.patch
  51. +11 −0 husky/patches/040-hpucode-fix-compiler-name.patch
  52. +49 −0 husky/patches/050-fidoconf-util-perl-path.patch
  53. +11 −0 husky/patches/060-smapi-linking-flags.patch
  54. +11 −0 husky/patches/070-fidoconf-config-path.patch
View
@@ -0,0 +1,57 @@
#
# Copyright (C) 2011-2015 Entware
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=binkd
PKG_VERSION:=1.1a-26
PKG_REV:=5166f892ef509d7e7eca766a7d29877bcb3bc4cb
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=https://github.com/pgul/binkd
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=$(PKG_REV)
PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/package.mk
define Package/binkd
SECTION:=net
CATEGORY:=Network
SUBMENU:=FTN
DEPENDS:=+zlib +libbz2
TITLE:=transfers files between two Fidonet systems over TCP/IP
URL:=$(PKG_SOURCE_URL)
MAINTAINER:=Entware team, entware.wl500g.info
endef
define Package/binkd/description
Binkd is a Fidonet mailer designed to operate via TCP/IP networks.
As a FTN-compatible internet daemon, it makes possible efficient utilization
of TCP/IP protocol suite as a transport layer in FTN-based networks.
endef
define Package/binkd/conffiles
/opt/etc/binkd/binkd.conf
endef
define Build/Prepare
$(call Build/Prepare/Default)
$(CP) $(PKG_BUILD_DIR)/mkfls/unix/* $(PKG_BUILD_DIR)
endef
define Package/binkd/install
$(INSTALL_DIR) $(1)/opt/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/binkd $(1)/opt/sbin/
$(INSTALL_DIR) $(1)/opt/etc
$(INSTALL_CONF) $(PKG_BUILD_DIR)/binkd.conf $(1)/opt/etc/binkd.conf
endef
$(eval $(call BuildPackage,binkd))
@@ -0,0 +1,60 @@
--- a/unix/ns_parse.c
+++ b/unix/ns_parse.c
@@ -15,6 +15,57 @@
* SOFTWARE.
*/
+#include <errno.h>
+#include <resolv.h>
+
+/* Ripped from glibc 2.4 sources. */
+
+/*
+ * * ns_name_skip(ptrptr, eom)
+ * * Advance *ptrptr to skip over the compressed name it points at.
+ * * return:
+ * * 0 on success, -1 (with errno set) on failure.
+ * */
+int ns_name_skip(const u_char **ptrptr, const u_char *eom)
+{
+ const u_char *cp;
+ u_int n;
+
+ cp = *ptrptr;
+ while (cp < eom && (n = *cp++) != 0)
+ {
+ /* Check for indirection. */
+ switch (n & NS_CMPRSFLGS) {
+ case 0: /* normal case, n == len */
+ cp += n;
+ continue;
+ case NS_CMPRSFLGS: /* indirection */
+ cp++;
+ break;
+ default: /* illegal type */
+ errno = EMSGSIZE;
+ return (-1);
+ }
+ break;
+ }
+ if (cp > eom)
+ {
+ errno = EMSGSIZE;
+ return (-1);
+ }
+ *ptrptr = cp;
+ return (0);
+}
+
+int dn_skipname(const u_char *ptr, const u_char *eom)
+{
+ const u_char *saveptr = ptr;
+
+ if(ns_name_skip(&ptr, eom) == -1)
+ return (-1);
+ return (ptr - saveptr);
+}
+
#ifndef lint
static const char rcsid[] = "Id: ns_parse.c,v 8.13 1999/10/13 16:39:35 vixie Exp";
#endif
View
@@ -0,0 +1,53 @@
#
# Copyright (C) 2011-2015 Entware
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Original Makefile taken from https://sites.google.com/site/fidonetbe/home/software/binkdopenwrt
#
include $(TOPDIR)/rules.mk
PKG_NAME:=crashmail
PKG_VERSION:=0.88
PKG_RELEASE:=1
PKG_REV:=26e5374710c7868dab3d834be14bf4041041aae5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/larsks/crashmail
PKG_SOURCE_VERSION:=$(PKG_REV)
include $(INCLUDE_DIR)/package.mk
define Package/crashmail
SECTION:=net
CATEGORY:=Network
SUBMENU:=FTN
TITLE:=CrashMail II
URL:=$(PKG_SOURCE_URL)
MAINTAINER:=Entware team, entware.wl500g.info
endef
define Package/crashmail/description
CrashMail II is basically a more portable version of CrashMail,
a FidoNet tosser for Amiga computers.
endef
TARGET_CPPFLAGS += \
-I$(PKG_BUILD_DIR) \
MAKE_FLAGS += \
AR="$(TARGET_CROSS)ar -ru" \
define Package/crashmail/install
$(INSTALL_DIR) $(1)/opt/bin
$(INSTALL_BIN) \
$(PKG_BUILD_DIR)/crashmail/crashmail \
$(PKG_BUILD_DIR)/tools/crash{export,getnode,list,listout,maint,stats,write} \
$(1)/opt/bin
endef
$(eval $(call BuildPackage,crashmail))
@@ -0,0 +1,11 @@
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -3,6 +3,6 @@
STRIP = strip
INSTALL = install
-CPPFLAGS = -DPLATFORM_LINUX -D__LINUX__ -I$(PWD) $(OPTCPPFLAGS)
-CFLAGS = -Wall -Werror
+CPPFLAGS += -DPLATFORM_LINUX -D__LINUX__ -I$(PWD)
+CFLAGS += -Wall
View
@@ -0,0 +1,61 @@
#
# Copyright (C) 2011-2015 Entware
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=fidoip
PKG_VERSION:=1.0.5_3
PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk
define Package/fidoip
SECTION:=net
CATEGORY:=Network
SUBMENU:=FTN
DEPENDS:=+binkd +husky +golded-nsf +zip +unzip +bash
TITLE:=Complete Fidonet software suite
URL:=http://sourceforge.net/projects/fidoip
MAINTAINER:=Entware team, entware.wl500g.info
endef
define Package/fidoip/description
Fidoip is a complete Fidonet software suite with all necessery script and
configuration files. It\'s intended to be use well both in IP-point or in
IP-node mode.
endef
define Package/fidoip/conffiles
/opt/etc/fido/config
/opt/etc/binkd.cfg
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/fidoip/postinst
#!/bin/sh
echo "Just type setup_config.bash to set up IP-point settings."
echo "Use send/recv scripts to send or receive fidomail and"
echo "gl/ge scripts to run GoldED in UTF8 or KOI8 locales."
endef
define Package/fidoip/install
$(INSTALL_DIR) $(1)/opt/sbin
$(INSTALL_BIN) ./files/sbin/* $(1)/opt/sbin/
$(INSTALL_DIR) $(1)/opt/etc
$(CP) ./files/etc/* $(1)/opt/etc
$(INSTALL_DIR) $(1)/opt/var/fido/{2uplink,announce,badarea,carbonarea,fghigetdir,filebox,flags,inbound,localinb,magic,msgbasedir,netmailarea,nodelist,outbound,outfile,protinb,public,tempinb,tempoutb,uudecode}
$(INSTALL_DATA) ./files/nodelist/* $(1)/opt/var/fido/nodelist
touch $(1)/opt/var/fido/{binkd,echotoss,golded,hpt,htick,import,sqpack}.log
endef
$(eval $(call BuildPackage,fidoip))
View
@@ -0,0 +1,36 @@
#---/opt/etc/binkd.cfg---
domain fidonet /opt/var/fido/outbound 2
domain fido alias-for fidonet
domain fidonet.org alias-for fidonet
address 2:5020/828.555@fidonet
sysname "Falcon"
location "Moscow"
sysop "Kirill_Temnenkov"
nodeinfo 115200,TCP,BINKP
call-delay 20
rescan-delay 5
try 3
hold 5
send-if-pwd
log /opt/var/fido/binkd.log
loglevel 4
conlog 4
percents
printq
pid-file /opt/var/run/binkd/binkd.pid
inbound /opt/var/fido/protinb
inbound-nonsecure /opt/var/fido/inbound
temp-inbound /opt/var/fido/tempinb
minfree 2048
minfree-nonsecure 2048
kill-dup-partial-files
kill-old-partial-files 86400
kill-old-bsy 43200
filebox /opt/var/fido/filebox
brakebox /opt/var/fido/badarea
prescan
overwrite net_*.*
node 2:5020/828 temnenkov.dyndns.org 12345678 c /opt/var/fido/2uplink
defnode -nr *
@@ -0,0 +1,83 @@
#---/opt/etc/fido/config---
Name Vasiliy Pampasov
Location Moscow
Sysop Vasiliy Pampasov
LogLevels 123456789
Address 2:5020/828.555
Unpack "/opt/bin/unzip -j -Loqq $a -d $p" 0 504b0304
Pack zip zip -9 -j -q $a $f
Link Kirill Temnenkov
Aka 2:5020/828
OurAka 2:5020/828.555
Password 12345678
allowEmptyPktPwd on
#AutoAreaCreate on
#AutoAreaCreateDefaults -g F -p 14 -dupeCheck move -dupeHistory 11
#AutoFileCreate on
Packer zip
accessgrp F
Route normal 2:5020/828.0 1:* 2:* 3:* 4:* 5:*
inbound /opt/var/fido/inbound
ProtInbound /opt/var/fido/protinb
Localinbound /opt/var/fido/localinb
Outbound /opt/var/fido/outbound
tempOutbound /opt/var/fido/tempoutb
tempInbound /opt/var/fido/tempinb
MsgBaseDir /opt/var/fido/msgbasedir
FileAreaBaseDir /opt/var/fido/filebox
PassFileAreaDir /opt/var/fido/filebox
logFileDir /opt/var/fido/
DupeHistoryDir /opt/var/fido/msgbasedir
NetmailArea Netmail /opt/var/fido/netmailarea -b msg
BadArea bad /opt/var/fido/badarea -b Squish
LocalArea carbonArea /opt/var/fido/carbonarea -b Squish
CarbonTo Vasiliy Pampasov
CarbonCopy carbonArea
echotosslog /opt/var/fido/echotoss.log
importlog /opt/var/fido/import.log
LinkWithImportLog kill
DupeArea dupes /opt/var/fido/dupearea -b Squish
EchoArea 828.local /opt/var/fido/msgbasedir/828.local -b Squish -g F -p 14 -dupeCheck move -dupeHistory 11 2:5020/828
EchoArea ru.echolist /opt/var/fido/msgbasedir/ru.echolist -b Squish -g F -p 14 -dupeCheck move -dupeHistory 11 2:5020/828
EchoArea ru.unix.bsd /opt/var/fido/msgbasedir/ru.unix.bsd -b Squish -g F -p 14 -dupeCheck move -dupeHistory 11 2:5020/828
EchoArea ru.linux /opt/var/fido/msgbasedir/ru.linux -b Squish -g F -p 14 -dupeCheck move -dupeHistory 11 2:5020/828
EchoArea ru.linux.chainik /opt/var/fido/msgbasedir/ru.linux.chainik -b Squish -g F -p 14 -dupeCheck move -dupeHistory 11 2:5020/828
dupebasetype HashDupes
areasmaxdupeage 20
forwardRequests on
NodelistDir /opt/var/fido/nodelist
NodeList nodelist
magic /opt/var/fido/magic
public /opt/var/fido/public
screenLogLevels 0
if "[module]"=="htick"
AnnounceSpool /opt/var/fido/announce
FileFixFromName FileFix
ConvertLongNames DontTouch
FileDescName file_id.diz
FileAreaCreatePerms 0755
FileDescPos 13
AnnAreaTag NetmailArea
AnnInclude *
AnnTo Vasiliy Pampasov
AnnFrom HTick Robot
AnnSubj New files!
AnnAddrFrom 2:5020/828.555
AnnAddrTo 2:5020/828.555
AnnOrigin ��������� ����� htick
endif
LogEchoToScreen
# User's settings
# User's areas generated by hpt
@@ -0,0 +1 @@
defencoding KOI8-R
View
Binary file not shown.
@@ -0,0 +1,2 @@
/opt/var/fido/nodelist/net5020.ndl 991196869
/opt/var/fido/nodelist/pnt5020.ndl 991196869
View
Binary file not shown.
Oops, something went wrong.

0 comments on commit e5dae3b

Please sign in to comment.