summaryrefslogtreecommitdiff
path: root/misc/mshell/files
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/files
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/files')
-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
7 files changed, 0 insertions, 248 deletions
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)