Bug 163886 - New port: net/drawterm Plan9 cpu client
Summary: New port: net/drawterm Plan9 cpu client
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Michael Scheidell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-07 12:20 UTC by Winston Weinert
Modified: 2012-02-16 02:40 UTC (History)
0 users

See Also:


Attachments
file.shar (2.10 KB, text/plain)
2012-01-07 12:20 UTC, Winston Weinert
no flags Details
drawterm-X11-fix.patch (1.34 KB, patch)
2012-02-14 22:29 UTC, Winston Weinert
no flags Details | Diff
drawterm-fix-xt-cflags-cc-ldflags.patch (1.42 KB, patch)
2012-02-15 20:54 UTC, Winston Weinert
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Winston Weinert 2012-01-07 12:20:09 UTC
From pkg-descr:

Drawterm(8) is not a Plan 9 program. It is a program that users of
non-Plan 9 systems can use to establish graphical cpu(1) connections with
Plan 9 CPU servers. Just as a real Plan 9 terminal does, drawterm serves
its local name space as well as some devices (the keyboard, mouse, and
screen) to a remote CPU server, which mounts this name space on /mnt/term
and starts a shell. Typically, either explicitly or via the profile, one
uses the shell to start rio(1).

WWW: http://swtch.com/drawterm/

Fix: Patch attached with submission follows:
How-To-Repeat: Attempt to install drawterm from ports.
Comment 1 Michael Scheidell freebsd_committer freebsd_triage 2012-02-05 10:38:47 UTC
Responsible Changed
From-To: freebsd-ports-bugs->scheidell

I'll take it.
Comment 2 Michael Scheidell freebsd_committer freebsd_triage 2012-02-05 11:48:36 UTC
State Changed
From-To: open->feedback

Won't compile. 
<http://lorie.secnap.net/tb/index.php?action=display_markup_log&build=8-scheidell_AMD64&id=1230> 
Please submit patch against the shar (as if this was an existing port), so I don't need to unshar it again. 
Thanks.
Comment 3 Winston Weinert 2012-02-14 22:29:52 UTC
Attached is a patch that should fix the build problem. I also revised it  
to be built using pthreads.

-Winston Weinert
Comment 4 Michael Scheidell freebsd_committer freebsd_triage 2012-02-14 23:03:44 UTC
compile error.
(this on 8.2, amd64)

gcc -Wall -Wno-missing-braces -ggdb -I.. -I../include -I../kern -c 
-I/usr/local/include -D_THREAD_SAFE -pthread -O2 -c x11.c
361     x11.c:26:28: error: X11/IntrinsicP.h: No such file or directory
362     x11.c:27:28: error: X11/StringDefs.h: No such file or directory

see:

<http://lorie.secnap.net/tb/index.php?action=display_markup_log&build=8-scheidell_AMD64&id=1230#361>

please check the env in your make.conf, and options, this is built with 
NO OPTIONS first.

check my tinderbox options vs yours:

<http://lorie.secnap.net/tb/errors/8-scheidell_AMD64/drawterm-20110822.log>

double check this tarball (I think this is what you gave me, patched)

http://people.freebsd.org/~scheidell/drawterm.tgz


if you fix this, email me patches against this ports, as if it was an 
update (ie, don't patch shar.. sorry, I guess I meant just send me diffs)

-- 
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
 >*| *SECNAP Network Security Corporation

    * Best Mobile Solutions Product of 2011
    * Best Intrusion Prevention Product
    * Hot Company Finalist 2011
    * Best Email Security Product
    * Certified SNORT Integrator
Comment 5 Winston Weinert 2012-02-15 20:54:43 UTC
Ok, this time it should work รข for real! Honestly, I didn't test using a  
tinderbox instance until you suggested it. I then found  
http://redports.org/ and I was set to test my fixes. FYI the patch is  
recursive and will want to operate on './drawterm/'.

Hope it works and thanks!
Winston Weinert
Comment 6 dfilter service freebsd_committer freebsd_triage 2012-02-16 02:32:29 UTC
scheidell    2012-02-16 02:32:15 UTC

  FreeBSD ports repository

  Modified files:
    net                  Makefile 
  Added files:
    net/drawterm         Makefile distinfo pkg-descr 
    net/drawterm/files   patch-Make.pthread 
  Log:
  Add port net/drawterm: a program that users of non-Plan 9 systems can use to establish graphical cpu(1) connections with
  Plan 9 CPU servers
  
  PR:             ports/163886
  Submitted by:   Winston Weinert <winstonw@lavabit.com> (maintainer)
  Approved by:    gabor (mentor, implicit)
  Feature safe:   Yes
  
  Revision  Changes    Path
  1.2434    +1 -0      ports/net/Makefile
  1.1       +34 -0     ports/net/drawterm/Makefile (new)
  1.1       +2 -0      ports/net/drawterm/distinfo (new)
  1.1       +22 -0     ports/net/drawterm/files/patch-Make.pthread (new)
  1.1       +9 -0      ports/net/drawterm/pkg-descr (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 7 Michael Scheidell freebsd_committer freebsd_triage 2012-02-16 02:32:31 UTC
State Changed
From-To: feedback->closed

New port added. Thanks!