Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 19:10:14 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342818 - head/net/rdist6/files
Message-ID:  <201402051910.s15JAETf096177@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Wed Feb  5 19:10:14 2014
New Revision: 342818
URL: http://svnweb.freebsd.org/changeset/ports/342818
QAT: https://qat.redports.org/buildarchive/r342818/

Log:
  net/rdist6: Add dragonfly support, rename patch
  
  While I could have regenerated the patch-ai, I deemed it better
  to rename it as the "old-style" patch names are not very friendly.

Added:
  head/net/rdist6/files/patch-build_os-type   (contents, props changed)
Deleted:
  head/net/rdist6/files/patch-ai

Added: head/net/rdist6/files/patch-build_os-type
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/rdist6/files/patch-build_os-type	Wed Feb  5 19:10:14 2014	(r342818)
@@ -0,0 +1,21 @@
+--- build/os-type.orig	1998-11-09 22:37:27.000000000 -0500
++++ build/os-type
+@@ -83,7 +83,7 @@ fi
+ if [ -z "${OS}" -a ! -z "${uname}" ]; then
+ 	case "`$uname -a | tr '[A-Z]' '[a-z]'`" in
+ 		    osf1*)	OS=break;;
+-		*"4.0"*)	OS=svr4;;	# There has to be a better way
++#		*"4.0"*)	OS=svr4;;	# There has to be a better way
+ 		*" dcosx "*)	OS=dcosx;;
+ 		*"cx/ux"*)	OS=cxux;;
+ 		*"hp-ux"*)	# HP-UX 9.x
+@@ -111,7 +111,8 @@ if [ -z "${OS}" -a ! -z "${uname}" ]; th
+ 				OS="${osname}${osmajver}"
+ 				;;
+ 		"linux"*)	OS=linux;;
+-		"freebsd"*)	OS="${osname}${osmajver}";;
++		dragonfly*)	OS=freebsd2 ;;
++		"freebsd"*)	OS="freebsd2";;
+ 	  	# OpenBSD looks like freebsd2 right now
+ 		"openbsd"*)	OS="freebsd2";;
+ 		"dgux"*)	OS=dgux;;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402051910.s15JAETf096177>