na...@mips.inka.de schrieb: >Scot Hetzel <swhet...@gmail.com> wrote: > >> > @exec mkdir -pm 770 /var/spool/bsmtp; chown uucp:uucp >/var/spool/bsmtp >> > @dirrmtry /var/spool/bsmtp >> > >> The correct way to handle this is to have the port create >> ${STAGEDIR}/var/spool/bsmtp. This could be created in the >> post-install target or in the ${WRKSRC}/Makefile > >Okay, but how do I package this directory then? What entry would >I put in pkg-plist? > >Hmm, actually, this > > @owner uucp > @group uucp > @mode 770 > @dirrmtry /var/spool/bsmtp > @mode > @group > @owner > >produces the desired entry in the package's tar archive > >drwxrwx--- 0 uucp uucp 0 Nov 1 23:07 /var/spool/bsmtp/ > >However, I'm not sure if I'm using this as intended or if it just >happens to work out. > >-- >Christian "naddy" Weisgerber >na...@mips.inka.de > >_______________________________________________ >freebsd-ports@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-ports >To unsubscribe, send any mail to >"freebsd-ports-unsubscr...@freebsd.org"
It works only for pkgNG, traditional packages do not package the directory. _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"