Sat Oct 12 21:06:48 2019 UTC ()
sysutils/apcupsd: fix location of HTML documentation


(rillig)
diff -r1.4 -r1.5 pkgsrc/sysutils/apcupsd/MESSAGE
diff -r1.86 -r1.87 pkgsrc/sysutils/apcupsd/Makefile
diff -r1.18 -r1.19 pkgsrc/sysutils/apcupsd/PLIST

cvs diff -r1.4 -r1.5 pkgsrc/sysutils/apcupsd/MESSAGE (expand / switch to unified diff)

--- pkgsrc/sysutils/apcupsd/MESSAGE 2012/01/22 09:07:50 1.4
+++ pkgsrc/sysutils/apcupsd/MESSAGE 2019/10/12 21:06:48 1.5
@@ -1,20 +1,20 @@ @@ -1,20 +1,20 @@
1=========================================================================== 1===========================================================================
2$NetBSD: MESSAGE,v 1.4 2012/01/22 09:07:50 shattered Exp $ 2$NetBSD: MESSAGE,v 1.5 2019/10/12 21:06:48 rillig Exp $
3 3
4NOTE: You may use the (undocumented) NISIP configuration file option to 4NOTE: You may use the (undocumented) NISIP configuration file option to
5 determine what interfaces the NIS server will listen on; use 5 determine what interfaces the NIS server will listen on; use
6 "NISIP 127.0.0.1" for better security. 6 "NISIP 127.0.0.1" for better security.
7 7
8NOTE: With NetBSD 4.0 and higher, you can leave USB HID devices enabled, 8NOTE: With NetBSD 4.0 and higher, you can leave USB HID devices enabled,
9 but force a single port to attach ugen instead (for the UPS) with 9 but force a single port to attach ugen instead (for the UPS) with
10 a kernel configuration line along the lines of: 10 a kernel configuration line along the lines of:
11 ugen* at uhub0 port 1 flags 1 11 ugen* at uhub0 port 1 flags 1
12 12
13NOTE: With most APC cables you must put a "local" flag in /etc/ttys for 13NOTE: With most APC cables you must put a "local" flag in /etc/ttys for
14 the port you connect your UPS to, and run "ttyflags -a" to turn it 14 the port you connect your UPS to, and run "ttyflags -a" to turn it
15 on the first time. 15 on the first time.
16 16
17For complete documentation, see the HTML docs in 17For complete documentation, see the HTML docs in
18file://${PREFIX}/share/doc/html/apcupsd/index.html 18file://${PREFIX}/share/doc/apcupsd/index.html
19 19
20=========================================================================== 20===========================================================================

