Code

Add smarty package for rendering fields with acl's. Closes: #260.
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Nov 2007 13:17:12 +0000 (13:17 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Nov 2007 13:17:12 +0000 (13:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7890 594d385d-05f5-0310-b6e9-bd551577e9d8

debian/changelog
debian/control
debian/rules
debian/smarty-render.dirs [new file with mode: 0644]

index 45a2bf4abdfb87a5d46baaad94e58cf3047866a8..9e4563344ba035c923c3610dd00e367dc600f839 100644 (file)
@@ -1,3 +1,9 @@
+gosa (2.6beta2-1) unstable; urgency=low
+
+  * Next beta release
+
+ -- Cajus Pollmeier <pollmeier@gonicus.de>  Mon, 26 Nov 2007 14:15:26 +0100
+
 gosa (2.6beta1-1) unstable; urgency=low
 
   * New major upstream release
index b061c8b15d64eb8d6b2bb7f01a3b1576b499cdfd..d79664a483673a67e1dd7e2fecfe52a2510b0824 100644 (file)
@@ -73,3 +73,14 @@ Description: Dutch online help for GOsa
  GOsa is a combination of system-administrator and end-user web
  interface, designed to handle LDAP based setups.
 
+Package: smarty-render
+Architecture: all
+Depends: smarty
+Suggests: gosa
+Description: Provide ACL based rendering for Smarty
+ smarty-render provides acl based rendering support for Smarty,
+ the popular PHP templating engine (http://smarty.php.net/). This
+ module is mainly used by GOsa.
+ .
+ GOsa is a combination of system-administrator and end-user web
+ interface, designed to handle LDAP based setups.
index 0d1abf8657771eaff10c260f9a9633a5c17e60b6..25b91fcedee80f6d3f8567826f9bde5081e1533c 100755 (executable)
@@ -52,6 +52,8 @@ install-stamp:
        -mkdir -p debian/gosa-help-nl/usr/share/doc/gosa-help-nl
        -gzip -c9 debian/changelog > debian/gosa-help-nl/usr/share/doc/gosa-help-nl/changelog.Debian.gz
        -gzip -c9 Changelog > debian/gosa/usr/share/doc/gosa/changelog.gz
+       -mkdir -p debian/smarty-render/usr/share/doc/smarty-render
+       -gzip -c9 debian/changelog > debian/smarty-render/usr/share/doc/smarty-render/changelog.Debian.gz
        -cp AUTHORS README FAQ doc/README.pptp doc/README.xls-export doc/README.glpi doc/README.nagios doc/README.phpscheduleit doc/README.safemode doc/README.devel doc/README.openxchange debian/gosa/usr/share/doc/gosa/
        -rm debian/gosa/usr/share/gosa/doc/README.ssh
        -rm debian/gosa/usr/share/gosa/README debian/gosa/usr/share/gosa/INSTALL
@@ -94,6 +96,9 @@ install-stamp:
        -rm -rf debian/gosa/usr/share/doc/gosa/guide*
        sed 's%"CONFIG_TEMPLATE_DIR", "../contrib/"%"CONFIG_TEMPLATE_DIR", "/usr/share/doc/gosa/contrib/"%g' debian/gosa/usr/share/gosa/include/functions.inc > debian/gosa/usr/share/gosa/include/functions.inc.new; \
        mv debian/gosa/usr/share/gosa/include/functions.inc.new debian/gosa/usr/share/gosa/include/functions.inc;
+       mkdir -p debian/smarty-render/usr/share/php/smarty/libs/plugins
+       cp include/smarty/plugins/block.render.php debian/smarty-render/usr/share/php/smarty/libs/plugins
+       chmod -x debian/smarty-render/usr/share/php/smarty/libs/plugins/*
        rm -rf debian/gosa/usr/share/gosa/include/smarty; \
        sed 's%require("smarty/Smarty.class.php");%require("/usr/share/php/smarty/libs/Smarty.class.php");%g' debian/gosa/usr/share/gosa/include/php_setup.inc > debian/gosa/usr/share/gosa/include/php_setup.inc.new; \
        mv debian/gosa/usr/share/gosa/include/php_setup.inc.new debian/gosa/usr/share/gosa/include/php_setup.inc; \
diff --git a/debian/smarty-render.dirs b/debian/smarty-render.dirs
new file mode 100644 (file)
index 0000000..baad34c
--- /dev/null
@@ -0,0 +1 @@
+usr/share/php/smarty/libs/plugins