Date: Wed, 17 Mar 1999 00:53:02 +0100 (CET) From: Staffan Ulfberg <staffanu@multivac.fatburen.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/10629: New port: comms/gnokii Message-ID: <199903162353.AAA94935@multivac.fatburen.org>
next in thread | raw e-mail | index | archive | help
>Number: 10629 >Category: ports >Synopsis: New port: comms/gnokii >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: Tue Mar 16 16:00:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Staffan Ulfberg >Release: FreeBSD 3.1-RELEASE i386 >Organization: >Environment: >Description: Adding a new port: comms/gnokii. See http://multivac.fatburen.org/gnokii >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: # # gnokii # gnokii/pkg # gnokii/pkg/COMMENT # gnokii/pkg/DESCR # gnokii/pkg/PLIST # gnokii/files # gnokii/files/md5 # gnokii/Makefile # gnokii/patches # gnokii/patches/patch-aa # gnokii/patches/patch-ab # gnokii/patches/patch-ac # gnokii/scripts # gnokii/scripts/post-extract # echo c - gnokii mkdir -p gnokii > /dev/null 2>&1 echo c - gnokii/pkg mkdir -p gnokii/pkg > /dev/null 2>&1 echo x - gnokii/pkg/COMMENT sed 's/^X//' >gnokii/pkg/COMMENT << 'END-of-gnokii/pkg/COMMENT' XSoftware to talk to Nokia 3810/3110/8110/6110 cellular phones. END-of-gnokii/pkg/COMMENT echo x - gnokii/pkg/DESCR sed 's/^X//' >gnokii/pkg/DESCR << 'END-of-gnokii/pkg/DESCR' XSoftware to talk to Nokia 3810/3110/8110/6110 cellular phones. The Xsoftware is under development and is currently not especially useful. X Xhttp://multivac.fatburen.org/gnokii X X- Staffan Ulfberg Xstaffanu@nada.kth.se END-of-gnokii/pkg/DESCR echo x - gnokii/pkg/PLIST sed 's/^X//' >gnokii/pkg/PLIST << 'END-of-gnokii/pkg/PLIST' Xbin/gnokii END-of-gnokii/pkg/PLIST echo c - gnokii/files mkdir -p gnokii/files > /dev/null 2>&1 echo x - gnokii/files/md5 sed 's/^X//' >gnokii/files/md5 << 'END-of-gnokii/files/md5' XMD5 (gnokii-0.2.3.tar.gz) = e3d511ca575b78b2f7022324fcf324ab END-of-gnokii/files/md5 echo x - gnokii/Makefile sed 's/^X//' >gnokii/Makefile << 'END-of-gnokii/Makefile' X# New ports collection makefile for: gnokii X# Version required: 0.2.3 X# Date created: 15 March 1999 X# Whom: staffanu X# X# $Id$ X# X XDISTNAME= gnokii-0.2.3 XCATEGORIES= comms XMASTER_SITES= ftp://multivac.fatburen.org/pub/gnokii/ \ X ftp://multivac.fatburen.org/pub/gnokii/old/ X XMAINTAINER= staffanu@nada.kth.se X XUSE_GMAKE= yes X Xdo-install: X @${INSTALL_SCRIPT} ${WRKSRC}/gnokii ${PREFIX}/bin/gnokii X Xpost-install: X strip ${PREFIX}/bin/gnokii X X.include <bsd.port.mk> END-of-gnokii/Makefile echo c - gnokii/patches mkdir -p gnokii/patches > /dev/null 2>&1 echo x - gnokii/patches/patch-aa sed 's/^X//' >gnokii/patches/patch-aa << 'END-of-gnokii/patches/patch-aa' X*** Makefile.orig Fri Mar 5 00:21:14 1999 X--- Makefile Wed Mar 17 00:02:57 1999 X*************** X*** 7,15 **** X CC = gcc X X # Set up compilation/linking flags. X! CFLAGS = -D_REENTRANT -Wall -g -O0 -pthread X X! LDFLAGS = -lpthread X X GNOKII_OBJS = gnokii.o gsm-api.o fbus-3810.o fbus-6110.o X X--- 7,15 ---- X CC = gcc X X # Set up compilation/linking flags. X! CFLAGS = -D_THREAD_SAFE -Wall -g -O0 -pthread X X! LDFLAGS = -pthread X X GNOKII_OBJS = gnokii.o gsm-api.o fbus-3810.o fbus-6110.o X END-of-gnokii/patches/patch-aa echo x - gnokii/patches/patch-ab sed 's/^X//' >gnokii/patches/patch-ab << 'END-of-gnokii/patches/patch-ab' X*** fbus-3810.c.orig Wed Mar 17 00:02:05 1999 X--- fbus-3810.c Wed Mar 17 00:04:20 1999 X*************** X*** 24,30 **** X #include <unistd.h> X #include <fcntl.h> X #include <ctype.h> X! #include <sys/signal.h> X #include <sys/types.h> X #include <sys/time.h> X #include <string.h> X--- 24,30 ---- X #include <unistd.h> X #include <fcntl.h> X #include <ctype.h> X! #include <signal.h> X #include <sys/types.h> X #include <sys/time.h> X #include <string.h> X*************** X*** 537,543 **** X /* Set up and install handler before enabling async IO on port. */ X sig_io.sa_handler = FB38_SigHandler; X sig_io.sa_flags = 0; X- sig_io.sa_restorer = NULL; X sigaction (SIGIO, &sig_io, NULL); X X /* Allow process/thread to receive SIGIO */ X--- 537,542 ---- END-of-gnokii/patches/patch-ab echo x - gnokii/patches/patch-ac sed 's/^X//' >gnokii/patches/patch-ac << 'END-of-gnokii/patches/patch-ac' X*** fbus-6110.c.orig Wed Mar 17 00:05:17 1999 X--- fbus-6110.c Wed Mar 17 00:05:09 1999 X*************** X*** 24,30 **** X #include <unistd.h> X #include <fcntl.h> X #include <ctype.h> X! #include <sys/signal.h> X #include <sys/types.h> X #include <sys/time.h> X #include <string.h> X--- 24,30 ---- X #include <unistd.h> X #include <fcntl.h> X #include <ctype.h> X! #include <signal.h> X #include <sys/types.h> X #include <sys/time.h> X #include <string.h> X*************** X*** 218,224 **** X /* Set up and install handler before enabling async IO on port. */ X sig_io.sa_handler = FB61_SigHandler; X sig_io.sa_flags = 0; X- sig_io.sa_restorer = NULL; X sigaction (SIGIO, &sig_io, NULL); X X /* Allow process/thread to receive SIGIO */ X--- 218,223 ---- END-of-gnokii/patches/patch-ac echo c - gnokii/scripts mkdir -p gnokii/scripts > /dev/null 2>&1 echo x - gnokii/scripts/post-extract sed 's/^X//' >gnokii/scripts/post-extract << 'END-of-gnokii/scripts/post-extract' X#!/bin/sh Xcat <<EOF X--------------------------------------------------------------------- XNotice: The gnokii software is currently configured to build for the X3810/3110/8110 cellular phones. If you want to compile it for the X6110 (not yet implemented, but might be good for testers), edit the Xfile work/gnokii-0.2.3/gnokii.c and change the #define for MODEL to Xreflect this. X--------------------------------------------------------------------- XEOF END-of-gnokii/scripts/post-extract 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?199903162353.AAA94935>