cvs diff -r1.86 -r1.87 pkgsrc/sysutils/apcupsd/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/apcupsd/Makefile 2018/11/12 14:40:22 1.86
+++ pkgsrc/sysutils/apcupsd/Makefile 2019/10/12 21:06:48 1.87
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.86 2018/11/12 14:40:22 jperkin Exp $ 1# $NetBSD: Makefile,v 1.87 2019/10/12 21:06:48 rillig Exp $
2 2
3DISTNAME= apcupsd-3.14.13r2365 3DISTNAME= apcupsd-3.14.13r2365
4PKGREVISION= 3 4PKGREVISION= 4
5CATEGORIES= sysutils 5CATEGORIES= sysutils
6#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=apcupsd/} 6#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=apcupsd/}
7MASTER_SITES= ${MASTER_SITE_LOCAL} 7MASTER_SITES= ${MASTER_SITE_LOCAL}
8 8
9MAINTAINER= bouyer@NetBSD.org 9MAINTAINER= bouyer@NetBSD.org
10HOMEPAGE= http://www.apcupsd.org/ 10HOMEPAGE= http://www.apcupsd.org/
11COMMENT= UPS power management for APCC Products 11COMMENT= UPS power management for APCC Products
12LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
13 13
14USE_TOOLS+= gmake msgfmt sh makedepend 14USE_TOOLS+= gmake msgfmt sh makedepend
15USE_LANGUAGES= c c++ 15USE_LANGUAGES= c c++
16 16
17GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes
@@ -72,27 +72,27 @@ CONF_FILES_PERMS+= ${EGDIR}/apccontrol $ @@ -72,27 +72,27 @@ CONF_FILES_PERMS+= ${EGDIR}/apccontrol $
72RCD_SCRIPTS= apcupsd 72RCD_SCRIPTS= apcupsd
73 73
74OPSYSVARS+= PLATFORM_SUBDIR 74OPSYSVARS+= PLATFORM_SUBDIR
75PLATFORM_SUBDIR.DragonFly= netbsd 75PLATFORM_SUBDIR.DragonFly= netbsd
76PLATFORM_SUBDIR.SunOS= sun 76PLATFORM_SUBDIR.SunOS= sun
77PLATFORM_SUBDIR.*= ${OPSYS:tl} 77PLATFORM_SUBDIR.*= ${OPSYS:tl}
78 78
79RCD_SCRIPT_SRC.apcupsd= ${WRKSRC}/platforms/${PLATFORM_SUBDIR}/apcupsd 79RCD_SCRIPT_SRC.apcupsd= ${WRKSRC}/platforms/${PLATFORM_SUBDIR}/apcupsd
80 80
81EGFILES= ${PLATFORM_SUBDIR}/apccontrol etc/changeme etc/commfailure etc/commok \ 81EGFILES= ${PLATFORM_SUBDIR}/apccontrol etc/changeme etc/commfailure etc/commok \
82 etc/offbattery etc/onbattery etc/multimon.conf etc/hosts.conf 82 etc/offbattery etc/onbattery etc/multimon.conf etc/hosts.conf
83 83
84INSTALLATION_DIRS= share/examples/apcupsd share/examples/rc.d \ 84INSTALLATION_DIRS= share/examples/apcupsd share/examples/rc.d \
85 share/doc/html/apcupsd share/doc/html/apcupsd/manual 85 share/doc/apcupsd share/doc/apcupsd/manual
86 86
87SUBST_CLASSES+= strip 87SUBST_CLASSES+= strip
88SUBST_STAGE.strip= pre-configure 88SUBST_STAGE.strip= pre-configure
89SUBST_FILES.strip= autoconf/install-sh autoconf/targets.mak 89SUBST_FILES.strip= autoconf/install-sh autoconf/targets.mak
90SUBST_FILES.strip+= src/gapcmon/Makefile.in src/cgi/Makefile.in 90SUBST_FILES.strip+= src/gapcmon/Makefile.in src/cgi/Makefile.in
91SUBST_FILES.strip+= src/Makefile.in 91SUBST_FILES.strip+= src/Makefile.in
92SUBST_SED.strip= -e "s|STRIP|STRIPFLAG|g" 92SUBST_SED.strip= -e "s|STRIP|STRIPFLAG|g"
93SUBST_MESSAGE.strip= Fixing conflicting STRIP variable name 93SUBST_MESSAGE.strip= Fixing conflicting STRIP variable name
94 94
95# XXX we should probably allow the tty to be set in /etc/mk.conf too 95# XXX we should probably allow the tty to be set in /etc/mk.conf too
96# 96#
97 97
98HTMLDOCS= manual.html apcupsd.png charging.png commlost.png \ 98HTMLDOCS= manual.html apcupsd.png charging.png commlost.png \
@@ -100,19 +100,19 @@ HTMLDOCS= manual.html apcupsd.png chargi @@ -100,19 +100,19 @@ HTMLDOCS= manual.html apcupsd.png chargi
100 thanks.png wininstall6.png 100 thanks.png wininstall6.png
101 101
102post-install: 102post-install:
103 ${INSTALL_DATA} ${WRKSRC}/platforms/etc/apcupsd.conf \ 103 ${INSTALL_DATA} ${WRKSRC}/platforms/etc/apcupsd.conf \
104 ${DESTDIR}${PREFIX}/share/examples/apcupsd 104 ${DESTDIR}${PREFIX}/share/examples/apcupsd
105 ${INSTALL_DATA} ${WRKSRC}/src/cgi/apcupsd.css \ 105 ${INSTALL_DATA} ${WRKSRC}/src/cgi/apcupsd.css \
106 ${DESTDIR}${PREFIX}/share/examples/apcupsd 106 ${DESTDIR}${PREFIX}/share/examples/apcupsd
107.for file in ${EGFILES} 107.for file in ${EGFILES}
108 ${INSTALL_SCRIPT} ${WRKSRC}/platforms/${file} \ 108 ${INSTALL_SCRIPT} ${WRKSRC}/platforms/${file} \
109 ${DESTDIR}${PREFIX}/share/examples/apcupsd 109 ${DESTDIR}${PREFIX}/share/examples/apcupsd
110.endfor 110.endfor
111.for file in ${HTMLDOCS} 111.for file in ${HTMLDOCS}
112 ${INSTALL_DATA} ${WRKSRC}/doc/manual/${file} \ 112 ${INSTALL_DATA} ${WRKSRC}/doc/manual/${file} \
113 ${DESTDIR}${PREFIX}/share/doc/html/apcupsd 113 ${DESTDIR}${PREFIX}/share/doc/apcupsd
114.endfor 114.endfor
115 115
116.include "../../devel/gettext-lib/buildlink3.mk" 116.include "../../devel/gettext-lib/buildlink3.mk"
117.include "../../devel/libusb/buildlink3.mk" 117.include "../../devel/libusb/buildlink3.mk"
118.include "../../mk/bsd.pkg.mk" 118.include "../../mk/bsd.pkg.mk"

