On 2008/06/25 14:39, Lionel Cons wrote:
> Hello,
> 
> I'm the author and maintainer of mxconns. Its official home page is
> http://cern.ch/mxconns and its latest version is 3.1.7.
> 
> I've discovered by accident the page http://openports.se/x11/mxconns
> that refers to an older version and advertises an incorrect web page
> for the first "master site".
> 
> Please use the latest version and advertise the correct home page.
> 
> Also, although I do not have access to OpenBSD systems myself, I would
> be happy to merge in any patch you may have to make my program more
> portable.

Here's an update to the port (tested on amd64 and i386 so far).
patch -E needed. Any comments, tests on other arch, OKs?

Lionel, when updating I checked the COPYRIGHT file to see if
anything changed that would allow us to distribute packages;
I noticed that it's completely unchanged since 2000, so you
might like to make a release with updated copyright dates
sometime.

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/mxconns/Makefile,v
retrieving revision 1.17
diff -u -p -r1.17 Makefile
--- Makefile    15 Sep 2007 20:04:23 -0000      1.17
+++ Makefile    25 Jun 2008 13:41:34 -0000
@@ -2,11 +2,11 @@
 
 COMMENT=       interactive X11 proxy with selective X request replacement
 
-DISTNAME=      mxconns-3.1.4
-PKGNAME=       ${DISTNAME}p0
+DISTNAME=      mxconns-3.1.7
 CATEGORIES=    x11 security
 
-MASTER_SITES=  http://c.home.cern.ch/c/cons/www/mxconns/
+HOMEPAGE=      http://cern.ch/mxconns/
+MASTER_SITES=  http://mxconns.web.cern.ch/mxconns/
 EXTRACT_SUFX=  .tgz
 
 # Restrictive
@@ -19,7 +19,7 @@ WANTLIB=              X11 Xau Xext Xpm Xt c 
 USE_X11=       Yes
 USE_MOTIF=     any
 CONFIGURE_STYLE= simple
-CONFIGURE_ARGS=        -optim "${CFLAGS}"
+CONFIGURE_ARGS=        -optim "${CFLAGS}" -debug
 
 NO_REGRESS=    Yes
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/x11/mxconns/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo    5 Apr 2007 17:36:23 -0000       1.3
+++ distinfo    25 Jun 2008 13:31:32 -0000
@@ -1,5 +1,5 @@
-MD5 (mxconns-3.1.4.tgz) = w5YR79TJeNQwJTitZdtfUw==
-RMD160 (mxconns-3.1.4.tgz) = GzF5ckNqT4GN398zuDSceef9LYQ=
-SHA1 (mxconns-3.1.4.tgz) = NoQk57XznMdmf7uANe1TUrUKt9w=
-SHA256 (mxconns-3.1.4.tgz) = jfCWfwaQLo4aOECpZsM8zEMRZFQYiWF805wIQ25SV8w=
-SIZE (mxconns-3.1.4.tgz) = 50676
+MD5 (mxconns-3.1.7.tgz) = MoZypM3LZhOaLo4OYJWJYw==
+RMD160 (mxconns-3.1.7.tgz) = HXzaWF3TE/6cUW1LAV5jPh972JA=
+SHA1 (mxconns-3.1.7.tgz) = p9smOKDNefychD7q6SrCvppt/r4=
+SHA256 (mxconns-3.1.7.tgz) = Yztcv85t6nbODS9kVZ5qUZYIiv+CXt7Nt8Z3rqPWqTk=
+SIZE (mxconns-3.1.7.tgz) = 52630
Index: patches/patch-configure
===================================================================
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- patches/patch-configure     17 Mar 2000 03:17:02 -0000      1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,39 +0,0 @@
-diff -u configure.old configure
---- configure.old      Tue Jan  4 01:02:50 2000
-+++ configure  Mon Feb 28 11:11:30 2000
-@@ -46,6 +46,7 @@
-   OSF1)         os="OSF1";;
-   SunOS)        if [ $rev -ge 5 ]; then os="Solaris"; else os="SunOS"; fi;;
-   ULTRIX)       os="ULTRIX";;
-+  OpenBSD)      os="OpenBSD";;
-   *) echo "Sorry, $uname is not yet supported"; exit 1;;
- esac
- echo "This seems to be a $os machine..."
-@@ -148,6 +149,27 @@
- MOTIF_LIB = $xmlib
- SYS_CFLAGS = -I/usr/X11R6/include
- SYS_LDFLAGS = $strip-L/usr/X11R6/lib
-+SYS_LIBS = -lXext $extra
-+EOT
-+  unset extra
-+fi
-+
-+#
-+# OpenBSD
-+#
-+if [ "$os" = "OpenBSD" ]; then
-+  # everything should be under /usr/X11R6
-+  # statically link Motif with explicit library name
-+  # Motif could come from Lesstif which could be in /usr/local
-+  extra=""
-+  if [ -f "/usr/X11R6/lib/libXpm.a" ]; then
-+    extra="$extra -lXpm"
-+  fi
-+  xmlib="-lXm"
-+  cat <<EOT >> Makefile.sys
-+MOTIF_LIB = $xmlib
-+SYS_CFLAGS = -I/usr/X11R6/include -I/usr/local/include
-+SYS_LDFLAGS = $strip-L/usr/X11R6/lib -L/usr/local/lib
- SYS_LIBS = -lXext $extra
- EOT
-   unset extra
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/x11/mxconns/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   15 Sep 2004 19:26:30 -0000      1.3
+++ pkg/PLIST   25 Jun 2008 13:33:09 -0000
@@ -1,3 +1,3 @@
 @comment $OpenBSD: PLIST,v 1.3 2004/09/15 19:26:30 espie Exp $
-bin/mxconns
[EMAIL PROTECTED] bin/mxconns
 @man man/man1/mxconns.1

Reply via email to