diff --git a/databases/clickhouse/files/clickhouse.in b/databases/clickhouse/files/clickhouse.in index a81b35ed1835..a3ff2098e49b 100644 --- a/databases/clickhouse/files/clickhouse.in +++ b/databases/clickhouse/files/clickhouse.in @@ -1,67 +1,65 @@ #!/bin/sh -# $FreeBSD: head/databases/clickhouse/files/clickhouse.in 475667 2018-07-29 17:49:12Z pi $ -# # PROVIDE: clickhouse # REQUIRE: LOGIN # KEYWORD: shutdown # # Add the following line to /etc/rc.conf[.local] to enable clickhouse server # # clickhouse_enable (bool): Set to "NO" by default # Set it to "YES" to enable clickhouse server %%LEGACY_LIMITS%%# clickhouse_limits (bool): Set to "NO" by default. %%LEGACY_LIMITS%%# Set it to yes to run `limits -e -U clickhouse` %%LEGACY_LIMITS%%# just before clickhouse starts. # clickhouse_config (str): Path to config file (required). # (default: %%PREFIX%%/etc/clickhouse-server/config.xml) # clickhouse_rundir (str): Path to directory holding a pidfile. # (default: /var/run/clickhouse) # clickhouse_user (str): User to run as # (default: clickhouse) # clickhouse_group (str): Group to run as # (default: clickhouse) # clickhouse_logdir (str): Path to log directory # (default: /var/log/clickhouse) # clickhouse_dbdir (str): Path to world database directory # (default: /var/db/clickhouse) . /etc/rc.subr name=clickhouse rcvar=clickhouse_enable load_rc_config ${name} : ${clickhouse_enable="NO"} %%LEGACY_LIMITS%%: ${clickhouse_limits="NO"} : ${clickhouse_config="%%PREFIX%%/etc/clickhouse-server/config.xml"} : ${clickhouse_rundir="/var/run/clickhouse"} : ${clickhouse_user="clickhouse"} : ${clickhouse_group="clickhouse"} : ${clickhouse_logdir="/var/log/clickhouse"} : ${clickhouse_dbdir="/var/db/clickhouse"} : ${clickhouse_flags=""} : ${clickhouse_pidfile="${clickhouse_rundir}/clickhouse.pid"} : ${clickhouse_args="--server --daemon --pid-file ${clickhouse_pidfile} --config-file ${clickhouse_config} ${clickhouse_flags}"} command=%%PREFIX%%/bin/clickhouse pidfile=${clickhouse_pidfile} command_args=${clickhouse_args} required_files=${clickhouse_config} start_precmd=clickhouse_prestart clickhouse_prestart () { for _dir in ${clickhouse_rundir} ${clickhouse_logdir} ${clickhouse_dbdir}; do install -d -o ${clickhouse_user} -g ${clickhouse_group} ${_dir} done %%LEGACY_LIMITS%% if checkyesno clickhouse_limits; then %%LEGACY_LIMITS%% eval `/usr/bin/limits -e -U ${clickhouse_user}` 2>/dev/null %%LEGACY_LIMITS%% else %%LEGACY_LIMITS%% return 0 %%LEGACY_LIMITS%% fi %%MODERN_LIMITS%% return 0 } run_rc_command "$1" diff --git a/devel/rubygem-aws-sdk-lookoutmetrics/Makefile b/devel/rubygem-aws-sdk-lookoutmetrics/Makefile index 6c6a4d99dcb2..ffaf46a91392 100644 --- a/devel/rubygem-aws-sdk-lookoutmetrics/Makefile +++ b/devel/rubygem-aws-sdk-lookoutmetrics/Makefile @@ -1,23 +1,22 @@ # Created by: Po-Chuan Hsieh -# $FreeBSD$ PORTNAME= aws-sdk-lookoutmetrics PORTVERSION= 1.0.0 CATEGORIES= devel rubygems MASTER_SITES= RG MAINTAINER= sunpoet@FreeBSD.org COMMENT= Official AWS Ruby gem for Amazon Lookout for Metrics (LookoutMetrics) LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= rubygem-aws-sdk-core>=3.112.0<4:devel/rubygem-aws-sdk-core \ rubygem-aws-sigv4>=1.1<2:devel/rubygem-aws-sigv4 USES= gem USE_RUBY= yes NO_ARCH= yes .include diff --git a/sysutils/plasma5-plasma-systemmonitor/Makefile b/sysutils/plasma5-plasma-systemmonitor/Makefile index cb732e17490f..6696bd55e621 100644 --- a/sysutils/plasma5-plasma-systemmonitor/Makefile +++ b/sysutils/plasma5-plasma-systemmonitor/Makefile @@ -1,16 +1,14 @@ -# $FreeBSD$ - PORTNAME= plasma-systemmonitor DISTVERSION= ${KDE_PLASMA_VERSION} CATEGORIES= sysutils kde kde-plasma MAINTAINER= kde@FreeBSD.org COMMENT= Plasma5 system monitor USES= cmake compiler:c++11-lib cpe desktop-file-utils \ gettext kde:5 localbase pathfix qt:5 tar:xz USE_KDE= ecm config i18n kdeclarative service globalaccel kio dbusaddons newstuff itemmodels libksysguard attica auth codecs configwidgets coreaddons package widgetsaddons windowsystem xmlgui USE_QT= concurrent core dbus declarative gui network quickcontrols2 widgets xml \ buildtools_build qmake_build .include