Index: GIDs =================================================================== --- GIDs (revision 560886) +++ GIDs (working copy) @@ -254,7 +254,7 @@ # free: 311 _sphinx:*:312: _fastdfs:*:313: -# free: 314 +airdcpp:*:314: # free: 315 # free: 316 # free: 317 Index: UIDs =================================================================== --- UIDs (revision 560886) +++ UIDs (working copy) @@ -259,7 +259,7 @@ # free: 311 _sphinx:*:312:312::0:0:Sphinxsearch Owner:/nonexistent:/usr/sbin/nologin _fastdfs:*:313:313::0:0:FastDFS Owner:/nonexistent:/usr/sbin/nologin -# free: 314 +airdcpp:*:314:314::0:0:Airdc++ WebClient Daemon:/nonexistent:/user/sbin/nologin # free: 315 # free: 316 # free: 317 Index: net-p2p/airdcpp-webclient/Makefile =================================================================== --- net-p2p/airdcpp-webclient/Makefile (nonexistent) +++ net-p2p/airdcpp-webclient/Makefile (working copy) @@ -0,0 +1,61 @@ +# Created by: Venim +# $FreeBSD$ + +PORTNAME= airdcpp-webclient +PORTVERSION= 2.11.0 +CATEGORIES= net-p2p +MASTER_SITES= https://airdcpp-web.github.io/ + +MAINTAINER= ven1m@protonmail.com +COMMENT= Peer-to-peer file sharing application for file servers/NAS devices + +LICENSE= MIT + +BUILD_DEPENDS= npm>=1.54:www/npm \ + websocketpp>=0.7.0:devel/websocketpp +RUN_DEPENDS= npm>=1.54:www/npm +LIB_DEPENDS= libboost_regex.so:devel/boost-libs \ + libboost_thread.so:devel/boost-libs \ + libboost_system.so:devel/boost-libs \ + libmaxminddb.so:net/libmaxminddb \ + libleveldb.so:databases/leveldb \ + libminiupnpc.so:net/miniupnpc + +USES= cmake compiler:c++11-lang pkgconfig python ssl iconv + +USE_GITHUB= yes +GH_ACCOUNT= airdcpp-web + +AIRDCPP_VARDIR?= /var +AIRDCPP_RUNDIR?= ${AIRDCPP_VARDIR}/run/airdcppd + +BINARY_ALIAS= python=${PYTHON_CMD} + +AIRDCPP_USER?= airdcpp +AIRDCPP_GROUP?= airdcpp + +USE_RC_SUBR= airdcppd +SUB_FILES= pkg-message dcppboot.xml +SUB_LIST+= AIRDCPP_USER=${AIRDCPP_USER} \ + AIRDCPP_GROUP=${AIRDCPP_GROUP} \ + AIRDCPP_RUNDIR=${AIRDCPP_RUNDIR} + +OPTIONS_DEFINE= NATPMP TBB +OPTIONS_DEFAULT= NATPMP + +NATPMP_DESC= Optional NAT-PMP support +NATPMP_CONFIGURE_WITH= natpmp +NATPMP_LIB_DEPENDS= libnatpmp.so:net/libnatpmp + +TBB_DESC= Optional Intel Threading Building Blocks (TBB) support +TBB_CONFIGURE_WITH= tbb +TBB_LIB_DEPENDS= libtbb.so:devel/tbb + +ALL_TARGET= all + +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/airdcpp/ + ${INSTALL_DATA} ${WRKDIR}/dcppboot.xml ${STAGEDIR}${PREFIX}/etc/airdcpp/dcppboot.xml.sample + ${MKDIR} ${STAGEDIR}${AIRDCPP_RUNDIR} + +.include Property changes on: net-p2p/airdcpp-webclient/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: net-p2p/airdcpp-webclient/distinfo =================================================================== --- net-p2p/airdcpp-webclient/distinfo (nonexistent) +++ net-p2p/airdcpp-webclient/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1610217827 +SHA256 (airdcpp-web-airdcpp-webclient-2.11.0_GH0.tar.gz) = cc147166e85257dde4717616a1a4f601ecd12237dd688a400bd4349ae010e7aa +SIZE (airdcpp-web-airdcpp-webclient-2.11.0_GH0.tar.gz) = 967326 Property changes on: net-p2p/airdcpp-webclient/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: net-p2p/airdcpp-webclient/files/airdcppd.in =================================================================== --- net-p2p/airdcpp-webclient/files/airdcppd.in (nonexistent) +++ net-p2p/airdcpp-webclient/files/airdcppd.in (working copy) @@ -0,0 +1,30 @@ +#!/bin/sh + +# +# PROVIDE: airdcppd +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add these lines to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# airdcppd_enable (bool): Set to NO by default. +# Set it to YES to enable doormand. + +. /etc/rc.subr + +name="airdcppd" +rcvar="${name}_enable" +load_rc_config "${name}" + +: ${airdcppd_enable:="NO"} +: ${airdcppd_user:="%%AIRDCPP_USER%%"} +: ${airdcppd_group:="%%AIRDCPP_GROUP%%"} +: ${airdcppd_umask:=0002} + +command="%%PREFIX%%/bin/${name}" +pidfile="%%AIRDCPP_RUNDIR%%/${name}.pid" + +command_args="-d -p=${pidfile}" + +run_rc_command "$1" Property changes on: net-p2p/airdcpp-webclient/files/airdcppd.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: net-p2p/airdcpp-webclient/files/dcppboot.xml.in =================================================================== --- net-p2p/airdcpp-webclient/files/dcppboot.xml.in (nonexistent) +++ net-p2p/airdcpp-webclient/files/dcppboot.xml.in (working copy) @@ -0,0 +1,13 @@ + + + %%PREFIX%%/etc/airdcpp/ + Property changes on: net-p2p/airdcpp-webclient/files/dcppboot.xml.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: net-p2p/airdcpp-webclient/files/pkg-message.in =================================================================== --- net-p2p/airdcpp-webclient/files/pkg-message.in (nonexistent) +++ net-p2p/airdcpp-webclient/files/pkg-message.in (working copy) @@ -0,0 +1,12 @@ +[ +{ type: install + message: <