View | Details | Raw Unified | Return to bug 128690
Collapse All | Expand All

(-)./Makefile (-15 / +22 lines)
Lines 15-26 Link Here
15
#
15
#
16
16
17
PORTNAME=	freeipmi
17
PORTNAME=	freeipmi
18
PORTVERSION=	0.6.10
18
PORTVERSION=	0.7.1
19
CATEGORIES=	sysutils
19
CATEGORIES=	sysutils
20
MASTER_SITES=	ftp://ftp.zresearch.com/pub/freeipmi/${PORTVERSION}/ \
20
MASTER_SITES=	http://ftp.zresearch.com/pub/freeipmi/${PORTVERSION}/ \
21
	ftp://ftp.riss-telecom.ru/pub/mirrors/ftp.zresearch.com/pub/freeipmi/${PORTVERSION}/
21
	ftp://freebsd.riss-telecom.ru/pub/mirrors/ftp.zresearch.com/pub/freeipmi/${PORTVERSION}/
22
22
23
MAINTAINER=	frolov@riss-telecom.ru
23
MAINTAINER=	frol@nov.net
24
COMMENT=	Library and tools to support IPMI-capable hardware
24
COMMENT=	Library and tools to support IPMI-capable hardware
25
25
26
BUILD_DEPENDS+=	${LOCALBASE}/lib/libargp.a:${PORTSDIR}/devel/argp-standalone
26
BUILD_DEPENDS+=	${LOCALBASE}/lib/libargp.a:${PORTSDIR}/devel/argp-standalone
Lines 34-40 Link Here
34
CONFIGURE_ARGS+=	--disable-init-scripts --disable-logrotate-config \
34
CONFIGURE_ARGS+=	--disable-init-scripts --disable-logrotate-config \
35
	--disable-logdir --localstatedir=/var \
35
	--disable-logdir --localstatedir=/var \
36
	--with-ipmi-monitoring-sdr-cache-dir=${CACHE_DIR}/ipmimonitoringsdrcache \
36
	--with-ipmi-monitoring-sdr-cache-dir=${CACHE_DIR}/ipmimonitoringsdrcache \
37
	--sysconfdir=${PREFIX}/etc/${PORTNAME}
37
	--sysconfdir=${CONF_DIR}
38
USE_LDCONFIG=	yes
38
USE_LDCONFIG=	yes
39
NOT_FOR_ARCHS=	ia64 sparc64 alpha
39
NOT_FOR_ARCHS=	ia64 sparc64 alpha
40
PLIST_SUB+=	FREEIPMI_SHLIBVER=${FREEIPMI_SHLIBVER} \
40
PLIST_SUB+=	FREEIPMI_SHLIBVER=${FREEIPMI_SHLIBVER} \
Lines 42-63 Link Here
42
	IPMIDETECT_SHLIBVER=${IPMIDETECT_SHLIBVER} \
42
	IPMIDETECT_SHLIBVER=${IPMIDETECT_SHLIBVER} \
43
	IPMIMONITORING_SHLIBVER=${IPMIMONITORING_SHLIBVER} \
43
	IPMIMONITORING_SHLIBVER=${IPMIMONITORING_SHLIBVER} \
44
	CACHE_DIR=${CACHE_DIR} LOG_DIR=${LOG_DIR} RUN_DIR=${RUN_DIR}
44
	CACHE_DIR=${CACHE_DIR} LOG_DIR=${LOG_DIR} RUN_DIR=${RUN_DIR}
45
MAN3+=	libipmiconsole.3 libipmimonitoring.3 libipmidetect.3 \
45
MAN3+=	libfreeipmi.3 libipmiconsole.3 libipmidetect.3 \
46
	libfreeipmi.3
46
	libipmimonitoring.3
47
MAN5+=	ipmipower.conf.5 bmc-config.conf.5 ipmiconsole.conf.5 \
47
MAN5+=	bmc-config.conf.5 freeipmi.conf.5 ipmiconsole.conf.5 \
48
	ipmidetect.conf.5 ipmidetectd.conf.5
48
	ipmidetect.conf.5 ipmidetectd.conf.5 ipmipower.conf.5
49
MAN7+=	freeipmi.7
49
MAN7+=	freeipmi.7
50
MAN8+=	bmc-watchdog.8 ipmipower.8 ipmi-raw.8 ipmi-sel.8 \
50
MAN8+=	bmc-config.8 bmc-device.8 bmc-info.8 bmc-watchdog.8 \
51
	ipmi-sensors.8 ipmi-locate.8 bmc-info.8 ipmiping.8 \
51
	ipmi-chassis-config.8 ipmi-chassis.8 ipmi-fru.8 \
52
	rmcpping.8 bmc-config.8 ipmiconsole.8 \
