Subject: pkg/16309: new package submission (/usr/pkgsrc/ham/cwtext)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mor@linex.com>
List: netbsd-bugs
Date: 04/11/2002 14:51:39
>Number:         16309
>Category:       pkg
>Synopsis:       pkgsrc files and source tar ball for new package
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 11 14:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5.2
>Organization:
>Environment:
all
>Description:
This a text to morse code converter, either spells out '-' and '.' on the screen, or
 plays them as tones on the pc speaker (might only work on i386, but maybe others I can't test)
>How-To-Repeat:
download the file http://milano.dyndns.org/downloads/cwtext.tgz and follow the steps
 below to get it installed and running.  In addition to the master site source which is in the package
 Makefile, the source can be gotten from http://milano.dyndns.org/downloads/cwtext-0.91.tar.gz.
>Fix:
dhcp-109-67# pwd
/usr
dhcp-109-67# wget http://milano.dyndns.org/downloads/cwtext.tgz
--13:38:37--  http://milano.dyndns.org/downloads/cwtext.tgz
           => `cwtext.tgz'
Connecting to milano.dyndns.org:80... connected!
HTTP request sent, awaiting response... 200 OK
Length: 1,105 [application/x-tar]

    0K .                                                     100% @  89.93 KB/s

13:38:38 (83.01 KB/s) - `cwtext.tgz' saved [1105/1105]

dhcp-109-67# ls -al cwtext.tgz
-rw-r--r--  1 root  wheel  1105 Apr 11 12:21 cwtext.tgz
dhcp-109-67# tar -xpvzf cwtext.tgz
pkgsrc/ham/cwtext/
pkgsrc/ham/cwtext/Makefile
pkgsrc/ham/cwtext/DESCR
pkgsrc/ham/cwtext/PLIST
pkgsrc/ham/cwtext/distinfo
dhcp-109-67# cd pkgsrc/ham/cwtext
dhcp-109-67# pkglint
OK: checking Makefile.
OK: checking ./PLIST.
OK: checking ./DESCR.
OK: checking distinfo.
looks fine.
dhcp-109-67# make install
=> Checksum OK for cwtext-0.91.tar.gz.
===> Extracting for cwtext-0.91
===> Required installed package perl>=5.0: perl-5.6.1nb7 found
===> Required installed package gmake>=3.78: gmake-3.79.1 found
===> Patching for cwtext-0.91
===> Configuring for cwtext-0.91
===> Building for cwtext-0.91
cc -O2 -c cwtext.c
python gencw.py > cw.h
cc -O2 -c morse.c
cc -O2 -o cwtext  cwtext.o morse.o
cc -O2 -c cwpcm.c
cc -O2 -c pcm.c
cc -O2 -o cwpcm -lm cwpcm.o morse.o pcm.o
===> Installing for cwtext-0.91
install -c -s -o root -g wheel -m 555 /usr/pkgsrc/ham/cwtext/work/cwtext-0.91/cwpcm /usr/pkg/bin
install -c -s -o root -g wheel -m 555 /usr/pkgsrc/ham/cwtext/work/cwtext-0.91/cwtext /usr/pkg/bin
===> Registering installation for cwtext-0.91
cwtext-0.91 requires installed package perl-5.6.1nb7
dhcp-109-67# echo "This is a test" | /usr/pkg/bin/cwtext
- .... .. ...  .. ...  .-  - . ... -  
dhcp-109-67# echo "This is a test" | /usr/pkg/bin/cwpcm > /dev/audio
<<morse code is audible on pc speaker>>
>Release-Note:
>Audit-Trail:
>Unformatted:
 >System: NetBSD dhcp-109-67.pcworld.com 1.5.2 NetBSD 1.5.2 (daemona) #2: Mon Feb 25 16:58:35 PST 2002 mor@dhcp-109-67.pcworld.com:/usr/src/sys/arch/i386/compile/daemona i386