aboutsummaryrefslogtreecommitdiffstats
path: root/net/rboot
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-04-13 19:45:52 +0800
committeredwin <edwin@FreeBSD.org>2004-04-13 19:45:52 +0800
commitd222737f857b002c87bcd31f3b4ef63c88be103a (patch)
treec23f2a4956555a606b86d18811f651d208f9d0fd /net/rboot
parent0a1b9675c430d04bf0c24a52e9921d06ed281f10 (diff)
downloadfreebsd-ports-gnome-d222737f857b002c87bcd31f3b4ef63c88be103a.tar.gz
freebsd-ports-gnome-d222737f857b002c87bcd31f3b4ef63c88be103a.tar.zst
freebsd-ports-gnome-d222737f857b002c87bcd31f3b4ef63c88be103a.zip
Unbreak by patching chown user.group into chown user:group
Informed maintainer. Noticed by: kris@
Diffstat (limited to 'net/rboot')
-rw-r--r--net/rboot/Makefile4
-rw-r--r--net/rboot/files/patch-aa23
-rw-r--r--net/rboot/files/patch-dev::MAKEDEV110
3 files changed, 120 insertions, 17 deletions
diff --git a/net/rboot/Makefile b/net/rboot/Makefile
index 9b51b953713b..3dea6f15c99d 100644
--- a/net/rboot/Makefile
+++ b/net/rboot/Makefile
@@ -20,10 +20,6 @@ MAN8= netboot.8
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502108
-BROKEN= "Does not install on FreeBSD >= 5.x"
-.endif
-
post-install:
@${ECHO} ""
@${ECHO} "======================================================="
diff --git a/net/rboot/files/patch-aa b/net/rboot/files/patch-aa
index 33fcc1e783b9..6f50c89756f6 100644
--- a/net/rboot/files/patch-aa
+++ b/net/rboot/files/patch-aa
@@ -1,13 +1,10 @@
-*** Makefile.orig Sun Oct 10 14:30:03 1999
---- Makefile Sun Oct 10 14:26:58 1999
-***************
-*** 1,4 ****
-! INSTALL_PREFIX=/exports/rboot
-! MANDIR=/usr/local/man
- SUBDIRS= boot dev etc mnt stand
-
---- 1,4 ----
-! INSTALL_PREFIX=$(PREFIX)/rboot
-! MANDIR=$(PREFIX)/man
- SUBDIRS= boot dev etc mnt stand
-
+--- Makefile.orig Sun Oct 10 22:53:12 1999
++++ Makefile Tue Apr 13 21:41:22 2004
+@@ -1,5 +1,5 @@
+-INSTALL_PREFIX=/exports/rboot
+-MANDIR=/usr/local/man
++INSTALL_PREFIX=$(PREFIX)/rboot
++MANDIR=$(PREFIX)/man
+ SUBDIRS= boot dev etc mnt stand
+
+ all clean:
diff --git a/net/rboot/files/patch-dev::MAKEDEV b/net/rboot/files/patch-dev::MAKEDEV
new file mode 100644
index 000000000000..011e47e8bbf6
--- /dev/null
+++ b/net/rboot/files/patch-dev::MAKEDEV
@@ -0,0 +1,110 @@
+--- dev/MAKEDEV.orig Tue Apr 13 21:42:13 2004
++++ dev/MAKEDEV Tue Apr 13 21:43:02 2004
+@@ -172,7 +172,7 @@
+ mknod() {
+ rm -f "$1" || exit 1
+ /sbin/mknod "$@" || die 2 "/sbin/mknod $@ failed"
+- chown root.wheel "$1" || exit 1
++ chown root:wheel "$1" || exit 1
+ }
+
+ # Convert the last character of a tty name to a minor number.
+@@ -254,7 +254,7 @@
+ (cd fd && eval `echo "" | awk ' BEGIN { \
+ for (i = 0; i < 64; i++) \
+ printf("mknod %d c 22 %d;", i, i)}'`)
+- chown -R bin.bin fd
++ chown -R bin:bin fd
+ chmod 555 fd
+ chmod 666 fd/*
+ ;;
+@@ -844,7 +844,7 @@
+ mknod cuaa$unit c 28 `expr $m + 128`
+ mknod cuaia$unit c 28 `expr $m + 32 + 128`
+ mknod cuala$unit c 28 `expr $m + 64 + 128`
+- chown uucp.dialer cua*a$unit
++ chown uucp:dialer cua*a$unit
+ umask 77
+ ;;
+
+@@ -870,7 +870,7 @@
+ mknod cuac$name c $major `expr $minor + 128`
+ mknod cuaic$name c $major `expr $minor + 32 + 128`
+ mknod cualc$name c $major `expr $minor + 64 + 128`
+- chown uucp.dialer cuac$name cuaic$name cualc$name
++ chown uucp:dialer cuac$name cuaic$name cualc$name
+ done
+ umask 77
+ ;;
+@@ -898,7 +898,7 @@
+ unit=`expr $i : 'cua.*\(.\)$'`
+ m=`ttyminor $unit`
+ mknod cuam$unit c 63 `expr $m + 128`
+- chown uucp.dialer cuam$unit
++ chown uucp:dialer cuam$unit
+ umask 77
+ ;;
+
+@@ -938,7 +938,7 @@
+ mknod cuaA$name c $major `expr $minor + 128`
+ mknod cuaiA$name c $major `expr $minor + 128 + 65536`
+ mknod cualA$name c $major `expr $minor + 128 + 131072`
+- chown uucp.dialer cuaA$name cuaiA$name cualA$name
++ chown uucp:dialer cuaA$name cuaiA$name cualA$name
+ port=`expr $port + 1`
+ done
+ umask 77
+@@ -981,7 +981,7 @@
+ mknod cuaD$name c $major `expr $minor + 128`
+ mknod cuaiD$name c $major `expr $minor + 32 + 128`
+ mknod cualD$name c $major `expr $minor + 64 + 128`
+- chown uucp.dialer cua*D$name
++ chown uucp:dialer cua*D$name
+ done
+ umask 77
+ ;;
+@@ -1006,7 +1006,7 @@
+ mknod ttyM$name c $major $minor
+ mknod ttyiM$name c $major `expr $minor + 64`
+ mknod ttylM$name c $major `expr $minor + 128`
+- chown root.wheel tty*M$name
++ chown root:wheel tty*M$name
+ done
+ done
+ ;;
+@@ -1032,7 +1032,7 @@
+ mknod cuaM$name c $major `expr $minor + 262144`
+ mknod cuaiM$name c $major `expr $minor + 64 + 262144`
+ mknod cualM$name c $major `expr $minor + 128 + 262144`
+- chown uucp.dialer cua*M$name
++ chown uucp:dialer cua*M$name
+ done
+ done
+ umask 77
+@@ -1082,7 +1082,7 @@
+ MINOR=`expr $BOARD \* 65536`
+ echo " "
+ done
+- chown uucp.dialer /dev/cuaR*
++ chown uucp:dialer /dev/cuaR*
+ ;;
+
+ mse*)
+@@ -1195,7 +1195,7 @@
+ ttyz?) unit=`expr $unit \+ 32`;;
+ esac
+ mknod $i c 42 $unit
+- chown uucp.wheel $i
++ chown uucp:wheel $i
+ ;;
+
+ cronyx)
+@@ -1239,7 +1239,7 @@
+ unit=0
+ while [ $unit -le $ntun ]; do
+ mknod tun$unit c 52 $unit
+- chown uucp.dialer tun$unit
++ chown uucp:dialer tun$unit
+ unit=`expr $unit + 1`
+ done
+ ;;