stuart: releng/kolab devtool.conf,1.1.1.1,1.2
cvs at intevation.de
cvs at intevation.de
Wed May 12 16:31:54 CEST 2004
Author: stuart
Update of /kolabrepository/releng/kolab
In directory doto:/tmp/cvs-serv25360
Modified Files:
devtool.conf
Log Message:
"./devtool copytemplates" will copy the new templates to the kolab template directory, substituting in various @l_xxx@ values; useful when debugging.
Index: devtool.conf
===================================================================
RCS file: /kolabrepository/releng/kolab/devtool.conf,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- devtool.conf 3 May 2004 14:06:15 -0000 1.1.1.1
+++ devtool.conf 12 May 2004 14:31:52 -0000 1.2
@@ -63,6 +63,41 @@
RPM="${PREFIX}/bin/openpkg rpm"
RPMSRC="${PREFIX}/RPM/SRC/${PKG_NAME}"
+ MUID="19414"
+ RUID="19415"
+ NUID="19416"
+
+ MGID="19414"
+ RGID="19415"
+ NGID="19416"
+
+ MUSR="${KOLAB}"
+ RUSR="${KOLAB}-r"
+ NUSR="${KOLAB}-n"
+
+ MGRP="${KOLAB}"
+ RGRP="${KOLAB}-r"
+ NGRP="${KOLAB}-n"
+
+%copytemplates
+ echo "+++ copying the new-style templates"
+ ./shtool mkdir -p ${PREFIX}/etc/kolab/templates
+ ./shtool install -c \
+ -e "s;\@l_prefix\@;${PREFIX};g" \
+ -e 's;\@l_musr\@;${MUSR};g' \
+ -e 's;\@l_rusr\@;${RUSR};g' \
+ -e 's;\@l_nusr\@;${NUSR};g' \
+ -e 's;\@l_mgrp\@;${MGRP};g' \
+ -e 's;\@l_rgrp\@;${RGRP};g' \
+ -e 's;\@l_ngrp\@;${NGRP};g' \
+ -e 's;\@l_muid\@;${MUID};g' \
+ -e 's;\@l_ruid\@;${RUID};g' \
+ -e 's;\@l_nuid\@;${NUID};g' \
+ -e 's;\@l_mgid\@;${MGID};g' \
+ -e 's;\@l_rgid\@;${RGID};g' \
+ -e 's;\@l_ngid\@;${NGID};g' \
+ `find templates -type f -maxdepth 1` ${PREFIX}/etc/kolab/templates
+
%release
./devtool copydevel
./devtool version
More information about the commits
mailing list