cvs diff -r1.18 -r1.19 pkgsrc/sysutils/apcupsd/PLIST (expand / switch to unified diff)

--- pkgsrc/sysutils/apcupsd/PLIST 2018/01/01 22:29:55 1.18
+++ pkgsrc/sysutils/apcupsd/PLIST 2019/10/12 21:06:48 1.19
@@ -1,34 +1,34 @@ @@ -1,34 +1,34 @@
1@comment $NetBSD: PLIST,v 1.18 2018/01/01 22:29:55 rillig Exp $ 1@comment $NetBSD: PLIST,v 1.19 2019/10/12 21:06:48 rillig Exp $
2${PLIST.cgi}libexec/cgi-bin/apcupsimage.cgi 2${PLIST.cgi}libexec/cgi-bin/apcupsimage.cgi
3${PLIST.cgi}libexec/cgi-bin/multimon.cgi 3${PLIST.cgi}libexec/cgi-bin/multimon.cgi
4${PLIST.cgi}libexec/cgi-bin/upsfstats.cgi 4${PLIST.cgi}libexec/cgi-bin/upsfstats.cgi
5${PLIST.cgi}libexec/cgi-bin/upsstats.cgi 5${PLIST.cgi}libexec/cgi-bin/upsstats.cgi
6man/man5/apcupsd.conf.5 6man/man5/apcupsd.conf.5
7man/man8/apcaccess.8 7man/man8/apcaccess.8
8man/man8/apccontrol.8 8man/man8/apccontrol.8
9man/man8/apctest.8 9man/man8/apctest.8
10man/man8/apcupsd.8 10man/man8/apcupsd.8
11sbin/apcaccess 11sbin/apcaccess
12sbin/apctest 12sbin/apctest
13sbin/apcupsd 13sbin/apcupsd
14share/doc/html/apcupsd/apcupsd.png 14share/doc/apcupsd/apcupsd.png
15share/doc/html/apcupsd/charging.png 15share/doc/apcupsd/charging.png
16share/doc/html/apcupsd/commlost.png 16share/doc/apcupsd/commlost.png
17share/doc/html/apcupsd/main_configs.png 17share/doc/apcupsd/main_configs.png
18share/doc/html/apcupsd/manual.html 18share/doc/apcupsd/manual.html
19share/doc/html/apcupsd/multimon.png 19share/doc/apcupsd/multimon.png
20share/doc/html/apcupsd/onbatt.png 20share/doc/apcupsd/onbatt.png
21share/doc/html/apcupsd/online.png 21share/doc/apcupsd/online.png
22share/doc/html/apcupsd/status.png 22share/doc/apcupsd/status.png
23share/doc/html/apcupsd/thanks.png 23share/doc/apcupsd/thanks.png
24share/doc/html/apcupsd/wininstall6.png 24share/doc/apcupsd/wininstall6.png
25share/examples/apcupsd/apccontrol 25share/examples/apcupsd/apccontrol
26share/examples/apcupsd/apcupsd.conf 26share/examples/apcupsd/apcupsd.conf
27share/examples/apcupsd/apcupsd.css 27share/examples/apcupsd/apcupsd.css
28share/examples/apcupsd/changeme 28share/examples/apcupsd/changeme
29share/examples/apcupsd/commfailure 29share/examples/apcupsd/commfailure
30share/examples/apcupsd/commok 30share/examples/apcupsd/commok
31share/examples/apcupsd/hosts.conf 31share/examples/apcupsd/hosts.conf
32share/examples/apcupsd/multimon.conf 32share/examples/apcupsd/multimon.conf
33share/examples/apcupsd/offbattery 33share/examples/apcupsd/offbattery
34share/examples/apcupsd/onbattery 34share/examples/apcupsd/onbattery