tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: symlinks in PKG_SYSCONFDIR

On Tuesday 25 March 2008 22:52:37 Hauke Fath wrote:
> At 16:03 Uhr -0500 25.3.2008, Jeremy C. Reed wrote:
> >> I'm trying to write a pkgsrc Makefile for a package that installs
> >> symlinks into PKG_SYSCONFDIR. How should this be handled?
> >
> >Tell us a little more. Is this installed at installation time? Or later
> >when the software runs?
> >
> >I don't know of any examples of that in pkgsrc.
> wip/tsm installs a symlink to an i18n directory in 'post-install'; the
> PLIST has an @unexec for it.

Yes, that seems to work. Basically we install scripts to etc/init.d and link 
them in /etc/runlevels/default.

For reference, the package is OpenRC -
In a nutshell, it's a re-write of the Gentoo init system in C and also works 
on the BSD's.



Home | Main Index | Thread Index | Old Index