Dear Fink-Developers,
I was recently in need of vsftpd on my Mac and after hacking (using
some of the DarwinPorts patches) together an installation I figured
I'd wrap it up for everyone else. Vsftpd is strange (what package
isn't) and needs its hand held. Specifically, It needs things like an
empty directory: /sw/var/empty. If I use:
InstallScript: <<
install -d %p/var/empty
...
<<
a `fink install vsftpd` works fine, but `fink -m --build-as-nobody
vsftpd` does not work since `nobody` does not have permission to
`install -d %p/var/empty`. I looked a packages I assumed would be
similar like apache, but it looks like they just use `mkdir -p ...`
which fails if the directory already existed.
On a standards related front, the daemon vsftpd is usually install in /
usr/local/sbin or similar. Should it then be installed in %p/sbin or
%p/bin? What about files that typically would go in /etc like
vsftpd.conf? Should I put them in %p/etc?
Currently the package installs the daemon in %p/bin and the
configuration files in %p/etc/vsftpd and the program compiles,
installs and runs fine on machines I have at my disposal, I'd just
like to make sure I'm following "best practices" before I submit it.
Thanks,
Walter Szeliga
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel