summaryrefslogtreecommitdiff
path: root/sysutils/webmin/patches/patch-ad
blob: e21d42ac32cf7cba4887b4534a8c11026ee3ecb5 (plain)
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
$NetBSD: patch-ad,v 1.5 2007/10/05 15:47:00 obache Exp $

--- os_list.txt.orig	2007-09-21 21:26:02.000000000 +0000
+++ os_list.txt
@@ -236,18 +236,14 @@ openmamba Linux			$1	openmamba-linux	$1	
 # All FreeBSD versions
 FreeBSD				$1	freebsd		$1	$uname =~ /FreeBSD.*?\s([0-9]+\.[0-9\.]+)/i
 
-# FreeBSD clones
-DragonFly BSD			1.0	freebsd		4.8	$uname =~ /DragonFly.*?\s1\.0A/i
-DragonFly BSD			1.2	freebsd		4.10	$uname =~ /DragonFly.*?\s1\.2A/i
+# DragonFly
+DragonFly			$1	dragonfly	$1	$uname =~ /DragonFly.*?\s([0-9\.]+)/i
 
 # All OpenBSD versions
 OpenBSD				$1	openbsd		$1	$uname =~ /OpenBSD.*?\s([0-9\.]+)/i
 
 # All NetBSD versions
-NetBSD				1.5	netbsd		1.5	$uname =~ /NetBSD.*1\.5/i
-NetBSD				1.6	netbsd		1.6	$uname =~ /NetBSD.*1\.6/i
-NetBSD				2.0	netbsd		2.0	$uname =~ /NetBSD.*2\.0/i
-NetBSD				3.0	netbsd		3.0	$uname =~ /NetBSD.*3\.0/i
+NetBSD				$1	netbsd		$1	$uname =~ /NetBSD.*?\s([0-9\.]+)/i
 
 # BSDI (may not be detected properly)
 BSDI				$1	freebsd		$1	$uname =~ /BSDI.*\s([0-9\.]+)/i