Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2001 15:10:02 -0800 (PST)
From:      Thierry Thomas <thierry@thomas.as>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/29286: New port: french/xtel - an emulator for the french Minitel
Message-ID:  <200111092310.fA9NA2u70578@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/29286; it has been noted by GNATS.

From: Thierry Thomas <thierry@thomas.as>
To: FreeBSD-gnats-submit@FreeBSD.ORG
Cc:  
Subject: Re: ports/29286: New port: french/xtel - an emulator for the french Minitel
Date: Sat, 10 Nov 2001 00:05:05 +0100

 Le 28 Jul 01 à 23:54:55 +0000, Thierry Thomas écrivait :
 > 
 > >Number:         29286
 > >Category:       ports
 > >Synopsis:       New port: french/xtel - an emulator for the french Minitel
 
 Please replace the archive enclosed in the original PR with this one:
 
 
 # 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:
 #
 #	/usr/ports/french/xtel
 #	/usr/ports/french/xtel/files
 #	/usr/ports/french/xtel/files/patch-aa
 #	/usr/ports/french/xtel/files/patch-ab
 #	/usr/ports/french/xtel/files/patch-ac
 #	/usr/ports/french/xtel/files/patch-ad
 #	/usr/ports/french/xtel/Makefile
 #	/usr/ports/french/xtel/distinfo
 #	/usr/ports/french/xtel/pkg-descr
 #	/usr/ports/french/xtel/pkg-comment
 #	/usr/ports/french/xtel/pkg-plist
 #
 echo c - /usr/ports/french/xtel
 mkdir -p /usr/ports/french/xtel > /dev/null 2>&1
 echo c - /usr/ports/french/xtel/files
 mkdir -p /usr/ports/french/xtel/files > /dev/null 2>&1
 echo x - /usr/ports/french/xtel/files/patch-aa
 sed 's/^X//' >/usr/ports/french/xtel/files/patch-aa << 'END-of-/usr/ports/french/xtel/files/patch-aa'
 X--- Config.tmpl.orig	Tue Feb 13 09:53:03 2001
 X+++ Config.tmpl	Sat Jul 28 11:34:57 2001
 X@@ -13,6 +13,9 @@
 X  * 	Pas de popup-menu		DONT_USE_POPUP  (pb LessTif)
 X  */
 X 
 X+#define __FreeBSD__
 X+#define i386BsdArchitecture
 X+
 X /* Pour installer le démon */
 X #define INSTALLDEMON
 X 
 END-of-/usr/ports/french/xtel/files/patch-aa
 echo x - /usr/ports/french/xtel/files/patch-ab
 sed 's/^X//' >/usr/ports/french/xtel/files/patch-ab << 'END-of-/usr/ports/french/xtel/files/patch-ab'
 X--- Imakefile.orig	Mon Feb 12 17:33:01 2001
 X+++ Imakefile	Fri Nov  9 23:17:11 2001
 X@@ -23,6 +23,12 @@
 X NETWORKCFLAGS = -DNO_NETWORK
 X #endif
 X 
 X+#if defined(__FreeBSD__)
 X+FriBiINC = -I/usr/local/include -L/usr/local/lib
 X+#else
 X+FriBiINC=
 X+#endif
 X+
 X #ifdef NO_TERMIO
 X TERMIOCFLAGS = -DNO_TERMIO
 X #else
 X@@ -91,7 +97,7 @@
 X SVR4CFLAGS= -DSVR4
 X #endif
 X 
 X-      XTELCFLAGS = $(NETWORKCFLAGS) $(TERMIOCFLAGS) $(SELFILECFLAGS) $(LOWMCFLAGS) $(XPMCFLAGS) $(MOTIFCFLAGS) $(SYSLOGCFLAGS) $(TVRCFLAGS) $(WINCFLAGS) $(XTELDFLAGS) $(POPUPFLAGS)
 X+      XTELCFLAGS = $(NETWORKCFLAGS) $(TERMIOCFLAGS) $(SELFILECFLAGS) $(LOWMCFLAGS) $(XPMCFLAGS) $(MOTIFCFLAGS) $(SYSLOGCFLAGS) $(TVRCFLAGS) $(WINCFLAGS) $(XTELDFLAGS) $(POPUPFLAGS) $(FriBiINC)
 X 
 X      DEPENDFLAGS = $(XTELCFLAGS)
 X 
 X@@ -193,7 +199,7 @@
 X 
 X       PROGRAMS = xtel xteld mdmdetect
 X  
 X-SUBDIRS= Videotex $(WIDGETS) $(XSRA) fonts $(BITMAPSDIR) $(PIXMAPSDIR) iminitel
 X+SUBDIRS= Videotex $(WIDGETS) $(XSRA) fonts $(BITMAPSDIR) $(PIXMAPSDIR)
 X 
 X #if !defined(MOTIF) && !defined(NO_SEL_FILE)
 X NamedMakeSubdirs(all, Xsra)
 END-of-/usr/ports/french/xtel/files/patch-ab
 echo x - /usr/ports/french/xtel/files/patch-ac
 sed 's/^X//' >/usr/ports/french/xtel/files/patch-ac << 'END-of-/usr/ports/french/xtel/files/patch-ac'
 X--- modem.c.orig	Tue Feb 13 10:39:23 2001
 X+++ modem.c	Tue Jul 24 00:03:52 2001
 X@@ -307,14 +307,14 @@
 X      *  (comme le Hayes Optima par exemple)...
 X      */
 X #ifdef USE_TERMIOS
 X-    ioctl (fd, TCIOCGETA, &term);
 X+    ioctl (fd, TIOCGETA, &term);
 X #else
 X     ioctl (fd, TCGETA, &term);
 X #endif /* USE_TERMIOS */
 X     if ((term.c_cflag | CLOCAL) == 0) {
 X 	term.c_cflag |= CLOCAL;
 X #ifdef USE_TERMIOS
 X-	ioctl (fd, TCIOCSETA, &term);
 X+	ioctl (fd, TIOCSETA, &term);
 X #else
 X 	ioctl (fd, TCSETA, &term);
 X #endif /* USE_TERMIOS */
 X@@ -592,7 +592,7 @@
 X     if (cmodem) {
 X 	term.c_cflag &= ~CLOCAL;
 X #ifdef USE_TERMIOS
 X-	ioctl (fd, TCIOCSETA, &term);
 X+	ioctl (fd, TIOCSETA, &term);
 X #else
 X 	ioctl (fd, TCSETA, &term);
 X #endif /* USE_TERMIOS */
 END-of-/usr/ports/french/xtel/files/patch-ac
 echo x - /usr/ports/french/xtel/files/patch-ad
 sed 's/^X//' >/usr/ports/french/xtel/files/patch-ad << 'END-of-/usr/ports/french/xtel/files/patch-ad'
 X--- mdmdetect.c.orig	Sun Feb 11 01:02:58 2001
 X+++ mdmdetect.c	Tue Jul 24 00:10:05 2001
 X@@ -37,7 +37,16 @@
 X #include <sys/types.h>
 X #include <sys/socket.h>
 X #include <netinet/in.h>
 X+#ifdef NO_TERMIO
 X+#include <sgtty.h>
 X+#else
 X+#ifdef USE_TERMIOS
 X+#include <sys/ioctl.h>
 X+#include <termios.h>
 X+#else
 X #include <termio.h>
 X+#endif /* USE_TERMIOS */
 X+#endif
 X #ifdef SVR4
 X #include <sys/mkdev.h>
 X #endif /* SVR4 */
 END-of-/usr/ports/french/xtel/files/patch-ad
 echo x - /usr/ports/french/xtel/Makefile
 sed 's/^X//' >/usr/ports/french/xtel/Makefile << 'END-of-/usr/ports/french/xtel/Makefile'
 X# Ports collection makefile for:  xtel
 X# Date created:			  Wed Jul 11, 2001
 X# Whom:				  Thierry Thomas (<thierry@thomas.as>)
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	xtel
 XPORTVERSION=	3.3.0
 XCATEGORIES=	french comms emulators
 XMASTER_SITES=	http://pficheux.free.fr/xtel/download/
 X
 XMAINTAINER=	thierry@thomas.as
 X
 XLIB_DEPENDS+=	jpeg.9:${PORTSDIR}/graphics/jpeg
 X
 X# Remark: Xtel can serve a network, and emulate TVR and I-Minitel, but this is
 X# the first release of this port, and these functionnalities have not (yet)
 X# been implemented.
 X
 XUSE_IMAKE=	yes
 XUSE_XPM=	yes
 X
 XMAN1=	xtel.1 xteld.1
 X
 X.if defined(LANG)
 XCUT=	/usr/bin/cut
 XLANGUE=	`${ECHO} ${LANG} | ${CUT} -c 1-2`
 X.else
 XLANGUE=	english
 X.endif
 X
 XDOCS=	COPYING COPYRIGHT FAQ.txt HISTOIRE.txt LISEZMOI.txt README_IMINITEL.txt
 X
 Xpost-install:
 X.if !defined(NOPORTDOCS)
 X	${MKDIR} ${DOCSDIR}
 X.for FILE in ${DOCS}
 X	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
 X.endfor
 X	@(if [ 0${LANGUE} = 0fr ] ; then \
 X	${ECHO_MSG} "La documentation a été installée dans ${DOCSDIR}." ; \
 X	else \
 X	${ECHO_MSG} "Documentation installed in ${DOCSDIR}." ; \
 X	fi)
 X.endif
 X	@${TOUCH} ${PREFIX}/lib/X11/xtel/xtel.log
 X	@${ECHO} "*********************************************************************"
 X	@(if [ 0${LANGUE} = 0fr ] ; then \
 X	${ECHO} "Xtel a été installé sur ${PREFIX}/bin/xtel." ; \
 X	${ECHO} "" ; \
 X	${ECHO} "Pour pouvoir l'utiliser, vous devez modifier le fichier /etc/services" ; \
 X	${ECHO} "et y ajouter la ligne :" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "xtel            1313/tcp   #xtel emulateur Minitel" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "Vous devez ensuite modifier le fichier /etc/inetd.conf (ou son" ; \
 X	${ECHO} "équivalent si vous utilisez un autre super-démon) pour y ajouter la" ; \
 X	${ECHO} "ligne :" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "xtel	stream	tcp	nowait	root	${PREFIX}/bin/xteld	xteld" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "Forcez le super-démon à relire son fichier de configuration par" ; \
 X	${ECHO} "killall -1 inetd" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "Si votre modem est connecté à /dev/cuaax (où x = 0, 1, 2,...)" ; \
 X	${ECHO} "détectez sa chaîne d'initialisation par :" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "mdmdetect cuaax" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "Après quelques instants pendant lesquels votre ordinateur doit dialoguer" ; \
 X	${ECHO} "avec le modem, une ligne semblable à la suivante doit s'afficher :" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "ModèleModem , 38400 \dat&fm1e0&k3f3\r-OK" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "Notez le deuxième paramètre (vitesse) et le dernier, et reportez-les" ; \
 X	${ECHO} "dans le fichier ${PREFIX}/lib/X11/xtel/xtel.lignes de façon à avoir" ; \
 X	${ECHO} "une ligne telle que :" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "modem0,/dev/cuaa0,38400,7,E,\dat&fm1e0&k3f3\r OK atdt\T\r CONNECT,30" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "où cuaa0 doit être adapté à votre n° de port, 38400 à la vitesse" ; \
 X	${ECHO} "détectée par mdmdetect, et où la chaîne compise entre \"E,\" et \"atdt\"" ; \
 X	${ECHO} "correspond au troisième paramètre (Notez que le \"-\" est remplacé par" ; \
 X	${ECHO} "un blanc)." ; \
 X	${ECHO} "" ; \
 X	${ECHO} "Il ne reste plus qu'à installer les polices, soit en entrant" ; \
 X	${ECHO} "xset +fp ${PREFIX}/lib/X11/fonts/xtel" ; \
 X	${ECHO} "xset fp rehash" ; \
 X	${ECHO} "soit en ajoutant ${PREFIX}/lib/X11/fonts/xtel au FontPath de votre" ; \
 X	${ECHO} "fichier de XF86Config." ; \
 X	else \
 X	${ECHO} "Xtel has been installed on ${PREFIX}/bin/xtel." ; \
 X	${ECHO} "" ; \
 X	${ECHO} "In order to use it, you have to edit the file /etc/services" ; \
 X	${ECHO} "and add the line:" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "xtel            1313/tcp   #xtel Minitel emulator" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "Then you have to edit the file /etc/inetd.conf (or its equivalent" ; \
 X	${ECHO} "if you run another internet services daemon) and add the line:" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "xtel	stream	tcp	nowait	root	${PREFIX}/bin/xteld	xteld" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "Force the super-daemon to re-read its configuration file by" ; \
 X	${ECHO} "killall -1 inetd" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "If your modem is plugged to /dev/cuaax (where x = 0, 1, 2,...)" ; \
 X	${ECHO} "detect its initialization string by:" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "mdmdetect cuaax" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "After some time while your computer should be dialoguing with the" ; \
 X	${ECHO} "modem, you should get such a line" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "ModemModel , 38400 \dat&fm1e0&k3f3\r-OK" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "Take note of the second (speed) and last parameters, and report them" ; \
 X	${ECHO} "into the file ${PREFIX}/lib/X11/xtel/xtel.lignes so that you have a" ; \
 X	${ECHO} "line like this one:" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "modem0,/dev/cuaa0,38400,7,E,\dat&fm1e0&k3f3\r OK atdt\T\r CONNECT,30" ; \
 X	${ECHO} "" ; \
 X	${ECHO} "where cuaa0 should be adjusted to your port number, 38400 to the speed" ; \
 X	${ECHO} "detected by mdmdetect, and where the string included between \"E,\" and atdt" ; \
 X	${ECHO} "corresponds to the third parameter (Note that the \"-\" has been replaced by" ; \
 X	${ECHO} "a space)." ; \
 X	${ECHO} "" ; \
 X	${ECHO} "To end, you have just to install the fonts, either by entering" ; \
 X	${ECHO} "xset +fp ${PREFIX}/lib/X11/fonts/xtel" ; \
 X	${ECHO} "xset fp rehash" ; \
 X	${ECHO} "either by adding ${PREFIX}/lib/X11/fonts/xtel to FontPath in your" ; \
 X	${ECHO} "XF86Config." ; \
 X	fi)
 X	@${ECHO} "*********************************************************************"
 X
 X.include <bsd.port.mk>
 END-of-/usr/ports/french/xtel/Makefile
 echo x - /usr/ports/french/xtel/distinfo
 sed 's/^X//' >/usr/ports/french/xtel/distinfo << 'END-of-/usr/ports/french/xtel/distinfo'
 XMD5 (xtel-3.3.0.tar.gz) = 9c26286ec7d4e2d893ddafdf755759bd
 END-of-/usr/ports/french/xtel/distinfo
 echo x - /usr/ports/french/xtel/pkg-descr
 sed 's/^X//' >/usr/ports/french/xtel/pkg-descr << 'END-of-/usr/ports/french/xtel/pkg-descr'
 X[please see english description below]
 X
 XXTEL permet d'émuler un Minitel 1B, 2. Xtel est aussi utilisable en réseau,
 Xet il permet d'émuler les TVR et les I-Minitel, mais ceci n'est pas encore
 Xpris en compte dans ce port FreeBSD.
 X
 XXTEL is an emulator for the Minitel. The Minitel is a passive terminal, used
 Xin France to access to different network services via a telephone line. 
 X
 XWWW: http://www.com1.fr/~pficheux/xtel/
 X
 X- Thierry Thomas <thierry@thomas.as>.
 END-of-/usr/ports/french/xtel/pkg-descr
 echo x - /usr/ports/french/xtel/pkg-comment
 sed 's/^X//' >/usr/ports/french/xtel/pkg-comment << 'END-of-/usr/ports/french/xtel/pkg-comment'
 XAn emulator for the french Minitel
 END-of-/usr/ports/french/xtel/pkg-comment
 echo x - /usr/ports/french/xtel/pkg-plist
 sed 's/^X//' >/usr/ports/french/xtel/pkg-plist << 'END-of-/usr/ports/french/xtel/pkg-plist'
 Xbin/xtel
 Xbin/xteld
 Xbin/mdmdetect
 Xbin/make_xtel_lignes
 Xlib/X11/app-defaults/XTel
 Xlib/X11/app-defaults/XTel-msg
 Xlib/X11/xtel/modem.list
 Xlib/X11/xtel/xtel.lignes
 Xlib/X11/xtel/xtel.log
 Xlib/X11/xtel/xtel.services
 Xlib/X11/fonts/xtel/fonts.alias
 Xlib/X11/fonts/xtel/fonts.dir
 Xlib/X11/fonts/xtel/g016x10.pcf.gz
 Xlib/X11/fonts/xtel/g016x20.pcf.gz
 Xlib/X11/fonts/xtel/g016x40.pcf.gz
 Xlib/X11/fonts/xtel/g032x20.pcf.gz
 Xlib/X11/fonts/xtel/g032x40.pcf.gz
 Xlib/X11/fonts/xtel/g08x10.pcf.gz
 Xlib/X11/fonts/xtel/g08x20.pcf.gz
 Xlib/X11/fonts/xtel/g0s16x10.pcf.gz
 Xlib/X11/fonts/xtel/g0s16x20.pcf.gz
 Xlib/X11/fonts/xtel/g0s16x40.pcf.gz
 Xlib/X11/fonts/xtel/g0s32x20.pcf.gz
 Xlib/X11/fonts/xtel/g0s32x40.pcf.gz
 Xlib/X11/fonts/xtel/g0s8x10.pcf.gz
 Xlib/X11/fonts/xtel/g0s8x20.pcf.gz
 Xlib/X11/fonts/xtel/g116x20.pcf.gz
 Xlib/X11/fonts/xtel/g18x10.pcf.gz
 Xlib/X11/fonts/xtel/g1s16x20.pcf.gz
 Xlib/X11/fonts/xtel/g1s8x10.pcf.gz
 Xlib/X11/fonts/xtel/xteldigit.pcf.gz
 X%%PORTDOCS%%share/doc/xtel/COPYING
 X%%PORTDOCS%%share/doc/xtel/COPYRIGHT
 X%%PORTDOCS%%share/doc/xtel/FAQ.txt
 X%%PORTDOCS%%share/doc/xtel/HISTOIRE.txt
 X%%PORTDOCS%%share/doc/xtel/LISEZMOI.txt
 X%%PORTDOCS%%share/doc/xtel/README_IMINITEL.txt
 X@dirrm lib/X11/xtel
 X@dirrm lib/X11/fonts/xtel
 X%%PORTDOCS%%@dirrm share/doc/xtel
 END-of-/usr/ports/french/xtel/pkg-plist
 exit
 
 
 [end of shell archive]
 
 This remove the support of iminitel, beceause I am unable to maintain it.
 -- 
 Th. Thomas.

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?200111092310.fA9NA2u70578>