From 915c5245c3b3e44827ba7cd24d7c765c57a1dd02 Mon Sep 17 00:00:00 2001 From: zuntum Date: Thu, 1 Nov 2001 02:15:23 +0000 Subject: Move pkg/ files into package's toplevel directory --- www/apc-gui/DEINSTALL | 103 ++++++++++++++++++++++++++++++++++++++++++++++ www/apc-gui/DESCR | 5 +++ www/apc-gui/INSTALL | 63 ++++++++++++++++++++++++++++ www/apc-gui/MESSAGE | 20 +++++++++ www/apc-gui/PLIST | 71 ++++++++++++++++++++++++++++++++ www/apc-gui/pkg/DEINSTALL | 103 ---------------------------------------------- www/apc-gui/pkg/DESCR | 5 --- www/apc-gui/pkg/INSTALL | 63 ---------------------------- www/apc-gui/pkg/MESSAGE | 20 --------- www/apc-gui/pkg/PLIST | 71 -------------------------------- 10 files changed, 262 insertions(+), 262 deletions(-) create mode 100644 www/apc-gui/DEINSTALL create mode 100644 www/apc-gui/DESCR create mode 100644 www/apc-gui/INSTALL create mode 100644 www/apc-gui/MESSAGE create mode 100644 www/apc-gui/PLIST delete mode 100644 www/apc-gui/pkg/DEINSTALL delete mode 100644 www/apc-gui/pkg/DESCR delete mode 100644 www/apc-gui/pkg/INSTALL delete mode 100644 www/apc-gui/pkg/MESSAGE delete mode 100644 www/apc-gui/pkg/PLIST (limited to 'www/apc-gui') diff --git a/www/apc-gui/DEINSTALL b/www/apc-gui/DEINSTALL new file mode 100644 index 00000000000..6ac96b7bffd --- /dev/null +++ b/www/apc-gui/DEINSTALL @@ -0,0 +1,103 @@ +#!/bin/sh +# +# $NetBSD: DEINSTALL,v 1.1 2001/11/01 02:16:15 zuntum Exp $ + +PKGNAME=$1 +STAGE=$2 + +CAT="@CAT@" +CMP="@CMP@" +ECHO="@ECHO@" +RM="@RM@" +RMDIR="@RMDIR@" +TR="@TR@" +TRUE="@TRUE@" + +APACHE_SYSCONFDIR=@APACHE_SYSCONFDIR@ +APC_GUI_DIR=${PKG_PREFIX}/@APC_GUI_DIR@ +SAMPLECONFDIR=${PKG_PREFIX}/share/examples/@PKGBASE@ + +CONFFILES=" \ + ${SAMPLECONFDIR}/apc_gui.conf ${APACHE_SYSCONFDIR}/apc_gui.conf : \ + /dev/null ${APC_GUI_DIR}/apc_config_local.php \ + " + +case ${STAGE} in +DEINSTALL) + # Remove configuration files if they don't differ from the default + # config file. + # + ${ECHO} ${CONFFILES} | ${TR} ":" "\012" | while read SAMPLEFILE FILE + do + ${ECHO} "|${SAMPLEFILE}|${FILE}|" + if ${CMP} -s ${FILE} ${SAMPLEFILE} + then + ${RM} -f ${FILE} + fi + done + ;; + +POST-DEINSTALL) + modified_files='' + for FILE in ${CONFFILES} + do + if [ -f ${FILE} ] + then + modified_files="${modified_files} ${FILE}" + fi + done + + ${RMDIR} ${APC_GUI_DIR} 2>/dev/null || ${TRUE} + ${RMDIR} ${APACHE_SYSCONFDIR} 2>/dev/null || ${TRUE} + + existing_dirs='' + for dir in ${APC_GUI_DIR} ${APACHE_SYSCONFDIR} + do + if [ -d ${dir} ] + then + existing_dirs="${existing_dirs} ${dir}" + fi + done + + if [ -n "${modified_files}" -o -n "${existing_dirs}" ] + then + ${CAT} << EOF +=========================================================================== +If you won't be using ${PKGNAME} any longer, you may want to remove: +EOF + if [ -n "${modified_files}" ] + then + ${CAT} << EOF + + * the following files: + +EOF + for file in ${modified_files} + do + ${ECHO} " ${file}" + done + fi + if [ -n "${existing_dirs}" ] + then + ${CAT} << EOF + + * the following directories: + +EOF + for dir in ${existing_dirs} + do + ${ECHO} " ${dir}" + done + fi + ${CAT} << EOF +=========================================================================== +EOF + fi + ;; + +*) + ${ECHO} "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/www/apc-gui/DESCR b/www/apc-gui/DESCR new file mode 100644 index 00000000000..32bfac6db87 --- /dev/null +++ b/www/apc-gui/DESCR @@ -0,0 +1,5 @@ +APC GUI is an add on for APC to provide a comprehensive, easy to use and, of +course, good-looking web-based GUI. APC GUI not only gives access to +statistical parameters of APC, it also makes it easier to administer +web-servers running APC by providing comfortable features for restarting the +cache and deleting scripts from the cache. diff --git a/www/apc-gui/INSTALL b/www/apc-gui/INSTALL new file mode 100644 index 00000000000..a1293836f81 --- /dev/null +++ b/www/apc-gui/INSTALL @@ -0,0 +1,63 @@ +#! /bin/sh +# +# $NetBSD: INSTALL,v 1.1 2001/11/01 02:16:15 zuntum Exp $ + +PKGNAME=$1 +STAGE=$2 + +CAT="@CAT@" +CHMOD="@CHMOD@" +CP="@CP@" +ECHO="@ECHO@" +MKDIR="@MKDIR@" +TR="@TR@" + +APACHE_SYSCONFDIR=@APACHE_SYSCONFDIR@ +APC_GUI_DIR=${PKG_PREFIX}/@APC_GUI_DIR@ +SAMPLECONFDIR=${PKG_PREFIX}/share/examples/@PKGBASE@ + +CONFFILES=" \ + ${SAMPLECONFDIR}/apc_gui.conf ${APACHE_SYSCONFDIR}/apc_gui.conf : \ + /dev/null ${APC_GUI_DIR}/apc_config_local.php \ + " + +case ${STAGE} in +PRE-INSTALL) + ;; + +POST-INSTALL) + ${MKDIR} ${APACHE_SYSCONFDIR} + + ${ECHO} "Installing configuration files:" + ${ECHO} ${CONFFILES} | ${TR} ":" "\012" | while read SAMPLEFILE FILE + do + if [ -f ${FILE} ] + then + ${ECHO} " ${FILE} already exists" + else + ${ECHO} " ${FILE}" + ${CP} ${SAMPLEFILE} ${FILE} + ${CHMOD} 664 ${FILE} + fi + done + ${CAT} << EOF + +=========================================================================== +You may wish to customize the following files: + +EOF + ${ECHO} ${CONFFILES} | ${TR} ":" "\012" | while read SAMPLEFILE FILE + do + ${ECHO} " ${FILE}" + done + ${CAT} << EOF +=========================================================================== +EOF + ;; + +*) + ${ECHO} "Unexpected argument: ${STAGE}" + exit 1 + ;; +esac +exit 0 diff --git a/www/apc-gui/MESSAGE b/www/apc-gui/MESSAGE new file mode 100644 index 00000000000..d2733922c2f --- /dev/null +++ b/www/apc-gui/MESSAGE @@ -0,0 +1,20 @@ +========================================================================== +$NetBSD: MESSAGE,v 1.1 2001/11/01 02:16:15 zuntum Exp $ + +You will need to make APC GUI accessible through your HTTP server. +If you are running Apache and ap-php, then you may either symlink + + ${APC_GUI_DIR} + +into DocumentRoot, or add the following line to httpd.conf: + + Include ${APACHE_SYSCONFDIR}/apc_gui.conf + +to make the APC web interface accessible through: + + http://www.domain.com/apc_gui/ + +You will need to protect your APC GUI directory with an authentication +method, such as .htaccess, to prevent general control access to the PHP +cache. +========================================================================== diff --git a/www/apc-gui/PLIST b/www/apc-gui/PLIST new file mode 100644 index 00000000000..58ae99162e7 --- /dev/null +++ b/www/apc-gui/PLIST @@ -0,0 +1,71 @@ +@comment $NetBSD: PLIST,v 1.1 2001/11/01 02:16:15 zuntum Exp $ +share/${PKGBASE}/CHANGES +share/${PKGBASE}/CREDITS +share/${PKGBASE}/INSTALL +share/${PKGBASE}/LICENSE +share/${PKGBASE}/apc_cache_info.php +share/${PKGBASE}/apc_functions.php +share/${PKGBASE}/chart.php +share/${PKGBASE}/config.php +share/${PKGBASE}/download.php +share/${PKGBASE}/empty.php +share/${PKGBASE}/faq.php +share/${PKGBASE}/functions.php +share/${PKGBASE}/hosts.php +share/${PKGBASE}/index.php +share/${PKGBASE}/main.php +share/${PKGBASE}/navi.php +share/${PKGBASE}/pics/b_del_marked.gif +share/${PKGBASE}/pics/b_del_this.gif +share/${PKGBASE}/pics/b_go.gif +share/${PKGBASE}/pics/b_refresh_data.gif +share/${PKGBASE}/pics/b_restart.gif +share/${PKGBASE}/pics/b_scripts_fth.gif +share/${PKGBASE}/pics/b_view_h_stats.gif +share/${PKGBASE}/pics/balken.gif +share/${PKGBASE}/pics/balken.png +share/${PKGBASE}/pics/btm_greystrip.gif +share/${PKGBASE}/pics/diagramm_tit.gif +share/${PKGBASE}/pics/download.gif +share/${PKGBASE}/pics/download_off.gif +share/${PKGBASE}/pics/faq.gif +share/${PKGBASE}/pics/faq_off.gif +share/${PKGBASE}/pics/header_00.gif +share/${PKGBASE}/pics/hits2.gif +share/${PKGBASE}/pics/hosts.gif +share/${PKGBASE}/pics/kuchen_hg.gif +share/${PKGBASE}/pics/kuchen_hg.png +share/${PKGBASE}/pics/last_access.gif +share/${PKGBASE}/pics/last_modified.gif +share/${PKGBASE}/pics/orange_space.gif +share/${PKGBASE}/pics/runtimeset_titel.gif +share/${PKGBASE}/pics/scriptname.gif +share/${PKGBASE}/pics/scripts.gif +share/${PKGBASE}/pics/shim.gif +share/${PKGBASE}/pics/size.gif +share/${PKGBASE}/pics/table_l_roundgrey.gif +share/${PKGBASE}/pics/table_r_roundgrey.gif +share/${PKGBASE}/pics/table_tit_cacheinfo.gif +share/${PKGBASE}/pics/table_tit_classes.gif +share/${PKGBASE}/pics/table_tit_functions.gif +share/${PKGBASE}/pics/table_tit_genericinfos.gif +share/${PKGBASE}/pics/table_tit_hitrate.gif +share/${PKGBASE}/pics/table_tit_hits.gif +share/${PKGBASE}/pics/table_tit_hits2.gif +share/${PKGBASE}/pics/table_tit_hosts.gif +share/${PKGBASE}/pics/table_tit_line.gif +share/${PKGBASE}/pics/table_tit_memfree.gif +share/${PKGBASE}/pics/table_tit_memtotal.gif +share/${PKGBASE}/pics/table_tit_memused.gif +share/${PKGBASE}/pics/table_tit_misses.gif +share/${PKGBASE}/pics/table_tit_opcodes.gif +share/${PKGBASE}/pics/table_tit_prim_opkot.gif +share/${PKGBASE}/pics/table_tit_sec_opkot.gif +share/${PKGBASE}/pics/table_tit_status.gif +share/${PKGBASE}/pics/table_tit_version.gif +share/${PKGBASE}/pics/ttl.gif +share/${PKGBASE}/scripts.php +share/${PKGBASE}/top.php +share/examples/${PKGBASE}/apc_gui.conf +@dirrm share/examples/${PKGBASE} +@dirrm share/${PKGBASE}/pics diff --git a/www/apc-gui/pkg/DEINSTALL b/www/apc-gui/pkg/DEINSTALL deleted file mode 100644 index 09b46222cf0..00000000000 --- a/www/apc-gui/pkg/DEINSTALL +++ /dev/null @@ -1,103 +0,0 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.1.1.1 2001/10/29 19:35:05 jlam Exp $ - -PKGNAME=$1 -STAGE=$2 - -CAT="@CAT@" -CMP="@CMP@" -ECHO="@ECHO@" -RM="@RM@" -RMDIR="@RMDIR@" -TR="@TR@" -TRUE="@TRUE@" - -APACHE_SYSCONFDIR=@APACHE_SYSCONFDIR@ -APC_GUI_DIR=${PKG_PREFIX}/@APC_GUI_DIR@ -SAMPLECONFDIR=${PKG_PREFIX}/share/examples/@PKGBASE@ - -CONFFILES=" \ - ${SAMPLECONFDIR}/apc_gui.conf ${APACHE_SYSCONFDIR}/apc_gui.conf : \ - /dev/null ${APC_GUI_DIR}/apc_config_local.php \ - " - -case ${STAGE} in -DEINSTALL) - # Remove configuration files if they don't differ from the default - # config file. - # - ${ECHO} ${CONFFILES} | ${TR} ":" "\012" | while read SAMPLEFILE FILE - do - ${ECHO} "|${SAMPLEFILE}|${FILE}|" - if ${CMP} -s ${FILE} ${SAMPLEFILE} - then - ${RM} -f ${FILE} - fi - done - ;; - -POST-DEINSTALL) - modified_files='' - for FILE in ${CONFFILES} - do - if [ -f ${FILE} ] - then - modified_files="${modified_files} ${FILE}" - fi - done - - ${RMDIR} ${APC_GUI_DIR} 2>/dev/null || ${TRUE} - ${RMDIR} ${APACHE_SYSCONFDIR} 2>/dev/null || ${TRUE} - - existing_dirs='' - for dir in ${APC_GUI_DIR} ${APACHE_SYSCONFDIR} - do - if [ -d ${dir} ] - then - existing_dirs="${existing_dirs} ${dir}" - fi - done - - if [ -n "${modified_files}" -o -n "${existing_dirs}" ] - then - ${CAT} << EOF -=========================================================================== -If you won't be using ${PKGNAME} any longer, you may want to remove: -EOF - if [ -n "${modified_files}" ] - then - ${CAT} << EOF - - * the following files: - -EOF - for file in ${modified_files} - do - ${ECHO} " ${file}" - done - fi - if [ -n "${existing_dirs}" ] - then - ${CAT} << EOF - - * the following directories: - -EOF - for dir in ${existing_dirs} - do - ${ECHO} " ${dir}" - done - fi - ${CAT} << EOF -=========================================================================== -EOF - fi - ;; - -*) - ${ECHO} "Unexpected argument: ${STAGE}" - exit 1 - ;; -esac -exit 0 diff --git a/www/apc-gui/pkg/DESCR b/www/apc-gui/pkg/DESCR deleted file mode 100644 index 32bfac6db87..00000000000 --- a/www/apc-gui/pkg/DESCR +++ /dev/null @@ -1,5 +0,0 @@ -APC GUI is an add on for APC to provide a comprehensive, easy to use and, of -course, good-looking web-based GUI. APC GUI not only gives access to -statistical parameters of APC, it also makes it easier to administer -web-servers running APC by providing comfortable features for restarting the -cache and deleting scripts from the cache. diff --git a/www/apc-gui/pkg/INSTALL b/www/apc-gui/pkg/INSTALL deleted file mode 100644 index f139c1c989a..00000000000 --- a/www/apc-gui/pkg/INSTALL +++ /dev/null @@ -1,63 +0,0 @@ -#! /bin/sh -# -# $NetBSD: INSTALL,v 1.1.1.1 2001/10/29 19:35:05 jlam Exp $ - -PKGNAME=$1 -STAGE=$2 - -CAT="@CAT@" -CHMOD="@CHMOD@" -CP="@CP@" -ECHO="@ECHO@" -MKDIR="@MKDIR@" -TR="@TR@" - -APACHE_SYSCONFDIR=@APACHE_SYSCONFDIR@ -APC_GUI_DIR=${PKG_PREFIX}/@APC_GUI_DIR@ -SAMPLECONFDIR=${PKG_PREFIX}/share/examples/@PKGBASE@ - -CONFFILES=" \ - ${SAMPLECONFDIR}/apc_gui.conf ${APACHE_SYSCONFDIR}/apc_gui.conf : \ - /dev/null ${APC_GUI_DIR}/apc_config_local.php \ - " - -case ${STAGE} in -PRE-INSTALL) - ;; - -POST-INSTALL) - ${MKDIR} ${APACHE_SYSCONFDIR} - - ${ECHO} "Installing configuration files:" - ${ECHO} ${CONFFILES} | ${TR} ":" "\012" | while read SAMPLEFILE FILE - do - if [ -f ${FILE} ] - then - ${ECHO} " ${FILE} already exists" - else - ${ECHO} " ${FILE}" - ${CP} ${SAMPLEFILE} ${FILE} - ${CHMOD} 664 ${FILE} - fi - done - ${CAT} << EOF - -=========================================================================== -You may wish to customize the following files: - -EOF - ${ECHO} ${CONFFILES} | ${TR} ":" "\012" | while read SAMPLEFILE FILE - do - ${ECHO} " ${FILE}" - done - ${CAT} << EOF -=========================================================================== -EOF - ;; - -*) - ${ECHO} "Unexpected argument: ${STAGE}" - exit 1 - ;; -esac -exit 0 diff --git a/www/apc-gui/pkg/MESSAGE b/www/apc-gui/pkg/MESSAGE deleted file mode 100644 index 6aa1c36759b..00000000000 --- a/www/apc-gui/pkg/MESSAGE +++ /dev/null @@ -1,20 +0,0 @@ -========================================================================== -$NetBSD: MESSAGE,v 1.1.1.1 2001/10/29 19:35:05 jlam Exp $ - -You will need to make APC GUI accessible through your HTTP server. -If you are running Apache and ap-php, then you may either symlink - - ${APC_GUI_DIR} - -into DocumentRoot, or add the following line to httpd.conf: - - Include ${APACHE_SYSCONFDIR}/apc_gui.conf - -to make the APC web interface accessible through: - - http://www.domain.com/apc_gui/ - -You will need to protect your APC GUI directory with an authentication -method, such as .htaccess, to prevent general control access to the PHP -cache. -========================================================================== diff --git a/www/apc-gui/pkg/PLIST b/www/apc-gui/pkg/PLIST deleted file mode 100644 index 302568375b4..00000000000 --- a/www/apc-gui/pkg/PLIST +++ /dev/null @@ -1,71 +0,0 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/29 19:35:05 jlam Exp $ -share/${PKGBASE}/CHANGES -share/${PKGBASE}/CREDITS -share/${PKGBASE}/INSTALL -share/${PKGBASE}/LICENSE -share/${PKGBASE}/apc_cache_info.php -share/${PKGBASE}/apc_functions.php -share/${PKGBASE}/chart.php -share/${PKGBASE}/config.php -share/${PKGBASE}/download.php -share/${PKGBASE}/empty.php -share/${PKGBASE}/faq.php -share/${PKGBASE}/functions.php -share/${PKGBASE}/hosts.php -share/${PKGBASE}/index.php -share/${PKGBASE}/main.php -share/${PKGBASE}/navi.php -share/${PKGBASE}/pics/b_del_marked.gif -share/${PKGBASE}/pics/b_del_this.gif -share/${PKGBASE}/pics/b_go.gif -share/${PKGBASE}/pics/b_refresh_data.gif -share/${PKGBASE}/pics/b_restart.gif -share/${PKGBASE}/pics/b_scripts_fth.gif -share/${PKGBASE}/pics/b_view_h_stats.gif -share/${PKGBASE}/pics/balken.gif -share/${PKGBASE}/pics/balken.png -share/${PKGBASE}/pics/btm_greystrip.gif -share/${PKGBASE}/pics/diagramm_tit.gif -share/${PKGBASE}/pics/download.gif -share/${PKGBASE}/pics/download_off.gif -share/${PKGBASE}/pics/faq.gif -share/${PKGBASE}/pics/faq_off.gif -share/${PKGBASE}/pics/header_00.gif -share/${PKGBASE}/pics/hits2.gif -share/${PKGBASE}/pics/hosts.gif -share/${PKGBASE}/pics/kuchen_hg.gif -share/${PKGBASE}/pics/kuchen_hg.png -share/${PKGBASE}/pics/last_access.gif -share/${PKGBASE}/pics/last_modified.gif -share/${PKGBASE}/pics/orange_space.gif -share/${PKGBASE}/pics/runtimeset_titel.gif -share/${PKGBASE}/pics/scriptname.gif -share/${PKGBASE}/pics/scripts.gif -share/${PKGBASE}/pics/shim.gif -share/${PKGBASE}/pics/size.gif -share/${PKGBASE}/pics/table_l_roundgrey.gif -share/${PKGBASE}/pics/table_r_roundgrey.gif -share/${PKGBASE}/pics/table_tit_cacheinfo.gif -share/${PKGBASE}/pics/table_tit_classes.gif -share/${PKGBASE}/pics/table_tit_functions.gif -share/${PKGBASE}/pics/table_tit_genericinfos.gif -share/${PKGBASE}/pics/table_tit_hitrate.gif -share/${PKGBASE}/pics/table_tit_hits.gif -share/${PKGBASE}/pics/table_tit_hits2.gif -share/${PKGBASE}/pics/table_tit_hosts.gif -share/${PKGBASE}/pics/table_tit_line.gif -share/${PKGBASE}/pics/table_tit_memfree.gif -share/${PKGBASE}/pics/table_tit_memtotal.gif -share/${PKGBASE}/pics/table_tit_memused.gif -share/${PKGBASE}/pics/table_tit_misses.gif -share/${PKGBASE}/pics/table_tit_opcodes.gif -share/${PKGBASE}/pics/table_tit_prim_opkot.gif -share/${PKGBASE}/pics/table_tit_sec_opkot.gif -share/${PKGBASE}/pics/table_tit_status.gif -share/${PKGBASE}/pics/table_tit_version.gif -share/${PKGBASE}/pics/ttl.gif -share/${PKGBASE}/scripts.php -share/${PKGBASE}/top.php -share/examples/${PKGBASE}/apc_gui.conf -@dirrm share/examples/${PKGBASE} -@dirrm share/${PKGBASE}/pics -- cgit v1.2.3