I tried out cvsweb on OpenBSD 5.4 and noticed the icons left of the "File" 
items were missing. cvsweb installs its icons under /var/www/htdocs/icons/ 
where the base system's icons are installed in /var/www/icons/. Moving 
cvsweb's icons under /var/www/icons/ made them pop up in cvsweb.

In case it matters, I'm running httpd unchrooted. (httpd_flags="-u")

The CVS log shows that the icons were moved from /var/www/icons/ 
to /var/www/htdocs/icons/ in PLIST revision 1.7 and Makefile revision 1.47.

I'm not sure where these icons should be stored. The included patches seem to 
put them in the right place for me.

regards,
Remco


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/devel/cvsweb/Makefile,v
retrieving revision 1.48
diff -u -r1.48 Makefile
--- Makefile    5 Jul 2013 07:23:33 -0000       1.48
+++ Makefile    28 Oct 2013 13:11:30 -0000
@@ -3,7 +3,7 @@
 COMMENT=       CGI script to browse CVS repository trees
 
 DISTNAME=      cvsweb-2.0.6
-REVISION =     14
+REVISION =     15
 CATEGORIES=    devel www
 HOMEPAGE=      http://www.freebsd.org/projects/cvsweb.html
 
@@ -37,9 +37,9 @@
 .for file in ${CONFFILES}
        ${INSTALL_DATA} ${WRKSRC}/${file} ${CONFDIR}/cvsweb/${file}.dist
 .endfor
-       ${INSTALL_DATA_DIR} ${PREFIX}/htdocs/icons/cvsweb
+       ${INSTALL_DATA_DIR} ${PREFIX}/icons/cvsweb
 .for file in ${ICONS}
-       ${INSTALL_DATA} ${WRKSRC}/icons/${file} ${PREFIX}/htdocs/icons/cvsweb/
+       ${INSTALL_DATA} ${WRKSRC}/icons/${file} ${PREFIX}/icons/cvsweb/
 .endfor
 
 .include <bsd.port.mk>
Index: pkg/PLIST
===================================================================
RCS file: /home/cvs/ports/devel/cvsweb/pkg/PLIST,v
retrieving revision 1.7
diff -u -r1.7 PLIST
--- pkg/PLIST   2 Jun 2013 19:09:09 -0000       1.7
+++ pkg/PLIST   28 Oct 2013 13:08:42 -0000
@@ -7,13 +7,12 @@
 conf/cvsweb/cvsweb.conf-ruby.dist
 conf/cvsweb/cvsweb.conf.dist
 @sample ${CONFDIR}/cvsweb/cvsweb.conf
-htdocs/icons/
-htdocs/icons/cvsweb/
-htdocs/icons/cvsweb/back.gif
-htdocs/icons/cvsweb/dir.gif
-htdocs/icons/cvsweb/miniback.gif
-htdocs/icons/cvsweb/minidir.gif
-htdocs/icons/cvsweb/minitext.gif
-htdocs/icons/cvsweb/text.gif
+icons/cvsweb/
+icons/cvsweb/back.gif
+icons/cvsweb/dir.gif
+icons/cvsweb/miniback.gif
+icons/cvsweb/minidir.gif
+icons/cvsweb/minitext.gif
+icons/cvsweb/text.gif
 @cwd ${LOCALBASE}/share/doc/pkg-readmes
 ${FULLPKGNAME}

Reply via email to