Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2000 20:40:43 +0300 (MSK)
From:      dsh@wizard.vlink.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16989: new FreeBSD port for qico-0.45pre3
Message-ID:  <20000225174043.024DF3C126@wizard.vlink.ru>

next in thread | raw e-mail | index | archive | help

>Number:         16989
>Category:       ports
>Synopsis:       new FreeBSD port for qico-0.45pre3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 25 10:10:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Denis Shaposhnikov
>Release:        FreeBSD 3.4-RELEASE i386
>Organization:
>Environment:

>Description:

Please, close PR ports/16103.

Qico is an FidoNet Technology Network (FTN) compatible mailer for Unix systems.
It has slightly different architecture than ifcico.

Features:

  * Support for EMSI, ZModem, ZedZap, Hydra
  * Support for 4D Binkley-style, Amiga-style outbound, fileboxes
  * Daemon mode for outgoing calls
  * Substs with support for hidden-lines
  * Support for session time limit
  * Support for minimum connect speed limit

and so on.

WWW: http://www.ruxy.org.ru/~aaz

-- Denis Shaposhnikov
dsh@vlink.ru

>How-To-Repeat:

>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	qico/
#	qico/pkg
#	qico/pkg/PLIST
#	qico/pkg/COMMENT
#	qico/pkg/DESCR
#	qico/files
#	qico/files/md5
#	qico/patches
#	qico/patches/patch-ae
#	qico/patches/patch-ab
#	qico/patches/patch-ac
#	qico/patches/patch-ai
#	qico/patches/patch-ag
#	qico/patches/patch-ah
#	qico/patches/patch-aa
#	qico/Makefile
#
echo c - qico/
mkdir -p qico/ > /dev/null 2>&1
echo c - qico/pkg
mkdir -p qico/pkg > /dev/null 2>&1
echo x - qico/pkg/PLIST
sed 's/^X//' >qico/pkg/PLIST << 'END-of-qico/pkg/PLIST'
Xetc/qico.conf.sample
Xlibexec/qico
Xshare/doc/qico/FAQ.ru
Xshare/doc/qico/README.ru
END-of-qico/pkg/PLIST
echo x - qico/pkg/COMMENT
sed 's/^X//' >qico/pkg/COMMENT << 'END-of-qico/pkg/COMMENT'
XQico is an FidoNet Technology Network (FTN) compatible mailer for Unix systems.
END-of-qico/pkg/COMMENT
echo x - qico/pkg/DESCR
sed 's/^X//' >qico/pkg/DESCR << 'END-of-qico/pkg/DESCR'
XQico is an FidoNet Technology Network (FTN) compatible mailer for Unix systems.
XIt has slightly different architecture than ifcico.
X
XFeatures:
X
X  * Support for EMSI, ZModem, ZedZap, Hydra
X  * Support for 4D Binkley-style, Amiga-style outbound, fileboxes
X  * Daemon mode for outgoing calls
X  * Substs with support for hidden-lines
X  * Support for session time limit
X  * Support for minimum connect speed limit
X
Xand so on.
X
XWWW: http://www.ruxy.org.ru/~aaz
X
X-- Denis Shaposhnikov
Xdsh@vlink.ru
END-of-qico/pkg/DESCR
echo c - qico/files
mkdir -p qico/files > /dev/null 2>&1
echo x - qico/files/md5
sed 's/^X//' >qico/files/md5 << 'END-of-qico/files/md5'
XMD5 (qico-0.45pre3.tar.gz) = 4362b8ed03d44c57e90c52cf4244098b
END-of-qico/files/md5
echo c - qico/patches
mkdir -p qico/patches > /dev/null 2>&1
echo x - qico/patches/patch-ae
sed 's/^X//' >qico/patches/patch-ae << 'END-of-qico/patches/patch-ae'
X--- src/main.c.orig	Sun Feb  6 10:47:47 2000
X+++ src/main.c	Sun Feb  6 11:10:39 2000
X@@ -433,7 +433,9 @@
X 	slist_t *sl=NULL, *l;
X 	sts_t sts;
X 
X+#ifndef FREEBSD_PROCTITLE
X 	setargspace(argv,envp);
X+#endif
X  	setlocale(LC_ALL, "");	 
X 
X 	while((c=getopt(argc, argv, "hI:da:qni:s:rpz:x:fkR"))!=EOF) {
END-of-qico/patches/patch-ae
echo x - qico/patches/patch-ab
sed 's/^X//' >qico/patches/patch-ab << 'END-of-qico/patches/patch-ab'
X--- Makefile.orig	Sun Feb  6 10:47:47 2000
X+++ Makefile	Sun Feb  6 11:01:10 2000
X@@ -5,8 +5,6 @@
X 
X DIRS    = src
X 
X-CC 	= gcc
X-AWK	= awk
X INSTALL = install
X 
X DIST    = qico-$(VERSION).tar.gz
END-of-qico/patches/patch-ab
echo x - qico/patches/patch-ac
sed 's/^X//' >qico/patches/patch-ac << 'END-of-qico/patches/patch-ac'
X--- src/Makefile.orig	Sun Feb  6 10:47:47 2000
X+++ src/Makefile	Sun Feb  6 11:03:55 2000
X@@ -14,15 +14,15 @@
X #DEFS   += -DY_DEBUG -DYYERROR_VERBOSE=1 -DYYDEBUG=100
X 
X DEFS    += -DSHELL=\"$(SHELL)\" -DCONFIG=\"$(CONF)\"
X-CFLAGS	= $(DEFS) -Wall -m486 -O2 -D_GNU_SOURCE=1 -D_BSD_SOURCE=1
X+CFLAGS	+= $(DEFS)
X ifeq (1,$(STRIP))
X IFLAGS  = -s
X else
X-LFLAGS  += -g
X-CFLAGS  += -g
X+LFLAGS  += # -g
X+CFLAGS  += # -g
X endif
X #DLIBS   = -lccmalloc -ldl
X-LIBS   +=
X+LIBS   += -lutil
X QCLIBS  = -L/usr/local/lib -lncurses
X 
X OBJS	= ftn.o nodelist.o main.o config.o bso.o log.o ver.o queue.o qconf.o \
END-of-qico/patches/patch-ac
echo x - qico/patches/patch-ai
sed 's/^X//' >qico/patches/patch-ai << 'END-of-qico/patches/patch-ai'
X--- src/qipc.c.orig	Sun Feb  6 10:47:47 2000
X+++ src/qipc.c	Sun Feb  6 11:19:54 2000
X@@ -90,18 +90,6 @@
X 	qsendpkt(QC_SLINE, QLNAME, lin, strlen(lin)+1);
X }
X 
X-void title(char *str, ...)
X-{
X-	va_list args;
X-	char lin[MAX_STRING];
X-	
X-	va_start(args, str);
X-	vsprintf(lin, str, args);
X-	va_end(args);
X-	qsendpkt(QC_TITLE, QLNAME, lin, strlen(lin)+1);
X-	setproctitle(lin);
X-}
X-
X void vidle()
X {
X 	qsendpkt(QC_LIDLE, QLNAME, "", 0); 
X@@ -170,7 +158,6 @@
X void vlogs(char *str) {}	
X void vlog(char *str, ...) {}	
X void sline(char *str, ...) {}	
X-void title(char *str, ...) {}	
X void vidle() {}	
X void qsendpkt(char *what, char *line, char *buff, int len) {}	
X void qereset() {}	
X@@ -181,3 +168,19 @@
X void qpqueue(ftnaddr_t *a, int mail, int files, int try, int flags) {}
X 
X #endif
X+
X+void title(char *str, ...)
X+{
X+	va_list args;
X+	char lin[MAX_STRING];
X+	
X+	va_start(args, str);
X+	vsprintf(lin, str, args);
X+	va_end(args);
X+	qsendpkt(QC_TITLE, QLNAME, lin, strlen(lin)+1);
X+#ifdef FREEBSD_PROCTITLE
X+	setproctitle("%s", lin);
X+#else
X+	setproctitle(lin);
X+#endif
X+}
END-of-qico/patches/patch-ai
echo x - qico/patches/patch-ag
sed 's/^X//' >qico/patches/patch-ag << 'END-of-qico/patches/patch-ag'
X--- src/ftn.c.orig	Sun Feb  6 10:47:47 2000
X+++ src/ftn.c	Sun Feb  6 11:15:44 2000
X@@ -423,7 +423,7 @@
X 	while (p < cmdstrend) *p++ = ' ';
X }
X 
X-#else
X+#elif !defined(FREEBSD_PROCTITLE)
X 
X void setargspace(char **argv, char **envp){}
X void setproctitle(char *str){}
END-of-qico/patches/patch-ag
echo x - qico/patches/patch-ah
sed 's/^X//' >qico/patches/patch-ah << 'END-of-qico/patches/patch-ah'
X--- src/ftn.h.orig	Sun Feb  6 10:47:47 2000
X+++ src/ftn.h	Sun Feb  6 11:18:41 2000
X@@ -215,8 +215,10 @@
X extern char *engms[];
X extern FILE *openpktmsg(ftnaddr_t *fa, ftnaddr_t *ta, char *from, char *to, char *subj, char *pwd, char *fn);
X extern void closepkt(FILE *f, ftnaddr_t *fa, char *tear, char *orig);
X+#ifndef FREEBSD_PROCTITLE
X extern void setargspace(char **argv, char **envp);
X extern void setproctitle(char *str);
X+#endif
X extern char *xstrcpy(char **to, char *from);
X extern char *xstrncpy(char **to, char *from, int n);
X extern char *xstrcat(char **to, char *from);
END-of-qico/patches/patch-ah
echo x - qico/patches/patch-aa
sed 's/^X//' >qico/patches/patch-aa << 'END-of-qico/patches/patch-aa'
X--- CONFIG.orig	Sun Feb  6 10:47:47 2000
X+++ CONFIG	Sun Feb  6 10:58:48 2000
X@@ -6,7 +6,7 @@
X BINDIR  = /usr/local/bin
X 
X # default config (can be overridden with -I) 
X-CONF    = /etc/ftn/qico.conf
X+CONF    = ${PREFIX}/etc/qico.conf
X # non-binary file permissions
X PERM    = 00600
X 
X@@ -19,10 +19,10 @@
X #############################################################################
X 
X # qcc features (for building this you must have ncurses-4.2+) 
X-MORDA	 = 1
X+#MORDA	 = 1
X 
X # lock dir
X-DEFS    += -DLOCK_DIR=\"/var/lock\" 
X+DEFS    += -DLOCK_DIR=\"/var/spool/lock\"
X 
X # communication socket
X DEFS    += -DQIPC_SOCKET=\"/tmp/qlog\"
X@@ -34,7 +34,7 @@
X DEFS    += -DSTS_EXT=\"qst\"
X 
X # enable process title (you can see it in ps(1) output)
X-DEFS    += -DPROCTITLE
X+DEFS    += -DFREEBSD_PROCTITLE
X 
X # use amiga-style outbound instead of binkley-style
X #DEFS   += -DAMIGA4D
X@@ -51,9 +51,6 @@
X ### OS depended settings #####################################################
X ##############################################################################
X 
X-SHELL   = /bin/sh
X-CC      = gcc
X-AWK     = awk
X INSTALL = install
X LEX     = lex
X #YACC    = bison -y
END-of-qico/patches/patch-aa
echo x - qico/Makefile
sed 's/^X//' >qico/Makefile << 'END-of-qico/Makefile'
X# New ports collection makefile for:	qico
X# Version required:	0.45pre3
X# Date created:		13 Jan 2000
X# Whom:			Denis Shaposhnikov <dsh@vlink.ru>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	qico-0.45pre3
XPKGNAME=	qico-0.45.3
XCATEGORIES=	comms
XMASTER_SITES=	http://www.ruxy.org.ru/~aaz/qico/ \
X		http://www.friendsnet.spb.ru/~aaz/ \
X		http://dtu.tsu.ru/~aaz/
X
XMAINTAINER=	dsh@vlink.ru
X
XUSE_GMAKE=	yes
XMAKE_ENV+=	SH=${SH} AWK=${AWK}
X
Xdo-install:
X	${INSTALL_DATA} ${WRKSRC}/qico.conf ${PREFIX}/etc/qico.conf.sample
X	${INSTALL_PROGRAM} ${WRKSRC}/src/qico ${PREFIX}/libexec
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/qico
X	${INSTALL_MAN} ${WRKSRC}/FAQ ${PREFIX}/share/doc/qico/FAQ.ru
X	${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/qico/README.ru
X.endif
X
X.include <bsd.port.mk>
END-of-qico/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000225174043.024DF3C126>