svn commit: r528226 - in head/net-p2p: . udpt udpt/files
Baptiste Daroussin
bapt at FreeBSD.org
Wed Mar 11 18:09:39 UTC 2020
On Wed, Mar 11, 2020 at 10:51:59AM +0000, Alexey Dokuchaev wrote:
> Author: danfe
> Date: Wed Mar 11 10:51:58 2020
> New Revision: 528226
> URL: https://svnweb.freebsd.org/changeset/ports/528226
>
> Log:
> UDPT is a lightweight UDP torrent tracker for Unix-like systems.
>
> WWW: https://github.com/troydm/udpt
>
> Added:
> head/net-p2p/udpt/
> head/net-p2p/udpt/Makefile (contents, props changed)
> head/net-p2p/udpt/distinfo (contents, props changed)
> head/net-p2p/udpt/files/
> head/net-p2p/udpt/files/patch-Makefile (contents, props changed)
> head/net-p2p/udpt/files/patch-src_http_httpserver.cpp (contents, props changed)
> head/net-p2p/udpt/files/patch-src_multiplatform.h (contents, props changed)
> head/net-p2p/udpt/files/patch-src_udpTracker.cpp (contents, props changed)
> head/net-p2p/udpt/pkg-descr (contents, props changed)
> Modified:
> head/net-p2p/Makefile
>
> Modified: head/net-p2p/Makefile
> ==============================================================================
> --- head/net-p2p/Makefile Wed Mar 11 10:44:16 2020 (r528225)
> +++ head/net-p2p/Makefile Wed Mar 11 10:51:58 2020 (r528226)
> @@ -93,6 +93,7 @@
> SUBDIR += transmission-gtk
> SUBDIR += transmission-qt
> SUBDIR += transmission-remote-gui
> + SUBDIR += udpt
> SUBDIR += uhub
> SUBDIR += vuze
> SUBDIR += xmrig
>
> Added: head/net-p2p/udpt/Makefile
> ==============================================================================
> --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> +++ head/net-p2p/udpt/Makefile Wed Mar 11 10:51:58 2020 (r528226)
> @@ -0,0 +1,40 @@
> +# Created by: Alexey Dokuchaev <danfe at FreeBSD.org>
> +# $FreeBSD$
> +
> +PORTNAME= udpt
> +DISTVERSION= g20200202
> +CATEGORIES= net-p2p
> +
> +MAINTAINER= danfe at FreeBSD.org
> +COMMENT= Lightweight UDP torrent tracker
> +
> +LICENSE= GPLv3+
> +
> +USES= gmake localbase:ldflags sqlite:3
> +USE_GITHUB= yes
> +GH_ACCOUNT= troydm
> +GH_TAGNAME= 6a7bf22
> +
> +CXXFLAGS+= -Dlinux # easier than patch a dozen places
> +
> +PLIST_FILES= bin/${PORTNAME}
> +PORTDOCS= README.md
> +
> +OPTIONS_DEFINE= DOCS
> +
> +post-patch:
> + @${REINPLACE_CMD} -e '/VERSION/ { s,beta,&-g${GH_TAGNAME},; \
> + s,Linux,${OPSYS},; }' ${WRKSRC}/src/multiplatform.h
> +
> +post-install-DOCS-on:
> + @${MKDIR} ${STAGEDIR}${DOCSDIR}
> + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
> +
> +.include <bsd.port.mk>
> +
> +# Alternative to DOS2UNIX_FILES that preserves original timestamps,
> +# to be used together with `-l' switch added to PATCH_ARGS below.
> +fixpatches:
> + @${FIND} ${FILESDIR} -name patch-* | ${XARGS} ${SED} -i '' \
> + -E 's,[[:cntrl:]]*$$,,'
> +PATCH_ARGS+= -l
>
Seriously? why not improving the framework instead???
Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20200311/ac98d65d/attachment.sig>
More information about the svn-ports-all
mailing list