52
	ipmi-locate.8 ipmi-oem.8 ipmi-raw.8 ipmi-sel.8 \
53
	ipmi-fru.8 pef-config.8 ipmimonitoring.8 ipmi-chassis.8 \
53
	ipmi-sensors-config.8 ipmi-sensors.8 ipmiconsole.8 \
54
	ipmidetect.8 ipmidetectd.8 ipmi-oem.8 ipmi-sensors-config.8
54
	ipmidetect.8 ipmidetectd.8 ipmimonitoring.8 ipmiping.8 \
55
	ipmipower.8 pef-config.8 rmcpping.8
55
INFO+=		freeipmi-faq
56
INFO+=		freeipmi-faq
56
57
57
CACHE_DIR?=	/var/db/${PORTNAME}
58
CACHE_DIR?=	/var/db/${PORTNAME}
58
LOG_DIR=	/var/log/${PORTNAME}
59
LOG_DIR=	/var/log/${PORTNAME}
59
RUN_DIR=	/var/lib/${PORTNAME}
60
RUN_DIR=	/var/lib/${PORTNAME}
60
FREEIPMI_SHLIBVER=	6
61
CONF_DIR?=	${PREFIX}/etc/${PORTNAME}
62
FREEIPMI_SHLIBVER=	7
61
IPMICONSOLE_SHLIBVER=	2
63
IPMICONSOLE_SHLIBVER=	2
62
IPMIDETECT_SHLIBVER=	0
64
IPMIDETECT_SHLIBVER=	0
63
IPMIMONITORING_SHLIBVER=	2
65
IPMIMONITORING_SHLIBVER=	2
Lines 92-96 Link Here
92
post-install:
94
post-install:
93
	@${MKDIR} ${LOG_DIR}
95
	@${MKDIR} ${LOG_DIR}
94
	@${CHMOD} 0700 ${CACHE_DIR} ${LOG_DIR} ${RUN_DIR}
96
	@${CHMOD} 0700 ${CACHE_DIR} ${LOG_DIR} ${RUN_DIR}
97
	[ -f ${CONF_DIR}/freeipmi.conf ] || \
98
		${CP} -p ${CONF_DIR}/freeipmi.conf.sample ${CONF_DIR}/freeipmi.conf
99
	[ -f ${CONF_DIR}/ipmi_monitoring_sensors.conf ] || \
100
		${CP} -p ${CONF_DIR}/ipmi_monitoring_sensors.conf.sample \
101
			${CONF_DIR}/ipmi_monitoring_sensors.conf
95
102
96
.include <bsd.port.post.mk>
103
.include <bsd.port.post.mk>
(-)./distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (freeipmi-0.6.10.tar.gz) = f446d076dc86d78a7cda342d2d8a956f
1
MD5 (freeipmi-0.7.1.tar.gz) = 4ef8c6023a13bde27054627e6de4b07c
2
SHA256 (freeipmi-0.6.10.tar.gz) = 33c22e46feabe027913b40fd9ff5a8a745ac9b6cf27a6010f0fa801b2a966cdd
2
SHA256 (freeipmi-0.7.1.tar.gz) = bb8899f6dbcfab1d9dff26cf02f092e465f7d11a32dc41b79772ec73ff50ff6d
3
SIZE (freeipmi-0.6.10.tar.gz) = 1669900
3
SIZE (freeipmi-0.7.1.tar.gz) = 1911218
(-)./files/patch-etc-Makefile.in (+22 lines)
Line 0 Link Here
1
--- etc/Makefile.in.orig	Sat Nov  8 06:11:17 2008
2
+++ etc/Makefile.in	Sat Nov  8 16:25:31 2008
3
@@ -239,8 +239,8 @@
4
 	@list='$(Freeipmiconf_DATA)'; for p in $$list; do \
5
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
6
 	  f=$(am__strip_dir) \
