aboutsummaryrefslogtreecommitdiffstats
path: root/net/rmsg/files
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2014-04-13 18:55:38 +0800
committerrene <rene@FreeBSD.org>2014-04-13 18:55:38 +0800
commit6052b05decc9d9f83a7550171c7df60a86cdab14 (patch)
tree945be4c82f4ab2b27427f5ba33627b6ec0e06991 /net/rmsg/files
parentf9276ec687c523aef9032ffd4ee73886858e9f03 (diff)
downloadfreebsd-ports-graphics-6052b05decc9d9f83a7550171c7df60a86cdab14.tar.gz
freebsd-ports-graphics-6052b05decc9d9f83a7550171c7df60a86cdab14.tar.zst
freebsd-ports-graphics-6052b05decc9d9f83a7550171c7df60a86cdab14.zip
Remove expired ports:
2014-04-12 net/pvm++: Unmaintained since 2001 2014-04-12 devel/ixlib: Unmaintained since 2001 2014-04-12 mail/althea: Unmaintained since 2001 2014-04-12 graphics/claraocr: Unmaintained since 2001 2014-04-12 graphics/qvplay: Unmaintained since 2001 2014-04-12 print/guitartex: Unmaintained since 2001 2014-04-12 print/pnm2ppa: Unmaintained since 2001 2014-04-12 graphics/opendis: Unmaintained since 2001 2014-04-12 net/gnome-mud: Unmaintained since 2001 2014-04-12 graphics/maverik: Unmaintained since 2001 2014-04-12 biology/rasmol: Unmaintained since 2001 2014-04-12 mail/mail2procmailrc: Unmaintained since 2001 2014-04-12 science/felt: Unmaintained since 2001 2014-04-12 textproc/pardiff: Unmaintained since 2001 2014-04-12 lang/klone: Unmaintained since 2001 2014-04-12 net/rmsg: Unmaintained since 2001 2014-04-12 net/sharity-light: Unmaintained since 2001 2014-04-12 biology/genpak: Unmaintained since 2001 2014-04-12 net/forg: Unmaintained since 2001 2014-04-12 misc/txt2regex: Unmaintained since 2001 2014-04-12 textproc/ipdf: Unmaintained since 2001 2014-04-12 graphics/plotmtv: Unmaintained since 2001 2014-04-12 devel/happydoc: Unmaintained since 2001 2014-04-12 print/cpp2latex: Unmaintained since 2001 2014-04-12 graphics/svg2swf: Unmaintained since 2001 2014-04-12 devel/flick: Unmaintained since 2001 2014-04-12 mail/smail: Unmaintained since 2001 2014-04-12 net/net-http: Unmaintained since 2001 2014-04-12 security/cfv: Unmaintained since 2001 2014-04-12 graphics/camediaplay: Unmaintained since 2001 2014-04-12 math/umatrix: Unmaintained since 2001
Diffstat (limited to 'net/rmsg/files')
-rw-r--r--net/rmsg/files/patch-aa52
-rw-r--r--net/rmsg/files/patch-ab82
-rw-r--r--net/rmsg/files/patch-ac51
-rw-r--r--net/rmsg/files/patch-ae38
-rw-r--r--net/rmsg/files/patch-rmsg.c36
-rw-r--r--net/rmsg/files/patch-server.c98
-rw-r--r--net/rmsg/files/patch-xdr16
-rw-r--r--net/rmsg/files/rmsgd.in15
8 files changed, 0 insertions, 388 deletions
diff --git a/net/rmsg/files/patch-aa b/net/rmsg/files/patch-aa
deleted file mode 100644
index 817aeae2170..00000000000
--- a/net/rmsg/files/patch-aa
+++ /dev/null
@@ -1,52 +0,0 @@
-*** Makefile.orig Mon Oct 9 13:12:47 1995
---- Makefile Mon Oct 9 13:17:04 1995
-***************
-*** 3,25 ****
- # -DBSD if on a BSD system, -DHPUX and -DUSG5 if on hp-ux
- # -DBSD and -DSUNOS for SUNOS.
- # -DNOBODY=100 numeric id for nobody user if setuid to user fails
-! # (shouldn't happen)
- #CFLAGS = -O -DBITNET -DNOBODY=100
- #CFLAGS = -O -DBSD -DBITNET -DNOBODY=65534 -DSUNOS
-! CFLAGS = -O2 -DSVR4 -DNOBODY=32
- OBJS = xdr.o parser.o misc.o
- SRC = xdr.c parser.c misc.c
-! CC = gcc
-! LIBS = -lrpcsvc -lsocket -lnsl
- BIN = rmsg rmsgd
-
- # These are for make install
-! DAEMONDIR = /usr/local/etc
-! BINDIR = /usr/local/bin
-
-! MAN1 = /usr/local/man/man1
- # place for rmsg.1
-! MAN8 = /usr/local/man/man8
- # place for rmsgd.8
-
- all: $(BIN)
---- 3,26 ----
- # -DBSD if on a BSD system, -DHPUX and -DUSG5 if on hp-ux
- # -DBSD and -DSUNOS for SUNOS.
- # -DNOBODY=100 numeric id for nobody user if setuid to user fails
-! # (shouldn't hap
- #CFLAGS = -O -DBITNET -DNOBODY=100
- #CFLAGS = -O -DBSD -DBITNET -DNOBODY=65534 -DSUNOS
-! #CFLAGS = -O2 -DSVR4 -DNOBODY=32
-! CFLAGS+= -D_HAVE_PARAM_H
- OBJS = xdr.o parser.o misc.o
- SRC = xdr.c parser.c misc.c
-! #CC = gcc
-! LIBS = -lrpcsvc # -lsocket -lnsl
- BIN = rmsg rmsgd
-
- # These are for make install
-! DAEMONDIR = ${PREFIX}/sbin
-! BINDIR = ${PREFIX}/bin
-
-! MAN1 = ${PREFIX}/man/man1
- # place for rmsg.1
-! MAN8 = ${PREFIX}/man/man8
- # place for rmsgd.8
-
- all: $(BIN)
diff --git a/net/rmsg/files/patch-ab b/net/rmsg/files/patch-ab
deleted file mode 100644
index bc83dd37e9c..00000000000
--- a/net/rmsg/files/patch-ab
+++ /dev/null
@@ -1,82 +0,0 @@
-*** parser.c Sat Jun 26 17:04:41 1993
---- parser.c Tue Apr 23 17:26:30 2013
-***************
-*** 11,22 ****
- * Last modified: Sat Aug 20 18:47:54 1988
- */
-
- #include <stdio.h>
-! #if defined(SVR4)
-! # include <string.h>
-! #else
-! # include <strings.h>
-! #endif /* SVR4 */
- #include <pwd.h>
- #include <ctype.h>
- #include <sys/types.h>
---- 11,19 ----
- * Last modified: Sat Aug 20 18:47:54 1988
- */
-
-+ #include <stdlib.h>
- #include <stdio.h>
-! #include <string.h>
- #include <pwd.h>
- #include <ctype.h>
- #include <sys/types.h>
-***************
-*** 71,79 ****
-
- /* end of config params */
-
-- struct passwd *getpwnam();
-- char *malloc();
--
- extern char *progname;
- extern int debug;
-
---- 68,73 ----
-***************
-*** 89,94 ****
---- 83,89 ----
- char *user;
- {
- struct passwd *pwd;
-+ uid_t nobody;
- static char line[LINE_LEN];
- static char config[PATHLEN];
-
-***************
-*** 107,119 ****
- a->next = 0;
- cur_ali = aliases = a;
-
- if (!(pwd = getpwnam(user)))
- return(ERR_UNK_USER);
-
- if (root) {
- (void) setgid (pwd->pw_gid);
- if (setuid (pwd->pw_uid) == -1)
-! (void) setuid(NOBODY);
- }
-
- (void) strcpy (home, pwd->pw_dir);
---- 102,119 ----
- a->next = 0;
- cur_ali = aliases = a;
-
-+ if (!(pwd = getpwnam("nobody")))
-+ exit(67);
-+
-+ nobody = pwd->pw_uid;
-+
- if (!(pwd = getpwnam(user)))
- return(ERR_UNK_USER);
-
- if (root) {
- (void) setgid (pwd->pw_gid);
- if (setuid (pwd->pw_uid) == -1)
-! (void) setuid(nobody);
- }
-
- (void) strcpy (home, pwd->pw_dir);
diff --git a/net/rmsg/files/patch-ac b/net/rmsg/files/patch-ac
deleted file mode 100644
index 5defeda5187..00000000000
--- a/net/rmsg/files/patch-ac
+++ /dev/null
@@ -1,51 +0,0 @@
-*** rmsg.h Sat Jun 26 17:05:59 1993
---- rmsg.h Tue Apr 23 17:18:46 2013
-***************
-*** 11,16 ****
---- 11,20 ----
- * Last modified: Sat Aug 20 16:43:03 1988
- */
-
-+ #ifdef _HAVE_PARAM_H
-+ #include <sys/param.h>
-+ #endif
-+
- #if defined(USG5) || defined(SVR4)
- # define index strchr
- # define rindex strrchr
-***************
-*** 46,57 ****
- #define PATHLEN 1024
- #define LINELEN 1024
-
- #define UTMP "/etc/utmp"
- #define UTMP_TTY_SIZE 8
- #define UTMP_NAME_SIZE 8
-
- struct command {
-! char *token; /* Command name, e.g. msglast */
- int (*function)(); /* Function which it is supposed to run */
- };
-
---- 50,70 ----
- #define PATHLEN 1024
- #define LINELEN 1024
-
-+
-+ #if (defined(BSD) && (BSD >= 199103))
-+ #include <paths.h>
-+ #include <utmp.h>
-+ #define UTMP _PATH_UTMP
-+ #define UTMP_TTY_SIZE UT_LINESIZE
-+ #define UTMP_NAME_SIZE UT_NAMESIZE
-+ #else
- #define UTMP "/etc/utmp"
- #define UTMP_TTY_SIZE 8
- #define UTMP_NAME_SIZE 8
-+ #endif
-
- struct command {
-! const char *token; /* Command name, e.g. msglast */
- int (*function)(); /* Function which it is supposed to run */
- };
-
diff --git a/net/rmsg/files/patch-ae b/net/rmsg/files/patch-ae
deleted file mode 100644
index 4661d739ebc..00000000000
--- a/net/rmsg/files/patch-ae
+++ /dev/null
@@ -1,38 +0,0 @@
---- misc.c 1991-11-08 07:10:03.000000000 -0500
-+++ misc.c 2013-04-23 17:48:12.000000000 -0400
-@@ -12,5 +12,7 @@
- */
-
-+#include <libgen.h>
- #include <stdio.h>
-+#include <stdlib.h>
- #include <sys/types.h>
- #include <sys/types.h>
-@@ -21,18 +23,9 @@
- #endif
- #include <time.h>
-+#include <rpc/rpc.h>
- #include "rmsg.h"
- #include "rmsgprot.h"
-
--char *append(), *ctime(), *malloc(), *strcpy();
--long time();
--
--char *basename(x)
--char *x;
--{
-- char *tmp;
-- if (tmp = rindex (x, '/')) tmp++;
-- else tmp = x;
-- return (tmp);
--}
-+static char *append();
-
- /*
-@@ -107,5 +100,5 @@
- break;
- case 'd':
-- now = time((long *) NULL);
-+ now = time(NULL);
- p = ctime (&now);
- /* We don't want the cr */
diff --git a/net/rmsg/files/patch-rmsg.c b/net/rmsg/files/patch-rmsg.c
deleted file mode 100644
index 91e89437a4a..00000000000
--- a/net/rmsg/files/patch-rmsg.c
+++ /dev/null
@@ -1,36 +0,0 @@
---- rmsg.c 1992-11-23 16:27:09.000000000 -0500
-+++ rmsg.c 2013-04-23 17:00:01.000000000 -0400
-@@ -30,4 +30,6 @@
- #include <string.h>
- #endif
-+#include <stdlib.h>
-+#include <unistd.h>
-
- #include <pwd.h>
-@@ -42,5 +44,2 @@
- #define HNLEN 200
-
--int xdr_rmsg(), getopt();
--char *getlogin(), *basename(), *index(), *rindex();
--uid_t getuid();
-@@ -49,9 +51,4 @@
- void report();
- char *getalias(), *parseheader();
--#ifdef SUNOS
--void *malloc();
--#else
--char *malloc();
--#endif
- void storeout();
- extern struct hostent *gethostbyname();
-@@ -72,9 +69,9 @@
- #endif
-
-+int
- main(argc,argv)
- int argc;
- char **argv;
- {
-- extern char *optargs;
- extern int optind;
-
diff --git a/net/rmsg/files/patch-server.c b/net/rmsg/files/patch-server.c
deleted file mode 100644
index 379dd440b66..00000000000
--- a/net/rmsg/files/patch-server.c
+++ /dev/null
@@ -1,98 +0,0 @@
---- server.c 1993-06-26 17:23:23.000000000 -0400
-+++ server.c 2013-04-23 17:13:15.000000000 -0400
-@@ -24,7 +24,11 @@
-
- #define SERVER
-
-+#include <libgen.h>
- #include <stdio.h>
-+#include <stdlib.h>
-+#include <sys/param.h>
-+#include <unistd.h>
- #if defined(SVR4)
- # include <netinet/in.h>
- #endif /* SVR4 */
-@@ -39,11 +43,7 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <sys/file.h>
--#if defined(SVR4)
--# include <string.h>
--#else
--# include <strings.h>
--#endif /* SVR4 */
-+#include <string.h>
- #include <sys/ioctl.h>
- #ifndef USG5
- #include <sys/wait.h>
-@@ -54,19 +54,12 @@
- #endif /* USG5 || SVR4 */
-
- #include <sys/param.h>
--#include <sgtty.h>
- #include <sys/types.h>
- #include <ctype.h>
-
--int xdr_rmsg(), smsg();
-+static void smsg(struct svc_req *, SVCXPRT *);
- int tty_write(), dowrite();
--char *basename(), *parseheader();
--#ifdef SUNOS
--void *malloc();
--#else
--char *malloc();
--#endif
--long time();
-+char *parseheader();
- uid_t getuid();
- char *progname;
- int debug = 0;
-@@ -99,6 +93,9 @@
- }
-
- if (! strcmp (basename (progname), "rmsgd")) {
-+#if (defined(BSD) && (BSD >= 199306))
-+ (void)daemon(0,0);
-+#else
- if (fork()) _exit(0); /* make myself a daemon */
- #ifdef BSD
- fd = open("/dev/tty", O_RDWR); /* disconnect from control tty */
-@@ -109,10 +106,11 @@
- #else
- (void) setpgrp ();
- #endif
-+#endif
- }
-
- else {
-- (void) fprintf (stderr, "Starting from inetd not yet supported, rename me ase rmsgd and start\nfrom /etc/rc\n");
-+ (void) fprintf (stderr, "Starting from inetd not yet supported. Start via the rc.d script\n");
- }
-
- if (argc > 1)
-@@ -136,13 +134,14 @@
- exit(-3);
- }
-
-+void
- smsg(rqstp, transp)
- struct svc_req *rqstp;
- SVCXPRT *transp;
- {
- int child, pid, fd;
- unsigned int retval = 0;
--#if defined(HPUX) || defined(SVR4)
-+#if defined(HPUX) || defined(SVR4) || defined(BSD)
- int status;
- #else
- union wait status;
-@@ -198,6 +197,9 @@
- #if defined(HPUX) || defined(SVR4)
- if (status & 0xff) retval = -1;
- else retval = ((status & 0xffff) >> 8);
-+#elif defined(BSD)
-+ if (WIFSIGNALED(status)) retval = -1;
-+ else retval = WEXITSTATUS(status);
- #else
- if (status.w_termsig) retval = -1; /* ended in signal */
- else retval = status.w_retcode;
diff --git a/net/rmsg/files/patch-xdr b/net/rmsg/files/patch-xdr
deleted file mode 100644
index 85ff46810f2..00000000000
--- a/net/rmsg/files/patch-xdr
+++ /dev/null
@@ -1,16 +0,0 @@
---- xdr.c 1988-08-20 12:56:53.000000000 -0400
-+++ xdr.c 2013-04-23 17:35:08.000000000 -0400
-@@ -15,5 +15,3 @@
- #include "rmsgprot.h"
-
--int xdr_rmsg (xdrsp, rm)
-+bool_t xdr_rmsg (XDR *xdrsp, struct rmsg_par *rm)
--XDR *xdrsp;
--struct rmsg_par *rm;
---- rmsgprot.h 1988-08-20 12:56:51.000000000 -0400
-+++ rmsgprot.h 2013-04-23 17:34:03.000000000 -0400
-@@ -29,2 +29,4 @@
- char *msg;
- };
-+
-+bool_t xdr_rmsg(XDR *, struct rmsg_par *);
diff --git a/net/rmsg/files/rmsgd.in b/net/rmsg/files/rmsgd.in
deleted file mode 100644
index 24794ef13fa..00000000000
--- a/net/rmsg/files/rmsgd.in
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: rmsg
-# REQUIRE: DAEMON
-# BEFORE: LOGIN
-# KEYWORD: shutdown
-
-. /etc/rc.subr
-
-name="rmsgd"
-rcvar="rmsgd_enable"
-command="%%PREFIX%%/sbin/${name}"
-
-load_rc_config $name
-run_rc_command "$1"