pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/editors/gnuserv



Module Name:    pkgsrc
Committed By:   vins
Date:           Mon Sep 11 21:18:49 UTC 2023

Modified Files:
        pkgsrc/editors/gnuserv: Makefile PLIST distinfo
        pkgsrc/editors/gnuserv/patches: patch-aa patch-gnuserv.el
Added Files:
        pkgsrc/editors/gnuserv/files: README.pkgsrc dtemacs dtemacs.1
            gnuserv.desktop
        pkgsrc/editors/gnuserv/patches: patch-gnuserv.1 patch-sysfile.h

Log Message:
editors/gnuserv: update to release 3.12.8

# pkgsrc changes

        * Move MASTER_SITES to working mirror.
        * Move HOMEPAGE to relevant reference on Emacs wiki.
        * Use X11BASE instead of conditionals.
        * Standardise configure args.
        * Apply a number of code fixes (partially pulled from Debian).
        * Add `dtemacs' script + man page from gnuserv author (taken from
          archive.org).
        * Install official and pkgsrc README.
        * Install .desktop application file.

# upstream changes (since 3.12.7)

2007-10-22  Martin Schwenke  <martin%meltin.net@localhost>

        * aclocal.m4: Fix more $x_libraries  breakage.

        * Makefile.in: Version 3.12.8.  Added compiler.h.  Fix dependencies.

        * aclocal.m4:
        Fix problem where empty $x_includes and $x_libraries causes
        ./configure breakage.

2007-10-21  Martin Schwenke  <martin%meltin.net@localhost>

        * gnuclient.c, gnuslib.c: Merge this:

        2006-08-08  Jerry James  <james%xemacs.org@localhost>

                * gnuslib.c (disconnect_from_server): shutdown() has been fine on
                Linux for a long time now; use it.  Also, don't use length to
                access the buffer unless it is positive, not just nonzero.
                * gnuclient.c (filename_expand): Initialize the last array element
                to get a valid C string in case of overflow.  Use strncat to avoid
                buffer overruns.
                * gnuclient.c (main): Use strncpy to avoid buffer overruns.

        * gnuclient.c: Sync with xemacs-21.5.27.

        * gnuserv.c, sysfile.h, syssignal.h: Version from xemacs-21.5.27.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/editors/gnuserv/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/editors/gnuserv/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/editors/gnuserv/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/editors/gnuserv/files/README.pkgsrc \
    pkgsrc/editors/gnuserv/files/dtemacs \
    pkgsrc/editors/gnuserv/files/dtemacs.1 \
    pkgsrc/editors/gnuserv/files/gnuserv.desktop
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/editors/gnuserv/patches/patch-aa
cvs rdiff -u -r0 -r1.1 pkgsrc/editors/gnuserv/patches/patch-gnuserv.1 \
    pkgsrc/editors/gnuserv/patches/patch-sysfile.h
cvs rdiff -u -r1.1 -r1.2 pkgsrc/editors/gnuserv/patches/patch-gnuserv.el

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/editors/gnuserv/Makefile
diff -u pkgsrc/editors/gnuserv/Makefile:1.19 pkgsrc/editors/gnuserv/Makefile:1.20
--- pkgsrc/editors/gnuserv/Makefile:1.19        Sat Sep  9 22:58:51 2023
+++ pkgsrc/editors/gnuserv/Makefile     Mon Sep 11 21:18:49 2023
@@ -1,35 +1,52 @@
-# $NetBSD: Makefile,v 1.19 2023/09/09 22:58:51 mef Exp $
+# $NetBSD: Makefile,v 1.20 2023/09/11 21:18:49 vins Exp $
 
-DISTNAME=      gnuserv-3.12.7
+DISTNAME=      gnuserv-3.12.8
 PKGNAME=       ${EMACS_PKGNAME_PREFIX}${DISTNAME}
-PKGREVISION=   6
 CATEGORIES=    editors
-#MASTER_SITES= ${HOMEPAGE}/src/
+MASTER_SITES=  https://gentoo.mirror.garr.it/distfiles/f8/
 LICENSE=       gnu-gpl-v2
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-#HOMEPAGE=     http://meltin.net/hacks/emacs/
+HOMEPAGE=      https://www.emacswiki.org/emacs/GnuClient
 COMMENT=       Improved version of emacsserver for GNU Emacs
 
-CONFLICTS+=    xemacs-[0-9]*
-
+CONFLICTS+=    xemacs-[0-9]* xemacs-current-[0-9]* # bin/gnuattach; bin/gnuclient
 GNU_CONFIGURE= YES
 
-.include "../../x11/libXau/buildlink3.mk"
-
-EL_FILES=      devices.el gnuserv.el gnuserv-compat.el
-post-install:
-       ${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}
-       cd ${WRKSRC} && for FILE in ${EL_FILES}; do                             \
-               ${INSTALL_DATA} $${FILE} $${FILE}c ${DESTDIR}${EMACS_LISPPREFIX};               \
+CONFIGURE_ARGS+=       --with-x        # X support
+CONFIGURE_ARGS+=       --enable-xauth  # XAUTH authentication
+CONFIGURE_ARGS+=       --with-resolv   # hostname lookup
+CONFIGURE_ARGS+=       --x-includes=${X11BASE}/include
+CONFIGURE_ARGS+=       --x-libraries=${X11BASE}/lib
+
+EL_FILES=              devices.el gnuserv.el gnuserv-compat.el
+
+INSTALLATION_DIRS+=    ${EMACS_LISPPREFIX} share/applications  \
+                       share/doc/${PKGBASE}
+
+.PHONY: el-install doc-install
+
+el-install:
+       cd ${WRKSRC} && for FILE in ${EL_FILES}; do     \
+               ${INSTALL_DATA} $${FILE} $${FILE}c      \
+                       ${DESTDIR}${EMACS_LISPPREFIX};  \
        done
 
-.include "../../mk/bsd.prefs.mk"
-
-.if ${X11_TYPE} == "modular"
-CONFIGURE_ARGS+=       --x-includes=${PREFIX}/include
-CONFIGURE_ARGS+=       --x-libraries=${PREFIX}/lib
-.endif
+doc-install:
+       ${INSTALL_DATA} ${WRKSRC}/README                \
+       ${DESTDIR}${PREFIX}/share/doc/gnuserv
+       ${INSTALL_DATA} ${FILESDIR}/README.pkgsrc       \
+               ${DESTDIR}${PREFIX}/share/doc/gnuserv
+
+post-install: el-install doc-install
+       ${INSTALL_SCRIPT} ${FILESDIR}/dtemacs           \
+               ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_MAN} ${FILESDIR}/dtemacs.1            \
+               ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_DATA} ${FILESDIR}/gnuserv.desktop     \
+               ${DESTDIR}${PREFIX}/share/applications
 
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../editors/emacs/modules.mk"
+.include "../../x11/libXau/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/editors/gnuserv/PLIST
diff -u pkgsrc/editors/gnuserv/PLIST:1.1.1.1 pkgsrc/editors/gnuserv/PLIST:1.2
--- pkgsrc/editors/gnuserv/PLIST:1.1.1.1        Sun Jun  8 05:46:34 2003
+++ pkgsrc/editors/gnuserv/PLIST        Mon Sep 11 21:18:49 2023
@@ -1,12 +1,17 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/06/08 05:46:34 epg Exp $
+@comment $NetBSD: PLIST,v 1.2 2023/09/11 21:18:49 vins Exp $
+bin/dtemacs
 bin/gnuattach
 bin/gnuclient
 bin/gnudoit
 bin/gnuserv
+man/man1/dtemacs.1
 man/man1/gnuattach.1
 man/man1/gnuclient.1
 man/man1/gnudoit.1
 man/man1/gnuserv.1
+share/applications/gnuserv.desktop
+share/doc/gnuserv/README
+share/doc/gnuserv/README.pkgsrc
 ${EMACS_LISPPREFIX}/devices.el
 ${EMACS_LISPPREFIX}/devices.elc
 ${EMACS_LISPPREFIX}/gnuserv-compat.el

Index: pkgsrc/editors/gnuserv/distinfo
diff -u pkgsrc/editors/gnuserv/distinfo:1.9 pkgsrc/editors/gnuserv/distinfo:1.10
--- pkgsrc/editors/gnuserv/distinfo:1.9 Sat Sep  9 22:58:51 2023
+++ pkgsrc/editors/gnuserv/distinfo     Mon Sep 11 21:18:49 2023
@@ -1,9 +1,11 @@
-$NetBSD: distinfo,v 1.9 2023/09/09 22:58:51 mef Exp $
+$NetBSD: distinfo,v 1.10 2023/09/11 21:18:49 vins Exp $
 
-BLAKE2s (gnuserv-3.12.7.tar.gz) = e3651b82781a0fee741570e6d20a7e2dcf833323affb99ee58b5c9f18f1c245b
-SHA512 (gnuserv-3.12.7.tar.gz) = 3d5f64358a6c0d9d05eabf5aeb345400f8fcc53bc91ffde6ab17c6cffbe58aaa463111d426e7fda4e1757e0e25a10b9dd9e935d5d7a4829cb6bea0d700032c51
-Size (gnuserv-3.12.7.tar.gz) = 93709 bytes
-SHA1 (patch-aa) = f10c267b84290265df2a757454b0548bf8383889
+BLAKE2s (gnuserv-3.12.8.tar.gz) = f62316989bf819d02651bbbaa4b4ca34e68644d13d5577fa45841ee044c1b29b
+SHA512 (gnuserv-3.12.8.tar.gz) = e8f387a554c22fb2eb166d388085b9d68a0d865ae56ab71f3ffe09ff46bef04a4ba5b05ca51a1110e1dff67ae2cd6acc8b18a0fb9df9299dbbf4a001f0924f31
+Size (gnuserv-3.12.8.tar.gz) = 124070 bytes
+SHA1 (patch-aa) = c7dcbc654199c20d2c63f5bcf05754028d2dc8f4
 SHA1 (patch-ab) = 05df71e2531d13f801a0d0ab2a9acb8faa2742ea
 SHA1 (patch-gnuserv-compat.el) = da60d701fccf4556b9e58478310ec0bb42eb54a5
-SHA1 (patch-gnuserv.el) = 3bbc27f14c20ea9e25e775154de465c1473b0094
+SHA1 (patch-gnuserv.1) = 3dfb5c2399dfa9bfc34d3620d50feb7c64795e69
+SHA1 (patch-gnuserv.el) = 7b2b93ef28c7aa421d988bd87ba50f4ded87495d
+SHA1 (patch-sysfile.h) = c52db231b302f5bcd9e183dbdd0853b927dab2d8

Index: pkgsrc/editors/gnuserv/patches/patch-aa
diff -u pkgsrc/editors/gnuserv/patches/patch-aa:1.1.1.1 pkgsrc/editors/gnuserv/patches/patch-aa:1.2
--- pkgsrc/editors/gnuserv/patches/patch-aa:1.1.1.1     Sun Jun  8 05:46:34 2003
+++ pkgsrc/editors/gnuserv/patches/patch-aa     Mon Sep 11 21:18:49 2023
@@ -1,8 +1,48 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/06/08 05:46:34 epg Exp $
+$NetBSD: patch-aa,v 1.2 2023/09/11 21:18:49 vins Exp $
 
---- gnuserv.c.orig     Fri Sep 13 07:19:16 2002
+* Fix buffer overflows.
+* Fix for handling missing auth token case.
+
+--- gnuserv.c.orig     2007-10-20 22:33:25.000000000 +0000
 +++ gnuserv.c
-@@ -793,7 +793,7 @@ unix_init (void)
+@@ -138,7 +138,7 @@ void
+ ipc_init (struct msgbuf **msgpp)
+ {
+   key_t key;                  /* messge key */
+-  char buf[GSERV_BUFSZ];      /* pathname for key */
++  char buf[GSERV_BUFSZ+1];    /* pathname for key */
+ 
+   sprintf (buf,"%s/gsrv%d",tmpdir,(int)geteuid ());
+   creat (buf,0600);
+@@ -175,7 +175,7 @@ void
+ handle_ipc_request (struct msgbuf *msgp)
+ {
+   struct msqid_ds msg_st;     /* message status */
+-  char buf[GSERV_BUFSZ];
++  char buf[GSERV_BUFSZ+1];
+   int len;                    /* length of message / read */
+   int s, result_len;            /* tag fields on the response from emacs */
+   int offset = 0;
+@@ -622,7 +622,17 @@ setup_table (void)
+                                  sizeof(host_addr), (char *)&host_addr,
+                                  strlen(MCOOKIE_SCREEN), MCOOKIE_SCREEN,
+                                  strlen(MCOOKIE_X_NAME), MCOOKIE_X_NAME);
+-  hosts++;
++
++  if (server_xauth)
++    {
++      if (server_xauth->data)
++        hosts++;
++      else
++      {
++        XauDisposeAuth (server_xauth);
++        server_xauth = NULL;
++      }
++    }
+ 
+ #endif /* AUTH_MAGIC_COOKIE */
+ 
+@@ -795,7 +805,7 @@ unix_init (void)
             + strlen (server.sun_path) + 1);
    server.sun_len = bindlen;
  #else

Index: pkgsrc/editors/gnuserv/patches/patch-gnuserv.el
diff -u pkgsrc/editors/gnuserv/patches/patch-gnuserv.el:1.1 pkgsrc/editors/gnuserv/patches/patch-gnuserv.el:1.2
--- pkgsrc/editors/gnuserv/patches/patch-gnuserv.el:1.1 Sat Sep  9 22:58:51 2023
+++ pkgsrc/editors/gnuserv/patches/patch-gnuserv.el     Mon Sep 11 21:18:49 2023
@@ -1,9 +1,11 @@
-$NetBSD: patch-gnuserv.el,v 1.1 2023/09/09 22:58:51 mef Exp $
+$NetBSD: patch-gnuserv.el,v 1.2 2023/09/11 21:18:49 vins Exp $
 
-For emacs28, (define-obsolete-variable-alias) needs when argument
+* For emacs28, (define-obsolete-variable-alias) needs when argument
+* Function process-kill-without-query is obsolete since 22.1
+  and no longer exists in 27.
 
---- gnuserv.el.orig    2004-10-19 17:50:01.000000000 +0900
-+++ gnuserv.el 2023-09-10 07:50:00.863815888 +0900
+--- gnuserv.el.orig    2004-10-19 08:50:01.000000000 +0000
++++ gnuserv.el
 @@ -103,25 +103,25 @@ Set this to nil if you don't want a mode
  ;; new forms.  This ugly crock must be before the variable
  ;; declaration, or the scheme fails.
@@ -40,3 +42,12 @@ For emacs28, (define-obsolete-variable-a
  
  ;;;###autoload
  (defcustom gnuserv-frame nil
+@@ -738,7 +738,7 @@ All the clients will be disposed of via 
+           (start-process "gnuserv" nil gnuserv-program)))
+     (set-process-sentinel gnuserv-process 'gnuserv-sentinel)
+     (set-process-filter gnuserv-process 'gnuserv-process-filter)
+-    (process-kill-without-query gnuserv-process)
++    (set-process-query-on-exit-flag gnuserv-process nil)
+     (setq allow-deletion-of-last-visible-frame t)
+     (run-hooks 'gnuserv-init-hook)))
+ 

Added files:

Index: pkgsrc/editors/gnuserv/files/README.pkgsrc
diff -u /dev/null pkgsrc/editors/gnuserv/files/README.pkgsrc:1.1
--- /dev/null   Mon Sep 11 21:18:49 2023
+++ pkgsrc/editors/gnuserv/files/README.pkgsrc  Mon Sep 11 21:18:49 2023
@@ -0,0 +1,20 @@
+ How to get started with gnuserv
+---------------------------------------------
+
+In order to start the server automatically, place the following lines
+in your .emacs:
+   
+   (load "gnuserv-compat")
+   (gnuserv-start)
+
+--
+
+The gnuserv package also distributes a script named "dtemacs" which
+will run check for an already running instance of emacs, and start one
+if non is found.
+
+--
+
+More information about gnuserv can be found at:
+
+     http://www.emacswiki.org/cgi-bin/wiki/GnuClient
Index: pkgsrc/editors/gnuserv/files/dtemacs
diff -u /dev/null pkgsrc/editors/gnuserv/files/dtemacs:1.1
--- /dev/null   Mon Sep 11 21:18:49 2023
+++ pkgsrc/editors/gnuserv/files/dtemacs        Mon Sep 11 21:18:49 2023
@@ -0,0 +1,33 @@
+#!/bin/sh
+ 
+# $Id: dtemacs,v 1.1 2023/09/11 21:18:49 vins Exp $
+
+# Try to contact Emacs with gnuclient, starting Emacs if no answer.
+# Pass all options to gnuclient.  This version is standalone and doesn't
+# need any fancy elisp.
+
+GNUCLIENT=gnuclient
+GNUCLIENTPINGOPTIONS="-batch -eval t"
+EMACS=emacs
+TIMEOUT=20
+
+# If Emacs doesn't seem to be running then make it so.
+if ${GNUCLIENT} ${GNUCLIENTPINGOPTIONS} >/dev/null 2>&1 ; then
+    :
+else
+    ${EMACS} -iconic -eval "(setq gnuserv-kill-quietly t)" -f gnuserv-start 2>&1 >/dev/null &
+fi
+ 
+# Try for TIMEOUT seconds to talk to the Emacs process.
+ 
+count=0
+until ${GNUCLIENT} ${GNUCLIENTPINGOPTIONS} >/dev/null 2>&1 ; do
+    if [ ${count} -gt ${TIMEOUT} ] ; then
+        echo "dtemacs: error starting Emacs" 1>&2
+        exit 1
+    fi
+    sleep 1
+    count=`expr ${count} + 1`
+done
+ 
+exec ${GNUCLIENT} ${1+"$@"}
Index: pkgsrc/editors/gnuserv/files/dtemacs.1
diff -u /dev/null pkgsrc/editors/gnuserv/files/dtemacs.1:1.1
--- /dev/null   Mon Sep 11 21:18:49 2023
+++ pkgsrc/editors/gnuserv/files/dtemacs.1      Mon Sep 11 21:18:49 2023
@@ -0,0 +1,24 @@
+.TH dtemacs 1
+.SH NAME
+dtemacs \- contact Emacs with gnuclient, starting Emacs if no answer.
+.SH SYNOPSIS
+.B dtemacs
+.SH DESCRIPTION
+.I dtemacs
+tries to contact Emacs with gnuclient, starting Emacs if no answer.
+Pass all options to gnuclient.  This version is standalone and doesn't
+need any fancy elisp.
+.SH "BUGS"
+
+.I dtemacs
+will not work (or behave unpredicably) if your .emacs startup file
+calls the function gnuserv-start.
+
+.SH "SEE ALSO"
+.IR emacs (1),
+.IR gnuserv (1).
+.SH "AUTHOR" 
+.PP 
+This manual page was written by Benjamin Drieu <benj@@debian.org> for
+the \fBDebian\fP system (but may be used by others).  It is placed
+under public domain.
Index: pkgsrc/editors/gnuserv/files/gnuserv.desktop
diff -u /dev/null pkgsrc/editors/gnuserv/files/gnuserv.desktop:1.1
--- /dev/null   Mon Sep 11 21:18:49 2023
+++ pkgsrc/editors/gnuserv/files/gnuserv.desktop        Mon Sep 11 21:18:49 2023
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=gnuclient
+GenericName=gnuclient
+Comment=Client for the GNU Emacs Text Editor
+Exec=/usr/bin/gnuclient.emacs %F
+TryExec=gnuclient
+Terminal=false
+Type=Application
+Categories=Application;Utility;TextEditor;
+MimeType=text/plain

Index: pkgsrc/editors/gnuserv/patches/patch-gnuserv.1
diff -u /dev/null pkgsrc/editors/gnuserv/patches/patch-gnuserv.1:1.1
--- /dev/null   Mon Sep 11 21:18:49 2023
+++ pkgsrc/editors/gnuserv/patches/patch-gnuserv.1      Mon Sep 11 21:18:49 2023
@@ -0,0 +1,88 @@
+$NetBSD: patch-gnuserv.1,v 1.1 2023/09/11 21:18:49 vins Exp $
+
+gnuserv targets GNU Emacs not XEmacs.
+
+--- gnuserv.1.orig     2002-09-13 12:18:01.000000000 +0000
++++ gnuserv.1
+@@ -1,7 +1,7 @@
+ .TH GNUSERV 1 "" "XEmacs Server"
+ .UC 4
+ .SH NAME
+-gnuserv, gnuclient \- Server and Clients for XEmacs
++gnuserv, gnuclient \- Server and Clients for Emacs and XEmacs
+ .SH SYNOPSIS
+ .B gnuclient
+ [-nw] [-display display] [-q] [-v] [-l library] [-batch] [-f function] [-eval form] 
+@@ -17,19 +17,19 @@ Removed as of gnuserv 3.x
+ .SH DESCRIPTION
+ 
+ .PP
+-\fIgnuclient\fP allows the user to request a running XEmacs process to
+-edit the named files or directories and/or evaluate lisp forms.
+-Depending on your environment, it can be an X frame or a TTY frame.
+-One typical use for this is with a dialup connection to a machine on
+-which an XEmacs process is currently running.
++\fIgnuclient\fP allows the user to request a running Emacs or XEmacs process to
++edit the named files or directories and/or evaluate lisp forms.  Depending on
++your environment, it can be an X frame or a TTY frame.  One typical use for
++this is with a dialup connection to a machine on which an Emacs or XEmacs
++process is currently running.
+ .PP
+ \fIgnudoit\fP is a shell script frontend to ``gnuclient -batch -eval form''.
+ Its use is deprecated. Try to get used to calling gnuclient directly.
+ .PP
+-\fIgnuserv\fP is the server program that is set running by XEmacs to
+-handle all incoming and outgoing requests. It is not usually invoked
+-directly, but is started from XEmacs by loading the \fIgnuserv\fP
+-package and evaluating the Lisp form (gnuserv-start).
++\fIgnuserv\fP is the server program that is set running by Emacs or XEmacs to
++handle all incoming and outgoing requests. It is not usually invoked directly,
++but is started from Emacs or XEmacs by loading the \fIgnuserv\fP package and
++evaluating the Lisp form (gnuserv-start).
+ .PP
+ \fIgnuattach\fP no longer exists. Its functionality has been replaced by
+ \fIgnuclient -nw\fP.
+@@ -51,7 +51,7 @@ environment variable is not set.
+ .TP 8
+ .BI \-display " display, " \--display " display" 
+ If this option is given or the `DISPLAY' environment variable is set
+-then gnuclient will tell XEmacs to edit files in a frame on the
++then gnuclient will tell Emacs to edit files in a frame on the
+ specified X device.
+ .TP 8
+ .BI \-q
+@@ -118,7 +118,7 @@ it will have to be specified via one of 
+ .TP 8
+ .BI \-r " pathname"
+ Used only with Internet-domain sockets, the pathname argument may be
+-needed to inform XEmacs how to reach the root directory of a remote
++needed to inform Emacs how to reach the root directory of a remote
+ machine.  \fIgnuclient\fP prepends this string to each path argument
+ given.  For example, if you were trying to edit a file on a client
+ machine called otter, whose root directory was accessible from the
+@@ -254,6 +254,11 @@ to "kali,"  the `xauth list' output shou
+ KALI.FTM.CS.CMU.EDU:999  MIT-MAGIC-COOKIE-1  1234
+ .RE
+ .PP
++To create the cookie, you can use a command like 
++.RS 4
++xauth add `hostname`:999 MIT-MAGIC-COOKIE-1 `head -c512 /dev/urandom|md5sum`
++.RE
++.PP
+ For more information on authorization files, take a look at the
+ xauth(1X11) man page, or invoke xauth interactively (without any
+ arguments) and type "help" at the prompt. Remember that case in the
+@@ -279,11 +284,11 @@ Default X device to put edit frame.
+ (unix domain sockets only)
+ .TP 8
+ .B ~/.emacs
+-XEmacs customization file, see xemacs(1).
++Emacs customization file, see emacs(1) and xemacs(1).
+ .SH SEE ALSO
+ .PP
+ .TP 8
+-xauth(1X11), Xsecurity(1X11), gnuserv.el
++dtemacs(1), xauth(1X11), Xsecurity(1X11), gnuserv.el
+ .SH BUGS
+ .PP 
+ NULs occurring in result strings don't get passed back to gnudoit properly.
Index: pkgsrc/editors/gnuserv/patches/patch-sysfile.h
diff -u /dev/null pkgsrc/editors/gnuserv/patches/patch-sysfile.h:1.1
--- /dev/null   Mon Sep 11 21:18:49 2023
+++ pkgsrc/editors/gnuserv/patches/patch-sysfile.h      Mon Sep 11 21:18:49 2023
@@ -0,0 +1,21 @@
+$NetBSD: patch-sysfile.h,v 1.1 2023/09/11 21:18:49 vins Exp $
+
+This hack is not really needed.
+
+--- sysfile.h.orig     2007-10-20 22:23:32.000000000 +0000
++++ sysfile.h
+@@ -422,14 +422,6 @@ extern int h_errno;
+ int dup2 (int oldd, int newd);
+ #endif
+ 
+-#ifndef HAVE_STRERROR
+-/* X11R6 defines strerror as a macro */
+-# ifdef strerror
+-# undef strerror
+-# endif
+-const char *strerror (int);
+-#endif
+-
+ 
+ 
+ /* 



Home | Main Index | Thread Index | Old Index