aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/freeipmi
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-05-27 18:40:45 +0800
committermiwi <miwi@FreeBSD.org>2007-05-27 18:40:45 +0800
commitb7769478f11ce564e9af3b18d7ac733faff068f8 (patch)
treebdc02cd842485019d24f287381eed6fbc0512d99 /sysutils/freeipmi
parentbf2f988a260d11778658f5a969807da9bf9ad9e2 (diff)
downloadfreebsd-ports-gnome-b7769478f11ce564e9af3b18d7ac733faff068f8.tar.gz
freebsd-ports-gnome-b7769478f11ce564e9af3b18d7ac733faff068f8.tar.zst
freebsd-ports-gnome-b7769478f11ce564e9af3b18d7ac733faff068f8.zip
- Update to 0.3.3
PR: 112475 Submitted by: Dmitry Frolov <frolov@riss-telecom.ru> (maintainer)
Diffstat (limited to 'sysutils/freeipmi')
-rw-r--r--sysutils/freeipmi/Makefile18
-rw-r--r--sysutils/freeipmi/distinfo6
-rw-r--r--sysutils/freeipmi/pkg-plist6
3 files changed, 22 insertions, 8 deletions
diff --git a/sysutils/freeipmi/Makefile b/sysutils/freeipmi/Makefile
index dcc2498efdf3..80ab82918175 100644
--- a/sysutils/freeipmi/Makefile
+++ b/sysutils/freeipmi/Makefile
@@ -4,9 +4,13 @@
#
# $FreeBSD$
#
+# Available KNOBs:
+#
+# WITH_DEBUG - Build binaries suitable for debugging with gdb(1).
+#
PORTNAME= freeipmi
-PORTVERSION= 0.3.1
+PORTVERSION= 0.3.3
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.zresearch.com/pub/freeipmi/${PORTVERSION}/
@@ -45,10 +49,20 @@ LDFLAGS+= -L${LOCALBASE}/lib
BROKEN= missing getpw*_r functions in this FreeBSD release
.endif
-.if defined(WITH_IOPERM)
+# Use i386_set_ioperm(2) instead of io(4) to gain access to I/O
+# ports. Note: there is a bug in FreeBSD 5 before 5.5-RELEASE that
+# causes SIGBUS to the process sometimes when i386_set_ioperm is used
+# (PR 84842).
+.if defined(WITH_IOPERM) || \
+ ${OSVERSION} < 500000 || ${OSVERSION} >= 505000
CPPFLAGS+= -DUSE_IOPERM
.endif
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+= --enable-debug
+STRIP= # empty
+.endif
+
post-install:
@${CHMOD} 0700 ${DESTDIR}${PREFIX}/var/log/freeipmi \
${DESTDIR}${PREFIX}/var/lib/freeipmi
diff --git a/sysutils/freeipmi/distinfo b/sysutils/freeipmi/distinfo
index dca4e43f4089..13ed894e4be0 100644
--- a/sysutils/freeipmi/distinfo
+++ b/sysutils/freeipmi/distinfo
@@ -1,3 +1,3 @@
-MD5 (freeipmi-0.3.1.tar.gz) = a828f32060025ae3aa8858878d882c6d
-SHA256 (freeipmi-0.3.1.tar.gz) = 5f4d4d28b2eab7304032309a244f772e76f3ad39e23adc843df2a5bd0438fb06
-SIZE (freeipmi-0.3.1.tar.gz) = 1304917
+MD5 (freeipmi-0.3.3.tar.gz) = b722469ec4b5a4b805d69970811e4513
+SHA256 (freeipmi-0.3.3.tar.gz) = d22fee317080f08d012efd7ef7024712f5ec707e31a5b9106e686cd48e447df7
+SIZE (freeipmi-0.3.3.tar.gz) = 1324657
diff --git a/sysutils/freeipmi/pkg-plist b/sysutils/freeipmi/pkg-plist
index 24777276b3ad..375b12d98e41 100644
--- a/sysutils/freeipmi/pkg-plist
+++ b/sysutils/freeipmi/pkg-plist
@@ -92,7 +92,7 @@ lib/libipmiconsole.so
lib/libipmiconsole.so.%%IPMICONSOLE_SHLIBVER%%
var/lib/freeipmi/ipckey
var/lib/freeipmi/bmc-config-template
-@dirrm var/lib/freeipmi
-@dirrm var/lib
+@dirrmtry var/lib/freeipmi
+@dirrmtry var/lib
@exec mkdir -p -m 0700 %D/var/log/freeipmi
-@dirrm var/log/freeipmi
+@dirrmtry var/log/freeipmi