Move %%SHARED%% up in the plist; it was in an @group _bacula @mode 640

section so the libraries weren't accessible by a normal user. These libs
were split off from the individual binaries in the last major update of
bacula (between openbsd 4.6 and 4.7) meaning that users not in group
_bacula would be unable to use the admin applications.

ok jasper@ merdely@
This commit is contained in:
sthen 2010-01-19 14:50:51 +00:00
parent 26e100eda6
commit 1e9eafc865
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2009/12/22 12:51:52 sthen Exp $
# $OpenBSD: Makefile,v 1.19 2010/01/19 14:50:51 sthen Exp $
COMMENT-main= network backup solution (client)
COMMENT-server= network backup solution (server)
@ -6,7 +6,7 @@ COMMENT-bat= network backup solution (gui-client)
V= 3.0.3
DISTNAME= bacula-$V
FULLPKGNAME-main= bacula-client-$V
FULLPKGNAME-main= bacula-client-$Vp0
FULLPKGPATH-main= ${PKGPATH},-main
PKGNAME-server= bacula-server-$V
FULLPKGNAME-bat= bacula-bat-$Vp0

View File

@ -1,10 +1,11 @@
@comment $OpenBSD: PLIST-main,v 1.5 2009/10/02 02:34:05 merdely Exp $
@comment $OpenBSD: PLIST-main,v 1.5 2009/10/02 02:34:05 merdely Exp $
@comment $OpenBSD: PLIST-main,v 1.6 2010/01/19 14:50:51 sthen Exp $
@comment $OpenBSD: PLIST-main,v 1.6 2010/01/19 14:50:51 sthen Exp $
@conflict bacula-client-*
@conflict bacula-server-<3.0.2
@pkgpath sysutils/bacula,-client
@newgroup _bacula:591
@newuser _bacula:591:_bacula:daemon:Bacula Director:/var/bacula:/sbin/nologin
%%SHARED%%
lib/bpipe-fd.a
lib/libbac.a
@comment lib/libbac.la
@ -44,7 +45,6 @@ share/examples/bacula/bacula-fd.conf
@owner _bacula
@group _bacula
@sample ${BACULACONF}/bacula-fd.conf
%%SHARED%%
@mode
@owner
@group