1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/comms/minicom/files/patch-ab

93 lines
2.0 KiB
Plaintext
Raw Normal View History

1998-12-14 03:14:50 +00:00
--- install.sh.orig Tue Apr 21 10:45:42 1998
+++ install.sh Sun Dec 13 19:07:00 1998
@@ -24,6 +24,7 @@
exit 1
fi
fi
+chown uucp $1
if test ! -d $2
then
1998-12-14 03:14:50 +00:00
@@ -41,8 +42,8 @@
1998-08-11 10:29:56 +00:00
then
1996-12-10 01:03:04 +00:00
echo "Installing minicom in $2"
cp minicom $2/minicom
1996-12-10 01:03:04 +00:00
- chown root $2/minicom
1998-08-11 10:29:56 +00:00
- chgrp uucp $2/minicom
1996-12-10 01:03:04 +00:00
+ chown uucp $2/minicom
+ chgrp dialer $2/minicom
1998-08-11 10:29:56 +00:00
chmod 755 $2/minicom
fi
1998-12-14 03:14:50 +00:00
@@ -54,7 +55,7 @@
cp $i $2/$i
chmod 755 $2/$i
chown root $2/$i
- chgrp root $2/$i
1998-12-14 03:14:50 +00:00
+ chgrp wheel $2/$i
fi
done
1998-12-14 03:14:50 +00:00
@@ -64,7 +65,7 @@
cp keyserv $1/keyserv
chmod 755 $1/keyserv
chown root $1/keyserv
- chgrp root $1/keyserv
1998-12-14 03:14:50 +00:00
+ chgrp wheel $1/keyserv
fi
echo "Installing manpages in $3"
1998-12-14 03:14:50 +00:00
@@ -73,7 +74,7 @@
cp ../man/$i $3
chmod 644 $3/$i
chown root $3/$i
- chgrp root $3/$i
1998-12-14 03:14:50 +00:00
+ chgrp wheel $3/$i
done
if [ ! -f $1/minicom.users ]
1998-12-14 03:14:50 +00:00
@@ -81,7 +82,7 @@
echo "Installing sample config file minicom.users in $1"
cp minicom.users $1
chown root $1/minicom.users
- chgrp root $1/minicom.users
1998-12-14 03:14:50 +00:00
+ chgrp wheel $1/minicom.users
chmod 644 $1/minicom.users
fi
1998-12-14 03:14:50 +00:00
@@ -90,13 +91,13 @@
1998-08-11 10:29:56 +00:00
if test -d $4
then
echo "Installing script demos, docs, & character tables in $4"
- cp ../doc/* $4
+ ##cp ../doc/* $4
cp -r ../demos $4
1998-12-14 03:14:50 +00:00
cp -r ../tables $4
chmod -f 644 $4/* $4/demos/* $4/tables/*
chmod -f a+x $4/demos $4/tables
chown -f root $4/* $4/demos/* $4/tables/*
- chgrp -f root $4/* $4/demos/* $4/tables/*
+ chgrp -f wheel $4/* $4/demos/* $4/tables/*
else
echo "You don't have a $4 directory - script examples not installed."
1998-08-11 10:29:56 +00:00
fi
1998-12-14 03:14:50 +00:00
@@ -106,11 +107,12 @@
1998-01-03 10:58:43 +00:00
rm minicom.o
fi
-echo "Minicom is NOT setuid yet - you must do this yourself by entering:"
-echo
-echo "chmod +s $2/minicom"
-echo
1998-08-11 10:29:56 +00:00
-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
1998-08-11 10:29:56 +00:00
+###echo "or make your modem device in the /dev directory world writable "
+###echo "with chmod a+rw"
exit 0