[freeside-commits] branch master updated. 9e77fe17c8a593f45ffd7df5b2611ae908c4345d
Jeremy Davis
jeremyd at 420.am
Thu Dec 18 12:32:06 PST 2014
The branch, master has been updated
via 9e77fe17c8a593f45ffd7df5b2611ae908c4345d (commit)
from 59c6f5d84d8f00597a25b111deb51707f844954e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9e77fe17c8a593f45ffd7df5b2611ae908c4345d
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Thu Dec 18 15:31:21 2014 -0500
Ticket #32039 Debian self-service packages
diff --git a/debian/rules b/debian/rules
index f359e37..3754f83 100755
--- a/debian/rules
+++ b/debian/rules
@@ -205,18 +205,20 @@ install-stamp: build-stamp
" ${TMP}-lib/usr/bin/* \
${TMP}-webui/usr/local/etc/freeside/handler.pl
- #Self-service
+ # Self-service
( cd fs_selfservice/FS-SelfService/; $(MAKE) -e DESTDIR=${TMP}-selfservice-lib install )
- install -d -o freeside ${TMP}-selfservice-lib/usr/local/freeside
+ install -d -o freeside -g freeside ${TMP}-selfservice-lib/usr/local/freeside
touch ${TMP}-selfservice-lib/usr/local/freeside/selfservice_socket
chown -R freeside ${TMP}-selfservice-lib/usr/local/freeside
chmod 600 ${TMP}-selfservice-lib/usr/local/freeside/selfservice_socket
- install -d ${TMP}-selfservice-ui/var/www/
+ install -d -o freeside -g freeside ${TMP}-selfservice-ui/var/www/
cp -R fs_selfservice/FS-SelfService/cgi ${TMP}-selfservice-ui/var/www/selfservice-DIST
+ chown freeside.freeside ${TMP}-selfservice-ui/var/www/selfservice-DIST/*.cgi ${TMP}-selfservice-ui/var/www/selfservice-DIST/*/*.cgi;
+ chmod 755 ${TMP}-selfservice-ui/var/www/selfservice-DIST/*.cgi ${TMP}-selfservice-ui/var/www/selfservice-DIST/*/*.cgi
- #NG-selfservice
+ # NG-selfservice
install -d ${TMP}-ng-selfservice/var/www/
cp -R ng_selfservice ${TMP}-ng-selfservice/var/www/ng_selfservice-DIST/
@@ -290,7 +292,7 @@ binary-indep: build install
dh_perl
dh_link
dh_compress
- dh_fixperms
+ dh_fixperms -X/var/www/selfservice-DIST -X/usr/local/freeside
dh_gencontrol
dh_md5sums
dh_builddeb
-----------------------------------------------------------------------
Summary of changes:
debian/rules | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
More information about the freeside-commits
mailing list