Date: Tue, 11 Sep 2012 14:05:32 GMT From: Michael Fausten <ports@michael-fausten.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/171543: Outdated port: www/smarty Message-ID: <201209111405.q8BE5WLc055713@red.freebsd.org> Resent-Message-ID: <201209111410.q8BEA5MJ077971@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171543 >Category: ports >Synopsis: Outdated port: www/smarty >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 11 14:10:05 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Michael Fausten >Release: FreeBSD 9.0 >Organization: pw Internet >Environment: FreeBSD foo 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The port /usr/ports/www/smarty is outdated. Current version in ports is 2.6.26 from 2009, but the latest version is 3.1.11 from 2012. I wrote a new port called smarty3 which is up to date. (Had to rename the smarty3.shar file to smarty3.shar.txt) >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # smarty3 # smarty3/files # smarty3/files/pkg-message.in # smarty3/Makefile # smarty3/distinfo # smarty3/pkg-descr # smarty3/pkg-plist # echo c - smarty3 mkdir -p smarty3 > /dev/null 2>&1 echo c - smarty3/files mkdir -p smarty3/files > /dev/null 2>&1 echo x - smarty3/files/pkg-message.in sed 's/^X//' >smarty3/files/pkg-message.in << 'df644cf2ff8309aa8116dcdf3d2e17d7' XYou need to adjust php's include_path to contain `%%DATADIR%%'! XFor example, insert X include_path = ".:%%DATADIR%%" Xinto `%%LOCALBASE%%/etc/php.ini'. df644cf2ff8309aa8116dcdf3d2e17d7 echo x - smarty3/Makefile sed 's/^X//' >smarty3/Makefile << '04e0b15cbe12223b6436139ab29c32ce' X# New ports collection makefile for: smarty X# Date created: 10 March 2002 X# Whom: Simon 'corecode' Schubert <corecode@corecode.ath.cx> X# X# $FreeBSD: ports/www/smarty/Makefile,v 1.43 2010/06/02 14:48:53 glarkin Exp $ X# X XPORTNAME= smarty3 XPORTVERSION= 3.1.11 XCATEGORIES= www XMASTER_SITES= http://www.smarty.net/files/ X XDISTFILES= Smarty-${PORTVERSION}${EXTRACT_SUFX} X XMAINTAINER= ports@michael-fausten.de X XCOMMENT= The PHP compiling template engine X XWRKSRC= ${WRKDIR}/Smarty-${PORTVERSION} X XNO_BUILD= yes XUSE_PHP= pcre XWANT_PHP_WEB= yes X XPKGMESSAGE= ${WRKDIR}/pkg-message XSUB_FILES= pkg-message X Xdo-install: X @${MKDIR} ${DATADIR} X.for f in Smarty.class.php SmartyBC.class.php debug.tpl X @${INSTALL_DATA} ${WRKSRC}/libs/$f ${DATADIR} X.endfor X @${MKDIR} ${DATADIR}/plugins X @${INSTALL_DATA} ${WRKSRC}/libs/plugins/* ${DATADIR}/plugins X @${MKDIR} ${DATADIR}/sysplugins X @${INSTALL_DATA} ${WRKSRC}/libs/sysplugins/* ${DATADIR}/sysplugins Xpost-install: X @${CAT} ${PKGMESSAGE} X.include <bsd.port.mk> 04e0b15cbe12223b6436139ab29c32ce echo x - smarty3/distinfo sed 's/^X//' >smarty3/distinfo << '3e9d1b9bbe2d84185c0d89ca22a7b25e' XSHA256 (Smarty-3.1.11.tar.gz) = 978212f6f454964a6ee6dcdbda81d7443840c41348ed353c74bcd481e7339294 XSIZE (Smarty-3.1.11.tar.gz) = 202244 3e9d1b9bbe2d84185c0d89ca22a7b25e echo x - smarty3/pkg-descr sed 's/^X//' >smarty3/pkg-descr << '4abe8156be72cbd234387b63c88c249a' XSmarty is a template engine for PHP. Many other template engines for PHP Xprovide basic variable substitution and dynamic block functionality. XSmarty takes a step further to be a "smart" template engine, adding Xfeatures such as configuration files, template functions, and variable Xmodifiers, and making all of this functionality as easy as possible to Xuse for both programmers and template designers. Smarty also converts Xthe templates into PHP scripts, eliminating the need to parse the Xtemplates on every invocation. This makes Smarty extremely scalable and Xmanagable for large application needs. X XWWW: http://www.smarty.net/ 4abe8156be72cbd234387b63c88c249a echo x - smarty3/pkg-plist sed 's/^X//' >smarty3/pkg-plist << '53b907705b5593827f2c116f9f241b7d' X%%DATADIR%%/Smarty.class.php X%%DATADIR%%/SmartyBC.class.php X%%DATADIR%%/debug.tpl X%%DATADIR%%/plugins/block.textformat.php X%%DATADIR%%/plugins/function.counter.php X%%DATADIR%%/plugins/function.cycle.php X%%DATADIR%%/plugins/function.fetch.php X%%DATADIR%%/plugins/function.html_checkboxes.php X%%DATADIR%%/plugins/function.html_image.php X%%DATADIR%%/plugins/function.html_options.php X%%DATADIR%%/plugins/function.html_radios.php X%%DATADIR%%/plugins/function.html_select_date.php X%%DATADIR%%/plugins/function.html_select_time.php X%%DATADIR%%/plugins/function.html_table.php X%%DATADIR%%/plugins/function.mailto.php X%%DATADIR%%/plugins/function.math.php X%%DATADIR%%/plugins/modifier.capitalize.php X%%DATADIR%%/plugins/modifier.date_format.php X%%DATADIR%%/plugins/modifier.debug_print_var.php X%%DATADIR%%/plugins/modifier.escape.php X%%DATADIR%%/plugins/modifier.regex_replace.php X%%DATADIR%%/plugins/modifier.replace.php X%%DATADIR%%/plugins/modifier.spacify.php X%%DATADIR%%/plugins/modifier.truncate.php X%%DATADIR%%/plugins/modifiercompiler.cat.php X%%DATADIR%%/plugins/modifiercompiler.count_characters.php X%%DATADIR%%/plugins/modifiercompiler.count_paragraphs.php X%%DATADIR%%/plugins/modifiercompiler.count_sentences.php X%%DATADIR%%/plugins/modifiercompiler.count_words.php X%%DATADIR%%/plugins/modifiercompiler.default.php X%%DATADIR%%/plugins/modifiercompiler.escape.php X%%DATADIR%%/plugins/modifiercompiler.from_charset.php X%%DATADIR%%/plugins/modifiercompiler.indent.php X%%DATADIR%%/plugins/modifiercompiler.lower.php X%%DATADIR%%/plugins/modifiercompiler.noprint.php X%%DATADIR%%/plugins/modifiercompiler.string_format.php X%%DATADIR%%/plugins/modifiercompiler.strip.php X%%DATADIR%%/plugins/modifiercompiler.strip_tags.php X%%DATADIR%%/plugins/modifiercompiler.to_charset.php X%%DATADIR%%/plugins/modifiercompiler.unescape.php X%%DATADIR%%/plugins/modifiercompiler.upper.php X%%DATADIR%%/plugins/modifiercompiler.wordwrap.php X%%DATADIR%%/plugins/outputfilter.trimwhitespace.php X%%DATADIR%%/plugins/shared.escape_special_chars.php X%%DATADIR%%/plugins/shared.literal_compiler_param.php X%%DATADIR%%/plugins/shared.make_timestamp.php X%%DATADIR%%/plugins/shared.mb_str_replace.php X%%DATADIR%%/plugins/shared.mb_unicode.php X%%DATADIR%%/plugins/shared.mb_wordwrap.php X%%DATADIR%%/plugins/variablefilter.htmlspecialchars.php X%%DATADIR%%/sysplugins/smarty_cacheresource.php X%%DATADIR%%/sysplugins/smarty_cacheresource_custom.php X%%DATADIR%%/sysplugins/smarty_cacheresource_keyvaluestore.php X%%DATADIR%%/sysplugins/smarty_config_source.php X%%DATADIR%%/sysplugins/smarty_internal_cacheresource_file.php X%%DATADIR%%/sysplugins/smarty_internal_compile_append.php X%%DATADIR%%/sysplugins/smarty_internal_compile_assign.php X%%DATADIR%%/sysplugins/smarty_internal_compile_block.php X%%DATADIR%%/sysplugins/smarty_internal_compile_break.php X%%DATADIR%%/sysplugins/smarty_internal_compile_call.php X%%DATADIR%%/sysplugins/smarty_internal_compile_capture.php X%%DATADIR%%/sysplugins/smarty_internal_compile_config_load.php X%%DATADIR%%/sysplugins/smarty_internal_compile_continue.php X%%DATADIR%%/sysplugins/smarty_internal_compile_debug.php X%%DATADIR%%/sysplugins/smarty_internal_compile_eval.php X%%DATADIR%%/sysplugins/smarty_internal_compile_extends.php X%%DATADIR%%/sysplugins/smarty_internal_compile_for.php X%%DATADIR%%/sysplugins/smarty_internal_compile_foreach.php X%%DATADIR%%/sysplugins/smarty_internal_compile_function.php X%%DATADIR%%/sysplugins/smarty_internal_compile_if.php X%%DATADIR%%/sysplugins/smarty_internal_compile_include.php X%%DATADIR%%/sysplugins/smarty_internal_compile_include_php.php X%%DATADIR%%/sysplugins/smarty_internal_compile_insert.php X%%DATADIR%%/sysplugins/smarty_internal_compile_ldelim.php X%%DATADIR%%/sysplugins/smarty_internal_compile_nocache.php X%%DATADIR%%/sysplugins/smarty_internal_compile_private_block_plugin.php X%%DATADIR%%/sysplugins/smarty_internal_compile_private_function_plugin.php X%%DATADIR%%/sysplugins/smarty_internal_compile_private_modifier.php X%%DATADIR%%/sysplugins/smarty_internal_compile_private_object_block_function.php X%%DATADIR%%/sysplugins/smarty_internal_compile_private_object_function.php X%%DATADIR%%/sysplugins/smarty_internal_compile_private_print_expression.php X%%DATADIR%%/sysplugins/smarty_internal_compile_private_registered_block.php X%%DATADIR%%/sysplugins/smarty_internal_compile_private_registered_function.php X%%DATADIR%%/sysplugins/smarty_internal_compile_private_special_variable.php X%%DATADIR%%/sysplugins/smarty_internal_compile_rdelim.php X%%DATADIR%%/sysplugins/smarty_internal_compile_section.php X%%DATADIR%%/sysplugins/smarty_internal_compile_setfilter.php X%%DATADIR%%/sysplugins/smarty_internal_compile_while.php X%%DATADIR%%/sysplugins/smarty_internal_compilebase.php X%%DATADIR%%/sysplugins/smarty_internal_config.php X%%DATADIR%%/sysplugins/smarty_internal_config_file_compiler.php X%%DATADIR%%/sysplugins/smarty_internal_configfilelexer.php X%%DATADIR%%/sysplugins/smarty_internal_configfileparser.php X%%DATADIR%%/sysplugins/smarty_internal_data.php X%%DATADIR%%/sysplugins/smarty_internal_debug.php X%%DATADIR%%/sysplugins/smarty_internal_filter_handler.php X%%DATADIR%%/sysplugins/smarty_internal_function_call_handler.php X%%DATADIR%%/sysplugins/smarty_internal_get_include_path.php X%%DATADIR%%/sysplugins/smarty_internal_nocache_insert.php X%%DATADIR%%/sysplugins/smarty_internal_parsetree.php X%%DATADIR%%/sysplugins/smarty_internal_resource_eval.php X%%DATADIR%%/sysplugins/smarty_internal_resource_extends.php X%%DATADIR%%/sysplugins/smarty_internal_resource_file.php X%%DATADIR%%/sysplugins/smarty_internal_resource_php.php X%%DATADIR%%/sysplugins/smarty_internal_resource_registered.php X%%DATADIR%%/sysplugins/smarty_internal_resource_stream.php X%%DATADIR%%/sysplugins/smarty_internal_resource_string.php X%%DATADIR%%/sysplugins/smarty_internal_smartytemplatecompiler.php X%%DATADIR%%/sysplugins/smarty_internal_template.php X%%DATADIR%%/sysplugins/smarty_internal_templatebase.php X%%DATADIR%%/sysplugins/smarty_internal_templatecompilerbase.php X%%DATADIR%%/sysplugins/smarty_internal_templatelexer.php X%%DATADIR%%/sysplugins/smarty_internal_templateparser.php X%%DATADIR%%/sysplugins/smarty_internal_utility.php X%%DATADIR%%/sysplugins/smarty_internal_write_file.php X%%DATADIR%%/sysplugins/smarty_resource.php X%%DATADIR%%/sysplugins/smarty_resource_custom.php X%%DATADIR%%/sysplugins/smarty_resource_recompiled.php X%%DATADIR%%/sysplugins/smarty_resource_uncompiled.php X%%DATADIR%%/sysplugins/smarty_security.php X@dirrm %%DATADIR%%/plugins X@dirrm %%DATADIR%%/sysplugins X@dirrm %%DATADIR%% 53b907705b5593827f2c116f9f241b7d exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209111405.q8BE5WLc055713>