Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2000 09:38:19 +0400 (MSD)
From:      dsh@vlink.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/20081: new FreeBSD port for qico-0.46
Message-ID:  <20000721053819.4F0909BB95@neva.vlink.ru>

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

>Number:         20081
>Category:       ports
>Synopsis:       new FreeBSD port for qico-0.46
>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:   Thu Jul 20 22:40:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Denis Shaposhnikov
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

>Description:

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.

>How-To-Repeat:

# 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-ac
#	qico/patches/patch-aa
#	qico/patches/patch-ad
#	qico/patches/patch-ae
#	qico/patches/patch-ab
#	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
Xbin/qcc
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.
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.46.0.tar.gz) = 7314feacbdb4371eb01a72fae593495d
END-of-qico/files/md5
echo c - qico/patches
mkdir -p qico/patches > /dev/null 2>&1
echo x - qico/patches/patch-ac
sed 's/^X//' >qico/patches/patch-ac << 'END-of-qico/patches/patch-ac'
X--- src/Makefile.orig	Tue Jul 18 18:41:42 2000
X+++ src/Makefile	Thu Jul 20 19:53:44 2000
X@@ -3,7 +3,7 @@
X #
X include	../CONFIG
X 
X-STRIP=0
X+STRIP=1
X #DEFS   += -DEMSI_LOG # log emsi in /tmp/emsi.log
X #DEFS   += -DH_DEBUG # Hydra
X #DEFS   += -DZ_DEBUG # ZModem
X@@ -14,7 +14,7 @@
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 -I/usr/local/include
X+CFLAGS	+= $(DEFS)
X ifeq (1,$(STRIP))
X IFLAGS  = -s
X else
END-of-qico/patches/patch-ac
echo x - qico/patches/patch-aa
sed 's/^X//' >qico/patches/patch-aa << 'END-of-qico/patches/patch-aa'
X--- CONFIG.orig	Tue Jul 18 18:41:42 2000
X+++ CONFIG	Thu Jul 20 19:49:34 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@@ -22,11 +22,11 @@
X MORDA	 = 1
X 
X # Please, set it under FreeBSD
X-#FREE_BSD=1
X+FREE_BSD=1
X 
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@@ -55,13 +55,13 @@
X ### OS depended settings #####################################################
X ##############################################################################
X 
X-SHELL   = /bin/sh
X-CC      = gcc
X-AWK     = awk
X-INSTALL = install
X-LEX     = lex
X+SHELL   ?= /bin/sh
X+CC      ?= gcc
X+AWK     ?= awk
X+INSTALL ?= install
X+LEX     ?= lex
X #YACC    = bison -y
X-YACC    = yacc
X+YACC    ?= yacc
X 
X # required for linux glibc2 systems
X #LIBS=-lresolv
END-of-qico/patches/patch-aa
echo x - qico/patches/patch-ad
sed 's/^X//' >qico/patches/patch-ad << 'END-of-qico/patches/patch-ad'
X--- src/qcc.c.orig	Tue Jul 18 18:41:42 2000
X+++ src/qcc.c	Thu Jul 20 20:25:28 2000
X@@ -16,8 +16,8 @@
X #include <sys/ioctl.h>
X #include <time.h>
X #include <signal.h>
X-#ifdef FREE_BSD
X- #include <ncurses/curses.h>
X+#if defined __FreeBSD__ && __FreeBSD__ < 4
X+ #include <ncurses.h>
X #else
X  #include <curses.h>
X #endif
X@@ -28,8 +28,8 @@
X 
X extern unsigned short crc16(char *str, int l);
X void sigwinch(int s);
X-/*
X-#ifdef FREE_BSD
X+
X+#if defined __FreeBSD__ && __FreeBSD__ < 4
X void mvvline (int y,int x,int ch,int n)
X {
X  move (y,x);
X@@ -48,7 +48,6 @@
X  wvline (win,ch,n);
X }
X #endif
X-*/
X 
X #define MH 10
X #define MAX_SLOTS 9
END-of-qico/patches/patch-ad
echo x - qico/patches/patch-ae
sed 's/^X//' >qico/patches/patch-ae << 'END-of-qico/patches/patch-ae'
X--- src/tty.c.orig	Tue Jul 18 18:41:42 2000
X+++ src/tty.c	Thu Jul 20 20:29:04 2000
X@@ -384,7 +384,7 @@
X 		if(tty_hangedup) 
X 			return RCDO;
X 		else
X-			return TIMEOUT;
X+			return ERROR;
X 	}
X 	if(rc==0) return TIMEOUT;
X 	if(FD_ISSET(0, &efds)) return ERROR;
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	Tue Jul 18 18:41:42 2000
X+++ Makefile	Thu Jul 20 19:51:32 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/Makefile
sed 's/^X//' >qico/Makefile << 'END-of-qico/Makefile'
X# New ports collection makefile for:	qico
X# Version required:	0.46
X# Date created:		13 Jan 2000
X# Whom:			Denis Shaposhnikov <dsh@vlink.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	qico
XPORTVERSION=	0.46
XDISTNAME=	${PORTNAME}-${PORTVERSION}.0
XCATEGORIES=	comms
XMASTER_SITES=	http://lev.serebryakov.spb.ru/download/
X
XMAINTAINER=	dsh@vlink.ru
X
XUSE_GMAKE=	yes
XMAKE_ENV+=	SH=${SH} AWK=${AWK} DEFS="${DEFS}"
X
X.if defined(WITH_AMIGA4D)
XDEFS+=		-DAMIGA4D
X.endif
X
Xdo-install:
X	${INSTALL_DATA} ${WRKSRC}/qico.conf ${PREFIX}/etc/qico.conf.sample
X	${INSTALL_PROGRAM} ${WRKSRC}/src/qico ${PREFIX}/libexec
X	${INSTALL_PROGRAM} ${WRKSRC}/src/qcc ${PREFIX}/bin
X
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

>Fix:


>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?20000721053819.4F0909BB95>