summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-26 20:20:53 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-26 20:20:53 +0000
commitfe6c6591701a49490a2bc7e113a849150a9f4957 (patch)
treeb6b3ed0500d128db7a2b05e81dcdca0cab5afa03 /net
parentInitial import of radreport version 1.3. (diff)
Initial import of gtic version 1.3b.
The GNU file forwarder (FSC-0087) for fidonet-like networks. PR: 14498 Submitted by: Denis Shaposhnikov <dsh@vlink.ru>
Notes
Notes: svn path=/head/; revision=23397
Diffstat (limited to 'net')
-rw-r--r--net/gtic/Makefile24
-rw-r--r--net/gtic/distinfo1
-rw-r--r--net/gtic/files/patch-aa24
-rw-r--r--net/gtic/files/patch-ab11
-rw-r--r--net/gtic/files/patch-ac11
-rw-r--r--net/gtic/files/patch-ad12
-rw-r--r--net/gtic/files/patch-ae12
-rw-r--r--net/gtic/pkg-comment1
-rw-r--r--net/gtic/pkg-descr4
-rw-r--r--net/gtic/pkg-plist8
10 files changed, 108 insertions, 0 deletions
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 <dsh@vlink.ru>
+#
+# $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 <bsd.port.mk>
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