diff options
author | obrien <obrien@FreeBSD.org> | 1998-01-11 02:39:42 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1998-01-11 02:39:42 +0800 |
commit | 618dc7193c638d22644994ba1f32c7a82e94f761 (patch) | |
tree | 9c3498812f8de7e35380d23c36af959c761fd63d /comms | |
parent | 9cacdc14585aa2e3848918168b59215808c334bf (diff) | |
download | freebsd-ports-gnome-618dc7193c638d22644994ba1f32c7a82e94f761.tar.gz freebsd-ports-gnome-618dc7193c638d22644994ba1f32c7a82e94f761.tar.zst freebsd-ports-gnome-618dc7193c638d22644994ba1f32c7a82e94f761.zip |
Allow root to use the "-d" switch.
Cleanup pre-install script.
Remove etc/minicom on pkg_delete.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/minicom/files/patch-ab | 24 | ||||
-rw-r--r-- | comms/minicom/pkg-plist | 3 | ||||
-rw-r--r-- | comms/minicom/scripts/create-dev-link | 2 |
3 files changed, 20 insertions, 9 deletions
diff --git a/comms/minicom/files/patch-ab b/comms/minicom/files/patch-ab index 5e177be445d1..1fa580ff0ae3 100644 --- a/comms/minicom/files/patch-ab +++ b/comms/minicom/files/patch-ab @@ -1,6 +1,14 @@ --- install.sh.orig Sat Sep 27 10:21:12 1997 -+++ install.sh Sat Jan 3 02:48:51 1998 -@@ -47,8 +47,8 @@ ++++ install.sh Sat Jan 10 01:16:04 1998 +@@ -29,6 +29,7 @@ + exit 1 + fi + fi ++chown uucp $1 + + if test ! -d $2 + then +@@ -47,8 +48,8 @@ echo "Installing minicom in $2" cp minicom $2/minicom chmod 755 $2/minicom @@ -11,7 +19,7 @@ fi for i in runscript xminicom ascii-xfr -@@ -59,7 +59,7 @@ +@@ -59,7 +60,7 @@ cp $i $2/$i chmod 755 $2/$i chown root $2/$i @@ -20,7 +28,7 @@ fi done -@@ -69,7 +69,7 @@ +@@ -69,7 +70,7 @@ cp keyserv $1/keyserv chmod 755 $1/keyserv chown root $1/keyserv @@ -29,7 +37,7 @@ fi echo "Installing manpages in $3" -@@ -78,7 +78,7 @@ +@@ -78,7 +79,7 @@ cp ../man/$i $3 chmod 644 $3/$i chown root $3/$i @@ -38,7 +46,7 @@ done if [ ! -f $1/minicom.users ] -@@ -86,7 +86,7 @@ +@@ -86,7 +87,7 @@ echo "Installing sample config file minicom.users in $1" cp minicom.users $1 chown root $1/minicom.users @@ -47,7 +55,7 @@ chmod 644 $1/minicom.users fi -@@ -98,7 +98,7 @@ +@@ -98,7 +99,7 @@ cp ../demos/$i $4/$i chmod 644 $4/$i chown root $4/$i @@ -56,7 +64,7 @@ done else echo "You don't have a $4 directory - script examples not installed." -@@ -109,9 +109,10 @@ +@@ -109,9 +110,10 @@ rm minicom.o fi diff --git a/comms/minicom/pkg-plist b/comms/minicom/pkg-plist index 1b8ef5a7d4e2..c99d4b02e68d 100644 --- a/comms/minicom/pkg-plist +++ b/comms/minicom/pkg-plist @@ -10,3 +10,6 @@ etc/minicom/unixlogin man/man1/minicom.1.gz man/man1/runscript.1.gz man/man1/ascii-xfr.1.gz +@exec /usr/sbin/chown uucp %D/etc/minicom +@unexec /bin/rm -rf %D/etc/minicom/* +@dirrm etc/minicom diff --git a/comms/minicom/scripts/create-dev-link b/comms/minicom/scripts/create-dev-link index 02c6e8db70a6..5d0699720797 100644 --- a/comms/minicom/scripts/create-dev-link +++ b/comms/minicom/scripts/create-dev-link @@ -3,7 +3,7 @@ # pre-install script for Minicom port to FreeBSD 2.x echo "" -echo "Minicom will be installed mode 4511 (setuid) owner root, and group bin." +echo "Minicom will be installed mode 4511 (setuid) owner uucp, and group dialer." echo "" echo -n "Is this ok? [y] " read fooz |