# New ports collection makefile for: publicfile # Date created: 24 Jan 2000 # Whom: Neil Blakey-Milner # # $FreeBSD$ # PORTNAME= publicfile PORTVERSION= 0.52 PORTREVISION= 2 CATEGORIES= www ftp MASTER_SITES= http://cr.yp.to/publicfile/ \ ftp://cr.yp.to/publicfile/ MAINTAINER= lx@FreeBSD.org COMMENT= A secure, read-only, anonymous HTTP/FTP server RUN_DEPENDS= setuidgid:${PORTSDIR}/sysutils/daemontools \ tcpserver:${PORTSDIR}/sysutils/ucspi-tcp OPTIONS= BASICAUTH "basic HTTP authentication support" off \ COMMONLOG "support for Apache common log format" off \ REDIRECT_SLASH "don't require trailing slash on directories" off \ ENV_FILETYPES "get mime types from the environment" off \ SSL "provide SSL support through ucspi-ssl" off .include <bsd.port.pre.mk> pre-everything:: .if defined(WITH_BASICAUTH) && defined(WITH_COMMONLOG) @${ECHO_MSG} @${ECHO_MSG} "Currently the common log and auth patches conflict." @${ECHO_MSG} BROKEN= Currently the common log and auth patches conflict. .endif .if defined(WITH_BASICAUTH) && defined(WITH_REDIRECT_SLASH) @${ECHO_MSG} @${ECHO_MSG} "Currently the redirect slash and auth patches conflict." @${ECHO_MSG} BROKEN= Currently the redirect slash and auth patches conflict. .endif .if defined(WITH_REDIRECT_SLASH) pre-configure:: @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/redirect-slash-patch .endif .if defined(WITH_ENV_FILETYPES) pre-configure:: @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/publicfile-0.52-filetype-diff .endif .if defined(WITH_SSL) pre-configure:: @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/publicfile.sslserver RUN_DEPENDS+= sslserver:${PORTSDIR}/sysutils/ucspi-ssl .endif .if defined(WITH_BASICAUTH) pre-configure:: @${SED} -e "s:__PORTSDIR__:${PORTSDIR}:g" \ -e "s:__WRKSRC__:${WRKSRC}:g" \ ${PATCHDIR}/publicfile-0.52_basicauth.patch.in > \ ${PATCHDIR}/publicfile-0.52_basicauth.patch @${PATCH} ${PATCH_ARGS} -p1 < \ ${PATCHDIR}/publicfile-0.52_basicauth.patch BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/databases/cdb:extract PLIST_SUB+= BASICAUTH="" .else PLIST_SUB+= BASICAUTH="@comment " .endif .if defined(WITH_COMMONLOG) pre-configure:: @${PATCH} ${PATCH_ARGS} -p1 < \ ${PATCHDIR}/publicfile-0.52-commonlog-2.patch .endif ALL_TARGET= it INSTALL_TARGET= setup check post-extract: .if defined(WITH_BASICAUTH) @${LN} -s ${PORTSDIR}/databases/cdb/work/cdb-0.75 ${WRKSRC}/cdb-0.75 .endif post-patch: @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc @${ECHO_CMD} "${CC} -s" > ${WRKSRC}/conf-ld @${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home .include <bsd.port.post.mk> ts-graphics/diff/audio/flite?id=9c35c315e2e46e25bf3d92614f0b3e47bfbad4c4'>diff</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/stats/audio/flite'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/audio/flite'> <input type='hidden' name='id' value='9c35c315e2e46e25bf3d92614f0b3e47bfbad4c4'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/?id=9c35c315e2e46e25bf3d92614f0b3e47bfbad4c4'>root</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/audio?id=9c35c315e2e46e25bf3d92614f0b3e47bfbad4c4'>audio</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/audio/flite?id=9c35c315e2e46e25bf3d92614f0b3e47bfbad4c4'>flite</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/log/audio/flite?id=9c35c315e2e46e25bf3d92614f0b3e47bfbad4c4&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/audio/flite?id=93169f3910da6e92f54bf47aa412d8e2002f411b'>Remove $FreeBSD$ from patches files in categories a-j.</a></td><td>mat</td><td><span title='2015-05-22 21:34:20 +0800'>2015-05-22</span></td><td>4</td><td><span class='deletions'>-12</span>/<span class='insertions'>+0</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/audio/flite?id=99b9dd02dbfdae896714464e4f3c366dce6cf9f3'>- Add CPE info</a></td><td>amdmi3</td><td><span title='2015-05-18 01:52:23 +0800'>2015-05-18</span></td><td>1</td><td><span class='deletions'>-1</span>/<span class='insertions'>+2</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/audio/flite?id=6485991e610169303aca8e3b8091c2a0ddc2e20f'>Fix the ancient problem, where we replaced Linux' "cp -pd" with</a></td><td>mi</td><td><span title='2014-12-02 15:01:40 +0800'>2014-12-02</span></td><td>3</td><td><span class='deletions'>-3</span>/<span class='insertions'>+224</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/audio/flite?id=f929628f2fad4dc1837d62c1b3187a8018a151de'>Stop disabling optimization -- which was not necessary since the current</a></td><td>mi</td><td><span title='2014-12-01 03:28:20 +0800'>2014-12-01</span></td><td>3</td><td><span class='deletions'>-20</span>/<span class='insertions'>+127</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/audio/flite?id=e2bb879256439a8ff2a063cb3c10aca73794f20f'>Cleanup plist</a></td><td>bapt</td><td><span title='2014-10-20 14:35:58 +0800'>2014-10-20</span></td><td>1</td><td><span class='deletions'>-2</span>/<span class='insertions'>+0</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/audio/flite?id=7306e40da405ade4d9473a388a3dc20da3e8bc13'>Rename all patches that contain '::' as a path separator, and use</a></td><td>adamw</td><td><span title='2014-07-30 01:12:47 +0800'>2014-07-30</span></td><td>1</td><td><span class='deletions'>-0</span>/<span class='insertions'>+0</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/audio/flite?id=8f993794383a8ef4d48cd10d14f9f5365f79fa25'>- USE_(BZIP2|XZ) -> USES= tar:(bzip2|xz)</a></td><td>ohauer</td><td><span title='2014-06-01 21:03:14 +0800'>2014-06-01</span></td><td>1</td><td><span class='deletions'>-4</span>/<span class='insertions'>+3</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/audio/flite?id=87dd3e7aec80c4bc8557976b8d26e081338b7577'>Support stage</a></td><td>bapt</td><td><span title='2014-01-28 16:04:07 +0800'>2014-01-28</span></td><td>1</td><td><span class='deletions'>-9</span>/<span class='insertions'>+6</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/audio/flite?id=855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99'>Convert to PORT_OPTIONS:MDOCS.</a></td><td>adamw</td><td><span title='2014-01-03 23:26:06 +0800'>2014-01-03</span></td><td>1</td><td><span class='deletions'>-1</span>/<span class='insertions'>+3</span></td></tr> <tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-graphics/commit/audio/flite?id=364fbf2c9f577bf02f623faf4a3cbad00fc1c84f'>Add NO_STAGE all over the place in preparation for the staging support (cat: ...</a></td><td>bapt</td><td><span title='2013-09-20 22:36:35 +0800'>2013-09-20</span></td><td>1</td><td><span class='deletions'>-0</span>/<span class='insertions'>+1</span></td></tr>