summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2006-01-03 04:28:08 +0000
committerBertrand Jacquin <beber@meleeweb.net>2006-01-03 04:28:08 +0000
commit0ca52f6b47cb3703a80983cabc86fa14f31d645c (patch)
treeceee8a0c18e2de580051cd4a50571c7b5ae66b9f
parentdel app-dicts/ (diff)
downloadportage-0ca52f6b47cb3703a80983cabc86fa14f31d645c.tar.xz
del portagesql
-rw-r--r--app-portage/portagesql/ChangeLog9
-rw-r--r--app-portage/portagesql/Manifest5
-rw-r--r--app-portage/portagesql/files/digest-portagesql-0.11
-rw-r--r--app-portage/portagesql/files/init-portage-db.sql26
-rw-r--r--app-portage/portagesql/metadata.xml9
-rw-r--r--app-portage/portagesql/portagesql-0.1.ebuild50
6 files changed, 0 insertions, 100 deletions
diff --git a/app-portage/portagesql/ChangeLog b/app-portage/portagesql/ChangeLog
deleted file mode 100644
index 509db9d3..00000000
--- a/app-portage/portagesql/ChangeLog
+++ /dev/null
@@ -1,9 +0,0 @@
-# ChangeLog for app-portage/portagesql
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-*portagesql-0.1 (16 Feb 2005)
-
- 16 Feb 2005; Bertrand Jacquin <beber.gentoo@gmail.com>
- +portagesql-0.1.ebuild, +files/init-portage-db.sql:
- New Ebuild.
diff --git a/app-portage/portagesql/Manifest b/app-portage/portagesql/Manifest
deleted file mode 100644
index c84d599f..00000000
--- a/app-portage/portagesql/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-MD5 1462a9de8e183bb49d1f3af37ab827fc portagesql-0.1.ebuild 1258
-MD5 1e0836d61c58c8fc9d2ba77f1815bb39 ChangeLog 279
-MD5 a26b2af52a90ba476496df1f2b945e02 metadata.xml 252
-MD5 e9b4120d72d2ebabe1b3298ba8d9636f files/init-portage-db.sql 831
-MD5 e4204585dcceb3a186869a0d0332d019 files/digest-portagesql-0.1 65
diff --git a/app-portage/portagesql/files/digest-portagesql-0.1 b/app-portage/portagesql/files/digest-portagesql-0.1
deleted file mode 100644
index 7e9f10c1..00000000
--- a/app-portage/portagesql/files/digest-portagesql-0.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c0b0bfafd386a6617bf0c13f3b2d8a63 portagesql-0.1.tar.bz2 2747
diff --git a/app-portage/portagesql/files/init-portage-db.sql b/app-portage/portagesql/files/init-portage-db.sql
deleted file mode 100644
index 70364b6f..00000000
--- a/app-portage/portagesql/files/init-portage-db.sql
+++ /dev/null
@@ -1,26 +0,0 @@
-CREATE DATABASE `portage`;
-USE mysql;
-REPLACE INTO user (Host,User,Password) VALUES ('localhost','portage','');
-FLUSH PRIVILEGES;
-GRANT SELECT,UPDATE,DELETE,INSERT,CREATE,LOCK TABLES ON portage.* TO portage@localhost;
-FLUSH PRIVILEGES;
-USE portage;
-CREATE TABLE `path_table` (
- p_id int PRIMARY KEY AUTO_INCREMENT,
- name char(255) NOT NULL UNIQUE
-);
-CREATE TABLE `category_table` (
- c_id int(7) PRIMARY KEY AUTO_INCREMENT,
- name char(255) NOT NULL UNIQUE
-) ;
-CREATE TABLE `package_name` (
-
- name char(255) NOT NULL,
- cat_id int NOT NULL,
- path_id int NOT NULL,
- data TEXT,
- FOREIGN KEY (cat_id) REFERENCES category_table (c_id) ON DELETE CASCADE,
- FOREIGN KEY (path_id) REFERENCES path_table (p_id) ON DELETE CASCADE,
- #INDEX p_index (name,cat_id,path_id),
- primary key (name, cat_id, path_id)
-) MAX_ROWS=99999999;
diff --git a/app-portage/portagesql/metadata.xml b/app-portage/portagesql/metadata.xml
deleted file mode 100644
index c6b49db3..00000000
--- a/app-portage/portagesql/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer>
- <email>beber.gentoo@gmail.com</email>
- <name>Bertrand Jacquin</name>
- <description/>
-</maintainer>
-</pkgmetadata>
diff --git a/app-portage/portagesql/portagesql-0.1.ebuild b/app-portage/portagesql/portagesql-0.1.ebuild
deleted file mode 100644
index c89e2049..00000000
--- a/app-portage/portagesql/portagesql-0.1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-DESCRIPTION="Use mysql to speed up portage"
-HOMEPAGE="http://oneofone.limitlessfx.com/gentoo-stuff/"
-SRC_URI="http://guybrush.ath.cx/pub/gentoo/distfiles/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE=""
-
-DEPEND=">=sys-apps/portage-2.0.51
- dev-db/mysql
- dev-python/mysql-python"
-RDEPEND="${DEPEND}"
-
-src_unpack()
-{
- unpack ${A}
-}
-
-src_install()
-{
- dodir /usr/lib/portage/pym
- dodir /etc/portage/
-
- cp ${WORKDIR}/${PN}/portage_db_mysql.py ${D}/usr/lib/portage/pym/portage_db_mysql.py
-
- if [ -d /etc/portage/modules ]; then
- cp /etc/portage/modules ${D}/etc/portage/modules
- fi
-
- echo "portdbapi.auxdbmodule=\"portage_db_mysql.database\"
-eclass_cache.dbmodule=\"portage_db_mysql.database\"" >> \
- ${D}/etc/portage/modules
-}
-
-pkg_postinst()
-{
- einfo "Now, you will to have mysql server always started if you want to use portage :"
- einfo " rc-update add mysql default"
- einfo
- einfo "You need to create the database too :"
- einfo " mysql -u root -p < ${FILESDIR}/init-portage-db.sql"
- einfo
- einfo "After that, you will need to enter all ebuild in mysql database (It can take a long time) :"
- einfo " emerge regen"
-}