7
-	  echo " $(FreeipmiconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(Freeipmiconfdir)/$$f'"; \
8
-	  $(FreeipmiconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(Freeipmiconfdir)/$$f"; \
9
+	  echo " $(FreeipmiconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(Freeipmiconfdir)/$$f.sample'"; \
10
+	  $(FreeipmiconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(Freeipmiconfdir)/$$f.sample"; \
11
 	done
12
 
13
 uninstall-FreeipmiconfDATA:
14
@@ -377,8 +377,6 @@
15
 
16
 
17
 install-data-local:
18
-	$(INSTALL) -m 755 -d $(DESTDIR)$(sysconfdir)
19
-	$(INSTALL) -m 755 $(srcdir)/freeipmi.conf $(DESTDIR)$(sysconfdir)
20
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
21
 # Otherwise a system limit (for SysV at least) may be exceeded.
22
 .NOEXPORT:
(-)./files/patch-ipmimonitorig-Makefile.in (+22 lines)
Line 0 Link Here
1
--- ipmimonitoring/Makefile.in.orig	Sat Nov  8 06:11:22 2008
2
+++ ipmimonitoring/Makefile.in	Sat Nov  8 16:24:12 2008
3
@@ -355,8 +355,8 @@
4
 	@list='$(Monitoringconf_DATA)'; for p in $$list; do \
5
 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
6
 	  f=$(am__strip_dir) \
7
-	  echo " $(MonitoringconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(Monitoringconfdir)/$$f'"; \
8
-	  $(MonitoringconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(Monitoringconfdir)/$$f"; \
9
+	  echo " $(MonitoringconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(Monitoringconfdir)/$$f.sample'"; \
10
+	  $(MonitoringconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(Monitoringconfdir)/$$f.sample"; \
11
 	done
12
 
13
 uninstall-MonitoringconfDATA:
14
@@ -649,8 +649,6 @@
15
 	$(CPP) -C -P -I. $@.pre  $@
16
 
17
 install-data-local:
18
-	$(INSTALL) -m 755 -d $(DESTDIR)$(sysconfdir)
19
-	$(INSTALL) -m 755 $(srcdir)/ipmi_monitoring_sensors.conf $(DESTDIR)$(IPMI_MONITORING_SENSOR_CONFIG_FILE_DEFAULT)
20
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
21
 # Otherwise a system limit (for SysV at least) may be exceeded.
22
 .NOEXPORT:
(-)./pkg-plist (-2 / +14 lines)
Lines 1-7 Link Here
1
etc/freeipmi/ipmi_monitoring_sensors.conf
1
@unexec [ -f %D/etc/freeipmi/freeipmi.conf ] && cmp -s %D/etc/freeipmi/freeipmi.conf.sample %D/etc/freeipmi/freeipmi.conf && rm -f %D/etc/freeipmi/freeipmi.conf
2
etc/freeipmi/freeipmi.conf.sample
3
@exec [ -f %D/etc/freeipmi/freeipmi.conf ] || cp -p %D/etc/freeipmi/freeipmi.conf.sample %D/etc/freeipmi/freeipmi.conf
4
@unexec [ -f %D/etc/freeipmi/ipmi_monitoring_sensors.conf ] && cmp -s %D/etc/freeipmi/ipmi_monitoring_sensors.conf.sample %D/etc/freeipmi/ipmi_monitoring_sensors.conf && rm -f %D/etc/freeipmi/ipmi_monitoring_sensors.conf
5
etc/freeipmi/ipmi_monitoring_sensors.conf.sample
6
@exec [ -f %D/etc/freeipmi/ipmi_monitoring_sensors.conf ] || cp -p %D/etc/freeipmi/ipmi_monitoring_sensors.conf.sample %D/etc/freeipmi/ipmi_monitoring_sensors.conf
2
include/freeipmi/api/ipmi-api.h
7
include/freeipmi/api/ipmi-api.h
3
include/freeipmi/api/ipmi-chassis-cmds-api.h
8
include/freeipmi/api/ipmi-chassis-cmds-api.h
4
include/freeipmi/api/ipmi-device-global-cmds-api.h
9
include/freeipmi/api/ipmi-device-global-cmds-api.h
10
include/freeipmi/api/ipmi-event-cmds-api.h
5
include/freeipmi/api/ipmi-fru-inventory-device-cmds-api.h
11
include/freeipmi/api/ipmi-fru-inventory-device-cmds-api.h
6
include/freeipmi/api/ipmi-lan-cmds-api.h
12
include/freeipmi/api/ipmi-lan-cmds-api.h
7
include/freeipmi/api/ipmi-messaging-support-cmds-api.h
13
include/freeipmi/api/ipmi-messaging-support-cmds-api.h
Lines 15-20 Link Here
15
include/freeipmi/cmds/ipmi-bmc-watchdog-timer-cmds.h
21
include/freeipmi/cmds/ipmi-bmc-watchdog-timer-cmds.h
16
include/freeipmi/cmds/ipmi-chassis-cmds.h
22
include/freeipmi/cmds/ipmi-chassis-cmds.h
17
include/freeipmi/cmds/ipmi-device-global-cmds.h
23
include/freeipmi/cmds/ipmi-device-global-cmds.h
24
include/freeipmi/cmds/ipmi-event-cmds.h
18
include/freeipmi/cmds/ipmi-fru-inventory-device-cmds.h
25
include/freeipmi/cmds/ipmi-fru-inventory-device-cmds.h
19
include/freeipmi/cmds/ipmi-lan-cmds.h
26
include/freeipmi/cmds/ipmi-lan-cmds.h
20
include/freeipmi/cmds/ipmi-messaging-support-cmds.h
27
include/freeipmi/cmds/ipmi-messaging-support-cmds.h
Lines 30-37 Link Here
30
include/freeipmi/driver/ipmi-kcs-driver.h
37
include/freeipmi/driver/ipmi-kcs-driver.h
31
include/freeipmi/driver/ipmi-openipmi-driver.h
38
include/freeipmi/driver/ipmi-openipmi-driver.h
32
include/freeipmi/driver/ipmi-ssif-driver.h
39
include/freeipmi/driver/ipmi-ssif-driver.h
40
include/freeipmi/driver/ipmi-sunbmc-driver.h
33
include/freeipmi/fiid/fiid.h
41
include/freeipmi/fiid/fiid.h
34
include/freeipmi/freeipmi.h
42
include/freeipmi/freeipmi.h
43
include/freeipmi/interface/ipmi-ipmb-interface.h
35
include/freeipmi/interface/ipmi-kcs-interface.h
44
include/freeipmi/interface/ipmi-kcs-interface.h
36
include/freeipmi/interface/ipmi-lan-interface.h
45
include/freeipmi/interface/ipmi-lan-interface.h
37
include/freeipmi/interface/ipmi-rmcpplus-interface.h
46
include/freeipmi/interface/ipmi-rmcpplus-interface.h
Lines 64-69 Link Here
64
include/freeipmi/spec/ipmi-system-software-id-spec.h
73
include/freeipmi/spec/ipmi-system-software-id-spec.h
65
include/freeipmi/util/ipmi-cipher-suite-util.h
74
include/freeipmi/util/ipmi-cipher-suite-util.h
66
include/freeipmi/util/ipmi-error-util.h
75
include/freeipmi/util/ipmi-error-util.h
76
include/freeipmi/util/ipmi-ipmb-util.h
67
include/freeipmi/util/ipmi-lan-util.h
77
include/freeipmi/util/ipmi-lan-util.h
68
include/freeipmi/util/ipmi-rmcpplus-util.h
78
include/freeipmi/util/ipmi-rmcpplus-util.h
69
include/freeipmi/util/ipmi-sensor-and-event-code-tables-util.h
79
include/freeipmi/util/ipmi-sensor-and-event-code-tables-util.h
Lines 90-98 Link Here
90
lib/libipmimonitoring.so
100
lib/libipmimonitoring.so
91
lib/libipmimonitoring.so.%%IPMIMONITORING_SHLIBVER%%
101
lib/libipmimonitoring.so.%%IPMIMONITORING_SHLIBVER%%
92
sbin/bmc-config
102
sbin/bmc-config
103
sbin/bmc-device
93
sbin/bmc-info
104
sbin/bmc-info
94
sbin/bmc-watchdog
105
sbin/bmc-watchdog
95
sbin/ipmi-chassis
106
sbin/ipmi-chassis
107
sbin/ipmi-chassis-config
96
sbin/ipmi-fru
108
sbin/ipmi-fru
97
sbin/ipmi-locate
109
sbin/ipmi-locate
98
sbin/ipmi-oem
110
sbin/ipmi-oem
Lines 108-114 Link Here
108
sbin/ipmipower
120
sbin/ipmipower
109
sbin/pef-config
121
sbin/pef-config
110
sbin/rmcpping
122
sbin/rmcpping
111
@dirrmtry etc/freeipmi
112
@dirrm include/freeipmi/util
123
@dirrm include/freeipmi/util
113
@dirrm include/freeipmi/spec
124
@dirrm include/freeipmi/spec
114
@dirrm include/freeipmi/sdr-cache
125
@dirrm include/freeipmi/sdr-cache
Lines 121-126 Link Here
121
@dirrm include/freeipmi/cmds
132
@dirrm include/freeipmi/cmds
122
@dirrm include/freeipmi/api
133
@dirrm include/freeipmi/api
123
@dirrm include/freeipmi
134
@dirrm include/freeipmi
135
@dirrmtry etc/freeipmi
124
@exec mkdir -p %%CACHE_DIR%%/ipmimonitoringsdrcache %%LOG_DIR%% %%RUN_DIR%%
136
@exec mkdir -p %%CACHE_DIR%%/ipmimonitoringsdrcache %%LOG_DIR%% %%RUN_DIR%%
125
@exec touch %%RUN_DIR%%/ipckey
137
@exec touch %%RUN_DIR%%/ipckey
126
@exec chmod 0700 %%CACHE_DIR%% %%LOG_DIR%% %%RUN_DIR%%
138
@exec chmod 0700 %%CACHE_DIR%% %%LOG_DIR%% %%RUN_DIR%%

Return to bug 128690