freebsd-ports/sysutils/powerman/files/patch-src-powerman.h
Greg Lewis 3b06cdd620 Add a port of PowerMan:
PowerMan is a tool for manipulating remote power control (RPC)
devices from a central location. Several RPC varieties are supported
natively by PowerMan and Expect-like configurability simplifies the
addition of new devices.

WWW: http://www.llnl.gov/linux/powerman/
2004-06-17 16:14:13 +00:00

19 lines
681 B
C

$FreeBSD$
--- src/powerman.h.orig Thu Jun 10 08:57:15 2004
+++ src/powerman.h Thu Jun 10 08:57:55 2004
@@ -39,10 +39,10 @@
#endif /* MIN */
#define DAEMON_NAME "powermand"
-#define PID_FILE_NAME "/var/run/powerman/powerman.pid"
-#define PID_DIR "/var/run/powerman"
-#define ROOT_DIR "/etc/powerman"
-#define DFLT_CONFIG_FILE "/etc/powerman/powerman.conf"
+#define PID_FILE_NAME "/var/run/powerman.pid"
+#define PID_DIR "/var/run"
+#define ROOT_DIR "%%PREFIX%%/etc/powerman"
+#define DFLT_CONFIG_FILE "%%PREFIX%%/etc/powerman.conf"
#define DFLT_PORT "10101"
#define DFLT_HOSTNAME "localhost"