-DIST base-1.2.2.tar.gz 346518 RMD160 c3e22f216e6ab67e9ded3050692bdb4479a65130 SHA1 34d389aec22d7c99cfe344c3df8c1a488529a723 SHA256 63054beb2d615934ad492b239a89536e97c7fd89c4faeb67107d2b3929d80e53
DIST base-1.2.4.tar.gz 327770 RMD160 04829977b340cfccff53c1546ef00d6dc1a06af5 SHA1 8d289ac39742c274c2d9fd45bd766178e8237990 SHA256 a9f578a421d687d66f150e1e32f37e6641fe1ad36b2837e8d2476481143f28c1
-EBUILD base-1.2.2-r1.ebuild 6970 RMD160 9bff0ef63541ebc693364f5a60ec2641f2c2b183 SHA1 0db56b6ba6c29c114b63f7804b87ee2ec82303ac SHA256 3c82e3af45a5313db7aa88157e7d991d2e866df7bf2175bc460e4a7283b2cc74
-MD5 b3d108597b062031eafb3cb2f433ba39 base-1.2.2-r1.ebuild 6970
-RMD160 9bff0ef63541ebc693364f5a60ec2641f2c2b183 base-1.2.2-r1.ebuild 6970
-SHA256 3c82e3af45a5313db7aa88157e7d991d2e866df7bf2175bc460e4a7283b2cc74 base-1.2.2-r1.ebuild 6970
-EBUILD base-1.2.2.ebuild 5366 RMD160 903366275827e6fd12519b9adece173dec1bec3b SHA1 200c85e63a8c33bbe0c8e27aaa8140e415513c59 SHA256 33190bfcd599211cead83899d1a0a966670ad743c8dc9a2b12f5032b7ea6e09b
-MD5 2d04e8750cff915865b198a62890c8ac base-1.2.2.ebuild 5366
-RMD160 903366275827e6fd12519b9adece173dec1bec3b base-1.2.2.ebuild 5366
-SHA256 33190bfcd599211cead83899d1a0a966670ad743c8dc9a2b12f5032b7ea6e09b base-1.2.2.ebuild 5366
+DIST base-1.2.7.tar.gz 364282 RMD160 a078acf49da55a957f659e52f4e37f978bb1246c SHA1 6ce7af6f010d2e32f903758508987069ecb03b93 SHA256 615bdc6cd3cfb45143bff5f23d3edfed025702d572086e473506acdd745d132f
EBUILD base-1.2.4.ebuild 6972 RMD160 455fdf1683094f4650ac57b8f1e909e60aec4f1c SHA1 3223c48c755233dc27e0fc61df0ce10f00609e04 SHA256 cb0120c41e2329e96e283c24a2f5c0d345b26bb89788e17bb79dbfa92f5b2166
MD5 ece41925dca3a827f8262a1c78e643e3 base-1.2.4.ebuild 6972
RMD160 455fdf1683094f4650ac57b8f1e909e60aec4f1c base-1.2.4.ebuild 6972
SHA256 cb0120c41e2329e96e283c24a2f5c0d345b26bb89788e17bb79dbfa92f5b2166 base-1.2.4.ebuild 6972
-MISC ChangeLog 1053 RMD160 9bd2a65f064ab76f8db2aaeeb6a8f4001db8781f SHA1 3780b22e110506c45351795e64184b023b36fa82 SHA256 f1f423f0eed12ec47100b6bba7e72952fcc9722d32c70804cf11c3f908466158
-MD5 d016d4a72613c17f77eadeabb683b3ca ChangeLog 1053
-RMD160 9bd2a65f064ab76f8db2aaeeb6a8f4001db8781f ChangeLog 1053
-SHA256 f1f423f0eed12ec47100b6bba7e72952fcc9722d32c70804cf11c3f908466158 ChangeLog 1053
+EBUILD base-1.2.7.ebuild 6978 RMD160 b650415ed1f61f8676941dbd229043174249cc55 SHA1 5fde3506d0ea68525f0e508013fddd95f7aecfda SHA256 85d880abbd3a21266caab3dd77c2ca8f743cd6dd013494ac8b9c04564b75e943
+MD5 38a868e007fe50b43808bcd5e7f2f2ee base-1.2.7.ebuild 6978
+RMD160 b650415ed1f61f8676941dbd229043174249cc55 base-1.2.7.ebuild 6978
+SHA256 85d880abbd3a21266caab3dd77c2ca8f743cd6dd013494ac8b9c04564b75e943 base-1.2.7.ebuild 6978
+MISC ChangeLog 1323 RMD160 5b85770484491d0bd0c174c96e8af81ed26a849b SHA1 ff0d9c6d16e2f07c17a75d5a6b8dd9708a93894a SHA256 a904a93eecb0fc6ff6b6c8bb6d246312f6cce6a4ed1f741bdd37e7b83c9dff00
+MD5 93b20d67d4b655bfb35ae16e1c9ee65b ChangeLog 1323
+RMD160 5b85770484491d0bd0c174c96e8af81ed26a849b ChangeLog 1323
+SHA256 a904a93eecb0fc6ff6b6c8bb6d246312f6cce6a4ed1f741bdd37e7b83c9dff00 ChangeLog 1323
MISC metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b SHA1 9f5df3eabd621951a959cc8e0e2e0d352cd1fe1e SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6
MD5 f34e3c8858756da0001b12d2d3fa1af2 metadata.xml 159
RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b metadata.xml 159
SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6 metadata.xml 159
-MD5 69422097b5e215ee8b27f099257c8fe3 files/digest-base-1.2.2 232
-RMD160 96374aca179c00dbbbf4f33b2ef75cb84b56ff26 files/digest-base-1.2.2 232
-SHA256 e06d6d2dfb2227ec61f121c3e91e3db67482256a85809f3555aa161eca16631f files/digest-base-1.2.2 232
-MD5 69422097b5e215ee8b27f099257c8fe3 files/digest-base-1.2.2-r1 232
-RMD160 96374aca179c00dbbbf4f33b2ef75cb84b56ff26 files/digest-base-1.2.2-r1 232
-SHA256 e06d6d2dfb2227ec61f121c3e91e3db67482256a85809f3555aa161eca16631f files/digest-base-1.2.2-r1 232
MD5 b10da5937d9589a61e2d1cf34c2f97ae files/digest-base-1.2.4 232
RMD160 957e920ac1496bf472c752188178d62338b4f437 files/digest-base-1.2.4 232
SHA256 cedea6dbdd6c2b5013127b0db46f09849d09979d2bae9961f44cc8165b01597c files/digest-base-1.2.4 232
+MD5 5f7a8c95137b3fc1186f42b5d8755f89 files/digest-base-1.2.7 232
+RMD160 e40b2d17a553b30264f760b36ac0a5729e43c828 files/digest-base-1.2.7 232
+SHA256 bb09e9c64ee72c4a95d3da4451cd297483879a4bd9d4f1e4e96f58680c52d97f files/digest-base-1.2.7 232
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/base/base-1.2.2-r1.ebuild,v 1.2 2006/11/23 19:45:10 vivo Exp $
-
-inherit webapp versionator eutils depend.apache depend.php
-
-CONF_DIR="/etc/${PN}"
-CONF_OLD="base_conf.php.dist"
-CONF_NEW="base_conf.php"
-MIDDLEMAN="base_path.php"
-
-DESCRIPTION="A web-based front-end to the Snort IDS."
-HOMEPAGE="http://base.secureideas.net"
-SRC_URI="mirror://sourceforge/secureideas/${P}.tar.gz"
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~amd64"
-# SLOT is intentionally omitted because this package uses webapp-config
-
-DBTYPES="mssql mysql oracle postgres"
-IUSE="gd ${DBTYPES}"
-
-# BASE *should* work with any php-driven web server, so only require Apache
-# when the user has an apache use-flag set.
-want_apache
-
-DEPEND=">=app-arch/tar-1.14
- >=sys-libs/zlib-1.2.1-r3
- >=app-arch/gzip-1.3.5-r4
- >=sys-apps/coreutils-5.2.1-r2
- >=sys-apps/sed-4.0.9"
-
-RDEPEND="${DEPEND}
- >=dev-php/adodb-4.68
- gd? ( || ( >=dev-php4/jpgraph-1.19 >=dev-php5/jpgraph-2.0_beta )
- >=dev-php/PEAR-PEAR-1.3.6-r1
- >=dev-php/PEAR-Image_Color-1.0.2
- >=dev-php/PEAR-Log-1.9.3
- >=dev-php/PEAR-Numbers_Roman-0.2.0
- >=dev-php/PEAR-Numbers_Words-0.14.0
- >=dev-php/PEAR-Image_Canvas-0.2.4
- >=dev-php/PEAR-Image_Graph-0.7.1
- >=media-libs/gd-2.0.32
- mysql? ( virtual/mysql )
- postgres? ( >=dev-db/postgresql-7.1.0 ) )"
- # A local database isn't necessary, so only require one when the user
- # has use-flags set for one of the supported DBs.
- # Snort can also be installed on a remote system, so don't require it.
-
-# Require PHP.
-need_php
-
-pkg_setup() {
- webapp_pkg_setup
-
- # Set the group ownership for /etc/base/base_conf.php so it can be read by
- # the user's web server.
- if use apache2 || use apache; then
- HTTPD_GROUP="apache"
- else
- # Set a safe default group.
- HTTPD_GROUP="root"
- fi
-
- # Check and setup selected DB type
- dbtypecnt=0
- for db in ${DBTYPES}; do
- if use ${db}; then
- if [ ${dbtypecnt} -eq 0 ]; then
- BASE_DBTYPE=${db}
- let dbtypecnt++
- elif [ ${dbtypecnt} -ge 1 ]; then
- einfo "You set multiple database types in your USE flags."
- ewarn "You will have to setup DBtype configuration manually."
- fi
- fi
- done
-
- if [ ${dbtypecnt} -eq 0 ]; then
- einfo "No database type selected in your USE flags."
- ewarn "You will have to setup DBtype manually."
- fi
-
- # Make sure php was built with the necessary USE flags.
- require_php_with_use session
- useq gd && require_gd
- useq mssql && require_php_with_use mssql
- useq mysql && require_php_with_use mysql
- useq postgres && require_php_with_use postgres
- if use oracle && ! built_with_use virtual/php oci8-instant-client ; then
- ewarn "PHP with oci8-instant-client support not found!"
- ewarn "It is your responsibility to ensure that PHP will work"
- ewarn "with commercial Oracle implementation."
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Help the user configure /etc/base/base_conf.php so BASE works out of the
- # box in most environments. The user will still be warned to edit the
- # file manually at the pkg_postinst() stage.
- sed -i -e 's:$BASE_urlpath.*:$BASE_urlpath = "/base";:g' \
- ${CONF_OLD}
-
- sed -i -e 's:$DBlib_path.*:$DBlib_path = "/usr/share/php/adodb";:g' \
- ${CONF_OLD}
-
- if [[ "${BASE_DBTYPE}" == "postgres" ]]; then
- sed -i -e 's:$DBtype.*:$DBtype = "postgres";:g' \
- ${CONF_OLD}
- fi
- if [[ "${BASE_DBTYPE}" == "mssql" ]]; then
- sed -i -e 's:$DBtype.*:$DBtype = "mssql";:g' \
- ${CONF_OLD}
- fi
- if [[ "${BASE_DBTYPE}" == "oracle" ]]; then
- sed -i -e 's:$DBtype.*:$DBtype = "oci8";:g' \
- ${CONF_OLD}
- fi
-
- # Install the configuration files in the usual /etc/${PN} location so that
- # etc-update functions properly (it also improves security somewhat, since
- # the config file contains plain-text passwords and should not be located
- # inside the web-root). This requires changing the BASE source a tad to
- # recognize the new location for base_conf.php.
- for PHP in *.php */*.php; do
- sed -i -e "s:${CONF_NEW}:${MIDDLEMAN}:g" \
- ${CONF_OLD} "${PHP}"
- done
-
- # Create the file ${MIDDLEMAN} to determine the web-root and to change
- # the location of "include" to /etc/base/base_conf.php.
- echo "<?php" > ${MIDDLEMAN}
- echo ' $BASE_path = dirname(__FILE__);' >> ${MIDDLEMAN}
- echo " include(\"${CONF_DIR}/${CONF_NEW}\");" >> ${MIDDLEMAN}
- echo "?>" >> ${MIDDLEMAN}
-
- # Delete the $BASE_path variable from the config file because we
- # now handle it with ${MIDDLEMAN} created above.
- sed -i -e 's:$BASE_path =.*::g' ${CONF_OLD}
-
- # Modify the HTML headers so search engines don't index BASE.
- sed -i -e \
- 's:<HEAD>:<HEAD>\n <META name="robots" content="noindex,nofollow">:g' \
- index.php
- sed -i -e \
- 's:<HEAD>:<HEAD>\n <META name="robots" content="noindex,nofollow">:g' \
- base_main.php
-}
-
-src_install() {
- webapp_src_preinst
-
- # Install the docs once in the standard /usr/share/doc/${PF}/DOCDESTREE
- # location instead of installing them in every virtual host directory.
- cd docs
- dodoc *
- cd "${S}"
- rm -rf docs
-
- # Install the config files in the normal location (/etc/${PN}).
- insinto ${CONF_DIR} || die "Unable to insinto ${CONF_DIR}"
- doins ${CONF_OLD} || die "Unable to doins ${CONF_OLD}"
- newins ${CONF_OLD} ${CONF_NEW} || die "Unable to create ${CONF_NEW}"
-
- # Install BASE for webapp-config
- insinto ${MY_HTDOCSDIR} || die "Unable to insinto ${MY_HTDOCSDIR}"
- doins -r *
-
- webapp_src_install
-}
-
-pkg_postinst() {
- webapp_pkg_postinst
-
- # Set the proper permissions on /etc/base/base_conf.php
- chmod 640 ${CONF_DIR}/${CONF_NEW} || FPERMS="FALSE"
- chown root:${HTTPD_GROUP} ${CONF_DIR}/${CONF_NEW} || FOWNERS="FALSE"
-
- # Notify the user of any problems at the very end.
- if [ "${HTTPD_GROUP}" == "root" ]; then
- ewarn ""
- ewarn "It looks like you are not using Apache or Cherokee"
- ewarn "as your web server. For BASE to work properly, you will"
- ewarn "need to change the ownership of ${CONF_DIR}/${CONF_NEW} to"
- ewarn "root:[www user] To use Apache, add \"apache\" or"
- ewarn "\"apache2\" to your USE flags and re-emerge BASE."
- fi
- if [ "${FPERMS}" == "FALSE" ]; then
- ewarn ""
- ewarn "Unable to change the permissions on ${CONF_DIR}/${CONF_NEW}".
- ewarn "Please change them manually by issuing:"
- ewarn "chmod 640 ${CONF_DIR}/${CONF_NEW}"
- fi
- if [ "${FOWNERS}" == "FALSE" ]; then
- ewarn ""
- ewarn "Unable to change the group ownership of the file:"
- ewarn "${CONF_DIR}/${CONF_NEW}"
- ewarn "Please change this manually by issuing:"
- ewarn "chown root:${HTTPD_GROUP} ${CONF_DIR}/${CONF_NEW}"
- fi
-
- einfo ""
- einfo "You should edit \"${CONF_DIR}/${CONF_NEW}\" before using BASE."
- einfo ""
- einfo "To setup your initial database, direct your web browser to the"
- einfo "location you installed BASE/base_db_setup.php"
- einfo "You can find instructions in /usr/share/doc/${P}/README"
- einfo "There is a guide at http://gentoo-wiki.com/HOWTO_Apache2_with_BASE"
- einfo ""
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/base/base-1.2.2.ebuild,v 1.2 2006/11/23 19:45:10 vivo Exp $
-
-inherit webapp versionator eutils depend.apache depend.php
-
-CONF_DIR="/etc/${PN}"
-CONF_OLD="base_conf.php.dist"
-CONF_NEW="base_conf.php"
-MIDDLEMAN="base_path.php"
-
-DESCRIPTION="A web-based front-end to the Snort IDS."
-HOMEPAGE="http://base.secureideas.net"
-SRC_URI="mirror://sourceforge/secureideas/${P}.tar.gz"
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~amd64"
-# SLOT is intentionally omitted because this package uses webapp-config
-IUSE="session apache apache2 mysql postgres mssql oracle gd gd-external"
-
-DEPEND=">=app-arch/tar-1.14
- >=sys-libs/zlib-1.2.1-r3
- >=app-arch/gzip-1.3.5-r4
- >=sys-apps/coreutils-5.2.1-r2
- >=sys-apps/sed-4.0.9
- mysql? ( virtual/mysql )
- postgres? ( >=dev-db/postgresql-7.1.0 )"
- # A local database isn't necessary, so we only require one when the user
- # has use-flags set for one of the supported DBs.
- # Snort can also be installed on a remote system, so we don't require it.
-
-RDEPEND="${DEPEND}
- >=media-libs/gd-1.8.0
- >=dev-php/adodb-1.2
- >=dev-php4/jpgraph-1.12.2
- >=dev-php/PEAR-PEAR-1.3.6-r1
- >=dev-php/PEAR-Image_Color-1.0.2
- >=dev-php/PEAR-Log-1.9.3
- >=dev-php/PEAR-Numbers_Roman-0.2.0
- >=dev-php/PEAR-Numbers_Words-0.14.0
- >=dev-php/PEAR-Image_Canvas-0.2.4
- >=dev-php/PEAR-Image_Graph-0.7.1"
-
-# Require PHP4 to be installed.
-need_php4
-need_php4_cli
-
-# BASE *should* work with any php-driven web server, so only require Apache
-# when the user has an apache use-flag set. Then set the group ownership for
-# /etc/base/base_conf.php so it can be read by the user's web server.
-if use apache2 || use apache; then
- need_apache
- WWW_GROUP="apache"
-else
- # Set a safe default group.
- WWW_GROUP="root"
- APACHE_WWW_GROUP="FALSE"
-fi
-
-pkg_setup() {
- webapp_pkg_setup
-
- # Set the PHP environment variables.
- has_php
-
- # Make sure php was built with the necessary use-flags.
- require_php_with_use session cli
- require_gd
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Help the user configure /etc/base/base_conf.php so BASE works out of the
- # box in most environments. The user will still be warned to edit the
- # file manually at the pkg_postinst() stage.
- sed -i -e 's:$BASE_urlpath.*:$BASE_urlpath = "/base";:g' \
- ${CONF_OLD}
- sed -i -e 's:$DBlib_path.*:$DBlib_path = "/usr/lib/php/adodb";:g' \
- ${CONF_OLD}
-
- if use postgres; then
- sed -i -e 's:$DBtype.*:$DBtype = "postgres";:g' \
- ${CONF_OLD}
- fi
- if use mssql; then
- sed -i -e 's:$DBtype.*:$DBtype = "mssql";:g' \
- ${CONF_OLD}
- fi
- if use oracle; then
- sed -i -e 's:$DBtype.*:$DBtype = "oci8";:g' \
- ${CONF_OLD}
- fi
-
- # Install the configuration files in the usual /etc/${PN} location so that
- # etc-update functions properly (it also improves security somewhat, since
- # the config file contains plain-text passwords and should not be located
- # inside the web-root). This requires changing the BASE source a tad to
- # recognize the new location for base_conf.php.
- for PHP in *.php */*.php; do
- sed -i -e "s:${CONF_NEW}:${MIDDLEMAN}:g" \
- ${CONF_OLD} "${PHP}"
- done
-
- # Create the file ${MIDDLEMAN} to determine the web-root and to change
- # the location of "include" to /etc/base/base_conf.php.
- echo "<?php" > ${MIDDLEMAN}
- echo ' $BASE_path = dirname(__FILE__);' >> ${MIDDLEMAN}
- echo " include(\"${CONF_DIR}/${CONF_NEW}\");" >> ${MIDDLEMAN}
- echo "?>" >> ${MIDDLEMAN}
-
- # Delete the $BASE_path variable from the config file because we
- # now handle it with ${MIDDLEMAN} created above.
- sed -i -e 's:$BASE_path =.*::g' ${CONF_OLD}
-
- # Modify the HTML headers so search engines don't index BASE.
- sed -i -e \
- 's:<HEAD>:<HEAD>\n <META name="robots" content="noindex,nofollow">:g' \
- index.php
- sed -i -e \
- 's:<HEAD>:<HEAD>\n <META name="robots" content="noindex,nofollow">:g' \
- base_main.php
-}
-
-src_install() {
- webapp_src_preinst
-
- # Install the docs once in the standard /usr/share/doc/${PF}/DOCDESTREE
- # location instead of installing them in every virtual host directory.
- cd docs
- dodoc *
- cd "${S}"
- rm -rf docs
-
- # Install the config files in the normal location (/etc/${PN}).
- insinto ${CONF_DIR} || die "Unable to insinto ${CONF_DIR}"
- doins ${CONF_OLD} || die "Unable to doins ${CONF_OLD}"
- newins ${CONF_OLD} ${CONF_NEW} || die "Unable to create ${CONF_NEW}"
-
- # Install BASE for webapp-config
- insinto ${MY_HTDOCSDIR} || die "Unable to insinto ${MY_HTDOCSDIR}"
- doins -r *
-
- webapp_src_install
-
- # Set the proper permissions on /etc/base/base_conf.php
- fperms 640 ${CONF_DIR}/${CONF_NEW} || FPERMS="FALSE"
- fowners root:${WWW_GROUP} ${CONF_DIR}/${CONF_NEW} || FOWNERS="FALSE"
-}
-
-pkg_postinst() {
- webapp_pkg_postinst
-
- # Notify the user of any problems at the very end.
- if [ "${APACHE_WWW_GROUP}" == "FALSE" ]; then
- ewarn ""
- ewarn "It looks like you are not using the Apache web server. For "
- ewarn "BASE to work properly, you will need to change the "
- ewarn "ownership on ${CONF_DIR}/${CONF_NEW} to root:[www user]"
- fi
-
- einfo ""
- einfo "You should edit \"${CONF_DIR}/${CONF_NEW}\" before using BASE."
- einfo ""
- einfo "To setup your initial database, direct your web browser to the"
- einfo "location you installed BASE/base_db_setup.php."
- einfo "You can find instructions in /usr/share/doc/${P}/README."
- einfo ""
-}
+++ /dev/null
-MD5 b257240c6e554f0e3a78913ecd01baa3 base-1.2.2.tar.gz 346518
-RMD160 c3e22f216e6ab67e9ded3050692bdb4479a65130 base-1.2.2.tar.gz 346518
-SHA256 63054beb2d615934ad492b239a89536e97c7fd89c4faeb67107d2b3929d80e53 base-1.2.2.tar.gz 346518
+++ /dev/null
-MD5 b257240c6e554f0e3a78913ecd01baa3 base-1.2.2.tar.gz 346518
-RMD160 c3e22f216e6ab67e9ded3050692bdb4479a65130 base-1.2.2.tar.gz 346518
-SHA256 63054beb2d615934ad492b239a89536e97c7fd89c4faeb67107d2b3929d80e53 base-1.2.2.tar.gz 346518