[43633] trunk/dports/x11

jeremyhu at macports.org jeremyhu at macports.org
Fri Dec 12 11:21:54 PST 2008


Revision: 43633
          http://trac.macports.org/changeset/43633
Author:   jeremyhu at macports.org
Date:     2008-12-12 11:21:53 -0800 (Fri, 12 Dec 2008)
Log Message:
-----------
New port: luit

Added Paths:
-----------
    trunk/dports/x11/luit/
    trunk/dports/x11/luit/Portfile
    trunk/dports/x11/luit/files/
    trunk/dports/x11/luit/files/secure_tty.patch

Added: trunk/dports/x11/luit/Portfile
===================================================================
--- trunk/dports/x11/luit/Portfile	                        (rev 0)
+++ trunk/dports/x11/luit/Portfile	2008-12-12 19:21:53 UTC (rev 43633)
@@ -0,0 +1,36 @@
+# $Id$
+
+PortSystem          1.0
+
+name                luit
+version             1.0.3
+categories          x11
+platforms           darwin
+maintainers         jeremyhu
+description         X.org luit
+long_description    Convert terminal i/o from legacy encodings to UTF-8
+
+homepage            http://www.x.org
+master_sites        ${homepage}/pub/individual/app/
+
+checksums           md5     b01e4f71c20fc1c79ed727759c1df40c \
+                    sha1    8b32bcc2f72af7c8c1cdaede3d4ff5b251ecbf31 \
+                    rmd160  f03a3ff729284f78c1c1ec90fc3efd1fdee8a43b
+
+use_bzip2	    yes
+use_parallel_build  yes
+
+patchfiles secure_tty.patch
+
+depends_build \
+	port:pkgconfig
+
+depends_lib \
+	lib:libX11.6:xorg-libX11 \
+	lib:libfontenc.1:xorg-libfontenc
+
+configure.args      --mandir=${prefix}/share/man
+
+livecheck.check regex
+livecheck.url   [lindex ${master_sites} 0]?C=M&O=D
+livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)


Property changes on: trunk/dports/x11/luit/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/x11/luit/files/secure_tty.patch
===================================================================
--- trunk/dports/x11/luit/files/secure_tty.patch	                        (rev 0)
+++ trunk/dports/x11/luit/files/secure_tty.patch	2008-12-12 19:21:53 UTC (rev 43633)
@@ -0,0 +1,35 @@
+From 51eae7b3a07faab716ea7ef3186cee658f393d04 Mon Sep 17 00:00:00 2001
+From: Jeremy Huddleston<jeremyhu at freedesktop.org>
+Date: Fri, 11  Apr  2008  17:32:59  +0000
+Subject: Apple: Use secure tty
+
+Thanks to Martin Otte for the patch
+---
+diff --git a/sys.c b/sys.c
+index efec546..da97028 100644
+--- sys.c
++++ sys.c
+@@ -56,7 +56,7 @@ THE SOFTWARE.
+ 
+ #if (defined(__GLIBC__) && \
+      (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1))) || \
+-    defined(SVR4)
++    defined(SVR4) || defined(__APPLE__)
+ #define HAVE_GRANTPT
+ #endif
+ 
+@@ -340,7 +340,12 @@ allocatePty(int *pty_return, char **line_return)
+     char *temp_line;
+     int rc;
+ 
++#ifdef __APPLE__
++    pty = posix_openpt(O_RDWR);
++#else
+     pty = open("/dev/ptmx", O_RDWR);
++#endif
++
+     if(pty < 0)
+         goto bsd;
+ 
+--
+cgit v0.8.1-24-ge5fb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081212/919501c0/attachment.html>


More information about the macports-changes mailing list