FreeBSD Bugzilla – Attachment 208431 Details for
Bug 241349
net/kea: Minor improvements
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Minor improvements
kea.patch (text/plain), 3.83 KB, created by
Jose Luis Duran
on 2019-10-19 22:11:18 UTC
(
hide
)
Description:
Minor improvements
Filename:
MIME Type:
Creator:
Jose Luis Duran
Created:
2019-10-19 22:11:18 UTC
Size:
3.83 KB
patch
obsolete
>diff --git Makefile Makefile >index 30d3018..70d92a4 100644 >--- Makefile >+++ Makefile >@@ -2,10 +2,9 @@ > > PORTNAME= kea > PORTVERSION= ${ISCVERSION:S/-P/P/:S/-beta/b/:S/a/.a/:S/rc/.rc/} >-PORTREVISION= 0 >+PORTREVISION= 1 > CATEGORIES= net > MASTER_SITES= ISC/kea/${ISCVERSION} >-DISTNAME= ${PORTNAME}-${ISCVERSION} > > MAINTAINER= apevnev@me.com > COMMENT= Alternative DHCP implementation by ISC >@@ -16,6 +15,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING > LIB_DEPENDS= liblog4cplus.so:devel/log4cplus \ > libboost_system.so:devel/boost-libs > >+USES= autoreconf compiler:c++11-lang iconv libtool pathfix ssl cpe >+ > # ISC releases things like 1.4.0-P1, which our versioning doesn't like > ISCVERSION= 1.6.0 > >@@ -25,7 +26,6 @@ CPE_VERSION= ${ISCVERSION:C/-.*//} > CPE_UPDATE= ${ISCVERSION:C/.*-//:tl} > .endif > >-USES= autoreconf compiler:c++11-lang iconv libtool pathfix ssl cpe > USE_LDCONFIG= yes > USE_RC_SUBR= ${PORTNAME} > GNU_CONFIGURE= yes >diff --git files/kea.in files/kea.in >index afdc0f9..a2a0e6f 100644 >--- files/kea.in >+++ files/kea.in >@@ -3,7 +3,7 @@ > # > # PROVIDE: kea > # REQUIRE: netif routing >-# KEYWORD: nojail >+# KEYWORD: nojail shutdown > > # > # Add the following to /etc/rc.conf[.local] to enable this service >@@ -13,28 +13,20 @@ > > . /etc/rc.subr > >-name="kea" >-rcvar="${name}_enable" >-command="%%PREFIX%%/sbin/keactrl" >-required_files="%%PREFIX%%/etc/${name}/keactrl.conf" >-extra_commands="reload" >-start_precmd="kea_start_precmd" >-stop_cmd="kea_cmd stop" >-status_cmd="kea_cmd status" >-reload_cmd="kea_cmd reload" >+name=kea >+desc="Kea DHCP Server" >+rcvar=kea_enable > >-kea_start_precmd() >-{ >- >- command_args="start" >-} >+load_rc_config $name > >-kea_cmd() >-{ >+kea_enable=${kea_enable:-"NO"} > >- $command $1 >-} >+command="%%PREFIX%%/sbin/keactrl" >+required_files="%%PREFIX%%/etc/${name}/keactrl.conf" >+extra_commands=reload >+start_precmd=command_args=start >+stop_cmd="$command stop" >+status_cmd="$command status" >+reload_cmd="$command reload" > >-load_rc_config $name >-: ${kea_enable="NO"} > run_rc_command "$1" >diff --git files/patch-src-bin-keactrl-Makefile.am files/patch-src_bin_keactrl_Makefile.am >similarity index 100% >rename from files/patch-src-bin-keactrl-Makefile.am >rename to files/patch-src_bin_keactrl_Makefile.am >diff --git files/patch-src_bin_keactrl_keactrl.in files/patch-src_bin_keactrl_keactrl.in >new file mode 100644 >index 0000000..67f77dc >--- /dev/null >+++ files/patch-src_bin_keactrl_keactrl.in >@@ -0,0 +1,13 @@ >+--- src/bin/keactrl/keactrl.in.orig 2019-10-19 21:50:45 UTC >++++ src/bin/keactrl/keactrl.in >+@@ -517,8 +517,8 @@ ${args}" 1 >+ >+ status) >+ if [ -t 1 ]; then >+- inactive="\e[91minactive\e[0m" >+- active="\e[92mactive\e[0m" >++ inactive="\033[91minactive\033[0m" >++ active="\033[92mactive\033[0m" >+ else >+ inactive="inactive" >+ active="active" >diff --git files/patch-src-lib-dhcpsrv-Makefile.am files/patch-src_lib_dhcpsrv_Makefile.am >similarity index 100% >rename from files/patch-src-lib-dhcpsrv-Makefile.am >rename to files/patch-src_lib_dhcpsrv_Makefile.am >diff --git pkg-plist pkg-plist >index d0cdf6f..2115acb 100644 >--- pkg-plist >+++ pkg-plist >@@ -1,3 +1,8 @@ >+@sample %%ETCDIR%%/kea-ctrl-agent.conf.sample >+@sample %%ETCDIR%%/kea-dhcp-ddns.conf.sample >+@sample %%ETCDIR%%/kea-dhcp4.conf.sample >+@sample %%ETCDIR%%/kea-dhcp6.conf.sample >+@sample %%ETCDIR%%/keactrl.conf.sample > include/kea/asiodns/asiodns_messages.h > include/kea/asiodns/io_fetch.h > include/kea/asiodns/logger.h >@@ -517,10 +522,5 @@ sbin/keactrl > %%DATADIR%%/scripts/pgsql/upgrade_4.0_to_5.0.sh > %%DATADIR%%/scripts/pgsql/upgrade_5.0_to_5.1.sh > %%DATADIR%%/scripts/pgsql/wipe_data.sh >-@sample %%ETCDIR%%/kea-ctrl-agent.conf.sample >-@sample %%ETCDIR%%/kea-dhcp-ddns.conf.sample >-@sample %%ETCDIR%%/kea-dhcp4.conf.sample >-@sample %%ETCDIR%%/kea-dhcp6.conf.sample >-@sample %%ETCDIR%%/keactrl.conf.sample > @dir /var/db/kea > @dir /var/run/kea
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 241349
:
208431
|
208432
|
208483