summaryrefslogtreecommitdiff
path: root/comms/minicom/files/patch-ab
blob: 926b28821ce8253f7b069fe3aa319e96b90d853c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
--- install.sh.orig	Sun Feb 22 14:59:37 1998
+++ install.sh	Tue Aug 11 02:57:05 1998
@@ -29,6 +29,7 @@
 		exit 1
 	fi
 fi
+chown uucp $1
 
 if test ! -d $2
 then
@@ -46,8 +47,8 @@
 then
 	echo "Installing minicom in $2"
 	cp minicom $2/minicom
-	chown root $2/minicom
-	chgrp uucp $2/minicom
+	chown uucp $2/minicom
+	chgrp dialer $2/minicom
 	chmod 755 $2/minicom
 fi
 
@@ -59,7 +60,7 @@
 	cp $i $2/$i
 	chmod 755 $2/$i
 	chown root $2/$i
-	chgrp root $2/$i
+	chgrp bin $2/$i
   fi
 done
 
@@ -69,7 +70,7 @@
 	cp keyserv $1/keyserv
 	chmod 755 $1/keyserv
 	chown root $1/keyserv
-	chgrp root $1/keyserv
+	chgrp bin $1/keyserv
 fi
 
 echo "Installing manpages in $3"
@@ -78,7 +79,7 @@
 	cp ../man/$i $3
 	chmod 644 $3/$i
 	chown root $3/$i
-	chgrp root $3/$i
+	chgrp bin $3/$i
 done
 
 if [ ! -f $1/minicom.users ]
@@ -86,7 +87,7 @@
 	echo "Installing sample config file minicom.users in $1"
 	cp minicom.users $1
 	chown root $1/minicom.users
-	chgrp root $1/minicom.users
+	chgrp bin $1/minicom.users
 	chmod 644 $1/minicom.users
 fi
 
@@ -95,13 +96,13 @@
 if test -d $4
 then
 		echo "Installing script demos, docs, & character tables in $4"
-		cp ../doc/* $4
+		##cp ../doc/* $4
 		cp -r ../demos $4
-		cp -r ../tables $4
-		chmod 644 $4/* $4/demos/* $4/tables/*
-		chmod a+x $4/demos $4/tables
-		chown root $4/* $4/demos/* $4/tables/*
-		chgrp root $4/* $4/demos/* $4/tables/*
+		##cp -r ../tables $4
+		chmod 644 $4/* $4/demos/* ## $4/tables/*
+		chmod a+x $4/demos ## $4/tables
+		chown root $4/* $4/demos/* ## $4/tables/*
+		chgrp bin $4/* $4/demos/* ## $4/tables/*
 else
 	echo "You don't have a $4 directory - script examples not installed."
 fi
@@ -111,11 +112,12 @@
     rm minicom.o
 fi
 	
-echo "Minicom is NOT setuid yet - you must do this yourself by entering:"
-echo
-echo "chmod +s $2/minicom"
-echo
-echo "or make your modem device in the /dev directory world writable "
-echo "with chmod a+rw"
+###echo "Minicom is NOT setuid yet - you must do this yourself by entering:"
+###echo
+###echo "chmod +s $2/minicom"
+###echo
+chmod u+s $2/minicom
+###echo "or make your modem device in the /dev directory world writable "
+###echo "with chmod a+rw"
 
 exit 0