From fe6c6591701a49490a2bc7e113a849150a9f4957 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Fri, 26 Nov 1999 20:20:53 +0000 Subject: Initial import of gtic version 1.3b. The GNU file forwarder (FSC-0087) for fidonet-like networks. PR: 14498 Submitted by: Denis Shaposhnikov --- net/gtic/Makefile | 24 ++++++++++++++++++++++++ net/gtic/distinfo | 1 + net/gtic/files/patch-aa | 24 ++++++++++++++++++++++++ net/gtic/files/patch-ab | 11 +++++++++++ net/gtic/files/patch-ac | 11 +++++++++++ net/gtic/files/patch-ad | 12 ++++++++++++ net/gtic/files/patch-ae | 12 ++++++++++++ net/gtic/pkg-comment | 1 + net/gtic/pkg-descr | 4 ++++ net/gtic/pkg-plist | 8 ++++++++ 10 files changed, 108 insertions(+) create mode 100644 net/gtic/Makefile create mode 100644 net/gtic/distinfo create mode 100644 net/gtic/files/patch-aa create mode 100644 net/gtic/files/patch-ab create mode 100644 net/gtic/files/patch-ac create mode 100644 net/gtic/files/patch-ad create mode 100644 net/gtic/files/patch-ae create mode 100644 net/gtic/pkg-comment create mode 100644 net/gtic/pkg-descr create mode 100644 net/gtic/pkg-plist (limited to 'net/gtic') diff --git a/net/gtic/Makefile b/net/gtic/Makefile new file mode 100644 index 000000000000..82e26dd68608 --- /dev/null +++ b/net/gtic/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: gtic +# Version required: 1.3b +# Date created: 22 August 1999 +# Whom: Denis Shaposhnikov +# +# $Id$ +# + +DISTNAME= gtic-1.3b +CATEGORIES= net +MASTER_SITES= ftp://ftp.cracksoft.kiev.ua/pub/linux/gtic/ \ + ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= system/fido + +MAINTAINER= dsh@vlink.ru + +do-install: + ${MKDIR} ${PREFIX}/etc/gtic +.for i in areagroups areas config domains help users + ${INSTALL_DATA} ${WRKSRC}/etc/${i} ${PREFIX}/etc/gtic/${i}.sample +.endfor + ${INSTALL_PROGRAM} ${WRKSRC}/src/gtic ${PREFIX}/sbin/ + +.include diff --git a/net/gtic/distinfo b/net/gtic/distinfo new file mode 100644 index 000000000000..f629ab5ae144 --- /dev/null +++ b/net/gtic/distinfo @@ -0,0 +1 @@ +MD5 (gtic-1.3b.tar.gz) = 9159003f6e370c94ba755b04b08ba9e3 diff --git a/net/gtic/files/patch-aa b/net/gtic/files/patch-aa new file mode 100644 index 000000000000..09698e046650 --- /dev/null +++ b/net/gtic/files/patch-aa @@ -0,0 +1,24 @@ +--- CONFIG.orig Mon Jul 6 16:09:40 1998 ++++ CONFIG Sun Aug 22 14:40:57 1999 +@@ -2,7 +2,7 @@ + VERSION = "1.3b" + + # Main configuration file. +-CONFIG = "/etc/gtic/config" ++CONFIG = "${PREFIX}/etc/gtic/config" + + # Path to other configuration files (also see default config file). + CONFIGDIR = "/etc/gtic" +@@ -15,10 +15,10 @@ + GROUP = gtic + + # Name of C compiler. +-CC = gcc ++#CC = gcc + + # Compiler flags. +-CFLAGS=-Wall -g ++#CFLAGS=-Wall -g + + # Defines for gtic's sources use. + DEFINES = ${OPTS} -DCONFIG=\"${CONFIG}\" -DVERSION=\"${VERSION}\" diff --git a/net/gtic/files/patch-ab b/net/gtic/files/patch-ab new file mode 100644 index 000000000000..0265e10170ba --- /dev/null +++ b/net/gtic/files/patch-ab @@ -0,0 +1,11 @@ +--- src/tic.c.orig Mon Jul 6 15:39:46 1998 ++++ src/tic.c Sun Sep 12 15:38:14 1999 +@@ -227,7 +227,7 @@ + else if(!strcasecmp(buff,"ReceiptRequest")) continue; /* skip by FSC-0087 */ + else + { +- e_printf("readtic: %s(%d) - %s[%s] - keyword unknown - ignored", ++ l_printf("readtic: %s(%d) - %s[%s] - keyword unknown - ignored", + tlist->name,linecnt,buff,v); + continue; + } diff --git a/net/gtic/files/patch-ac b/net/gtic/files/patch-ac new file mode 100644 index 000000000000..68f57888d12b --- /dev/null +++ b/net/gtic/files/patch-ac @@ -0,0 +1,11 @@ +--- src/toss.c.orig Mon Jul 6 16:04:30 1998 ++++ src/toss.c Sun Sep 12 15:41:01 1999 +@@ -873,7 +873,7 @@ + + if(announce_f) + { +- fprintf(announce_f,"AREA: %-15s FILE: %s\n",curarea->name,cur->file); ++ fprintf(announce_f,">AREA: %-15s FILE: %s\n",curarea->name,cur->file); + if(pub_path && pub_url && + strlen(curarea->path)>=strlen(pub_path) && + strncmp(curarea->path,pub_path,strlen(pub_path))==0) diff --git a/net/gtic/files/patch-ad b/net/gtic/files/patch-ad new file mode 100644 index 000000000000..8c8c2ecec80f --- /dev/null +++ b/net/gtic/files/patch-ad @@ -0,0 +1,12 @@ +--- src/areas.c.orig Sun Oct 24 20:16:14 1999 ++++ src/areas.c Sun Oct 24 20:19:15 1999 +@@ -305,9 +305,6 @@ + + /* make a backup copy of areas_file */ + strcpy(new_path,areas_file); +- if(strchr(new_path,'.')) +- strcpy(strrchr(new_path,'.'),".bak"); +- else + strcat(new_path,".bak"); + if(rename(areas_file,new_path)) + l_printf("Warning: unable to move %s to %s",areas_file,new_path); diff --git a/net/gtic/files/patch-ae b/net/gtic/files/patch-ae new file mode 100644 index 000000000000..5681ad8946fc --- /dev/null +++ b/net/gtic/files/patch-ae @@ -0,0 +1,12 @@ +--- src/users.c.orig Sun Oct 24 20:19:46 1999 ++++ src/users.c Sun Oct 24 20:20:10 1999 +@@ -125,9 +125,6 @@ + + /* make a backup copy of users_file */ + strcpy(new_path,users_file); +- if(strchr(new_path,'.')) +- strcpy(strrchr(new_path,'.'),".bak"); +- else + strcat(new_path,".bak"); + if(rename(users_file,new_path)) + l_printf("Warning: unable to move %s to %s",users_file,new_path); diff --git a/net/gtic/pkg-comment b/net/gtic/pkg-comment new file mode 100644 index 000000000000..cfc5adfd9375 --- /dev/null +++ b/net/gtic/pkg-comment @@ -0,0 +1 @@ +The GNU file forwarder (FSC-0087) for fidonet-like networks diff --git a/net/gtic/pkg-descr b/net/gtic/pkg-descr new file mode 100644 index 000000000000..5e9b9186668a --- /dev/null +++ b/net/gtic/pkg-descr @@ -0,0 +1,4 @@ +The GNU file forwarder (FSC-0087) for fidonet-like networks. + +-- Denis Shaposhnikov +dsh@vlink.ru diff --git a/net/gtic/pkg-plist b/net/gtic/pkg-plist new file mode 100644 index 000000000000..66a72110791b --- /dev/null +++ b/net/gtic/pkg-plist @@ -0,0 +1,8 @@ +etc/gtic/areagroups.sample +etc/gtic/areas.sample +etc/gtic/config.sample +etc/gtic/domains.sample +etc/gtic/help.sample +etc/gtic/users.sample +sbin/gtic +@dirrm etc/gtic -- cgit v1.2.3