ports/105097: [maintainer update] [patch] Set IGNORE on sysutils/ipmi-kmod in 6-STABLE

Nick Barkas snb at threerings.net
Fri Nov 3 06:00:41 UTC 2006

>Number:         105097
>Category:       ports
>Synopsis:       [maintainer update] [patch] Set IGNORE on sysutils/ipmi-kmod in 6-STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 03 06:00:36 GMT 2006
>Originator:     Nick Barkas
>Release:        FreeBSD 5.4-RELEASE-p20 i386
Three Rings Design
System: FreeBSD mail.earth.threerings.net 5.4-RELEASE-p20 FreeBSD 5.4-RELEASE-p20 #12: Thu Sep 28 14:09:16 PDT 2006 root at mail.earth.threerings.net:/usr/obj/usr/src/sys/GENERIC i386
sysutils/ipmi-kmod should not be installed on systems where it is part of the
base system. The port checks OSVERSION currently to determine whether the base
system is a version it should work on. This doesn't work on 6-STABLE because
OSVERSION is currently the same as 6.1, though -STABLE does have ipmi drivers in
the base system (unlike 6.1). Instead of checking OSVERSION, this patch makes
the port just check for the existence of ipmi driver code in the kernel sources,
and if it's there IGNORE will be set. (The port already requires that kernel
sources be installed).
On a system running -STABLE, try installing sysutils/ipmi-kmod. Currently (for
me) the port will not build properly, but it should not even try because of the
presense of an ipmi driver in the base system.

Index: Makefile
--- Makefile	(revision 1173)
+++ Makefile	(working copy)
@@ -7,6 +7,7 @@
 PORTNAME=	ipmi-kmod
 PORTVERSION=	20060926
 CATEGORIES=	sysutils
 MASTER_SITES=	http://dpw.threerings.net/projects/ipmi-kmod/
@@ -37,8 +38,8 @@
 IGNORE=		requires kernel source to be installed
-.if ${OSVERSION} >= 601102
-IGNORE=		already in the base system
+.if exists(${SRC_BASE}/sys/dev/ipmi)
+IGNORE=		is already included in the base system
 .elif ${OSVERSION} < 503000
 IGNORE=		does not support FreeBSD before 5.3

More information about the freebsd-ports-bugs mailing list