Import Picocom.
Picocom is a minimal dumb-terminal emulation program. Picocom was designed to serve as a simple, manual, modem configuration, testing, and debugging tool. It has also served (quite well) as a low-tech "terminal-window" to allow operator intervention in PPP connection scripts (something like the ms-windows "open terminal window before / after dialing" feature). It could also prove useful in many other similar tasks. From Kyle Isom (thank you!), with tweaks by me and giovanni@. help/ok sthen@ giovanni@, procedures ok henning@
This commit is contained in:
parent
d62f8e0d32
commit
ad1fead2b5
31
comms/picocom/Makefile
Normal file
31
comms/picocom/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/07/08 18:19:18 lteo Exp $
|
||||
# Original from: Nick Patavalis (npat@efault.net)
|
||||
#
|
||||
COMMENT = minimal dumb-terminal emulation program
|
||||
|
||||
DISTNAME = picocom-1.6
|
||||
CATEGORIES = comms
|
||||
MASTER_SITES = http://picocom.googlecode.com/files/
|
||||
|
||||
HOMEPAGE = http://code.google.com/p/picocom/
|
||||
MAINTAINER = Kyle Isom <coder@kyleisom.net>
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM = Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
WANTLIB = c
|
||||
NO_REGRESS = Yes
|
||||
|
||||
MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS}"
|
||||
MAKE_ENV = LDFLAGS="${LDFLAGS}"
|
||||
USE_GROFF = Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/picocom.8 ${PREFIX}/man/man8/picocom.8
|
||||
${INSTALL_PROGRAM} ${WRKDIST}/picocom ${PREFIX}/bin/picocom
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
5
comms/picocom/distinfo
Normal file
5
comms/picocom/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (picocom-1.6.tar.gz) = Qmw9MLgsvICw2v3M1gIMbA==
|
||||
RMD160 (picocom-1.6.tar.gz) = rII9gEWriuBbGembGzdWth0OWH4=
|
||||
SHA1 (picocom-1.6.tar.gz) = 8ELhX6dqszScdKcAYqohC1J+a9w=
|
||||
SHA256 (picocom-1.6.tar.gz) = 31d0By3oBf8GxrFCDbzJMrGwDpGbSeIqe+FLytWgs6E=
|
||||
SIZE (picocom-1.6.tar.gz) = 46704
|
26
comms/picocom/patches/patch-Makefile
Normal file
26
comms/picocom/patches/patch-Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2012/07/08 18:19:18 lteo Exp $
|
||||
--- Makefile.orig Sat May 29 00:39:52 2010
|
||||
+++ Makefile Sun Jul 8 15:45:36 2012
|
||||
@@ -1,17 +1,13 @@
|
||||
-
|
||||
+OBJS := picocom.o term.o
|
||||
VERSION=1.6
|
||||
|
||||
# CC = gcc
|
||||
-CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\" \
|
||||
- -DHIGH_BAUD
|
||||
-CFLAGS = -Wall -g
|
||||
+CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/spool/lock\"
|
||||
|
||||
-# LD = gcc
|
||||
-LDFLAGS = -g
|
||||
-LDLIBS =
|
||||
+all : picocom
|
||||
|
||||
-picocom : picocom.o term.o
|
||||
-# $(LD) $(LDFLAGS) -o $@ $+ $(LDLIBS)
|
||||
+picocom : $(OBJS)
|
||||
+ $(CC) $(LDFLAGS) -o picocom $(OBJS)
|
||||
|
||||
picocom.o : picocom.c term.h
|
||||
term.o : term.c term.h
|
13
comms/picocom/pkg/DESCR
Normal file
13
comms/picocom/pkg/DESCR
Normal file
@ -0,0 +1,13 @@
|
||||
As its name suggests, picocom is a minimal dumb-terminal emulation
|
||||
program. It is, in principle, very much like minicom, only it's pico
|
||||
instead of mini!
|
||||
|
||||
Picocom was designed to serve as a simple, manual, modem configuration,
|
||||
testing, and debugging tool. It has also served (quite well) as a
|
||||
low-tech "terminal-window" to allow operator intervention in PPP
|
||||
connection scripts (something like the ms-windows "open terminal window
|
||||
before / after dialing" feature). It could also prove useful in many
|
||||
other similar tasks.
|
||||
|
||||
Picocom is ideal for embedded systems since its memory footprint is
|
||||
minimal (less than 20K, when stripped).
|
3
comms/picocom/pkg/PLIST
Normal file
3
comms/picocom/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/07/08 18:19:18 lteo Exp $
|
||||
@bin bin/picocom
|
||||
@man man/man8/picocom.8
|
Loading…
Reference in New Issue
Block a user