Date: Fri, 4 Feb 2005 20:38:08 -0600 (CST) From: Paul Schmehl <pauls@utdallas.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/77118: Corrections to pkg-plist file Message-ID: <20050205023808.E31323C80B2@buttercup2.utdallas.edu> Resent-Message-ID: <200502050250.j152oHJ4066261@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 77118 >Category: ports >Synopsis: Corrections to pkg-plist file >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Feb 05 02:50:17 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Paul Schmehl >Release: FreeBSD 4.9-SECURITY i386 >Organization: >Environment: System: FreeBSD unknown.utdallas.edu 4.9-SECURITY FreeBSD 4.9-SECURITY #0: Mon Jun 7 18:02:41 GMT 2004 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: Added logic to the pkg-plist file to only remove the base directory if the base_conf.php file had not been altered This change eliminates errors during deinstall if the base_conf.php file exists, even if it has not changed >How-To-Repeat: >Fix: --- pkg-plist begins here --- @unexec if [ -f %D/www/base/base_conf.php ] && cmp -s %D/www/base/base_conf.php %D/www/base/base_conf.php.dist; then rm -f %D/www/base/base_conf.php; fi www/base/admin/base_roleadmin.php www/base/admin/base_useradmin.php www/base/admin/index.php www/base/base_ag_common.php www/base/base_ag_main.php www/base/base_common.php www/base/base_conf.php.dist www/base/base_db_common.php www/base/base_db_setup.php www/base/base_denied.php www/base/base_footer.php www/base/base_graph_common.php www/base/base_graph_display.php www/base/base_graph_form.php www/base/base_graph_main.php www/base/base_hdr1.php www/base/base_hdr2.php www/base/base_main.php www/base/base_maintenance.php www/base/base_qry_alert.php www/base/base_qry_common.php www/base/base_qry_form.php www/base/base_qry_main.php www/base/base_qry_sqlcalls.php www/base/base_stat_alerts.php www/base/base_stat_class.php www/base/base_stat_common.php www/base/base_stat_ipaddr.php www/base/base_stat_iplink.php www/base/base_stat_ports.php www/base/base_stat_sensor.php www/base/base_stat_time.php www/base/base_stat_uaddr.php www/base/base_user.php www/base/docs/CHANGELOG www/base/docs/CREDITS www/base/docs/GPL www/base/docs/README www/base/docs/README.mssql www/base/docs/TODO www/base/docs/UPGRADE www/base/help/base_app_faq.php www/base/help/base_help.php www/base/help/base_setup_help.php www/base/images/button_delete.png www/base/images/button_edit.png www/base/images/button_exclamation.png www/base/images/greencheck.gif www/base/images/greencheck.png www/base/images/redcheck.gif www/base/includes/base_action.inc.php www/base/includes/base_auth.inc.php www/base/includes/base_cache.inc.php www/base/includes/base_capabilities.php www/base/includes/base_constants.inc.php www/base/includes/base_db.inc.php www/base/includes/base_include.inc.php www/base/includes/base_log_error.inc.php www/base/includes/base_log_timing.inc.php www/base/includes/base_net.inc.php www/base/includes/base_output_html.inc.php www/base/includes/base_output_query.inc.php www/base/includes/base_setup.inc.php www/base/includes/base_signature.inc.php www/base/includes/base_state_citems.inc.php www/base/includes/base_state_common.inc.php www/base/includes/base_state_criteria.inc.php www/base/includes/base_state_query.inc.php www/base/includes/base_template.php www/base/includes/base_user.inc.php www/base/includes/class.ezpdf.php www/base/includes/class.pdf.php www/base/index.php www/base/languages/chinese.lang.php www/base/languages/danish.lang.php www/base/languages/english.lang.php www/base/languages/finnish.lang.php www/base/languages/french.lang.php www/base/languages/german.lang.php www/base/languages/index.php www/base/languages/indonesian.lang.php www/base/languages/italian.lang.php www/base/languages/japanese.lang.php www/base/languages/norwegian.lang.php www/base/languages/portuguese.lang.php www/base/languages/russian.lang.php www/base/languages/spanish.lang.php www/base/languages/swedish.lang.php www/base/setup/base_conf_contents.php www/base/setup/index.php www/base/setup/setup1.php www/base/setup/setup2.php www/base/setup/setup3.php www/base/setup/setup4.php www/base/setup/setup5.php www/base/sql/acid2base_tbls_mssql.sql www/base/sql/acid2base_tbls_mysql.sql www/base/sql/acid2base_tbls_pgsql.sql www/base/sql/create_base_tbls_mssql.sql www/base/sql/create_base_tbls_mssql_extra.sql www/base/sql/create_base_tbls_mysql.sql www/base/sql/create_base_tbls_pgsql.sql www/base/sql/create_base_tbls_pgsql_extra.sql www/base/sql/upgrade_0.9.x_to_1.0-mysql.sql www/base/styles/base_style.css @dirrm www/base/styles @dirrm www/base/sql @dirrm www/base/setup @dirrm www/base/languages @dirrm www/base/includes/template/default @dirrm www/base/includes/template @dirrm www/base/includes @dirrm www/base/images @dirrm www/base/help @dirrm www/base/docs @dirrm www/base/admin @unexec if [ ! -f %D/www/base/base_conf.php ]; then rmdir %D/www/base; fi --- pkg-plist ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050205023808.E31323C80B2>