tech-pkg archive

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

wip/publicfile-run: review request



Hello!

I've added publicfile-run to pkgsrc-wip and would like to request a
review if possible.

It's a package providing NetBSD-style rc.d scripts for running
publicfile HTTP and FTP services.  It is similar in spirit to
net/djbdns-run and mail/qmail-run.

I've tested on amd64 NetBSD 6 stable.

If you don't want to read about the structure of the public files
directory for reviewing, you can create it like this to serve localhost
requests (assuming VARBASE is /var):

# umask 022
# mkdir /var/public
# cd /var/public
# mkdir 0
# echo 'hello, world' > 0/hello.txt
# ln -s 0 localhost

Now, after starting the FTP service, FTP requests will be served
relative to /var/public/0, so you can connect and get the hello.txt
file.

Similarly, after starting the HTTP service, you can request the
following URL:

  http://localhost/hello.txt

Thank you!

Regards,

Lewis


Home | Main Index | Thread Index | Old Index