mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Allow staging as a regular user
- Bump portrevision as files were not packaged with intended owner
This commit is contained in:
parent
a1d086bc7a
commit
c91d100bab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371196
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= asterisk-stat
|
||||
PORTVERSION= 2.0.1
|
||||
PORTREVISION= 14
|
||||
PORTREVISION= 15
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://ftp.iij.ad.jp/pub/FreeBSD/distfiles/
|
||||
DISTNAME= ${PORTNAME}-v${PORTVERSION:S/./_/g}
|
||||
@ -38,7 +38,8 @@ USE_PHP+= ${ASTERISKSTATDB}
|
||||
EXTRA_PATCHES+= ${FILESDIR}/${ASTERISKSTATDB}__patch-cdr.php \
|
||||
${FILESDIR}/${ASTERISKSTATDB}__patch-defines.php
|
||||
PLIST_SUB+= ASTERISKDIR=${ASTERISKDIR:S,^${PREFIX}/,,} \
|
||||
ASTERISKSTATDB=${ASTERISKSTATDB}
|
||||
ASTERISKSTATDB=${ASTERISKSTATDB} \
|
||||
WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
|
||||
|
||||
post-patch:
|
||||
@${MV} ${WRKSRC}/images/print.css ${WRKSRC}/css
|
||||
@ -55,6 +56,5 @@ do-install:
|
||||
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${ASTERISKDIR})
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/asterisk
|
||||
${INSTALL_DATA} ${FILESDIR}/cdr_${ASTERISKSTATDB}.tbl ${STAGEDIR}${PREFIX}/etc/asterisk
|
||||
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${ASTERISKDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,6 @@
|
||||
etc/asterisk/cdr_%%ASTERISKSTATDB%%.tbl
|
||||
@owner %%WWWOWN%%
|
||||
@group %%WWWGRP%%
|
||||
%%ASTERISKDIR%%/CHANGELOG.txt
|
||||
%%ASTERISKDIR%%/call-comp.php
|
||||
%%ASTERISKDIR%%/call-daily-load.php
|
||||
@ -121,13 +123,14 @@ etc/asterisk/cdr_%%ASTERISKSTATDB%%.tbl
|
||||
%%ASTERISKDIR%%/lib/fpdf.php
|
||||
%%ASTERISKDIR%%/lib/iam_csvdump.php
|
||||
%%ASTERISKDIR%%/wiki.html
|
||||
@dirrmtry etc/asterisk
|
||||
@dirrm %%ASTERISKDIR%%/lib/font/makefont
|
||||
@dirrm %%ASTERISKDIR%%/lib/font
|
||||
@dirrm %%ASTERISKDIR%%/lib/DB-modules
|
||||
@dirrm %%ASTERISKDIR%%/lib
|
||||
@dirrm %%ASTERISKDIR%%/jpgraph_lib
|
||||
@dirrm %%ASTERISKDIR%%/images
|
||||
@dirrm %%ASTERISKDIR%%/css/images
|
||||
@dirrm %%ASTERISKDIR%%/css
|
||||
@dirrm %%ASTERISKDIR%%
|
||||
@dir %%ASTERISKDIR%%/lib/font/makefont
|
||||
@dir %%ASTERISKDIR%%/lib/font
|
||||
@dir %%ASTERISKDIR%%/lib/DB-modules
|
||||
@dir %%ASTERISKDIR%%/lib
|
||||
@dir %%ASTERISKDIR%%/jpgraph_lib
|
||||
@dir %%ASTERISKDIR%%/images
|
||||
@dir %%ASTERISKDIR%%/css/images
|
||||
@dir %%ASTERISKDIR%%/css
|
||||
@dir %%ASTERISKDIR%%
|
||||
@owner
|
||||
@group
|
||||
|
Loading…
Reference in New Issue
Block a user