aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-12-20 05:00:03 +0800
committerrm <rm@FreeBSD.org>2012-12-20 05:00:03 +0800
commitcfea716f5bf3386529d4eff85523c14f9048a81f (patch)
tree3e5efc417f5482c3307ca4a3a597f0bd784332f0 /sysutils
parent58421b24e5a9ae0288381056b4816790ad9a64b9 (diff)
downloadfreebsd-ports-gnome-cfea716f5bf3386529d4eff85523c14f9048a81f.tar.gz
freebsd-ports-gnome-cfea716f5bf3386529d4eff85523c14f9048a81f.tar.zst
freebsd-ports-gnome-cfea716f5bf3386529d4eff85523c14f9048a81f.zip
- update to 4.0
- do not install license twice (COPYING), while here PR: 174579 Submitted by: Vasiliy P. Melnik <basil@vpm.net.ua> (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ldap-account-manager/Makefile10
-rw-r--r--sysutils/ldap-account-manager/distinfo4
-rw-r--r--sysutils/ldap-account-manager/pkg-plist106
3 files changed, 74 insertions, 46 deletions
diff --git a/sysutils/ldap-account-manager/Makefile b/sysutils/ldap-account-manager/Makefile
index 6847302051be..aa56135328a3 100644
--- a/sysutils/ldap-account-manager/Makefile
+++ b/sysutils/ldap-account-manager/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= ldap-account-manager
-PORTVERSION= 3.9
+PORTVERSION= 4.0
CATEGORIES= sysutils www
MASTER_SITES= SF/${SHORTNAME}/LAM/${PORTVERSION}
@@ -21,16 +21,14 @@ WANT_PHP_WEB= yes
DEFAULT_PHP_VER= 5
SHORTNAME= lam
-PORTDOCS= docs COPYING HISTORY README copyright
+PORTDOCS= docs HISTORY README copyright
LAMDATA= config graphics help lib locale sess style templates tmp VERSION index.html
WWWDIR?= ${PREFIX}/www/${SHORTNAME}
+PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
-do-configure:
- @${RM} ${WRKSRC}/config/shells
-
do-install:
-@${MKDIR} ${WWWDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} "${LAMDATA}" ${WWWDIR}
@@ -40,6 +38,8 @@ do-install:
.endif
post-install:
+ @${MKDIR} ${WWWDIR}/config/pdf
+ @${MKDIR} ${WWWDIR}/config/profiles
@if [ ! -f ${WWWDIR}/config/config.cfg ]; then \
${CP} -p ${WWWDIR}/config/config.cfg_sample ${WWWDIR}/config/config.cfg ; \
fi
diff --git a/sysutils/ldap-account-manager/distinfo b/sysutils/ldap-account-manager/distinfo
index 0c33df85db88..430a5b43c67d 100644
--- a/sysutils/ldap-account-manager/distinfo
+++ b/sysutils/ldap-account-manager/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ldap-account-manager-3.9.tar.gz) = 8bc93c09e8c97f0b8397cfdde4cc7fd442c3f84a848d46735765571ed54070f4
-SIZE (ldap-account-manager-3.9.tar.gz) = 10938700
+SHA256 (ldap-account-manager-4.0.tar.gz) = 88e70145313d7c0410ef0e8211766d6d6c24175c8bd9ff29a5079acb76705a4a
+SIZE (ldap-account-manager-4.0.tar.gz) = 11650400
diff --git a/sysutils/ldap-account-manager/pkg-plist b/sysutils/ldap-account-manager/pkg-plist
index d967eb8b7e27..c791961e7993 100644
--- a/sysutils/ldap-account-manager/pkg-plist
+++ b/sysutils/ldap-account-manager/pkg-plist
@@ -1,8 +1,6 @@
@comment $FreeBSD$
@unexec if cmp -s %D/%%WWWDIR%%/config/config.cfg %D/%%WWWDIR%%/config/config.cfg_sample; then rm -f %D/%%WWWDIR%%/config/config.cfg; fi
-@exec if [ ! -f %D/%%WWWDIR%%/config/config.cfg ] ; then cp -p %D/%F %B/config.cfg; fi
@unexec if cmp -s %D/%%WWWDIR%%/config/lam.conf %D/%%WWWDIR%%/config/lam.conf_sample; then rm -f %D/%%WWWDIR%%/config/lam.conf; fi
-@exec if [ ! -f %D/%%WWWDIR%%/config/lam.conf ] ; then cp -p %D/%F %B/lam.conf; fi
@unexec unlink %D/%%WWWDIR%%/config/shells
%%WWWDIR%%/tmp/.htaccess
%%WWWDIR%%/tmp/internal/.htaccess
@@ -647,18 +645,7 @@
%%WWWDIR%%/templates/.htaccess
%%WWWDIR%%/templates/lib/140_jquery-validationEngine-2.2.1.js
%%WWWDIR%%/templates/lib/141_jquery-validationEngine-lang.php
-%%WWWDIR%%/style/type_user.css
-%%WWWDIR%%/style/type_smbDomain.css
-%%WWWDIR%%/style/type_netgroup.css
-%%WWWDIR%%/style/type_mailAlias.css
-%%WWWDIR%%/style/type_host.css
-%%WWWDIR%%/style/type_group.css
-%%WWWDIR%%/style/type_dhcp.css
-%%WWWDIR%%/style/type_asteriskExt.css
-%%WWWDIR%%/style/layout.css
%%WWWDIR%%/style/lam-images/headerLine.png
-%%WWWDIR%%/style/jquery-ui-1.8.2.custom.css
-%%WWWDIR%%/style/jquery-dropmenu.css
%%WWWDIR%%/style/images/ui-icons_cd0a0a_256x240.png
%%WWWDIR%%/style/images/ui-icons_888888_256x240.png
%%WWWDIR%%/style/images/ui-icons_454545_256x240.png
@@ -676,7 +663,6 @@
%%WWWDIR%%/style/images/ui-anim_basic_16x16.gif
%%WWWDIR%%/style/images/pbar-ani.gif
%%WWWDIR%%/style/.htaccess
-%%WWWDIR%%/style/jquery-validationEngine.css
%%WWWDIR%%/sess/.htaccess
%%WWWDIR%%/locale/zh_TW/LC_MESSAGES/messages.po
%%WWWDIR%%/locale/zh_TW/LC_MESSAGES/messages.mo
@@ -921,32 +907,71 @@
%%WWWDIR%%/graphics/services.png
%%WWWDIR%%/graphics/freeRadius.png
%%WWWDIR%%/config/selfService/default.user
-%%WWWDIR%%/config/selfService/.htaccess
-%%WWWDIR%%/config/profiles/default.user
-%%WWWDIR%%/config/profiles/default.smbDomain
-%%WWWDIR%%/config/profiles/default.netgroup
-%%WWWDIR%%/config/profiles/default.mailAlias
-%%WWWDIR%%/config/profiles/default.host
-%%WWWDIR%%/config/profiles/default.group
-%%WWWDIR%%/config/profiles/default.dhcp
-%%WWWDIR%%/config/profiles/default.asteriskExt
-%%WWWDIR%%/config/profiles/.htaccess
-%%WWWDIR%%/config/pdf/logos/printLogo.jpg
-%%WWWDIR%%/config/pdf/logos/.htaccess
-%%WWWDIR%%/config/pdf/default.user.xml
-%%WWWDIR%%/config/pdf/default.smbDomain.xml
-%%WWWDIR%%/config/pdf/default.netgroup.xml
-%%WWWDIR%%/config/pdf/default.mailAlias.xml
-%%WWWDIR%%/config/pdf/default.host.xml
-%%WWWDIR%%/config/pdf/default.group.xml
-%%WWWDIR%%/config/pdf/default.dhcp.xml
-%%WWWDIR%%/config/pdf/default.asteriskExt.xml
-%%WWWDIR%%/config/pdf/.htaccess
%%WWWDIR%%/config/language
%%WWWDIR%%/config/lam.conf_sample
%%WWWDIR%%/config/config.cfg_sample
%%WWWDIR%%/config/.htaccess
%%WWWDIR%%/VERSION
+%%WWWDIR%%/style/150_jquery-fineuploader.css
+%%WWWDIR%%/style/600_type_user.css
+%%WWWDIR%%/style/600_type_dhcp.css
+%%WWWDIR%%/style/500_layout.css
+%%WWWDIR%%/style/150_jquery-validationEngine.css
+%%WWWDIR%%/style/600_type_group.css
+%%WWWDIR%%/style/120_jquery-ui-1.8.2.custom.css
+%%WWWDIR%%/style/600_type_netgroup.css
+%%WWWDIR%%/style/loading.gif
+%%WWWDIR%%/style/600_type_host.css
+%%WWWDIR%%/style/600_type_asteriskExt.css
+%%WWWDIR%%/style/150_jquery-dropmenu.css
+%%WWWDIR%%/style/600_type_smbDomain.css
+%%WWWDIR%%/style/600_type_mailAlias.css
+%%WWWDIR%%/graphics/export.png
+%%WWWDIR%%/graphics/import.png
+%%WWWDIR%%/templates/lib/130_jquery-fineuploader-3.0.min.js
+%%WWWDIR%%/lib/upgrade.inc
+%%WWWDIR%%/config/templates/profiles/default.netgroup
+%%WWWDIR%%/config/templates/profiles/default.automountType
+%%WWWDIR%%/config/templates/profiles/default.dhcp
+%%WWWDIR%%/config/templates/profiles/default.user
+%%WWWDIR%%/config/templates/profiles/.htaccess
+%%WWWDIR%%/config/templates/profiles/default.group
+%%WWWDIR%%/config/templates/profiles/default.smbDomain
+%%WWWDIR%%/config/templates/profiles/default.gon
+%%WWWDIR%%/config/templates/profiles/default.asteriskExt
+%%WWWDIR%%/config/templates/profiles/default.host
+%%WWWDIR%%/config/templates/profiles/default.zarafaAddressListType
+%%WWWDIR%%/config/templates/profiles/default.ppolicyType
+%%WWWDIR%%/config/templates/profiles/default.nisObjectType
+%%WWWDIR%%/config/templates/profiles/default.mailAlias
+%%WWWDIR%%/config/templates/profiles/default.alias
+%%WWWDIR%%/config/templates/profiles/default.zarafaDynamicGroupType
+%%WWWDIR%%/config/templates/profiles/default.sudo
+%%WWWDIR%%/config/templates/pdf/default.netgroup.xml
+%%WWWDIR%%/config/templates/pdf/default.user.xml
+%%WWWDIR%%/config/templates/pdf/default.alias.xml
+%%WWWDIR%%/config/templates/pdf/default.asteriskExt.xml
+%%WWWDIR%%/config/templates/pdf/logos/printLogo.jpg
+%%WWWDIR%%/config/templates/pdf/logos/.htaccess
+%%WWWDIR%%/config/templates/pdf/default.smbDomain.xml
+%%WWWDIR%%/config/templates/pdf/default.dhcp.xml
+%%WWWDIR%%/config/templates/pdf/default.mailAlias.xml
+%%WWWDIR%%/config/templates/pdf/default.zarafaDynamicGroupType.xml
+%%WWWDIR%%/config/templates/pdf/default.sudo.xml
+%%WWWDIR%%/config/templates/pdf/.htaccess
+%%WWWDIR%%/config/templates/pdf/default.automountType.xml
+%%WWWDIR%%/config/templates/pdf/default.zarafaAddressListType.xml
+%%WWWDIR%%/config/templates/pdf/default.nisObjectType.xml
+%%WWWDIR%%/config/templates/pdf/default.ppolicyType.xml
+%%WWWDIR%%/config/templates/pdf/default.group.xml
+%%WWWDIR%%/config/templates/pdf/default.gon.xml
+%%WWWDIR%%/config/templates/pdf/default.host.xml
+%%WWWDIR%%/config/selfService/.htaccess
+@exec if [ ! -f %D/%%WWWDIR%%/config/lam.conf ] ; then cp %D/%%WWWDIR%%/config/lam.conf_sample %D/%%WWWDIR%%/config/lam.conf; fi
+@exec if [ ! -f %D/%%WWWDIR%%/config/config.cfg ] ; then cp %D/%%WWWDIR%%/config/config.cfg_sample %D/%%WWWDIR%%/config/config.cfg; fi
+@exec mkdir -p %D/%%WWWDIR%%/config/pdf %D/%%WWWDIR%%/config/profiles
+@exec chown -R %%WWWOWN%%:%%WWWGRP%% %D/%%WWWDIR%%/config %D/%%WWWDIR%%/sess %D/%%WWWDIR%%/tmp
+@exec ln -sf /etc/shells %D/%%WWWDIR%%/config/shells
@dirrm %%WWWDIR%%/tmp/internal
@dirrm %%WWWDIR%%/tmp
@dirrm %%WWWDIR%%/templates/lib/extra/ckeditor/skins/office2003/images
@@ -1068,7 +1093,6 @@
@dirrm %%WWWDIR%%/style/lam-images
@dirrm %%WWWDIR%%/style/images
@dirrm %%WWWDIR%%/style
-@dirrm %%WWWDIR%%/sess
@dirrm %%WWWDIR%%/locale/zh_TW/LC_MESSAGES
@dirrm %%WWWDIR%%/locale/zh_TW
@dirrm %%WWWDIR%%/locale/zh_CN/LC_MESSAGES
@@ -1117,8 +1141,12 @@
@dirrm %%WWWDIR%%/help
@dirrm %%WWWDIR%%/graphics
@dirrm %%WWWDIR%%/config/selfService
-@dirrm %%WWWDIR%%/config/profiles
-@dirrm %%WWWDIR%%/config/pdf/logos
-@dirrm %%WWWDIR%%/config/pdf
+@dirrm %%WWWDIR%%/config/templates/profiles
+@dirrm %%WWWDIR%%/config/templates/pdf/logos
+@dirrm %%WWWDIR%%/config/templates/pdf
+@dirrm %%WWWDIR%%/config/templates
+@dirrmtry %%WWWDIR%%/sess
+@dirrmtry %%WWWDIR%%/config/pdf
+@dirrmtry %%WWWDIR%%/config/profiles
@dirrmtry %%WWWDIR%%/config
@dirrmtry %%WWWDIR%%