From 83a88bca7360f63b5778c0afbe860f5b57991518 Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 26 Nov 2007 13:17:12 +0000 Subject: [PATCH] Add smarty package for rendering fields with acl's. Closes: #260. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7890 594d385d-05f5-0310-b6e9-bd551577e9d8 --- debian/changelog | 6 ++++++ debian/control | 11 +++++++++++ debian/rules | 5 +++++ debian/smarty-render.dirs | 1 + 4 files changed, 23 insertions(+) create mode 100644 debian/smarty-render.dirs diff --git a/debian/changelog b/debian/changelog index 45a2bf4ab..9e4563344 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +gosa (2.6beta2-1) unstable; urgency=low + + * Next beta release + + -- Cajus Pollmeier Mon, 26 Nov 2007 14:15:26 +0100 + gosa (2.6beta1-1) unstable; urgency=low * New major upstream release diff --git a/debian/control b/debian/control index b061c8b15..d79664a48 100644 --- a/debian/control +++ b/debian/control @@ -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. diff --git a/debian/rules b/debian/rules index 0d1abf865..25b91fced 100755 --- a/debian/rules +++ b/debian/rules @@ -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 index 000000000..baad34c2b --- /dev/null +++ b/debian/smarty-render.dirs @@ -0,0 +1 @@ +usr/share/php/smarty/libs/plugins -- 2.30.2