1
0
Fork 0

removed old files

This commit is contained in:
Frank Celler 2014-02-27 13:16:54 +01:00
parent 37908e7c00
commit 3c992b0bbe
19 changed files with 80 additions and 1944 deletions

View File

@ -1,45 +1,96 @@
# Contributing
Contributing
============
We welcome bug fixes and patches from 3rd party contributors.
Please follow these guidelines if you want to contribute to ArangoDB:
## Getting started
Getting started
---------------
* Please make sure you have a GitHub account
* Please look into the ArangoDB issue tracker on GitHub for similar/identical issues
* For bugs: if the bug you found is not yet described in an existing issue, please file a new one. The new issue should include a clear description of the bug and how to reproduce it (including your environment)
* For feature requests: please clearly describe the proposed feature, additional configuration options, and side effects
* Please let us know if you plan to work an a ticket. This way we can make sure we avoid redundant work
* Create a fork our repository. You can use GitHub to do this
* Clone the fork to your development box and pull the latest changes from the ArangoDB repository. Please make sure to use the appropriate branch:
* Please look into the ArangoDB issue tracker on GitHub for similar/identical
issues.
* For bugs: if the bug you found is not yet described in an existing
issue, please file a new one. The new issue should include a clear
description of the bug and how to reproduce it (including your
environment).
* For feature requests: please clearly describe the proposed feature, additional
configuration options, and side effects.
* Please let us know if you plan to work an a ticket. This way we can make sure
we avoid redundant work.
* Create a fork our repository. You can use GitHub to do this.
* Clone the fork to your development box and pull the latest changes from the
ArangoDB repository. Please make sure to use the appropriate branch:
* the "devel" branch is normally used for new features
* bug fixes should be done in the "devel" first, before being applied to master or other branches
* If missing, install the required prerequisites. They are listed [here](https://github.com/triAGENS/ArangoDB/wiki/Compiling).
* configure and make your local clone. If you intend to modify the parser files, please make sure to activate the --enable-maintainer-mode configure option. In this case, you also need to have Python installed.
* Make sure the unmodified clone works locally before making any code changes. You can do so by running the included test suite (i.e. make unittests)
* If you intend to do documentation changes, you also must install Doxygen in the most recent version.
## Making Changes
* bug fixes should be done in the "devel" first, before being applied to
master or other branches
* If missing, install the required prerequisites. They are listed
[here](https://github.com/triAGENS/ArangoDB/wiki/Compiling).
* configure and make your local clone. If you intend to modify the parser files,
please make sure to activate the --enable-maintainer-mode configure option. In
this case, you also need to have Python installed.
* Make sure the unmodified clone works locally before making any code
changes. You can do so by running the included test suite (i.e. make
unittests)
* If you intend to do documentation changes, you also must install Doxygen in
the most recent version.
Making Changes
--------------
* Create a new branch in your fork
* Develop and test your modifications there
* Commit as you like, but preferrably in logical chunks. Use meaningful commit messages and make sure you do not commit unneccesary files (e.g. object files). It is normally a good idea to reference the issue number from the commit message so the issues will get updated automatically with comments
* If the modifications change any documented behavior or add new features, document the changes. The documentation can be found in arangod/Documentation directory. To recreate the documentation locally, run make doxygen. This will re-create all documentation files in the Doxygen directory in your repository. You can inspect the documentation in this folder using a text editor or a browser
* When done, run the complete test suite and make sure all tests pass
* When finished, push the changes to your GitHub repository and send a pull request from your fork to the ArangoDB repository. Please make sure to select the appropriate branches there
* You must use the Apache License for your changes
## Reporting Bugs
* Commit as you like, but preferrably in logical chunks. Use meaningful commit
messages and make sure you do not commit unneccesary files (e.g. object
files). It is normally a good idea to reference the issue number from the
commit message so the issues will get updated automatically with comments.
When reporting bugs, please use our issue tracker on GitHub.
Please make sure to include to include the version number of ArangoDB in your bug report, along with the platform you are using (e.g. `Linux OpenSuSE x86_64`).
Please also include the ArangoDB startup mode (daemon, console, supervisor mode) plus any special configuration.
This will help us reproducing and finding bugs.
* If the modifications change any documented behavior or add new features,
document the changes. The documentation can be found in arangod/Documentation
directory. To recreate the documentation locally, run make doxygen. This will
re-create all documentation files in the Doxygen directory in your
repository. You can inspect the documentation in this folder using a text
editor or a browser.
## Additional Resources
* When done, run the complete test suite and make sure all tests pass.
* When finished, push the changes to your GitHub repository and send a pull
request from your fork to the ArangoDB repository. Please make sure to select
the appropriate branches there.
* You must use the Apache License for your changes.
Reporting Bugs
--------------
When reporting bugs, please use our issue tracker on GitHub. Please make sure
to include the version number of ArangoDB in your bug report, along with the
platform you are using (e.g. `Linux OpenSuSE x86_64`). Please also include the
ArangoDB startup mode (daemon, console, supervisor mode) plus any special
configuration. This will help us reproducing and finding bugs.
Additional Resources
--------------------
* [ArangoDB website](https://www.arangodb.org/)
* [ArangoDB on Twitter](https://twitter.com/arangodb)
* [General GitHub documentation](https://help.github.com/)
* [GitHub pull request documentation](https://help.github.com/send-pull-requests/)

View File

@ -1,57 +0,0 @@
SHELL=/bin/bash
DST_ID=avocadodb
REPO=git://github.com/triAGENS/AvocadoDB.git
# defaults
BASE_DIR=$(HOME)/_build/$(DST_ID)
DST_DIR=/usr/local/_build/$(DST_ID)
DB_DIR=/tmp/vocabase
PIDFILE=$(DST_DIR)/app.pid
LOGFILE=$(DST_DIR)/output.log
HISTORY=$(BASE_DIR)/latest-build-hash
LAST_BUILT_COMMIT=$(shell cat $(HISTORY))
LAST_COMMIT=$(shell git ls-remote $(REPO) | head -n 1 | awk '{print $$1}')
.PHONY: install update clone configure build all stop start
clone:
cd `dirname $(BASE_DIR)` && \
git clone $(REPO) $(DST_ID) || echo "Project already clonned"
update:
cd $(BASE_DIR) && \
git pull $(REPO)
@echo Checking for updated HEAD $(LAST_COMMIT)
if [[ "$(LAST_COMMIT)" == "$(LAST_BUILT_COMMIT)" ]]; then exit 1; fi
echo "$(LAST_COMMIT)" > $(HISTORY)
configure:
cd $(BASE_DIR) && ./configure --prefix=$(DST_DIR)
build:
cd $(BASE_DIR) && make
install:
cd $(BASE_DIR) && make install
cd $(BASE_DIR) && make clean
start:
@echo Cleaning up
[ -d "$(DB_DIR)" ] && rm -rf $(DB_DIR) || echo "Directory $(DB_DIR) already cleaned up"
mkdir $(DB_DIR)
@echo Starting...
bash -c '$(DST_DIR)/sbin/avocado $(DB_DIR) 1> $(LOGFILE) & echo $$! > $(PIDFILE) &'
@echo Started
@echo DB Dir: $(DB_DIR)
@echo Logs are in $(LOGFILE)
@echo PID File in $(PIDFILE)
stop:
kill `cat $(PIDFILE)`
@echo Stopped
all: clone update configure build install

View File

@ -3,7 +3,7 @@ update-rc.d arangodb start 99 2 3 4 5 . stop 00 0 1 6 . >/dev/null
/etc/init.d/arangodb start
echo "
ArangoDB (http://www.arangodb.org)
ArangoDB 2 (http://www.arangodb.org)
A multi-purpose open-source database with a flexible data model for documents,
graphs, and key-values.

View File

@ -1,4 +1,3 @@
#!/bin/sh
/etc/init.d/arangodb stop

View File

@ -100,4 +100,3 @@ case "$1" in
esac
exit 0

View File

@ -1,21 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>org.arangodb</string>
<key>ProgramArguments</key>
<array>
<string>@BINARY@</string>
<string>-c</string>
<string>@CONFIGDIR@/arangod.conf</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>

View File

@ -1,20 +0,0 @@
#!/bin/bash
rm -f 'download/robots.txt'
test -d stable || mkdir stable || exit 1
mv download/repositories/home:/fceller/* stable || exit 1
rm -rf 'download'
rm -rf 'stable/xUbuntu_10.04'
rm -rf 'stable/CentOS_CentOS-5'
rm -rf 'stable/RedHat_RHEL-5'
rm -rf 'stable/SLE_10_SDK'
find stable -name "index.html*" -exec 'rm' '{}' ';'
find stable -name "home:fceller.repo*" -exec 'rm' '{}' ';'
find stable -name "*.meta4" -exec 'rm' '{}' ';'
find stable -name "*.metalink" -exec 'rm' '{}' ';'
find stable -name "*.mirrorlist" -exec 'rm' '{}' ';'
find stable -name "repocache" -prune -exec 'rmdir' '{}' ';'

View File

@ -1,19 +0,0 @@
#!/bin/bash
DISTROS="CentOS_CentOS-6 Fedora_16 Fedora_17 openSUSE_11.4 openSUSE_12.1 openSUSE_12.2 openSUSE_Factory openSUSE_Tumbleweed RedHat_RHEL-6 SLE_11 SLE_11_SP1 SLE_11_SP2"
test -d stable || mkdir stable || exit 1
for distro in $DISTROS; do
tag=`echo $distro | sed -e 's/openSUSE_/openSUSE:/' | sed -e 's/SLE_11/SUSE:SLE_11/' | sed -e 's/SLE_11_/SLE_11:/'`
test -d stable/$distro || mkdir stable/$distro || exit 1
echo "[arangodb]
name=ArangoDB Project ($tag)
type=rpm-md
baseurl=http://www.arangodb.org/repositories/stable/$distro/
gpgcheck=1
gpgkey=http://www.arangodb.org/repositories/stable/$distro/repodata/repomd.xml.key
enabled=1" > stable/$distro/arangodb.repo
done

View File

@ -1,36 +0,0 @@
#!/bin/bash
DISTROS="openSUSE_Tumbleweed openSUSE_Factory openSUSE_12.2 openSUSE_12.1 openSUSE_11.4 SLE_11_SP2 SLE_11_SP1 SLE_11"
test -d stable || mkdir stable || exit 1
test -d stable/ymp || mkdir stable/ymp || exit 1
for distro in $DISTROS; do
tag=`echo $distro | sed -e 's/openSUSE_/openSUSE:/' | sed -e 's/SLE_11/SUSE:SLE_11/' | sed -e 's/SLE_11_/SLE_11:/'`
test -d stable/ymp/$distro || mkdir stable/ymp/$distro || exit 1
echo "<metapackage xmlns:os=\"http://opensuse.org/Standards/One_Click_Install\" xmlns=\"http://opensuse.org/Standards/One_Click_Install\">
<group>
<repositories>
<repository recommended=\"true\">
<name>ArangoDB</name>
<summary>ArangoDB Project</summary>
<description>ArangoDB Repository for $tag</description>
<url>http://www.arangodb.org/repositories/stable/repositories/$distro/</url>
</repository>
</repositories>
<software>
<item>
<name>arangodb</name>
<summary>An open-source, multi-model NoSQL database</summary>
<description>ArangoDB is a durable, reliable, transactional multi-model database. It's key-features are: Schema-free schemata, an integrated application server, flexible data modelling, free index choice, and configurable durability.
The ArangoDB consists of a server, a separate shell, which allows you to administrate the server, and a set of client API for various languages.
It is written in C/C++.</description>
</item>
</software>
</group>
</metapackage>" > stable/ymp/$distro/arangodb.ymp
done

View File

@ -1,556 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="style.css" media="all">
<script src="effects.js" type="text/javascript"></script>
</head>
<body>
<div class="soo_box">
<p class="soo_line soo_line_visible">Select Your Operating System</p>
<div class="soo_flavour_line">
<div class="soo_button" id="soo_button_Source"><img src="/repositories/images/distributions/source.png"
alt="Source"/>
<p>Source</p></div>
<div class="soo_button" id="soo_button_MacOSX"><img src="/repositories/images/distributions/macosx.png"
alt="MacOSX"/>
<p>Mac OS X</p></div>
<div class="soo_button" id="soo_button_Windows"><img src="/repositories/images/distributions/win8.png"
alt="Windows"/>
<p>Windows</p></div>
<div class="soo_button" id="soo_button_CentOS"><img src="/repositories/images/distributions/centos.png"
alt="CentOS"/>
<p>CentOS</p></div>
<div class="soo_button" id="soo_button_Debian"><img src="/repositories/images/distributions/debian.png"
alt="Debian"/>
<p>Debian</p></div>
<div class="soo_button" id="soo_button_Fedora"><img src="/repositories/images/distributions/fedora.png"
alt="Fedora"/>
<p>Fedora</p></div>
<div class="soo_button" id="soo_button_Mandriva"><img src="/repositories/images/distributions/mandriva.png"
alt="Mandriva"/>
<p>Mandriva</p></div>
</div>
<div class="soo_flavour_line">
<div class="soo_button" id="soo_button_openSUSE"><img src="/repositories/images/distributions/opensuse.png"
alt="openSUSE"/>
<p>openSUSE</p></div>
<div class="soo_button" id="soo_button_RHEL"><img src="/repositories/images/distributions/redhat.png"
alt="RHEL"/>
<p>RHEL</p></div>
<div class="soo_button" id="soo_button_SLE"><img src="/repositories/images/distributions/suse.png" alt="SLE"/>
<p>SLE</p></div>
<div class="soo_button" id="soo_button_Ubuntu"><img src="/repositories/images/distributions/ubuntu.png"
alt="Ubuntu"/>
<p>Ubuntu</p></div>
<div class="soo_button" id="soo_button_Livecd"><img src="/repositories/images/distributions/cd.png"
alt="Livecd"/>
<p>Live CD</p></div>
</div>
</div>
<div style="clear: both"/>
<div id="soo_ymp" class="soo_box">
<p class="soo_line" id="soo_section_toggle_ymp">Install using One Click Install<span></span></p>
<div id="soo_section_ymp">
<a class="soo_ymplink soo_distro soo_distro_openSUSE soo_distro_openSUSE_Tumbleweed"
href="http://www.arangodb.org/repositories/stable/ymp/openSUSE_Tumbleweed/arangodb.ymp">openSUSE&nbsp;Tumbleweed</a>
<a class="soo_ymplink soo_distro soo_distro_openSUSE soo_distro_openSUSE_Factory"
href="http://www.arangodb.org/repositories/stable/ymp/openSUSE_Factory/arangodb.ymp">openSUSE&nbsp;Factory</a>
<a class="soo_ymplink soo_distro soo_distro_openSUSE soo_distro_openSUSE_12.2"
href="http://www.arangodb.org/repositories/stable/ymp/openSUSE_12.2/arangodb.ymp">openSUSE&nbsp;12.2</a>
<a class="soo_ymplink soo_distro soo_distro_openSUSE soo_distro_openSUSE_12.1"
href="http://www.arangodb.org/repositories/stable/ymp/openSUSE_12.1/arangodb.ymp">openSUSE&nbsp;12.1</a>
<a class="soo_ymplink soo_distro soo_distro_openSUSE soo_distro_openSUSE_11.4"
href="http://www.arangodb.org/repositories/stable/ymp/openSUSE_11.4/arangodb.ymp">openSUSE&nbsp;11.4</a>
<a class="soo_ymplink soo_distro soo_distro_SLE soo_distro_SLE_11_SP2"
href="http://www.arangodb.org/repositories/stable/ymp/SLE_11_SP2/arangodb.ymp">SLE&nbsp;11&nbsp;SP2</a>
<a class="soo_ymplink soo_distro soo_distro_SLE soo_distro_SLE_11_SP1"
href="http://www.arangodb.org/repositories/stable/ymp/SLE_11_SP1/arangodb.ymp">SLE&nbsp;11&nbsp;SP1</a>
<a class="soo_ymplink soo_distro soo_distro_SLE soo_distro_SLE_11"
href="http://www.arangodb.org/repositories/stable/ymp/SLE_11/arangodb.ymp">SLE&nbsp;11</a>
</div>
</div>
<div id="soo_repo" class="soo_box">
<p class="soo_line" id="soo_section_toggle_repo">Add repository and install manually<span></span></p>
<div id="soo_section_repo">
<div class="soo_repoinfo soo_distro soo_distro_Ubuntu soo_distro_xUbuntu_12.10">
<p>For <strong>Ubuntu&nbsp;12.10</strong> run the following as <strong>root</strong>:</p>
<pre>echo &#x27;deb http://www.arangodb.org/repositories/stable/xUbuntu_12.10/ /&#x27; &gt;&gt; /etc/apt/sources.list.d/arangodb.list
apt-get update
apt-get install arangodb</pre>
<p>You can add the repository key to apt like this: </p>
<pre>wget http://www.arangodb.org/repositories/stable/xUbuntu_12.10/Release.key
apt-key add - < Release.key </pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_Ubuntu soo_distro_xUbuntu_12.04">
<p>For <strong>Ubuntu&nbsp;12.04</strong> run the following as <strong>root</strong>:</p>
<pre>echo &#x27;deb http://www.arangodb.org/repositories/stable/xUbuntu_12.04/ /&#x27; &gt;&gt; /etc/apt/sources.list.d/arangodb.list
apt-get update
apt-get install arangodb</pre>
<p>You can add the repository key to apt like this: </p>
<pre>wget http://www.arangodb.org/repositories/stable/xUbuntu_12.04/Release.key
apt-key add - < Release.key </pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_Ubuntu soo_distro_xUbuntu_11.10">
<p>For <strong>Ubuntu&nbsp;11.10</strong> run the following as <strong>root</strong>:</p>
<pre>echo &#x27;deb http://www.arangodb.org/repositories/stable/xUbuntu_11.10/ /&#x27; &gt;&gt; /etc/apt/sources.list.d/arangodb.list
apt-get update
apt-get install arangodb</pre>
<p>You can add the repository key to apt like this: </p>
<pre>wget http://www.arangodb.org/repositories/stable/xUbuntu_11.10/Release.key
apt-key add - < Release.key </pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_Ubuntu soo_distro_xUbuntu_11.04">
<p>For <strong>Ubuntu&nbsp;11.04</strong> run the following as <strong>root</strong>:</p>
<pre>echo &#x27;deb http://www.arangodb.org/repositories/stable/xUbuntu_11.04/ /&#x27; &gt;&gt; /etc/apt/sources.list.d/arangodb.list
apt-get update
apt-get install arangodb</pre>
<p>You can add the repository key to apt like this: </p>
<pre>wget http://www.arangodb.org/repositories/stable/xUbuntu_11.04/Release.key
apt-key add - < Release.key </pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_openSUSE soo_distro_openSUSE_Tumbleweed">
<p>For <strong>openSUSE&nbsp;Tumbleweed</strong> run the following as <strong>root</strong>:</p>
<pre>zypper addrepo http://www.arangodb.org/repositories/stable/openSUSE_Tumbleweed/arangodb.repo
zypper refresh
zypper install arangodb</pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_openSUSE soo_distro_openSUSE_Factory">
<p>For <strong>openSUSE&nbsp;Factory</strong> run the following as <strong>root</strong>:</p>
<pre>zypper addrepo http://www.arangodb.org/repositories/stable/openSUSE_Factory/arangodb.repo
zypper refresh
zypper install arangodb</pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_openSUSE soo_distro_openSUSE_12.2">
<p>For <strong>openSUSE&nbsp;12.2</strong> run the following as <strong>root</strong>:</p>
<pre>zypper addrepo http://www.arangodb.org/repositories/stable/openSUSE_12.2/arangodb.repo
zypper refresh
zypper install arangodb</pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_openSUSE soo_distro_openSUSE_12.1">
<p>For <strong>openSUSE&nbsp;12.1</strong> run the following as <strong>root</strong>:</p>
<pre>zypper addrepo http://www.arangodb.org/repositories/stable/openSUSE_12.1/arangodb.repo
zypper refresh
zypper install arangodb</pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_openSUSE soo_distro_openSUSE_11.4">
<p>For <strong>openSUSE&nbsp;11.4</strong> run the following as <strong>root</strong>:</p>
<pre>zypper addrepo http://www.arangodb.org/repositories/stable/openSUSE_11.4/arangodb.repo
zypper refresh
zypper install arangodb</pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_SLE soo_distro_SLE_11_SP2">
<p>For <strong>SLE&nbsp;11&nbsp;SP2</strong> run the following as <strong>root</strong>:</p>
<pre>zypper addrepo http://www.arangodb.org/repositories/stable/SLE_11_SP2/arangodb.repo
zypper refresh
zypper install arangodb</pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_SLE soo_distro_SLE_11_SP1">
<p>For <strong>SLE&nbsp;11&nbsp;SP1</strong> run the following as <strong>root</strong>:</p>
<pre>zypper addrepo http://www.arangodb.org/repositories/stable/SLE_11_SP1/arangodb.repo
zypper refresh
zypper install arangodb</pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_SLE soo_distro_SLE_11">
<p>For <strong>SLE&nbsp;11</strong> run the following as <strong>root</strong>:</p>
<pre>zypper addrepo http://www.arangodb.org/repositories/stable/SLE_11/arangodb.repo
zypper refresh
zypper install arangodb</pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_RHEL soo_distro_RedHat_RHEL-6">
<p>For <strong>RedHat&nbsp;RHEL-6</strong> run the following as <strong>root</strong>:</p>
<pre>cd /etc/yum.repos.d/
wget http://www.arangodb.org/repositories/stable/RedHat_RHEL-6/arangodb.repo
yum install arangodb</pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_Mandriva soo_distro_Mandriva_2011">
<p>For <strong>Mandriva&nbsp;2011</strong> run the following as <strong>root</strong>:</p>
<pre>urpmi.addmedia arangodb http://www.arangodb.org/repositories/stable/Mandriva_2011/
urpmi.update -a
urpmi arangodb</pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_Fedora soo_distro_Fedora_17">
<p>For <strong>Fedora&nbsp;17</strong> run the following as <strong>root</strong>:</p>
<pre>cd /etc/yum.repos.d/
wget http://www.arangodb.org/repositories/stable/Fedora_17/arangodb.repo
yum install arangodb</pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_Fedora soo_distro_Fedora_16">
<p>For <strong>Fedora&nbsp;16</strong> run the following as <strong>root</strong>:</p>
<pre>cd /etc/yum.repos.d/
wget http://www.arangodb.org/repositories/stable/Fedora_16/arangodb.repo
yum install arangodb</pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_Debian soo_distro_Debian_6.0">
<p>For <strong>Debian&nbsp;6.0</strong> run the following as <strong>root</strong>:</p>
<pre>echo &#x27;deb http://www.arangodb.org/repositories/stable/Debian_6.0/ /&#x27; &gt;&gt; /etc/apt/sources.list.d/arangodb.list
apt-get update
apt-get install arangodb</pre>
<p>You can add the repository key to apt like this: </p>
<pre>wget http://www.arangodb.org/repositories/stable/Debian_6.0/Release.key
apt-key add - < Release.key </pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_CentOS soo_distro_CentOS_CentOS-6">
<p>For <strong>CentOS-6</strong> run the following as <strong>root</strong>:</p>
<pre>cd /etc/yum.repos.d/
wget http://www.arangodb.org/repositories/stable/CentOS_CentOS-6/arangodb.repo
yum install arangodb</pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_MacOSX soo_distro_MacOSX_MacOSX-10">
<p>For <strong>Mac OS X</strong> you can use use homebrew to install ArangoDB. Run the following:</p>
<pre>brew install arangodb</pre>
</div>
<div class="soo_repoinfo soo_distro soo_distro_Windows soo_distro_Windows-Win8">
<p>A first version of ArangoDB for Windows is available. Please contact us, if you are interested in trying
it.</pre>
</div>
</div>
</div>
<div id="soo_pkg" class="soo_box">
<p class="soo_line" id="soo_section_toggle_pkg">Grab binary packages directly<span></span></p>
<div id="soo_section_pkg">
<table>
<tr class="soo_pkginfo soo_distro soo_distro_Ubuntu soo_distro_xUbuntu_12.10">
<td>Packages for <strong>Ubuntu&nbsp;12.10</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/xUbuntu_12.10/amd64/arangodb_1.1.0-0_amd64.deb">arangodb_1.1.0-0_amd64.deb</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/xUbuntu_12.10/i386/arangodb_1.1.0-0_i386.deb">arangodb_1.1.0-0_i386.deb</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_Ubuntu soo_distro_xUbuntu_12.04">
<td>Packages for <strong>Ubuntu&nbsp;12.04</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/xUbuntu_12.04/amd64/arangodb_1.1.0-0_amd64.deb">arangodb_1.1.0-0_amd64.deb</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/xUbuntu_12.04/i386/arangodb_1.1.0-0_i386.deb">arangodb_1.1.0-0_i386.deb</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_Ubuntu soo_distro_xUbuntu_11.10">
<td>Packages for <strong>Ubuntu&nbsp;11.10</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/xUbuntu_11.10/amd64/arangodb_1.1.0-0_amd64.deb">arangodb_1.1.0-0_amd64.deb</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/xUbuntu_11.10/i386/arangodb_1.1.0-0_i386.deb">arangodb_1.1.0-0_i386.deb</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_Ubuntu soo_distro_xUbuntu_11.04">
<td>Packages for <strong>Ubuntu&nbsp;11.04</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/xUbuntu_11.04/amd64/arangodb_1.1.0-0_amd64.deb">arangodb_1.1.0-0_amd64.deb</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/xUbuntu_11.04/i386/arangodb_1.1.0-0_i386.deb">arangodb_1.1.0-0_i386.deb</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_openSUSE soo_distro_openSUSE_Tumbleweed">
<td>Packages for <strong>openSUSE&nbsp;Tumbleweed</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/openSUSE_Tumbleweed/i586/arangodb-1.1.0-35.1.i586.rpm">arangodb-1.1.0-35.1.i586.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/openSUSE_Tumbleweed/src/arangodb-1.1.0-35.1.src.rpm">arangodb-1.1.0-35.1.src.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/openSUSE_Tumbleweed/x86_64/arangodb-1.1.0-35.1.x86_64.rpm">arangodb-1.1.0-35.1.x86_64.rpm</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_openSUSE soo_distro_openSUSE_Factory">
<td>Packages for <strong>openSUSE&nbsp;Factory</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/openSUSE_Factory/i586/arangodb-1.1.0-35.1.i586.rpm">arangodb-1.1.0-35.1.i586.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/openSUSE_Factory/src/arangodb-1.1.0-35.1.src.rpm">arangodb-1.1.0-35.1.src.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/openSUSE_Factory/x86_64/arangodb-1.1.0-35.1.x86_64.rpm">arangodb-1.1.0-35.1.x86_64.rpm</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_openSUSE soo_distro_openSUSE_12.2">
<td>Packages for <strong>openSUSE&nbsp;12.2</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/openSUSE_12.2/i586/arangodb-1.1.0-35.1.i586.rpm">arangodb-1.1.0-35.1.i586.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/openSUSE_12.2/src/arangodb-1.1.0-35.1.src.rpm">arangodb-1.1.0-35.1.src.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/openSUSE_12.2/x86_64/arangodb-1.1.0-35.1.x86_64.rpm">arangodb-1.1.0-35.1.x86_64.rpm</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_openSUSE soo_distro_openSUSE_12.1">
<td>Packages for <strong>openSUSE&nbsp;12.1</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/openSUSE_12.1/i586/arangodb-1.1.0-35.1.i586.rpm">arangodb-1.1.0-35.1.i586.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/openSUSE_12.1/src/arangodb-1.1.0-35.1.src.rpm">arangodb-1.1.0-35.1.src.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/openSUSE_12.1/x86_64/arangodb-1.1.0-35.1.x86_64.rpm">arangodb-1.1.0-35.1.x86_64.rpm</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_openSUSE soo_distro_openSUSE_11.4">
<td>Packages for <strong>openSUSE&nbsp;11.4</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/openSUSE_11.4/i586/arangodb-1.1.0-35.1.i586.rpm">arangodb-1.1.0-35.1.i586.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/openSUSE_11.4/src/arangodb-1.1.0-35.1.src.rpm">arangodb-1.1.0-35.1.src.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/openSUSE_11.4/x86_64/arangodb-1.1.0-35.1.x86_64.rpm">arangodb-1.1.0-35.1.x86_64.rpm</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_SLE soo_distro_SLE_11_SP2">
<td>Packages for <strong>SLE&nbsp;11&nbsp;SP2</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/SLE_11_SP2/i586/arangodb-1.1.0-35.1.i586.rpm">arangodb-1.1.0-35.1.i586.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/SLE_11_SP2/src/arangodb-1.1.0-35.1.src.rpm">arangodb-1.1.0-35.1.src.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/SLE_11_SP2/x86_64/arangodb-1.1.0-35.1.x86_64.rpm">arangodb-1.1.0-35.1.x86_64.rpm</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_SLE soo_distro_SLE_11_SP1">
<td>Packages for <strong>SLE&nbsp;11&nbsp;SP1</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/SLE_11_SP1/i586/arangodb-1.1.0-35.1.i586.rpm">arangodb-1.1.0-35.1.i586.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/SLE_11_SP1/src/arangodb-1.1.0-35.1.src.rpm">arangodb-1.1.0-35.1.src.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/SLE_11_SP1/x86_64/arangodb-1.1.0-35.1.x86_64.rpm">arangodb-1.1.0-35.1.x86_64.rpm</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_SLE soo_distro_SLE_11">
<td>Packages for <strong>SLE&nbsp;11</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/SLE_11/i586/arangodb-1.1.0-35.1.i586.rpm">arangodb-1.1.0-35.1.i586.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/SLE_11/src/arangodb-1.1.0-35.1.src.rpm">arangodb-1.1.0-35.1.src.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/SLE_11/x86_64/arangodb-1.1.0-35.1.x86_64.rpm">arangodb-1.1.0-35.1.x86_64.rpm</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_RHEL soo_distro_RedHat_RHEL-6">
<td>Packages for <strong>RedHat&nbsp;RHEL-6</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/RedHat_RHEL-6/i686/arangodb-1.1.0-35.1.i686.rpm">arangodb-1.1.0-35.1.i686.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/RedHat_RHEL-6/src/arangodb-1.1.0-35.1.src.rpm">arangodb-1.1.0-35.1.src.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/RedHat_RHEL-6/x86_64/arangodb-1.1.0-35.1.x86_64.rpm">arangodb-1.1.0-35.1.x86_64.rpm</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_Mandriva soo_distro_Mandriva_2011">
<td>Packages for <strong>Mandriva&nbsp;2011</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/Mandriva_2011/src/arangodb-1.1.0-35.1.src.rpm">arangodb-1.1.0-35.1.src.rpm</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_Fedora soo_distro_Fedora_17">
<td>Packages for <strong>Fedora&nbsp;17</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/Fedora_17/i686/arangodb-1.1.0-35.1.i686.rpm">arangodb-1.1.0-35.1.i686.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/Fedora_17/src/arangodb-1.1.0-35.1.src.rpm">arangodb-1.1.0-35.1.src.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/Fedora_17/x86_64/arangodb-1.1.0-35.1.x86_64.rpm">arangodb-1.1.0-35.1.x86_64.rpm</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_Fedora soo_distro_Fedora_16">
<td>Packages for <strong>Fedora&nbsp;16</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/Fedora_16/i686/arangodb-1.1.0-35.1.i686.rpm">arangodb-1.1.0-35.1.i686.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/Fedora_16/src/arangodb-1.1.0-35.1.src.rpm">arangodb-1.1.0-35.1.src.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/Fedora_16/x86_64/arangodb-1.1.0-35.1.x86_64.rpm">arangodb-1.1.0-35.1.x86_64.rpm</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_Debian soo_distro_Debian_6.0">
<td>Packages for <strong>Debian&nbsp;6.0</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/Debian_6.0/amd64/arangodb_1.1.0-0_amd64.deb">arangodb_1.1.0-0_amd64.deb</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/Debian_6.0/i386/arangodb_1.1.0-0_i386.deb">arangodb_1.1.0-0_i386.deb</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_CentOS soo_distro_CentOS_CentOS-6">
<td>Packages for <strong>CentOS-6</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/CentOS_CentOS-6/i686/arangodb-1.1.0-35.1.i686.rpm">arangodb-1.1.0-35.1.i686.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/CentOS_CentOS-6/src/arangodb-1.1.0-35.1.src.rpm">arangodb-1.1.0-35.1.src.rpm</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/CentOS_CentOS-6/x86_64/arangodb-1.1.0-35.1.x86_64.rpm">arangodb-1.1.0-35.1.x86_64.rpm</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_MacOSX soo_distro_MacOSX_MacOSX-10">
<td>Packages for <strong>Mac OS X</strong>:</td>
<td>
<ul>
<li>
<a href="http://www.arangodb.org/repositories/stable/MacOSX/arangodb-1.1-0-MacOSX-10.6-x86_64.dmg">arangodb-1.1-0-MacOSX-10.6-x86_64.dmg</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/MacOSX/arangodb-1.1-0-MacOSX-10.7-x86_64.dmg">arangodb-1.1-0-MacOSX-10.7-x86_64.dmg</a>
</li>
<li>
<a href="http://www.arangodb.org/repositories/stable/MacOSX/arangodb-1.1-0-MacOSX-10.8-x86_64.dmg">arangodb-1.1-0-MacOSX-10.8-x86_64.dmg</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_Windows soo_distro_Windows-Win8">
<td>Packages for <strong>Windows</strong>:</td>
<td>
<ul>
<li>Coming Soon</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_Source">
<td>
<ul>
<li><a href="http://www.arangodb.org/repositories/stable/Source/ArangoDB-1.1.0.tar.bz2">ArangoDB-1.1.0.tar.bz2</a>
</li>
<li><a href="http://www.arangodb.org/repositories/stable/Source/ArangoDB-1.1.0.tar.gz">ArangoDB-1.1.0.tar.gz</a>
</li>
<li><a href="http://www.arangodb.org/repositories/stable/Source/ArangoDB-1.1.0.zip">ArangoDB-1.1.0.zip</a>
</li>
</ul>
</td>
</tr>
<tr class="soo_pkginfo soo_distro soo_distro_Livecd">
<td>
<ul>
<li><a href="http://www.arangodb.org/repositories/stable/iso/ArangoDB_1.1.0_live.i686-1.0.1.iso ">ArangoDB 1.1.0 Live CD based on openSUSE 12.2 32 bit</a><p> 32Bit 429 MB MD5: 221a0fbf322bdb8bbc26a10f815428e9</p>
</li>
<li><a href="http://www.arangodb.org/repositories/stable/iso/ArangoDB_1.1.0_live.x86_64-1.0.1.iso ">ArangoDB 1.1.0 Live CD based on openSUSE 12.2 64 bit </a><p> 64Bit 432 MB MD5: 595d2bd4d296b4d88db9381c484261c0</p>
</li>
</ul>
</td>
</tr>
</table>
</div>
</div>
</body>
</html>

View File

@ -1,9 +0,0 @@
#!/bin/bash
if test "$1" == ""; then
echo "usage: $0 <obs-server>"
exit 1
fi
wget -r -np "http://$1/repositories/home:/fceller/"
mv "$1" download

View File

@ -1,206 +0,0 @@
#!/bin/bash
echo "########################################################"
echo "# build.sh #"
echo "########################################################"
echo
OPTIONS="--disable-dependency-tracking --disable-relative"
PREFIX="--prefix=/usr --localstatedir=/var --sysconfdir=/etc"
RESULTS="arangod arangosh arangoimp"
USE_ICECC="no"
EXTRA_MAKE_OPTIONS=""
while [ 0 -lt "$#" ]; do
opt="$1"
shift
case "$opt" in
--enable-icecc)
USE_ICECC="yes"
;;
*)
echo "$0: unknown option '$opt'"
echo "usage: "
echo " $0 [option] build project"
echo "options:"
echo " --enable-icecc using icecc for compiling"
echo ""
exit 1
;;
esac
done
. config/detect_distro.sh
export CPPFLAGS=""
export LDFLAGS=""
export MAKEJ=2
export LDD_INFO="no"
HAS_ICECC=$(ps aux | grep -v "grep" | grep iceccd)
if [ "x$HAS_ICECC" != "x" -a "x$USE_ICECC" == "xyes" ] ; then
export PATH=/usr/lib/icecc/bin/:/opt/icecream/bin/:$PATH
export MAKEJ=14
echo "########################################################"
echo "Using ICECC"
echo " PATH=$PATH"
echo "########################################################"
fi
echo
echo "########################################################"
echo "Building on $TRI_OS_LONG"
echo "########################################################"
echo
case $TRI_OS_LONG in
Linux-ArchLinux*)
echo "Using configuration for Arch Linux"
OPTIONS="$OPTIONS --disable-mruby"
LDD_INFO="yes"
;;
Linux-CentOS-6*)
echo "Using configuration for Centos"
OPTIONS="$OPTIONS --enable-all-in-one-libev --enable-all-in-one-v8 --enable-all-in-one-icu --disable-mruby"
LDD_INFO="yes"
;;
Linux-CentOS-5*)
echo "Using configuration for Centos"
OPTIONS="$OPTIONS --enable-all-in-one-libev --enable-all-in-one-v8 --enable-all-in-one-icu --disable-mruby"
LDD_INFO="yes"
# bugfix for readline on CentOS 5:
export READLINE_LDFLAGS="-lncurses"
;;
Darwin*)
echo "Using configuration for DARWIN"
CPPFLAGS='-isystem /usr/include -isystem /opt/local/include -Wno-deprecated-declarations'
LDFLAGS='-L/usr/lib '
OPTIONS="$OPTIONS --enable-all-in-one-libev --enable-all-in-one-v8 --enable-all-in-one-icu --disable-mruby"
# we need 64 bits
TRI_MACH="x86_64"
X=$(uname -r)
OPTIONS="$OPTIONS --build=x86_64-apple-darwin${X}"
;;
Linux-Debian-6*)
echo "Using configuration for Debian"
OPTIONS="$OPTIONS --enable-all-in-one-libev --enable-all-in-one-v8 --disable-mruby"
LDD_INFO="yes"
;;
Linux-Debian*)
echo "Using configuration for Debian"
OPTIONS="$OPTIONS --enable-all-in-one-libev --enable-all-in-one-v8 --enable-all-in-one-icu --disable-mruby"
LDD_INFO="yes"
;;
Linux-Fedora*)
echo "Using configuration for Fedora"
OPTIONS="$OPTIONS --enable-all-in-one-libev --enable-all-in-one-v8 --disable-all-in-one-icu --disable-mruby "
LDD_INFO="yes"
;;
Linux-LinuxMint-13*)
echo "Using configuration for LinuxMint 13"
OPTIONS="$OPTIONS --disable-mruby"
LDD_INFO="yes"
;;
Linux-openSUSE-12*)
echo "Using configuration for openSuSE 12.X"
OPTIONS="$OPTIONS --enable-all-in-one-libev --enable-all-in-one-v8 --disable-all-in-one-icu --disable-mruby "
LDD_INFO="yes"
;;
Linux-openSUSE-11*)
echo "Using configuration for openSuSE 11.X"
OPTIONS="$OPTIONS --disable-mruby"
LDD_INFO="yes"
;;
Linux-Ubuntu-*)
echo "Using configuration for Ubuntu"
OPTIONS="$OPTIONS --enable-all-in-one-libev --enable-all-in-one-v8 --disable-mruby"
LDD_INFO="yes"
;;
*)
echo "Using default configuration"
OPTIONS="$OPTIONS --enable-error-on-warning"
;;
esac
#if [ ! -f configure ] ; then
echo "########################################################"
echo "create configure script:"
echo " make setup"
echo "########################################################"
echo
make setup || exit 1
#fi
echo
echo "########################################################"
echo "CPPFLAGS: $CPPFLAGS"
echo "LDFLAGS: $LDFLAGS"
echo "OPTIONS: $OPTIONS"
echo "########################################################"
echo
echo "########################################################"
echo "configure:"
echo " ./configure $PREFIX $OPTIONS"
echo "########################################################"
echo
./configure $PREFIX $OPTIONS || exit 1
# bugfix for readline on CentOS 5:
unset LIBS
echo
echo "########################################################"
echo "compile:"
echo " make -j $MAKEJ "
echo "########################################################"
echo
make -j $MAKEJ || exit 1
for result in $RESULTS; do
echo
echo "########################################################"
echo "$result"
echo "########################################################"
echo
ident "bin/$result"
if test "x$LDD_INFO" = "xyes"; then
echo
ldd "bin/$result"
echo
fi
done
echo
echo "########################################################"
echo "create man pages:"
echo " make man "
echo "########################################################"
echo
mkdir Doxygen/man > /dev/null 2>&1
mkdir Doxygen/man/man1 > /dev/null 2>&1
mkdir Doxygen/man/man8 > /dev/null 2>&1
make man

View File

@ -1,149 +0,0 @@
#!/bin/bash
echo "########################################################"
echo "# build.sh #"
echo "########################################################"
. config/detect_distro.sh
OPTIONS="--disable-dependency-tracking --disable-relative --enable-gcov"
PREFIX="--prefix=/usr --sysconfdir=/etc"
RESULTS="arangod arangosh"
export CPPFLAGS=""
export LDFLAGS=""
export MAKEJ="-j 2"
export LDD_INFO="no"
echo
echo "########################################################"
echo "Building on $TRI_OS_LONG"
echo "########################################################"
echo
case $TRI_OS_LONG in
Linux-openSUSE-11.4*)
echo "Using configuration for openSuSE 11.4"
OPTIONS="$OPTIONS --enable-all-in-one"
LDD_INFO="yes"
;;
Linux-openSUSE-11*)
echo "Using configuration for openSuSE 11"
OPTIONS="$OPTIONS --enable-all-in-one"
VALGRIND_TEST="yes"
LDD_INFO="yes"
;;
Linux-Debian-6*)
echo "Using configuration for Debian"
OPTIONS="$OPTIONS --enable-all-in-one"
LDD_INFO="yes"
;;
Linux-Debian*)
echo "Using configuration for Debian"
OPTIONS="$OPTIONS --enable-all-in-one"
LDD_INFO="yes"
;;
Linux-CentOS-*)
echo "Using configuration for Centos"
LDD_INFO="yes"
;;
Linux-Ubuntu-11.10*)
echo "Using configuration for Ubuntu"
OPTIONS="$OPTIONS --enable-all-in-one"
LDD_INFO="yes"
;;
Linux-Ubuntu-*)
echo "Using configuration for Ubuntu"
OPTIONS="$OPTIONS --enable-all-in-one"
LDD_INFO="yes"
;;
Darwin*)
echo "Using configuration for DARWIN"
CPPFLAGS='-isystem /usr/include -isystem /opt/local/include -Wno-deprecated-declarations'
LDFLAGS='-L/usr/lib -L/opt/local/lib' # need to use OpenSSL from system
OPTIONS="$OPTIONS --enable-all-in-one"
;;
*)
echo "Using default configuration"
OPTIONS="$OPTIONS --enable-error-on-warning"
;;
esac
echo
echo "########################################################"
echo "CPPFLAGS: $CPPFLAGS"
echo "LDFLAGS: $LDFLAGS"
echo "OPTIONS: $OPTIONS"
echo "########################################################"
echo
echo "########################################################"
echo "init system:"
echo " make setup"
echo "########################################################"
echo
make setup || exit 1
echo
echo "########################################################"
echo "configure:"
echo " ./configure $PREFIX $OPTIONS"
echo "########################################################"
echo
./configure $PREFIX $OPTIONS || exit 1
echo
echo "########################################################"
echo "compile:"
echo " make $MAKEJ"
echo "########################################################"
echo
make $MAKEJ || exit 1
echo
echo "########################################################"
echo "unittests:"
echo " make unittests"
echo "########################################################"
echo
make unittests FORCE=1 || exit 1
echo
echo "########################################################"
echo "lcov:"
echo "########################################################"
echo
rm -rf COVERAGE
mkdir COVERAGE
mkdir COVERAGE/html
current=`pwd`
vprj_folder=`basename $current`
lcov_folder="${vprj_folder}/COVERAGE/html"
c_info_file="${vprj_folder}/COVERAGE/coverage.lcov"
r_info_file="${vprj_folder}/COVERAGE/reduced.lcov"
(
cd ..
lcov -b ${vprj_folder} -c -d ${vprj_folder} -o ${c_info_file}.1
lcov --remove ${c_info_file}.1 "*3rdParty*" -o ${c_info_file}.2
rm ${c_info_file}.1
lcov --remove ${c_info_file}.2 "*UnitTests*" -o ${c_info_file}
rm ${c_info_file}.2
lcov --extract ${c_info_file} "*${vprj_folder}*" -o ${r_info_file}
genhtml -o ${lcov_folder} ${r_info_file}
)

View File

@ -1,225 +0,0 @@
################################################################################
## epm configuration file
## Documentation: http://www.epmhome.org
################################################################################
$version=${arangodb_version}
$release=${arangodb_release}
################################################################################
## ArangoDB
################################################################################
%product ArangoDB
%copyright 2012 by triAGENS GmbH
%vendor triAGENS GmbH
%license ${project_dir}/LICENSE
%readme ${project_dir}/README
%description ArangoDB is a durable, reliable, transactional multi-model database. It's key-features are: Schema-free schemata, an integrated application server, flexible data modelling, free index choice, and configurable durability.
%version ${version}
%release ${release}
################################################################################
## File List
################################################################################
d 0755 ${susr} ${sgrp} /etc/arangodb -
d 0755 ${susr} ${sgrp} /etc/arangodb/ -
c 0644 ${susr} ${sgrp} /etc/arangodb/arangosh.conf ${project_dir}/etc/arangodb/arangosh.conf
f 0755 ${susr} ${sgrp} ${sbindir}/arangod-${arangodb_version} ${project_dir}/bin/arangod
l 000 ${rusr} ${rgrp} ${sbindir}/arangod ${sbindir}/arangod-${arangodb_version}
f 0755 ${susr} ${sgrp} ${bindir}/arangoimp ${project_dir}/bin/arangoimp
f 0755 ${susr} ${sgrp} ${bindir}/arangosh ${project_dir}/bin/arangosh
# database directory
d 0755 ${rusr} ${rgrp} ${data_dir} -
d 0755 ${susr} ${sgrp} ${data_dir}/arangodb -
# static files
d 0755 ${susr} ${sgrp} ${static_dir} -
d 0755 ${susr} ${sgrp} ${static_dir}/arangodb -
d 0755 ${susr} ${sgrp} ${static_dir}/arangodb/js -
d 0755 ${susr} ${sgrp} ${static_dir}/arangodb/html -
# PID file directory
d 0755 ${susr} ${sgrp} /var/run/arangodb -
# logfile directory
d 0755 ${susr} ${sgrp} /var/log/arangodb -
d 0755 ${rusr} ${rgrp} ${mandir} -
d 0755 ${rusr} ${rgrp} ${mandir}/man1 -
d 0755 ${rusr} ${rgrp} ${mandir}/man8 -
%include ${project_dir}/Installation/epm/arangodb.sublist
################################################################################
## Pre/Post Install
################################################################################
## -----------------------------------------------------------------------------
## MAC OS X
## -----------------------------------------------------------------------------
%ifdef macosx
c 0644 ${susr} ${sgrp} /etc/arangodb/arangod.conf ${project_dir}/etc/arangodb/arangod.conf
d 0755 ${rusr} ${rgrp} /Library/LaunchDaemons/ -
f 0755 ${rusr} ${rgrp} /Library/LaunchDaemons/org.arangodb.plist.template ${project_dir}/Installation/MacOSX/org.arangodb.plist
%postinstall <<EOF
sed -e 's%@BINARY@%${sbindir}/arangod-${version}%g' -e 's%@CONFIGDIR@%/etc/arangodb%g' /Library/LaunchDaemons/org.arangodb.plist.template > /Library/LaunchDaemons/org.arangodb.plist
launchctl unload /Library/LaunchDaemons/org.arangodb.plist
# change user of 1.0 version
/usr/sbin/chown -R ${susr}:${sgrp} /var/run/arangodb
/usr/sbin/chown -R ${susr}:${sgrp} /var/log/arangodb
/usr/sbin/chown -R ${susr}:${sgrp} ${data_dir}/arangodb
launchctl load /Library/LaunchDaemons/org.arangodb.plist
EOF
%preremove <<EOF
launchctl stop de.triagens.arango
launchctl unload /Library/LaunchDaemons/org.arangodb.plist
EOF
## -----------------------------------------------------------------------------
## LINUX
## -----------------------------------------------------------------------------
%else
c 0644 ${susr} ${sgrp} /etc/arangodb/arangod.conf ${project_dir}/etc/arangodb/arangod.conf
%preinstall <<EOF
getent group arangodb >/dev/null || groupadd -r arangodb
getent passwd arangodb >/dev/null || useradd -r -g arangodb -d ${static_dir}/arangodb -s /bin/false -c "ArangoDB Application User" arangodb
EOF
%endif
## -----------------------------------------------------------------------------
## CHKCONF
## -----------------------------------------------------------------------------
%ifdef chkconf
f 0755 ${rusr} ${rgrp} ${initdir}/arangodb ${project_dir}/Installation/Linux/${START_SCRIPT}
%postinstall <<EOF
chkconfig --level ${runlevels} arangodb on
# change user of 1.0 version
chown -R ${susr}:${sgrp} /var/run/arangodb
chown -R ${susr}:${sgrp} /var/log/arangodb
chown -R ${susr}:${sgrp} ${data_dir}/arangodb
echo "${install_message}"
exit 0
EOF
%preremove <<EOF
${initdir}/arangodb stop 2&>1 > /dev/null || true
chkconfig --del arangodb
exit 0
EOF
## -----------------------------------------------------------------------------
## INSSERV
## -----------------------------------------------------------------------------
%elseifdef insserv
f 0755 ${rusr} ${rgrp} ${initdir}/arangodb ${project_dir}/Installation/Linux/${START_SCRIPT}
%postinstall <<EOF
test -x /sbin/insserv && /sbin/insserv /etc/init.d/arangodb 2&>1 > /dev/null
# change user of 1.0 version
chown -R ${susr}:${sgrp} /var/run/arangodb
chown -R ${susr}:${sgrp} /var/log/arangodb
chown -R ${susr}:${sgrp} ${data_dir}/arangodb
echo "${install_message}"
exit 0
EOF
%preremove <<EOF
${initdir}/arangodb stop 2&>1 > /dev/null || true
test -x /sbin/insserv && /sbin/insserv -r /etc/init.d/arangodb 2&>1 > /dev/null
exit 0
EOF
## -----------------------------------------------------------------------------
## use_systemd
## -----------------------------------------------------------------------------
%elseifdef use_systemd
f 0544 ${rusr} ${rgrp} ${systemddir}/arangodb.service ${project_dir}/etc/systemd/arangodb.service
%postinstall <<EOF
/bin/systemctl daemon-reload > /dev/null 2>&1
/bin/systemctl preset arangodb.service > /dev/null 2>&1
# change user of 1.0 version
chown -R ${susr}:${sgrp} /var/run/arangodb
chown -R ${susr}:${sgrp} /var/log/arangodb
chown -R ${susr}:${sgrp} ${data_dir}/arangodb
echo "${install_message}"
exit 0
EOF
%preremove <<EOF
test -n "$$FIRST_ARG" || FIRST_ARG=$$1
if [ $$FIRST_ARG -eq 0 ]; then
# Package removal, not upgrade
/bin/systemctl --no-reload disable arangodb.service > /dev/null 2>&1 || :
/bin/systemctl stop arangodb.service > /dev/null 2>&1 || :
fi
exit 0
EOF
%postremove <<EOF
test -n "$$FIRST_ARG" || FIRST_ARG=$$1
if [ $$FIRST_ARG -ge 1 ]; then
# Package upgrade, not uninstall
/bin/systemctl try-restart arangodb.service >/dev/null 2>&1 || :
else # package uninstall
for service in arangodb.service ; do
sysv_service=$${service%.*}
rm -f "/var/lib/systemd/migrated/$$sysv_service" 2> /dev/null || :
done
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
fi
EOF
## -----------------------------------------------------------------------------
## EPM
## -----------------------------------------------------------------------------
%else
%system linux
i 0755 ${rusr} ${rgrp} arangodb ${project_dir}/Installation/Linux/${START_SCRIPT} runlevel(${runlevels})
%postinstall <<EOF
# change user of 1.0 version
chown -R ${susr}:${sgrp} /var/run/arangodb
chown -R ${susr}:${sgrp} /var/log/arangodb
chown -R ${susr}:${sgrp} ${data_dir}/arangodb
echo "${install_message}"
exit 0
EOF
%endif
## -----------------------------------------------------------------------------
## RC skript
## -----------------------------------------------------------------------------
%system linux
l 000 ${rusr} ${rgrp} ${sbindir}/rcarangodb /etc/init.d/arangodb

View File

@ -1,511 +0,0 @@
#!/bin/bash
echo "########################################################"
echo "# packetize.sh #"
echo "########################################################"
echo
. config/detect_distro.sh
hudson_base="$HOME"
rusr=root
rgrp=root
susr=arangodb
sgrp=arangodb
package_type=""
product_name="arangodb"
project_name="arangodb"
runlevels="035"
curl_version="curl -s -o - http://localhost:8529/_api/version"
# name of the epm configuration file
LIST="Installation/epm/${project_name}.list"
# name of a created epm include file
SUBLIST="Installation/epm/${project_name}.sublist"
START_SCRIPT="";
arangodb_version=`cat VERSION | awk -F"." '{print $1 "." $2}'`
arangodb_release=`cat VERSION | awk -F"." '{print $3}' | tr -d "-"`
ostype=`uname -s | tr '[:upper:]' '[:lower:]'`
osvers=`uname -r | awk -F"." '{print $1 "." $2}'`
## directories for epm
prefix=/usr
exec_prefix=${prefix}
sbindir=${exec_prefix}/sbin
initdir=/etc/init.d
bindir=${exec_prefix}/bin
data_dir=/var/lib
static_dir=${prefix}/share
vers_dir=arangodb-${arangodb_version}
docdir=${prefix}/share/doc/${vers_dir}
mandir=${prefix}/share/man
systemddir=/lib/systemd/system
########################################################
# set messages
########################################################
install_message="
ArangoDB (https://www.arangodb.org)
A multi-purpose open-source database with a flexible data models for documents,
graphs, and key-values.
First Steps with ArangoDB:
https:/www.arangodb.org/quickstart
Upgrading ArangoDB:
https://www.arangodb.org/manuals/current/Upgrading.html
Configuration file:
/etc/arangodb/arangod.conf
Start ArangoDB shell client:
> ${bindir}/arangosh
Use the ArangoDB web interface:
http://localhost:8529/
"
# message for systems with systemd
start_systemd_message="
Start ArangoDB service:
> systemctl start arangodb.service
Enable ArangoDB service:
> systemctl enable arangodb.service
"
# message for script in /etc/init.d
start_initd_message="
Start ArangoDB service:
> /etc/init.d/arangodb start
"
# message for logfile
log_message="
ArangoDB writes a log file. Please consult this log file in case of errors:
/var/log/arangodb/arangod.log
"
echo
echo "########################################################"
echo "Packetize on $TRI_OS_LONG"
echo "########################################################"
echo
case $TRI_OS_LONG in
Linux-ArchLinux-*)
echo "Packetize for ArchLinux is not not supported."
exit 0
;;
Linux-CentOS-*)
echo "Using configuration for Centos"
package_type="rpm"
START_SCRIPT="rc.arangod.Centos"
runlevels="0235"
# exports for the epm configuration file
export chkconf="true"
install_message="${install_message}${start_initd_message}${log_message}"
;;
Darwin*)
echo "Using configuration for DARWIN"
ostype="macosx"
osvers=`echo ${RELEASE} | awk -F"." '{print $1 "." $2}'`
TRI_RELEASE=$osvers
rusr=root
rgrp=wheel
susr=root
sgrp=wheel
package_type="osx"
# export "macosx" for the epm configuration file
export macosx="true"
;;
Linux-Debian*)
echo "Using configuration for Debian"
package_type="deb"
START_SCRIPT="rc.arangod.Debian"
runlevels="035"
if [ ${TRI_MACH} == "x86_64" ] ; then
TRI_MACH="amd64"
fi
install_message="${install_message}${start_initd_message}${log_message}"
;;
Linux-Fedora*)
echo "Using configuration for Fedora"
package_type="rpm"
START_SCRIPT="rc.arangod.Centos"
runlevels="035"
docdir=${prefix}/share/doc/packages/${vers_dir}
# exports for the epm configuration file
export use_systemd="true"
install_message="${install_message}${start_systemd_message}${log_message}"
;;
Linux-LinuxMint-*)
echo "Using configuration for LinuxMint"
package_type="deb"
START_SCRIPT="rc.arangod.Ubuntu"
runlevels="02345"
if [ ${TRI_MACH} == "x86_64" ] ; then
TRI_MACH="amd64"
fi
install_message="${install_message}${start_initd_message}${log_message}"
;;
Linux-openSUSE-12*)
echo "Using configuration for openSuSE 12"
package_type="rpm"
START_SCRIPT="rc.arangod.OpenSuSE"
runlevels="035"
docdir=${prefix}/share/doc/packages/${vers_dir}
# exports for the epm configuration file
export use_systemd="true"
install_message="${install_message}${start_systemd_message}${log_message}"
;;
Linux-openSUSE*)
echo "Using configuration for openSuSE"
package_type="rpm"
START_SCRIPT="rc.arangod.OpenSuSE"
runlevels="035"
docdir=${prefix}/share/doc/packages/${vers_dir}
# exports for the epm configuration file
export insserv="true"
install_message="${install_message}${start_initd_message}${log_message}"
;;
Linux-Ubuntu-*)
echo "Using configuration for Ubuntu"
package_type="deb"
START_SCRIPT="rc.arangod.Ubuntu"
runlevels="02345"
if [ ${TRI_MACH} == "x86_64" ] ; then
TRI_MACH="amd64"
fi
install_message="${install_message}${start_initd_message}${log_message}"
;;
*)
echo "Using default configuration"
;;
esac
if [ ${TRI_MACH} == "i686" ] ; then
archfolder="${ostype}-${osvers}-intel"
else
archfolder="${ostype}-${osvers}-${TRI_MACH}"
fi
echo
echo "########################################################"
echo "arangodb_release: $arangodb_release"
echo "arangodb_version: $arangodb_version"
echo "hudson_base: $hudson_base"
echo "rusr: $rusr"
echo "rgrp: $rgrp"
echo "susr: $susr"
echo "sgrp: $sgrp"
echo "package_type: $package_type"
echo "product_name: $product_name"
echo "project_name: $project_name"
echo "archfolder: $archfolder"
echo "########################################################"
echo
EPM_RPM_OPTION="--buildroot ${hudson_base}/${archfolder}/buildroot"
export EPM_RPM_OPTION
test -f ${SUBLIST} && rm -f ${SUBLIST}
touch ${SUBLIST}
share_base=${static_dir}/arangodb
sfolder_name=$(pwd)
echo
echo "########################################################"
echo "Call mkepmlist to create a sublist"
mkepmlist -u ${susr} -g ${sgrp} --prefix ${mandir}/man1 ${sfolder_name}/Doxygen/man/man1/*.1 >> ${SUBLIST}
mkepmlist -u ${susr} -g ${sgrp} --prefix ${mandir}/man8 ${sfolder_name}/Doxygen/man/man8/*.8 >> ${SUBLIST}
mkepmlist -u ${susr} -g ${sgrp} --prefix ${share_base}/js ${sfolder_name}/js >> ${SUBLIST}
echo "########################################################"
echo
##
## build install/help message
##
cd ${hudson_base}
sudo -E rm -rf ${hudson_base}/${archfolder}
sudo -E mkdir -p ${hudson_base}/${archfolder}
sudo -E mkdir -p ${hudson_base}/${archfolder}/BUILD
sudo -E mkdir -p ${hudson_base}/${archfolder}/buildroot
echo
echo "########################################################"
echo "Export vars for epm"
echo " export arangodb_release=$arangodb_release"
echo " export arangodb_version=$arangodb_version"
echo " export bindir=$bindir"
echo " export chkconf=$chkconf"
echo " export data_dir=$data_dir"
echo " export docdir=$docdir"
echo " export exec_prefix=$exec_prefix"
echo " export initdir=$initdir"
echo " export insserv=$insserv"
echo " export prefix=$prefix"
echo " export project_dir=${sfolder_name}"
echo " export rgrp=$rgrp"
echo " export runlevels=$runlevels"
echo " export rusr=$rusr"
echo " export sbindir=$sbindir"
echo " export sgrp=$sgrp"
echo " export static_dir=$static_dir"
echo " export mandir=$mandir"
echo " export susr=$susr"
echo " export vers_dir=$vers_dir"
echo " export START_SCRIPT=$START_SCRIPT"
echo " export systemddir=$systemddir"
echo "########################################################"
echo
export arangodb_release
export arangodb_version
export bindir
export data_dir
export docdir
export exec_prefix
export initdir
export prefix
export project_dir=${sfolder_name}
export rgrp
export runlevels
export rusr
export sbindir
export sgrp
export static_dir
export susr
export vers_dir
export START_SCRIPT
export install_message
export mandir
export systemddir
echo
echo "########################################################"
echo "Call EPM to build the package."
echo " sudo -E epm -v -a ${TRI_MACH} -f ${package_type} ${product_name} ${sfolder_name}/${LIST}"
sudo -E epm -v -a ${TRI_MACH} -f ${package_type} ${product_name} ${sfolder_name}/${LIST} || exit 1
echo "########################################################"
echo
if [ ${package_type} == "osx" ] ; then
package_type="dmg"
fi
package_name="$product_name-$arangodb_version-$arangodb_release-$TRI_DIST-$TRI_RELEASE-$TRI_MACH.$package_type"
# Delete old package in hudson's home folder.
rm -f ${hudson_base}/${package_name} > /dev/null
echo
echo "########################################################"
echo "Copy package '${product_name}*.${package_type}' to '${package_name}'."
echo " cp -p ${hudson_base}/${archfolder}/${product_name}*.${package_type} ${sfolder_name}/${package_name}"
cp -p ${hudson_base}/${archfolder}/${product_name}*.${package_type} ${sfolder_name}/${package_name}
echo "########################################################"
echo
start_server=
stop_server=
install_package=
remove_package=
mount_install_package=
unmount_install_package=
case $TRI_OS_LONG in
Linux-openSUSE-12*)
start_server="sudo systemctl start arangodb.service"
stop_server="sudo systemctl stop arangodb.service"
install_package="sudo rpm -i ${sfolder_name}/${package_name}"
remove_package="sudo rpm -e $product_name"
;;
Linux-openSUSE*)
start_server="sudo /etc/init.d/arangodb start"
stop_server="sudo /etc/init.d/arangodb stop"
install_package="sudo rpm -i ${sfolder_name}/${package_name}"
remove_package="sudo rpm -e $product_name"
;;
Linux-Debian*)
start_server="sudo /etc/init.d/arangodb start"
stop_server="sudo /etc/init.d/arangodb stop"
install_package="sudo dpkg -i ${sfolder_name}/${package_name}"
remove_package="sudo dpkg --purge $product_name"
;;
Linux-CentOS-*)
start_server="sudo /etc/init.d/arangodb start"
stop_server="sudo /etc/init.d/arangodb stop"
install_package="sudo rpm -i ${sfolder_name}/${package_name}"
remove_package="sudo rpm -e $product_name"
;;
Linux-Ubuntu-*)
start_server="sudo /etc/init.d/arangodb start"
stop_server="sudo /etc/init.d/arangodb stop"
install_package="sudo dpkg -i ${sfolder_name}/${package_name}"
remove_package="sudo dpkg --purge $product_name"
;;
Linux-LinuxMint-*)
start_server="sudo /etc/init.d/arangodb start"
stop_server="sudo /etc/init.d/arangodb stop"
install_package="sudo dpkg -i ${sfolder_name}/${package_name}"
remove_package="sudo dpkg --purge $product_name"
;;
Darwin*)
start_server=""
stop_server="sudo launchctl unload /Library/LaunchDaemons/org.arangodb.plist"
install_package="sudo installer -pkg /Volumes/${product_name}/${product_name}.pkg -target / "
remove_package="sudo rm /Library/LaunchDaemons/org.arangodb.plist*"
mount_install_package="hdiutil attach ${sfolder_name}/${package_name}"
unmount_install_package="hdiutil detach /Volumes/${product_name}"
;;
*)
;;
esac
echo
echo "########################################################"
echo " INSTALL TEST "
echo "########################################################"
echo "Stop and uninstall server"
# stop and uninstall server
if [ "${stop_server}x" != "x" ]; then
echo " $stop_server"
$stop_server
fi
if [ "${remove_package}x" != "x" ]; then
echo " $remove_package"
$remove_package
fi
if [ "${unmount_install_package}x" != "x" ]; then
echo " $unmount_install_package"
$unmount_install_package
fi
if [ "${mount_install_package}x" != "x" ]; then
echo " $mount_install_package"
$mount_install_package
fi
echo
echo "########################################################"
echo "Install"
echo " ${install_package}"
${install_package} || exit 1
echo "########################################################"
echo "Successfully installed ${package_name}."
echo "########################################################"
if [ "${start_server}x" != "x" ]; then
echo "Start"
echo " ${start_server}"
${start_server}
echo "########################################################"
fi
echo "Check process"
process=$(ps aux | grep arangod | grep -v grep)
echo "$process"
echo "Wait for server..."
echo " sleep 10"
sleep 10
echo
echo "########################################################"
echo "Request version number "
echo " $curl_version"
answer=$( $curl_version )
answer=`echo "$answer" | tr -d "-"` # remove "-" from version string for comparison
expect='{"server":"arango","version":"'$arangodb_version.$arangodb_release'"}'
if [ "x$answer" == "x$expect" ]; then
echo "ok: $answer"
else
echo "error: $answer != $expect"
sudo tail -50 /var/log/arangodb/arangod.log
fi
echo "########################################################"
echo
echo
echo "########################################################"
if [ "${stop_server}x" != "x" ]; then
echo "Stop"
echo " $stop_server"
$stop_server || exit 1
echo "########################################################"
fi
if [ "${remove_package}x" != "x" ]; then
echo "Uninstall"
echo " $remove_package"
$remove_package || exit 1
echo "########################################################"
echo "Successfully uninstalled ${product_name}."
echo "########################################################"
fi
echo
if [ "${unmount_install_package}x" != "x" ]; then
$unmount_install_package > /dev/null 2>&1
fi
if [ "x$answer" == "x$expect" ]; then
exit 0
else
exit 1
fi

View File

@ -1,105 +0,0 @@
#!/bin/bash
echo "########################################################"
echo "# build.sh #"
echo "########################################################"
echo
. config/detect_distro.sh
export VALGRIND_TEST="no"
export RSPEC_AVAILABLE="yes"
echo
echo "########################################################"
echo "Building on $TRI_OS_LONG"
echo "########################################################"
echo
case $TRI_OS_LONG in
Linux-openSUSE-11.4*)
echo "Using configuration for openSuSE 11.4"
;;
Linux-openSUSE-11*)
echo "Using configuration for openSuSE 11"
VALGRIND_TEST="yes"
;;
Linux-Debian-6*)
echo "Using configuration for Debian"
;;
Linux-Debian*)
echo "Using configuration for Debian"
RSPEC_AVAILABLE="no"
;;
Linux-CentOS-*)
echo "Using configuration for Centos"
RSPEC_AVAILABLE="no"
;;
Linux-Ubuntu-11.10*)
echo "Using configuration for Ubuntu"
;;
Linux-Ubuntu-*)
echo "Using configuration for Ubuntu"
;;
Darwin*)
echo "Using configuration for DARWIN"
;;
*)
echo "Using default configuration"
;;
esac
while [ $? -ne 0 ]; do
if [ "$1" == "--valgrind" ]; then
VALGRIND_TEST="yes"
elif [ "$1" == "--no-valgrind" ]; then
VALGRIND_TEST="no"
elif [ "$1" == "--resc" ]; then
RSPEC_AVAILABLE="yes"
elif [ "$1" == "--no-resc" ]; then
RSPEC_AVAILABLE="no"
fi
shift
done
echo
echo "########################################################"
echo "unittests:"
echo " make unittests"
echo "########################################################"
echo
echo "VALGRIND: $VALGRIND_TEST"
echo "RSPEC: $RSPEC_AVAILABLE"
make unittests-boost || exit 1
make unittests-shell-server || exit 1
make unittests-shell-server-ahuacatl || exit 1
if test "x$RSPEC_AVAILABLE" = "xyes"; then
make unittests-http-server || exit 1
fi
make unittests-shell-client || exit 1
if test "x$VALGRIND_TEST" = "xyes"; then
echo
echo "########################################################"
echo "unittests with VALGRIND:"
echo " make unittests VALGRIND=valgrind --leak-check=full"
echo "########################################################"
echo
make unittests VALGRIND="valgrind --suppressions=RestServer/arango.supp --leak-check=full" || exit 1
fi

View File

@ -512,7 +512,9 @@ include 3rdParty/Makefile.zlib
### @brief etcd
################################################################################
if ENABLE_ALL_IN_ONE_ETCD
include 3rdParty/Makefile.etcd
endif
## -----------------------------------------------------------------------------
## --SECTION-- END-OF-FILE

View File

@ -1 +1 @@
Please refer to Documentation/Manual/Upgrading14.md
Please refer to Documentation/Manual/Upgrading20.md

View File

@ -1 +0,0 @@
../../devs/databases/_system/foxx-tank/engine