Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2014 02:16:24 +0400
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        Ganael LAPLANCHE <martymac@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r367242 - head/security/vlock
Message-ID:  <20140904221624.GF43982@hades.panopticon>
In-Reply-To: <201409040749.s847n1md063246@svn.freebsd.org>
References:  <201409040749.s847n1md063246@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Ganael LAPLANCHE (martymac@FreeBSD.org) wrote:

Nice, I was just about to submit this. You likely need

-@group wheel
+@group

to reset the group to default, not specifically wheel.

> Author: martymac
> Date: Thu Sep  4 07:49:01 2014
> New Revision: 367242
> URL: http://svnweb.freebsd.org/changeset/ports/367242
> QAT: https://qat.redports.org/buildarchive/r367242/
> 
> Log:
>   Fix permissions (@group/@mode) handling
>   
>   PR:		193063
>   Submitted by:	amdmi3
> 
> Modified:
>   head/security/vlock/Makefile
>   head/security/vlock/pkg-plist
> 
> Modified: head/security/vlock/Makefile
> ==============================================================================
> --- head/security/vlock/Makefile	Thu Sep  4 07:44:41 2014	(r367241)
> +++ head/security/vlock/Makefile	Thu Sep  4 07:49:01 2014	(r367242)
> @@ -3,7 +3,7 @@
>  
>  PORTNAME=	vlock
>  PORTVERSION=	2.2.3
> -PORTREVISION=	1
> +PORTREVISION=	2
>  CATEGORIES=	security
>  MASTER_SITES=	http://cthulhu.c3d2.de/~toidinamai/vlock/archive/
>  
> @@ -40,9 +40,7 @@ VLOCKMODULES=	all.so new.so
>  # Vlock special group
>  VLOCK_GRP=	vlock
>  GROUPS=	${VLOCK_GRP}
> -PLIST_SUB+=	VLOCK_GRP=${VLOCK_GRP} \
> -		SHAREMODE=${SHAREMODE} \
> -		SHAREGRP=${SHAREGRP}
> +PLIST_SUB+=	VLOCK_GRP=${VLOCK_GRP}
>  
>  PORTDOCS=	ChangeLog PLUGINS README README.X11 SECURITY TODO
>  
> 
> Modified: head/security/vlock/pkg-plist
> ==============================================================================
> --- head/security/vlock/pkg-plist	Thu Sep  4 07:44:41 2014	(r367241)
> +++ head/security/vlock/pkg-plist	Thu Sep  4 07:49:01 2014	(r367242)
> @@ -10,10 +10,9 @@ lib/vlock/modules/all.so
>  %%CACASAVER%%lib/vlock/modules/caca.so
>  @mode 4711
>  sbin/vlock-main
> -@mode 0750
> +@mode
>  @group %%VLOCK_GRP%%
>  lib/vlock/modules/new.so
> -@mode %%SHAREMODE%%
> -@group %%SHAREGRP%%
> +@group wheel
>  @dirrm lib/vlock/modules
>  @dirrm lib/vlock

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru    http://www.amdmi3.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140904221624.GF43982>