We reached NetBSD "6".

This commit is contained in:
prlw1 2013-08-24 15:34:39 +00:00
parent 3a8883bb40
commit d1d90ab425
3 changed files with 18 additions and 10 deletions

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.15 2013/05/31 12:42:05 wiz Exp $
# $NetBSD: Makefile,v 1.16 2013/08/24 15:34:39 prlw1 Exp $
#
DISTNAME= system-tools-backends-2.6.1
PKGREVISION= 9
PKGREVISION= 10
CATEGORIES= sysutils
MASTER_SITES= http://system-tools-backends.freedesktop.org/downloads/2.6/

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.2 2009/12/14 01:39:57 obache Exp $
$NetBSD: distinfo,v 1.3 2013/08/24 15:34:39 prlw1 Exp $
SHA1 (system-tools-backends-2.6.1.tar.gz) = 1e332ab27c752d8ea3b212f1bcdf18f09295976a
RMD160 (system-tools-backends-2.6.1.tar.gz) = 266cbd4ae04ee97f5a55cb2d987691ebe41e94ac
@ -9,4 +9,4 @@ SHA1 (patch-ac) = 8cef6e86faf53b0269fb744adc3fa09c7034fd23
SHA1 (patch-ad) = fb12dcc969123ff0fe2f102bc923192c1b7c6a2f
SHA1 (patch-ae) = 4946b7a89fb4a1b54e889c1eb5354b2ef5d11727
SHA1 (patch-af) = 31a00a1287ff84ade4244c728945cce00a3fcf7f
SHA1 (patch-ag) = 236c5286ebde33e739f19e2f54d8800f679b1178
SHA1 (patch-ag) = a39544f9675d20259cdcf525c47e54f47944047a

View file

@ -1,8 +1,14 @@
$NetBSD: patch-ag,v 1.1.1.1 2008/11/15 18:28:56 jmcneill Exp $
$NetBSD: patch-ag,v 1.2 2013/08/24 15:34:39 prlw1 Exp $
--- Utils/Platform.pm.orig 2008-03-09 09:21:45.000000000 -0400
--- Utils/Platform.pm.orig 2008-03-09 13:21:45.000000000 +0000
+++ Utils/Platform.pm
@@ -76,6 +76,10 @@ my $PLATFORM_INFO = {
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/pkg/bin/perl
#-*- Mode: perl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
# Determine the platform we're running on.
@@ -76,6 +76,11 @@ my $PLATFORM_INFO = {
"slackware-11.0.0" => [ "Slackware", "11.0.0", "" ],
"slackware-12.0.0" => [ "Slackware", "12.0.0", "" ],
"bluewhite64-12.0.0" => [ "Bluewhite64", "12.0.0", "" ],
@ -10,20 +16,22 @@ $NetBSD: patch-ag,v 1.1.1.1 2008/11/15 18:28:56 jmcneill Exp $
+ "netbsd-3" => [ "NetBSD", "3", "" ],
+ "netbsd-4" => [ "NetBSD", "4", "" ],
+ "netbsd-5" => [ "NetBSD", "5", "" ],
+ "netbsd-6" => [ "NetBSD", "6", "" ],
"freebsd-4" => [ "FreeBSD", "4", "" ],
"freebsd-5" => [ "FreeBSD", "5", "" ],
"freebsd-6" => [ "FreeBSD", "6", "" ],
@@ -131,6 +135,9 @@ sub ensure_distro_map
@@ -131,6 +136,10 @@ sub ensure_distro_map
"fedora-3" => "redhat-7.2",
"fedora-4" => "redhat-7.2",
"fedora-5" => "redhat-7.2",
+ "netbsd-3" => "netbsd-2",
+ "netbsd-4" => "netbsd-2",
+ "netbsd-5" => "netbsd-2",
+ "netbsd-6" => "netbsd-2",
"freebsd-6" => "freebsd-5",
"freebsd-7" => "freebsd-5",
"openna-1.0" => "redhat-6.2",
@@ -251,6 +258,23 @@ sub check_ark
@@ -251,6 +260,23 @@ sub check_ark
return -1;
}
@ -47,7 +55,7 @@ $NetBSD: patch-ag,v 1.1.1.1 2008/11/15 18:28:56 jmcneill Exp $
sub check_freebsd
{
my ($sysctl_cmd, @output);
@@ -391,6 +415,7 @@ sub guess
@@ -391,6 +417,7 @@ sub guess
[ \&check_distro_file, "/etc/yellowdog-release", "yellowdog", "^Yellow Dog Linux release (\\S+)" ],
],
"FreeBSD" => [[ \&check_freebsd ]],