1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Update to upstream version 2.3.21

- Stagify
- Handle file ownerships via plist macros

PR:		192602
Submitted by:	Janky@purplehat.org
Approved by:	mentors (implicit)
This commit is contained in:
Thomas Zander 2014-08-16 18:21:10 +00:00
parent 38b6a89b4b
commit 5fb093f64e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365117
4 changed files with 136 additions and 148 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= frontaccounting PORTNAME= frontaccounting
DISTVERSION= 2.3.15 DISTVERSION= 2.3.21
CATEGORIES= finance www CATEGORIES= finance www
MASTER_SITES= SF MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME}/FrontAccounting-2.3/${PORTVERSION} MASTER_SITE_SUBDIR= ${PORTNAME}/FrontAccounting-2.3/${PORTVERSION}
@ -21,19 +21,15 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes NO_BUILD= yes
SUB_FILES= pkg-install pkg-deinstall pkg-message SUB_FILES= pkg-deinstall pkg-message
SHAREOWN= ${WWWOWN}
SHAREGRP= ${WWWGRP}
OPTIONS_DEFINE= APACHE LIGHTTPD MYSQL OPTIONS_DEFINE= APACHE LIGHTTPD MYSQL
OPTIONS_DEFAULT= APACHE MYSQL OPTIONS_DEFAULT= APACHE MYSQL
NO_STAGE= yes
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAPACHE} .if ${PORT_OPTIONS:MAPACHE}
USE_APACHE_RUN= 22+ USE_APACHE_RUN= 24+
.endif .endif
.if ${PORT_OPTIONS:MLIGHTTPD} .if ${PORT_OPTIONS:MLIGHTTPD}
@ -51,8 +47,8 @@ PORTDOCSARGS= '-not -path "./doc*"'
.endif .endif
do-install: do-install:
@${MKDIR} ${WWWDIR} @${MKDIR} ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR} ${PORTDOCSARGS} @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} ${PORTDOCSARGS}
post-install: post-install:
@${CAT} ${PKGMESSAGE} @${CAT} ${PKGMESSAGE}

View File

@ -1,2 +1,2 @@
SHA256 (frontaccounting-2.3.15.tar.gz) = a1c27b58591c1043c4a6ee7b4085347b8ce9a4d08981491ebcc3a7a4f3d63d50 SHA256 (frontaccounting-2.3.21.tar.gz) = 61da4b1d792ce3463b75c4e9b09e5f72598b020807713beff6dcd845c01586e7
SIZE (frontaccounting-2.3.15.tar.gz) = 1263829 SIZE (frontaccounting-2.3.21.tar.gz) = 1288134

View File

@ -1,22 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
#
# Works around a deficiency in pkg_install; directory ownerships
# are not preserved. This should be removed when ports-mgmt/pkg rules
# the Ports Tree.
FAWEB=%%WWWDIR%%
WWWOWN=%%WWWOWN%%
WWWGRP=%%WWWGRP%%
CHOWN=%%CHOWN%%
case $2 in
POST-INSTALL)
if [ -e ${FAWEB} ]; then
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${FAWEB}
fi
;;
*)
;;
esac

View File

