From 502912e3911a4682feafbb5964f34fa481732fa7 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sat, 20 Jun 2015 17:41:36 +0000 Subject: Modernize plist --- databases/pgpoolAdmin/Makefile | 1 + databases/pgpoolAdmin/pkg-plist | 33 +++------------------------------ 2 files changed, 4 insertions(+), 30 deletions(-) (limited to 'databases/pgpoolAdmin') diff --git a/databases/pgpoolAdmin/Makefile b/databases/pgpoolAdmin/Makefile index 7138bee4cb40..0006e6e03ad5 100644 --- a/databases/pgpoolAdmin/Makefile +++ b/databases/pgpoolAdmin/Makefile @@ -2,6 +2,7 @@ PORTNAME= pgpoolAdmin PORTVERSION= 3.3.1 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://www.pgpool.net/mediawiki/images/ diff --git a/databases/pgpoolAdmin/pkg-plist b/databases/pgpoolAdmin/pkg-plist index 4e28f7038b9b..b859f2bd957d 100644 --- a/databases/pgpoolAdmin/pkg-plist +++ b/databases/pgpoolAdmin/pkg-plist @@ -7,7 +7,7 @@ %%WWWDIR%%/changePassword.php %%WWWDIR%%/command.php %%WWWDIR%%/common.php -@sample %%WWWDIR%%/conf/pgmgt.conf.php.sample +@sample(%%WWWOWN%%,%%WWWGRP%%,644) %%WWWDIR%%/conf/pgmgt.conf.php.sample %%WWWDIR%%/config.php %%WWWDIR%%/definePgpoolConfParam.php %%WWWDIR%%/doc/en/changePassword.html @@ -281,32 +281,5 @@ %%WWWDIR%%/templates/status.tpl %%WWWDIR%%/templates/systemDb.tpl %%WWWDIR%%/version.php -@dirrmtry %%WWWDIR%%/conf -@dirrm %%WWWDIR%%/doc/en/images -@dirrm %%WWWDIR%%/doc/en -@dirrm %%WWWDIR%%/doc/images -@dirrm %%WWWDIR%%/doc/ja/images -@dirrm %%WWWDIR%%/doc/ja -@dirrm %%WWWDIR%%/doc -@dirrm %%WWWDIR%%/images -@dirrm %%WWWDIR%%/install/images -@dirrm %%WWWDIR%%/install/lang -@dirrm %%WWWDIR%%/install -@dirrm %%WWWDIR%%/lang -@dirrm %%WWWDIR%%/libs/plugins -@dirrm %%WWWDIR%%/libs/sysplugins -@dirrm %%WWWDIR%%/libs -@dirrm %%WWWDIR%%/templates/elements -@dirrm %%WWWDIR%%/templates/help/en -@dirrm %%WWWDIR%%/templates/help/ja -@dirrm %%WWWDIR%%/templates/help -@dirrm %%WWWDIR%%/templates -@comment without dirrm(try) the directory is not packaged, but pkg cannot -@comment deinstall correct if there are tmp leftovers -@comment @dirrmtry %%WWWDIR%%/templates_c -@unexec rm -rf %D/%%WWWDIR%%/templates_c 2>&1 >/dev/null || true -@dirrmtry %%WWWDIR%% -@exec install -o %%WWWOWN%% -g %%WWWGRP%% -d %D/%%WWWDIR%%/templates_c -@exec chown -R %%WWWOWN%%:%%WWWGRP%% %D/%%WWWDIR%%/templates_c -@exec chown -R %%WWWOWN%%:%%WWWGRP%% %D/%%WWWDIR%%/conf -@exec chmod u+w %%WWWOWN%%:%%WWWGRP%% %D/%%WWWDIR%%/conf/* +@dir(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/conf +@dir(%%WWWOWN%%,%%WWWGRP%%,) %%WWWDIR%%/templates_c -- cgit v1.2.3