summaryrefslogtreecommitdiff
path: root/misc/mshell
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 21:38:59 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 21:38:59 +0000
commitbeced671bdcb6ffe50e652d814ac803ba36386d8 (patch)
tree88eb9dbb4fc80b7d159c64e16db129bdd9b80aed /misc/mshell
parentAdd the current SUSv4/Open Group Base Specifications Issue 7. (diff)
Remove non staged ports without pending PR from m*
Notes
Notes: svn path=/head/; revision=366962
Diffstat (limited to 'misc/mshell')
-rw-r--r--misc/mshell/Makefile31
-rw-r--r--misc/mshell/distinfo2
-rw-r--r--misc/mshell/files/patch-aa62
-rw-r--r--misc/mshell/files/patch-ab37
-rw-r--r--misc/mshell/files/patch-ac19
-rw-r--r--misc/mshell/files/patch-ad76
-rw-r--r--misc/mshell/files/patch-ae30
-rw-r--r--misc/mshell/files/patch-ag13
-rw-r--r--misc/mshell/files/patch-ai11
-rw-r--r--misc/mshell/pkg-descr9
-rw-r--r--misc/mshell/pkg-plist4
11 files changed, 0 insertions, 294 deletions
diff --git a/misc/mshell/Makefile b/misc/mshell/Makefile
deleted file mode 100644
index e0524ba0b321..000000000000
--- a/misc/mshell/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-# Created by: jmz
-# $FreeBSD$
-
-PORTNAME= mshell
-PORTVERSION= 1.0
-PORTREVISION= 2
-CATEGORIES= misc
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= jmz
-DISTFILES= 7432.Z
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Unix menuing shell
-
-NO_WRKSUBDIR= yes
-MAN1= mshell.1
-
-NO_STAGE= yes
-do-extract:
- @${RM} -rf ${WRKDIR}
- @${MKDIR} ${WRKDIR}
- zcat ${DISTDIR}/${DISTFILES} |(cd ${WRKDIR}; \
- ${AWK} '{if (/^#!/) x++} {if(x) print $$0'}| ${SH})
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 900000
-BROKEN= does not build
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/misc/mshell/distinfo b/misc/mshell/distinfo
deleted file mode 100644
index 9af45f99f246..000000000000
--- a/misc/mshell/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (7432.Z) = fadf902b67bcc4ec117ba0e64557e43697b77a4544fd25426a74a546383a01c1
-SIZE (7432.Z) = 26827
diff --git a/misc/mshell/files/patch-aa b/misc/mshell/files/patch-aa
deleted file mode 100644
index 9e86c00b96c4..000000000000
--- a/misc/mshell/files/patch-aa
+++ /dev/null
@@ -1,62 +0,0 @@
-*** Makefile.orig Tue May 27 00:29:12 1997
---- Makefile Tue May 27 02:13:51 1997
-***************
-*** 8,21 ****
- #
- # Check mshell.h for other options, e.g., max menu sizes.
-
-! CFLAGS = -O -DBSD -DMENUDIR='"/nyx/lib/menus"' -DLOGDIR='"/nyx/lib/logs"'
- OBJS = mshell.o main.o string.o functions1.o functions2.o chdir.o mail.o \
- settatr.o setenv.o xsystem.o dl.o macro.o
-
- mshell: $(OBJS)
-! cc $(CFLAGS) $(OBJS) -lcurses -ltermcap -o mshell
-
- $(OBJS) : mshell.h
-
- clean:
-! rm *.o mshell
---- 8,50 ----
- #
- # Check mshell.h for other options, e.g., max menu sizes.
-
-! CFLAGS = -O -DBSD -DMENUDIR=\"${PREFIX}/lib/menus\" -DMAILDIR='"/var/mail/"' \
-! -DGLOBAL_MACRO_FILE=\"${PREFIX}/lib/menus/macros\" \
-! -DCOMMAND_LIST=\"${PREFIX}/lib/menus/commands\"
- OBJS = mshell.o main.o string.o functions1.o functions2.o chdir.o mail.o \
- settatr.o setenv.o xsystem.o dl.o macro.o
-
-+ all: mshell
-+
- mshell: $(OBJS)
-! cc $(CFLAGS) $(OBJS) -lncurses -o mshell
-
- $(OBJS) : mshell.h
-
- clean:
-! rm -f *.o mshell
-!
-! install: mshell
-! mkdir -p ${PREFIX}/bin
-! install -c -o bin mshell ${PREFIX}/bin
-! mkdir -p ${PREFIX}/lib/menus
-! sed -e s/dldir/HOME/g < sample.men > ${PREFIX}/lib/menus/sample.men
-! install -c -m 644 menulogin ${PREFIX}/lib/menus
-! mkdir -p ${PREFIX}/man/man1
-! echo .Dd `/bin/date` > mshell.1
-! echo .Dt MSHELL 1 >> mshell.1
-! echo .Sh NAME >> mshell.1
-! echo .Nm mshell >> mshell.1
-! echo .Nd a Unix menuing shell >> mshell.1
-! echo .Sh SYNOPSIS >> mshell.1
-! echo .Nm mshell >> mshell.1
-! echo .Op Fl s >> mshell.1
-! echo .Ar menuname >> mshell.1
-! echo .Sh DESCRIPTION >> mshell.1
-! cat mshell.doc >>mshell.1
-! echo >>mshell.1
-! cat menu.doc >>mshell.1
-! echo >>mshell.1
-! echo .Sh AUTHOR >>mshell.1
-! echo Andrew Burt, aburt@du.edu >>mshell.1
-! install -m 644 mshell.1 ${PREFIX}/man/man1
diff --git a/misc/mshell/files/patch-ab b/misc/mshell/files/patch-ab
deleted file mode 100644
index 8c6ebc6fcae2..000000000000
--- a/misc/mshell/files/patch-ab
+++ /dev/null
@@ -1,37 +0,0 @@
---- settatr.c.orig Mon Mar 26 14:59:01 2007
-+++ settatr.c Mon Mar 26 15:00:41 2007
-@@ -4,7 +4,7 @@
-
- set_terminal_attributes()
- {
--#ifdef BSD
-+#if 0
- struct sgttyb sg;
- struct tchars tc;
- struct ltchars lt;
-@@ -33,20 +33,19 @@
- lt.t_rprntc = '';
- ioctl ( 0, TIOCSLTC, &lt );
- #endif
--#ifdef SYSV
-- struct termio t;
-+#if 1
-+ struct termios t;
-
-- ioctl ( 0, TCGETA, &t );
-+ tcgetattr(0, &t);
-
- t.c_cc[VINTR] = '\003';
- t.c_cc[VERASE] = '\b';
- t.c_cc[VKILL] = '\025';
- t.c_iflag = IGNBRK | IGNPAR | ICRNL | IXON ;
-- t.c_oflag = OPOST | ONLCR ;
-+ t.c_oflag = OPOST | ONLCR | OXTABS;
- t.c_lflag = ISIG | ICANON | ECHO | ECHOE | ECHOK ;
-- t.c_cflag |= TAB3;
-
-- ioctl ( 0, TCSETA, &t );
-+ tcsetattr(0, TCSANOW, &t);
- #endif
- }
- set_resource_limits()
diff --git a/misc/mshell/files/patch-ac b/misc/mshell/files/patch-ac
deleted file mode 100644
index 75efbcd0b77f..000000000000
--- a/misc/mshell/files/patch-ac
+++ /dev/null
@@ -1,19 +0,0 @@
-*** functions1.c.orig Sat Sep 24 00:51:45 1994
---- functions1.c Sat Sep 24 00:52:03 1994
-***************
-*** 15,21 ****
- FILE * fp;
- char record [DESCLEN];
- if (( fp = fopen (filename, "r")) == NULL ) {
-! printf ("\tNo such helpfile as %s\!\!\n", filename);
- return;
- }
-
---- 15,21 ----
- FILE * fp;
- char record [DESCLEN];
- if (( fp = fopen (filename, "r")) == NULL ) {
-! printf ("\tNo such helpfile as %s!!\n", filename);
- return;
- }
-
diff --git a/misc/mshell/files/patch-ad b/misc/mshell/files/patch-ad
deleted file mode 100644
index 039b86499198..000000000000
--- a/misc/mshell/files/patch-ad
+++ /dev/null
@@ -1,76 +0,0 @@
---- mshell.c.orig Sun Oct 20 16:13:17 2002
-+++ mshell.c Sun Oct 20 16:13:45 2002
-@@ -1,5 +1,6 @@
- #include "mshell.h"
- #include <setjmp.h>
-+#include <stdlib.h>
- char * index ();
-
-
-@@ -26,8 +27,7 @@
- exec_string [DESCLEN],
- *args [MAXARGS],
- *menu_array [LINES],
-- tmpword [WORDLEN],
-- *malloc();
-+ tmpword [WORDLEN];
-
- int i,
- idx,
-@@ -35,8 +35,7 @@
- firsttime = TRUE,
- dontdisplay = FALSE,
- unix_flag,
-- menu_flag,
-- exit();
-+ menu_flag;
-
- static jmp_buf topenv;
- static int topenvset;
-@@ -49,7 +48,7 @@
- signal (SIGPIPE, SIG_IGN); /* ignore dead pipes */
- log("enter", m);
-
-- while TRUE {
-+ while (TRUE) {
-
- if (!topenvset) {
- topenvset = TRUE;
-@@ -142,7 +141,7 @@
-
- if ( strcmp (action_string, NULLSTR) == 0 ) {
- invalid_option = TRUE;
-- printf ("\tNo such help option name as: %s\!\!\n", opt2);
-+ printf ("\tNo such help option name as: %s!!\n", opt2);
- }
- else {
- tmpword[0] = EOS;
---- mshell.c~ Tue Aug 19 16:42:36 2003
-+++ mshell.c Tue Aug 19 16:47:53 2003
-@@ -46,7 +46,7 @@
- signal (SIGQUIT, SIG_IGN); /* ignore all ^\ interrupts */
- signal (SIGTSTP, SIG_IGN); /* ignore all ^Z interrupts */
- signal (SIGPIPE, SIG_IGN); /* ignore dead pipes */
-- log("enter", m);
-+ Log("enter", m);
-
- while (TRUE) {
-
-@@ -85,7 +85,7 @@
- printf ("\tSelect choice [or help, x, top, bye]: ");
- opt[0] = 0;
- read_input_line (opt);
-- log(" ", opt);
-+ Log(" ", opt);
- invalid_option = FALSE;
- putchar('\n');
-
-@@ -170,7 +170,7 @@
- for (i = 0; i < LINES; i++)
- if (menu_array[i])
- free(menu_array[i]);
-- log("exit", m);
-+ Log("exit", m);
- return;
- }
- else if (strcmp(opt, "T") == 0 || strcmp(opt, "top") == 0) {
diff --git a/misc/mshell/files/patch-ae b/misc/mshell/files/patch-ae
deleted file mode 100644
index 1ef8f2694bb4..000000000000
--- a/misc/mshell/files/patch-ae
+++ /dev/null
@@ -1,30 +0,0 @@
---- string.c~ Tue Aug 17 03:06:07 2004
-+++ string.c Tue Aug 17 03:06:28 2004
-@@ -4,6 +4,19 @@
- #define strchr index
- #endif
-
-+char * strsave(char *);
-+
-+char *
-+gets (char *s)
-+{
-+ char *x = fgets (s, WORDLEN, stdin);
-+ if (x) {
-+ char *p = strchr (x, '\n');
-+ if (p)
-+ *p = 0;
-+ }
-+ return x;
-+}
-
- /* function to find the position of sub_string in main_string
- * ---------------------------------------------------------- */
-@@ -260,7 +273,6 @@
- /* if it has a multi-command delim, save rest for next time */
- #define MULTI_CMD_DELIM ','
- if (p = index(string, MULTI_CMD_DELIM)) {
-- char *strsave();
- struct inp_link *l;
- *p++ = EOS;
- if ((l=getnode(sizeof(*l))) && (l->input=strsave(p)))
diff --git a/misc/mshell/files/patch-ag b/misc/mshell/files/patch-ag
deleted file mode 100644
index cd3d7a2b3a45..000000000000
--- a/misc/mshell/files/patch-ag
+++ /dev/null
@@ -1,13 +0,0 @@
---- mshell.h.orig Sun Oct 20 16:15:25 2002
-+++ mshell.h Sun Oct 20 16:14:30 2002
-@@ -5,8 +5,8 @@
- #include <sys/types.h>
- #include <sys/stat.h>
- #ifdef BSD
--#include <sys/dir.h> /* accessing the directory structure */
--#include <sgtty.h> /* struct for terminal attributes */
-+#include <dirent.h> /* accessing the directory structure */
-+#include <termios.h> /* struct for terminal attributes */
- #endif
- #ifdef SYSV
- #define index strchr
diff --git a/misc/mshell/files/patch-ai b/misc/mshell/files/patch-ai
deleted file mode 100644
index b90852b36547..000000000000
--- a/misc/mshell/files/patch-ai
+++ /dev/null
@@ -1,11 +0,0 @@
---- main.c~ Tue Aug 19 16:42:36 2003
-+++ main.c Tue Aug 19 16:46:48 2003
-@@ -98,7 +98,7 @@
- chmod(fn, 0600);
- }
-
--log(s1, s2)
-+Log(s1, s2)
- char *s1, *s2;
- {
- if (logfp)
diff --git a/misc/mshell/pkg-descr b/misc/mshell/pkg-descr
deleted file mode 100644
index 3335be1d31e3..000000000000
--- a/misc/mshell/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-Mshell was written to shield users (and other non-Unix gurus, like
-mathematicians and secretaries in the department) from "raw" Unix. It
-is as flexible as you can get (supports full shell capabilities like
-pipes, etc. inside the menu commands) but simple to write menus for.
-It is was developed for Nyx, a free, public access Unix system.
-Indeed, you're welcome to try Nyx -- log into Nyx as:
-
- - telnet to nyx.nyx.net (206.124.29.1), user 'new'.
- - call 303-381-9840
diff --git a/misc/mshell/pkg-plist b/misc/mshell/pkg-plist
deleted file mode 100644
index 7d7543c9a435..000000000000
--- a/misc/mshell/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/mshell
-lib/menus/menulogin
-lib/menus/sample.men
-@dirrm lib/menus