@ -1,9 +1,12 @@
@owner www
@group www
%%WWWDIR%%/.htaccess %%WWWDIR%%/.htaccess
%%WWWDIR%%/CHANGELOG.txt %%WWWDIR%%/CHANGELOG.txt
%%WWWDIR%%/FA.pem %%WWWDIR%%/FA.pem
%%WWWDIR%%/access/index.php %%WWWDIR%%/access/index.php
%%WWWDIR%%/access/login.php %%WWWDIR%%/access/login.php
%%WWWDIR%%/access/logout.php %%WWWDIR%%/access/logout.php
%%WWWDIR%%/access/password_reset.php
%%WWWDIR%%/access/timeout.php %%WWWDIR%%/access/timeout.php
%%WWWDIR%%/admin/attachments.php %%WWWDIR%%/admin/attachments.php
%%WWWDIR%%/admin/backups.php %%WWWDIR%%/admin/backups.php
@ -216,6 +219,8 @@
%%WWWDIR%%/install/lang/pl_PL/LC_MESSAGES/pl_PL.po %%WWWDIR%%/install/lang/pl_PL/LC_MESSAGES/pl_PL.po
%%WWWDIR%%/install/lang/pt_BR/LC_MESSAGES/pt_BR.mo %%WWWDIR%%/install/lang/pt_BR/LC_MESSAGES/pt_BR.mo
%%WWWDIR%%/install/lang/pt_BR/LC_MESSAGES/pt_BR.po %%WWWDIR%%/install/lang/pt_BR/LC_MESSAGES/pt_BR.po
%%WWWDIR%%/install/lang/pt_PT/LC_MESSAGES/pt_PT.mo
%%WWWDIR%%/install/lang/pt_PT/LC_MESSAGES/pt_PT.po
%%WWWDIR%%/install/lang/sv_SE/LC_MESSAGES/sv_SE.mo %%WWWDIR%%/install/lang/sv_SE/LC_MESSAGES/sv_SE.mo
%%WWWDIR%%/install/lang/sv_SE/LC_MESSAGES/sv_SE.po %%WWWDIR%%/install/lang/sv_SE/LC_MESSAGES/sv_SE.po
%%WWWDIR%%/install/lang/zh_CN/LC_MESSAGES/zh_CN.mo %%WWWDIR%%/install/lang/zh_CN/LC_MESSAGES/zh_CN.mo
@ -412,6 +417,8 @@
%%WWWDIR%%/reporting/rep305.php %%WWWDIR%%/reporting/rep305.php
%%WWWDIR%%/reporting/rep306.php %%WWWDIR%%/reporting/rep306.php
%%WWWDIR%%/reporting/rep307.php %%WWWDIR%%/reporting/rep307.php
%%WWWDIR%%/reporting/rep308.php
%%WWWDIR%%/reporting/rep309.php
%%WWWDIR%%/reporting/rep401.php %%WWWDIR%%/reporting/rep401.php
%%WWWDIR%%/reporting/rep409.php %%WWWDIR%%/reporting/rep409.php
%%WWWDIR%%/reporting/rep501.php %%WWWDIR%%/reporting/rep501.php
@ -506,6 +513,7 @@
%%WWWDIR%%/themes/aqua/images/add.png %%WWWDIR%%/themes/aqua/images/add.png
%%WWWDIR%%/themes/aqua/images/ajax-loader.gif %%WWWDIR%%/themes/aqua/images/ajax-loader.gif
%%WWWDIR%%/themes/aqua/images/ajax-loader2.gif %%WWWDIR%%/themes/aqua/images/ajax-loader2.gif
%%WWWDIR%%/themes/aqua/images/alloc.png
%%WWWDIR%%/themes/aqua/images/button_ok.png %%WWWDIR%%/themes/aqua/images/button_ok.png
%%WWWDIR%%/themes/aqua/images/cancel.png %%WWWDIR%%/themes/aqua/images/cancel.png
%%WWWDIR%%/themes/aqua/images/credit.gif %%WWWDIR%%/themes/aqua/images/credit.gif
@ -546,6 +554,7 @@
%%WWWDIR%%/themes/cool/images/add.png %%WWWDIR%%/themes/cool/images/add.png
%%WWWDIR%%/themes/cool/images/ajax-loader.gif %%WWWDIR%%/themes/cool/images/ajax-loader.gif
%%WWWDIR%%/themes/cool/images/ajax-loader2.gif %%WWWDIR%%/themes/cool/images/ajax-loader2.gif
%%WWWDIR%%/themes/cool/images/alloc.png
%%WWWDIR%%/themes/cool/images/button_ok.png %%WWWDIR%%/themes/cool/images/button_ok.png
%%WWWDIR%%/themes/cool/images/cancel.png %%WWWDIR%%/themes/cool/images/cancel.png
%%WWWDIR%%/themes/cool/images/credit.gif %%WWWDIR%%/themes/cool/images/credit.gif
@ -586,6 +595,7 @@
%%WWWDIR%%/themes/default/images/add.png %%WWWDIR%%/themes/default/images/add.png
%%WWWDIR%%/themes/default/images/ajax-loader.gif %%WWWDIR%%/themes/default/images/ajax-loader.gif
%%WWWDIR%%/themes/default/images/ajax-loader2.gif %%WWWDIR%%/themes/default/images/ajax-loader2.gif
%%WWWDIR%%/themes/default/images/alloc.png
%%WWWDIR%%/themes/default/images/button_ok.png %%WWWDIR%%/themes/default/images/button_ok.png
%%WWWDIR%%/themes/default/images/cal.gif %%WWWDIR%%/themes/default/images/cal.gif
%%WWWDIR%%/themes/default/images/cancel.png %%WWWDIR%%/themes/default/images/cancel.png
@ -630,118 +640,122 @@
%%WWWDIR%%/tmp/index.php %%WWWDIR%%/tmp/index.php
%%WWWDIR%%/update.html %%WWWDIR%%/update.html
%%WWWDIR%%/version.php %%WWWDIR%%/version.php
@dirrm %%WWWDIR%%/tmp @dirrmtry %%WWWDIR%%/access
@dirrm %%WWWDIR%%/themes/default/images @dirrmtry %%WWWDIR%%/admin/db
@dirrm %%WWWDIR%%/themes/default @dirrmtry %%WWWDIR%%/admin
@dirrm %%WWWDIR%%/themes/cool/images @dirrmtry %%WWWDIR%%/applications
@dirrm %%WWWDIR%%/themes/cool @dirrmtry %%WWWDIR%%/company/0/backup
@dirrm %%WWWDIR%%/themes/aqua/images @dirrmtry %%WWWDIR%%/company/0/images
@dirrm %%WWWDIR%%/themes/aqua @dirrmtry %%WWWDIR%%/company/0/js_cache
@dirrm %%WWWDIR%%/themes @dirrmtry %%WWWDIR%%/company/0/pdf_files
@dirrm %%WWWDIR%%/taxes/db @dirrmtry %%WWWDIR%%/company/0/reporting
@dirrm %%WWWDIR%%/taxes @dirrmtry %%WWWDIR%%/company/0
@dirrm %%WWWDIR%%/sql @dirrmtry %%WWWDIR%%/company
@dirrm %%WWWDIR%%/sales/view @dirrmtry %%WWWDIR%%/dimensions/includes
@dirrm %%WWWDIR%%/sales/manage @dirrmtry %%WWWDIR%%/dimensions/inquiry
@dirrm %%WWWDIR%%/sales/inquiry @dirrmtry %%WWWDIR%%/dimensions/view
@dirrm %%WWWDIR%%/sales/includes/ui @dirrmtry %%WWWDIR%%/dimensions
@dirrm %%WWWDIR%%/sales/includes/db @dirrmtry %%WWWDIR%%/doc
@dirrm %%WWWDIR%%/sales/includes @dirrmtry %%WWWDIR%%/gl/includes/db
@dirrm %%WWWDIR%%/sales/allocations @dirrmtry %%WWWDIR%%/gl/includes/ui
@dirrm %%WWWDIR%%/sales @dirrmtry %%WWWDIR%%/gl/includes
@dirrm %%WWWDIR%%/reporting/includes/fpdi/decoders @dirrmtry %%WWWDIR%%/gl/inquiry
@dirrm %%WWWDIR%%/reporting/includes/fpdi @dirrmtry %%WWWDIR%%/gl/manage
@dirrm %%WWWDIR%%/reporting/includes @dirrmtry %%WWWDIR%%/gl/view
@dirrm %%WWWDIR%%/reporting/forms @dirrmtry %%WWWDIR%%/gl
@dirrm %%WWWDIR%%/reporting/fonts @dirrmtry %%WWWDIR%%/includes/db
@dirrm %%WWWDIR%%/reporting @dirrmtry %%WWWDIR%%/includes/lang
@dirrm %%WWWDIR%%/purchasing/view @dirrmtry %%WWWDIR%%/includes/page
@dirrm %%WWWDIR%%/purchasing/manage @dirrmtry %%WWWDIR%%/includes/prefs
@dirrm %%WWWDIR%%/purchasing/inquiry @dirrmtry %%WWWDIR%%/includes/ui
@dirrm %%WWWDIR%%/purchasing/includes/ui @dirrmtry %%WWWDIR%%/includes
@dirrm %%WWWDIR%%/purchasing/includes/db @dirrmtry %%WWWDIR%%/install/lang/ar_EG/LC_MESSAGES
@dirrm %%WWWDIR%%/purchasing/includes @dirrmtry %%WWWDIR%%/install/lang/ar_EG
@dirrm %%WWWDIR%%/purchasing/allocations @dirrmtry %%WWWDIR%%/install/lang/da_DK/LC_MESSAGES
@dirrm %%WWWDIR%%/purchasing @dirrmtry %%WWWDIR%%/install/lang/da_DK
@dirrm %%WWWDIR%%/modules/_cache @dirrmtry %%WWWDIR%%/install/lang/de_DE/LC_MESSAGES
@dirrm %%WWWDIR%%/modules @dirrmtry %%WWWDIR%%/install/lang/de_DE
@dirrm %%WWWDIR%%/manufacturing/view @dirrmtry %%WWWDIR%%/install/lang/el_GR/LC_MESSAGES
@dirrm %%WWWDIR%%/manufacturing/manage @dirrmtry %%WWWDIR%%/install/lang/el_GR
@dirrm %%WWWDIR%%/manufacturing/inquiry @dirrmtry %%WWWDIR%%/install/lang/es_MX/LC_MESSAGES
@dirrm %%WWWDIR%%/manufacturing/includes/db @dirrmtry %%WWWDIR%%/install/lang/es_MX
@dirrm %%WWWDIR%%/manufacturing/includes @dirrmtry %%WWWDIR%%/install/lang/fr_FR/LC_MESSAGES
@dirrm %%WWWDIR%%/manufacturing @dirrmtry %%WWWDIR%%/install/lang/fr_FR
@dirrm %%WWWDIR%%/lang/new_language_template/LC_MESSAGES @dirrmtry %%WWWDIR%%/install/lang/id_ID/LC_MESSAGES
@dirrm %%WWWDIR%%/lang/new_language_template @dirrmtry %%WWWDIR%%/install/lang/id_ID
@dirrm %%WWWDIR%%/lang/en_US/LC_MESSAGES @dirrmtry %%WWWDIR%%/install/lang/it_IT/LC_MESSAGES
@dirrm %%WWWDIR%%/lang/en_US @dirrmtry %%WWWDIR%%/install/lang/it_IT
@dirrm %%WWWDIR%%/lang @dirrmtry %%WWWDIR%%/install/lang/ka_GE/LC_MESSAGES
@dirrm %%WWWDIR%%/js @dirrmtry %%WWWDIR%%/install/lang/ka_GE
@dirrm %%WWWDIR%%/inventory/view @dirrmtry %%WWWDIR%%/install/lang/new_language_template/LC_MESSAGES
@dirrm %%WWWDIR%%/inventory/manage @dirrmtry %%WWWDIR%%/install/lang/new_language_template
@dirrm %%WWWDIR%%/inventory/inquiry @dirrmtry %%WWWDIR%%/install/lang/nl_BE/LC_MESSAGES
@dirrm %%WWWDIR%%/inventory/includes/db @dirrmtry %%WWWDIR%%/install/lang/nl_BE
@dirrm %%WWWDIR%%/inventory/includes @dirrmtry %%WWWDIR%%/install/lang/pl_PL/LC_MESSAGES
@dirrm %%WWWDIR%%/inventory @dirrmtry %%WWWDIR%%/install/lang/pl_PL
@dirrm %%WWWDIR%%/install/lang/zh_CN/LC_MESSAGES @dirrmtry %%WWWDIR%%/install/lang/pt_BR/LC_MESSAGES
@dirrm %%WWWDIR%%/install/lang/zh_CN @dirrmtry %%WWWDIR%%/install/lang/pt_BR
@dirrm %%WWWDIR%%/install/lang/sv_SE/LC_MESSAGES @dirrmtry %%WWWDIR%%/install/lang/pt_PT/LC_MESSAGES
@dirrm %%WWWDIR%%/install/lang/sv_SE @dirrmtry %%WWWDIR%%/install/lang/pt_PT
@dirrm %%WWWDIR%%/install/lang/pt_BR/LC_MESSAGES @dirrmtry %%WWWDIR%%/install/lang/sv_SE/LC_MESSAGES
@dirrm %%WWWDIR%%/install/lang/pt_BR @dirrmtry %%WWWDIR%%/install/lang/sv_SE
@dirrm %%WWWDIR%%/install/lang/pl_PL/LC_MESSAGES @dirrmtry %%WWWDIR%%/install/lang/zh_CN/LC_MESSAGES
@dirrm %%WWWDIR%%/install/lang/pl_PL @dirrmtry %%WWWDIR%%/install/lang/zh_CN
@dirrm %%WWWDIR%%/install/lang/nl_BE/LC_MESSAGES @dirrmtry %%WWWDIR%%/install/lang
@dirrm %%WWWDIR%%/install/lang/nl_BE @dirrmtry %%WWWDIR%%/install
@dirrm %%WWWDIR%%/install/lang/new_language_template/LC_MESSAGES @dirrmtry %%WWWDIR%%/inventory/includes/db
@dirrm %%WWWDIR%%/install/lang/new_language_template @dirrmtry %%WWWDIR%%/inventory/includes
@dirrm %%WWWDIR%%/install/lang/ka_GE/LC_MESSAGES @dirrmtry %%WWWDIR%%/inventory/inquiry
@dirrm %%WWWDIR%%/install/lang/ka_GE @dirrmtry %%WWWDIR%%/inventory/manage
@dirrm %%WWWDIR%%/install/lang/it_IT/LC_MESSAGES @dirrmtry %%WWWDIR%%/inventory/view
@dirrm %%WWWDIR%%/install/lang/it_IT @dirrmtry %%WWWDIR%%/inventory
@dirrm %%WWWDIR%%/install/lang/id_ID/LC_MESSAGES @dirrmtry %%WWWDIR%%/js
@dirrm %%WWWDIR%%/install/lang/id_ID @dirrmtry %%WWWDIR%%/lang/en_US/LC_MESSAGES
@dirrm %%WWWDIR%%/install/lang/fr_FR/LC_MESSAGES @dirrmtry %%WWWDIR%%/lang/en_US
@dirrm %%WWWDIR%%/install/lang/fr_FR @dirrmtry %%WWWDIR%%/lang/new_language_template/LC_MESSAGES
@dirrm %%WWWDIR%%/install/lang/es_MX/LC_MESSAGES @dirrmtry %%WWWDIR%%/lang/new_language_template
@dirrm %%WWWDIR%%/install/lang/es_MX @dirrmtry %%WWWDIR%%/lang
@dirrm %%WWWDIR%%/install/lang/el_GR/LC_MESSAGES @dirrmtry %%WWWDIR%%/manufacturing/includes/db
@dirrm %%WWWDIR%%/install/lang/el_GR @dirrmtry %%WWWDIR%%/manufacturing/includes
@dirrm %%WWWDIR%%/install/lang/de_DE/LC_MESSAGES @dirrmtry %%WWWDIR%%/manufacturing/inquiry
@dirrm %%WWWDIR%%/install/lang/de_DE @dirrmtry %%WWWDIR%%/manufacturing/manage
@dirrm %%WWWDIR%%/install/lang/da_DK/LC_MESSAGES @dirrmtry %%WWWDIR%%/manufacturing/view
@dirrm %%WWWDIR%%/install/lang/da_DK @dirrmtry %%WWWDIR%%/manufacturing
@dirrm %%WWWDIR%%/install/lang/ar_EG/LC_MESSAGES @dirrmtry %%WWWDIR%%/modules/_cache
@dirrm %%WWWDIR%%/install/lang/ar_EG @dirrmtry %%WWWDIR%%/modules
@dirrm %%WWWDIR%%/install/lang @dirrmtry %%WWWDIR%%/purchasing/allocations
@dirrm %%WWWDIR%%/install @dirrmtry %%WWWDIR%%/purchasing/includes/db
@dirrm %%WWWDIR%%/includes/ui @dirrmtry %%WWWDIR%%/purchasing/includes/ui
@dirrm %%WWWDIR%%/includes/prefs @dirrmtry %%WWWDIR%%/purchasing/includes
@dirrm %%WWWDIR%%/includes/page @dirrmtry %%WWWDIR%%/purchasing/inquiry
@dirrm %%WWWDIR%%/includes/lang @dirrmtry %%WWWDIR%%/purchasing/manage
@dirrm %%WWWDIR%%/includes/db @dirrmtry %%WWWDIR%%/purchasing/view
@dirrm %%WWWDIR%%/includes @dirrmtry %%WWWDIR%%/purchasing
@dirrm %%WWWDIR%%/gl/view @dirrmtry %%WWWDIR%%/reporting/fonts
@dirrm %%WWWDIR%%/gl/manage @dirrmtry %%WWWDIR%%/reporting/forms
@dirrm %%WWWDIR%%/gl/inquiry @dirrmtry %%WWWDIR%%/reporting/includes/fpdi/decoders
@dirrm %%WWWDIR%%/gl/includes/ui @dirrmtry %%WWWDIR%%/reporting/includes/fpdi
@dirrm %%WWWDIR%%/gl/includes/db @dirrmtry %%WWWDIR%%/reporting/includes
@dirrm %%WWWDIR%%/gl/includes @dirrmtry %%WWWDIR%%/reporting
@dirrm %%WWWDIR%%/gl @dirrmtry %%WWWDIR%%/sales/allocations
@dirrm %%WWWDIR%%/doc @dirrmtry %%WWWDIR%%/sales/includes/db
@dirrm %%WWWDIR%%/dimensions/view @dirrmtry %%WWWDIR%%/sales/includes/ui
@dirrm %%WWWDIR%%/dimensions/inquiry @dirrmtry %%WWWDIR%%/sales/includes
@dirrm %%WWWDIR%%/dimensions/includes @dirrmtry %%WWWDIR%%/sales/inquiry
@dirrm %%WWWDIR%%/dimensions @dirrmtry %%WWWDIR%%/sales/manage
@dirrm %%WWWDIR%%/company/0/reporting @dirrmtry %%WWWDIR%%/sales/view
@dirrm %%WWWDIR%%/company/0/pdf_files @dirrmtry %%WWWDIR%%/sales
@dirrm %%WWWDIR%%/company/0/js_cache @dirrmtry %%WWWDIR%%/sql
@dirrm %%WWWDIR%%/company/0/images @dirrmtry %%WWWDIR%%/taxes/db
@dirrm %%WWWDIR%%/company/0/backup @dirrmtry %%WWWDIR%%/taxes
@dirrm %%WWWDIR%%/company/0 @dirrmtry %%WWWDIR%%/themes/aqua/images
@dirrm %%WWWDIR%%/company @dirrmtry %%WWWDIR%%/themes/aqua
@dirrm %%WWWDIR%%/applications @dirrmtry %%WWWDIR%%/themes/cool/images
@dirrm %%WWWDIR%%/admin/db @dirrmtry %%WWWDIR%%/themes/cool
@dirrm %%WWWDIR%%/admin @dirrmtry %%WWWDIR%%/themes/default/images
@dirrm %%WWWDIR%%/access @dirrmtry %%WWWDIR%%/themes/default
@dirrm %%WWWDIR%% @dirrmtry %%WWWDIR%%/themes
@dirrmtry %%WWWDIR%%/tmp
@dirrmtry %%WWWDIR%%
@owner root
@group wheel