diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-03-23 06:51:50 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-03-23 06:51:50 +0000 |
commit | 99076f7c8aa0c1517d2358f871e98f013e86c477 (patch) | |
tree | a04dc85aae357b971aa63620fb39855705447ed9 /sysutils/healthd | |
parent | a78d99ff9d95275faec2fa621e8ffd5a3664688e (diff) | |
download | ports-99076f7c8aa0c1517d2358f871e98f013e86c477.tar.gz ports-99076f7c8aa0c1517d2358f871e98f013e86c477.zip |
Notes
Diffstat (limited to 'sysutils/healthd')
-rw-r--r-- | sysutils/healthd/Makefile | 23 | ||||
-rw-r--r-- | sysutils/healthd/files/patch-getMB-smb.c (renamed from sysutils/healthd/files/patch-getSMB-smb.c) | 10 |
2 files changed, 17 insertions, 16 deletions
diff --git a/sysutils/healthd/Makefile b/sysutils/healthd/Makefile index f8bf1aea4304..aa7f42ff6ccd 100644 --- a/sysutils/healthd/Makefile +++ b/sysutils/healthd/Makefile @@ -12,27 +12,28 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Daemon to monitor vital motherboard parameters LICENSE= BSD2CLAUSE - -OPTIONS_DEFINE= IPV6 FULL_CONFIG DOCS - -FULL_CONFIG_DESC= Remotely reading the full config -IPV6_CONFIGURE_ENABLE= ipv6 -FULL_CONFIG_CONFIGURE_ENABLE= full-config - -.include <bsd.port.options.mk> +LICENSE_FILE= ${WRKSRC}/COPYRIGHT ONLY_FOR_ARCHS= i386 amd64 + USE_RC_SUBR= ${PORTNAME} GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--exec-prefix=${PREFIX} +CONFIGURE_ARGS= --exec-prefix=${PREFIX} INSTALL_TARGET= install-all SUB_FILES= pkg-message +OPTIONS_DEFINE= IPV6 FULL_CONFIG DOCS + +FULL_CONFIG_DESC= Remotely reading the full config + +IPV6_CONFIGURE_ENABLE= ipv6 +FULL_CONFIG_CONFIGURE_ENABLE= full-config + post-patch: - ${REINPLACE_CMD} -e 's| @exec_prefix@| $$(DESTDIR)@exec_prefix@|' \ + @${REINPLACE_CMD} -e 's| @exec_prefix@| $$(DESTDIR)@exec_prefix@|' \ ${WRKSRC}/Makefile.in -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/PROTOCOL ${STAGEDIR}${DOCSDIR} diff --git a/sysutils/healthd/files/patch-getSMB-smb.c b/sysutils/healthd/files/patch-getMB-smb.c index 964307a18288..0af9f478fa2a 100644 --- a/sysutils/healthd/files/patch-getSMB-smb.c +++ b/sysutils/healthd/files/patch-getMB-smb.c @@ -1,5 +1,5 @@ ---- getMB-smb.c.orig 2004-08-17 03:32:39.000000000 +0200 -+++ getMB-smb.c 2015-05-01 22:56:04.200695000 +0200 +--- getMB-smb.c.orig 2004-08-17 01:32:39 UTC ++++ getMB-smb.c @@ -31,6 +31,7 @@ #endif @@ -8,7 +8,7 @@ #include <fcntl.h> #include <sys/types.h> #include <sys/ioctl.h> -@@ -90,7 +91,9 @@ +@@ -90,7 +91,9 @@ OpenIO(void) { } cmd.cmd = 0x47; @@ -18,7 +18,7 @@ for (i = 0; i < sizeof(addrs); i++) { cmd.slave = addrs[i]; if (ioctl(iosmb, SMB_READB, (caddr_t)&cmd) != -1) { -@@ -115,7 +118,11 @@ +@@ -115,7 +118,11 @@ WriteByte(int addr,int value) { count = 0; cmd.slave = smb_addr; cmd.cmd = addr; @@ -30,7 +30,7 @@ while (ioctl(iosmb, SMB_WRITEB, &cmd) == -1) { if (++count < 3) { sleep(1); -@@ -136,7 +143,12 @@ +@@ -136,7 +143,12 @@ ReadByte(int addr) { cmd.slave = smb_addr; cmd.cmd = addr; |