ports/81403: smartmontools is malfunctioning on FreeBSD > 600027
Oliver Lehmann
oliver at FreeBSD.org
Mon May 23 13:30:07 UTC 2005
>Number: 81403
>Category: ports
>Synopsis: smartmontools is malfunctioning on FreeBSD > 600027
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon May 23 13:30:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Oliver Lehmann
>Release: FreeBSD 6.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD kartoffel.salatschuessel.net 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Sat May 21 09:29:57 CEST 2005 olivleh1 at kartoffel.salatschuessel.net:/usr/obj/usr/src/sys/KARTOFFEL amd64
>Description:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/ata.h?f=h#rev1.26
that change causes smartmontools to malfunctioning
>How-To-Repeat:
>Fix:
--- patch-smartmontools begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/smartmontools/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile 9 May 2005 10:00:14 -0000 1.16
+++ Makefile 23 May 2005 13:17:44 -0000
@@ -29,6 +29,13 @@
EXAMPLES= smartd.conf examplescripts/README examplescripts/Example?
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 600027
+BROKEN= The way ioctls are issue to ATA changed which makes smartmontools malfunctioning
+.endif
+
+
post-build:
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${FILESDIR}/smartd.sh > ${WRKDIR}/smartd.sh
@@ -46,8 +53,6 @@
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
-.include <bsd.port.pre.mk>
-
post-install:
${CAT} ${PKGMESSAGE}
--- patch-smartmontools ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list