vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, When installing xenocara the default way, the following directories get created, but not checked by mtree: etc/fonts/conf.avail etc/fonts/conf.d usr/local/lib/X11 var/cache/fontconfig var/db/xkb var/log The following patch fixes this. It is also available from http://www.studis.de/Software/xenocara_mtree.patch Even though the patch adds an mtree helper file to the build infrastructure, no packing list change is involved. This is relevant if $DESTDIR does not belong to the group wheel; if, for example, it belongs to the group wsrc, cd $XSRCDIR; make release will happily produce tarballs looking good at first sight, but containing /etc, /usr and /var directories belonging to wsrc which is quite surprising after install. Besides, having the directories below ${X11BASE} and ${X11ETC} documented in /usr/xenocara/etc/mtree/BSD.(etc-)?x11.dist is nice, but i think those outside these two areas merit documentation as well, perhaps even more. Yours, Ingo Index: Makefile ================================================== ================= RCS file: /cvs/xenocara/Makefile,v retrieving revision 1.22 diff -u -p -r1.22 Makefile --- Makefile 27 Oct 2007 20:01:23 -0000 1.22 +++ Makefile 22 Nov 2007 23:57:58 -0000 @@ -105,6 +105,8 @@ dist: distrib-dirs: + mtree -qdef ${.CURDIR}/etc/mtree/BSD.special-x11.dist \ + -p ${DESTDIR}/ -U if [ ! -d ${DESTDIR}${X11BASE}/. ]; then \ ${INSTALL} -d -o root -g wheel -m 755 ${DESTDIR}${X11BASE}/; \ fi Index: etc/mtree/BSD.special-x11.dist ================================================== ================= RCS file: etc/mtree/BSD.special-x11.dist diff -N etc/mtree/BSD.special-x11.dist --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ etc/mtree/BSD.special-x11.dist 22 Nov 2007 23:57:58 -0000 @@ -0,0 +1,31 @@ +# $OpenBSD$ + +/set type=dir uname=root gname=wheel mode=0755 +etc + fonts + conf.avail + .. + conf.d + .. + .. +.. +usr + local + lib + X11 + .. + .. + .. +.. +var + cache + fontconfig + .. + .. + db + xkb + .. + .. + log + .. +.. |