Date: Sun, 17 Nov 2013 22:16:17 +0000 (UTC) From: "Timur I. Bakeyev" <timur@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334130 - in head/net/samba36: . files Message-ID: <201311172216.rAHMGHG0088856@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: timur Date: Sun Nov 17 22:16:16 2013 New Revision: 334130 URL: http://svnweb.freebsd.org/changeset/ports/334130 Log: Attempt to fix broken init script. Hope, this time it's OK :) PR: 184037 Modified: head/net/samba36/Makefile head/net/samba36/files/samba.in Modified: head/net/samba36/Makefile ============================================================================== --- head/net/samba36/Makefile Sun Nov 17 22:09:53 2013 (r334129) +++ head/net/samba36/Makefile Sun Nov 17 22:16:16 2013 (r334130) @@ -2,7 +2,7 @@ PORTNAME= ${SAMBA_BASENAME}36 PORTVERSION= 3.6.20 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= net MASTER_SITES= ${MASTER_SITE_SAMBA} MASTER_SITE_SUBDIR= samba samba/stable samba/pre Modified: head/net/samba36/files/samba.in ============================================================================== --- head/net/samba36/files/samba.in Sun Nov 17 22:09:53 2013 (r334129) +++ head/net/samba36/files/samba.in Sun Nov 17 22:16:16 2013 (r334130) @@ -164,6 +164,11 @@ samba_config_init() { fi # Defaults samba_enable=${samba_enable:=NO} + # Setup dependent variables + if [ -n "${rcvar}" ] && checkyesno "${rcvar}"; then + nmbd_enable=${nmbd_enable=YES} + smbd_enable=${smbd_enable=YES} + fi nmbd_enable=${nmbd_enable:=NO} smbd_enable=${smbd_enable:=NO} %%WINBIND%% # Winbindd @@ -175,11 +180,6 @@ samba_config_init() { %%WINBIND%% fi %%WINBIND%% winbindd_enable=${winbindd_enable:=NO} %%WINBIND%% fi - # Setup dependent variables - if [ -n "${rcvar}" ] && checkyesno "${rcvar}"; then - nmbd_enable=${nmbd_enable=YES} - smbd_enable=${smbd_enable=YES} - fi } # Load configuration variables
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311172216.rAHMGHG0088856>