mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
for pf in */*/Portfile
do
ed -s "$pf" <<-'EOF'
1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
1g/^[[:space:]]*$/d
w
q
EOF
done
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name oftpd
|
|
version 0.3.7
|
|
revision 2
|
|
categories net
|
|
license BSD
|
|
platforms darwin
|
|
maintainers nomaintainer
|
|
homepage http://www.time-travellers.org/oftpd/
|
|
description Secure anonymous FTP server
|
|
|
|
long_description oftpd is designed to be as secure as an anonymous FTP server \
|
|
can possibly be. It runs as non-root for most of the time, and \
|
|
uses the Unix chroot() command to hide most of the systems \
|
|
directories from external users - they cannot chane into them \
|
|
even if the server is totally compromised! It contains it's own \
|
|
directory change code, so that it can run efficiently as a \
|
|
threaded server, and it's own directory listing code (many \
|
|
FTP servers execute the system 'ls' command to list files). \
|
|
It is currently being code-reviewed for buffer overflows, and \
|
|
being load-tested.
|
|
|
|
master_sites ${homepage}
|
|
|
|
checksums md5 1a396ad12584c7efe3a0e712dadf28be
|
|
|
|
configure.args --mandir=${prefix}/share/man \
|
|
--infodir=${prefix}/share/info \
|
|
--sysconfdir=${prefix}/etc
|
|
|
|
destroot.destdir prefix=${destroot}${prefix} \
|
|
mandir=${destroot}${prefix}/share/man
|
|
|
|
post-destroot { file mkdir ${destroot}${prefix}/share/doc/${name}
|
|
xinstall -m 644 -v -W ${worksrcpath} \
|
|
AUTHORS BUGS COPYING FAQ NEWS README TODO \
|
|
${destroot}${prefix}/share/doc/${name}
|
|
}
|