summaryrefslogtreecommitdiff
path: root/sysutils/webmin/patches/patch-ad
blob: 7b5819d54a1a330e72b363d3ec899f6a6248cb16 (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.3 2007/04/21 05:22:58 obache Exp $

--- os_list.txt.orig	2007-04-09 05:00:00.000000000 +0000
+++ os_list.txt
@@ -225,18 +225,14 @@ Caixa Magica			10.0	suse-linux	9.2	`cat 
 # All FreeBSD versions
 FreeBSD				$1	freebsd		$1	$uname =~ /FreeBSD.*?\s([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