summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Parpart <trapni@gentoo.org>2007-01-31 20:46:24 +0000
committerChristian Parpart <trapni@gentoo.org>2007-01-31 20:46:24 +0000
commit13950bf7f98199ba95fd1f0180f45226c9a9407d (patch)
treecae33e1edac45c5b76b1aa7d32d61408e0a87922
downloadoverlay-13950bf7f98199ba95fd1f0180f45226c9a9407d.tar.gz
overlay-13950bf7f98199ba95fd1f0180f45226c9a9407d.tar.bz2
overlay-13950bf7f98199ba95fd1f0180f45226c9a9407d.zip
initial import of the YaCS ebuilds.
currently these are only the backend server ebuilds including the C client API library. the others will follow soon. svn path=/overlay/; revision=1
-rw-r--r--app-admin/yacsadmin/Manifest16
-rw-r--r--app-admin/yacsadmin/files/digest-yacsadmin-0.6.0_pre200702013
-rw-r--r--app-admin/yacsadmin/metadata.xml7
-rw-r--r--app-admin/yacsadmin/yacsadmin-0.6.0_pre20070201.ebuild73
-rw-r--r--dev-libs/libyacsclient/libyacsclient-0.6.0_pre20070201.ebuild70
-rw-r--r--dev-libs/libyacsclient/metadata.xml7
-rw-r--r--dev-libs/libyacsutil/Manifest12
-rw-r--r--dev-libs/libyacsutil/files/digest-libyacsutil-0.6.0_pre200702013
-rw-r--r--dev-libs/libyacsutil/libyacsutil-0.6.0_pre20070201.ebuild69
-rw-r--r--dev-libs/libyacsutil/metadata.xml7
-rw-r--r--net-misc/yacsd/Manifest20
-rw-r--r--net-misc/yacsd/files/digest-yacsd-0.6.0_pre200702013
-rwxr-xr-xnet-misc/yacsd/files/yacsd.rc-0.6.0_pre2007020159
-rw-r--r--net-misc/yacsd/files/yacsd.rc.conf-0.6.0_pre200702017
-rw-r--r--net-misc/yacsd/metadata.xml7
-rw-r--r--net-misc/yacsd/yacsd-0.6.0_pre20070201.ebuild134
16 files changed, 497 insertions, 0 deletions
diff --git a/app-admin/yacsadmin/Manifest b/app-admin/yacsadmin/Manifest
new file mode 100644
index 0000000..7f35cc9
--- /dev/null
+++ b/app-admin/yacsadmin/Manifest
@@ -0,0 +1,16 @@
+DIST yacs-0.6.0_pre20070201.tar.bz2 705323 RMD160 e37326f9c96b7f1b05e6d45e203ed248a5aa60af SHA1 4dfd70651223e1f6f735959f35981dfc847f54bc SHA256 5ce8900ea88ce0ebf59eab3d6de341dae33774d33bb814efb09a8d73de570523
+EBUILD yacsadmin-0.6.0_pre20070201.ebuild 1600 RMD160 a2cce99989dec17ec26eb15e3e0f97d777e42d09 SHA1 31830ba18a113057a58fa51a19b5bcf1793f1103 SHA256 2d1b4850d40b738cf472dd939fa9bd6a2c0dc86db0bc365ad2c20f00e8550c26
+MD5 aba08453f36e94b26710a485338c4f2e yacsadmin-0.6.0_pre20070201.ebuild 1600
+RMD160 a2cce99989dec17ec26eb15e3e0f97d777e42d09 yacsadmin-0.6.0_pre20070201.ebuild 1600
+SHA256 2d1b4850d40b738cf472dd939fa9bd6a2c0dc86db0bc365ad2c20f00e8550c26 yacsadmin-0.6.0_pre20070201.ebuild 1600
+MISC .yacsadmin-0.6.0_pre20070201.ebuild.swp 4096 RMD160 cd5399ef5a97db4c95f1512932b83d6f2ce0bb4f SHA1 2be83da10789d35c5a835d52a280e4417f8ceffb SHA256 ba620f7ce4e217634d1d201b9fcaf96ed8104588a39f3a134b2352ec0035c50a
+MD5 e6db8c3d478ce2886e3e6a4f52b577d0 .yacsadmin-0.6.0_pre20070201.ebuild.swp 4096
+RMD160 cd5399ef5a97db4c95f1512932b83d6f2ce0bb4f .yacsadmin-0.6.0_pre20070201.ebuild.swp 4096
+SHA256 ba620f7ce4e217634d1d201b9fcaf96ed8104588a39f3a134b2352ec0035c50a .yacsadmin-0.6.0_pre20070201.ebuild.swp 4096
+MISC metadata.xml 201 RMD160 ae909bdbab920d043e01d816efa224e612ae9013 SHA1 e1c9598a3765e96c491209b49ef82e46bc19d375 SHA256 f72d9216cc506e1f3bf6f10b8427cd36810e4c2c279af043b4da733743c0f61f
+MD5 de8121390d7133948ea1a6e2e19035bd metadata.xml 201
+RMD160 ae909bdbab920d043e01d816efa224e612ae9013 metadata.xml 201
+SHA256 f72d9216cc506e1f3bf6f10b8427cd36810e4c2c279af043b4da733743c0f61f metadata.xml 201
+MD5 9d2c22a415488bdd58e963f2c513ddd1 files/digest-yacsadmin-0.6.0_pre20070201 271
+RMD160 59affbd626a5fc44a74dfb0b726b900e8fd38600 files/digest-yacsadmin-0.6.0_pre20070201 271
+SHA256 8d8837ae2283cc4b72ea40a3349c77b10313d317298b8137731c5a65834d5be9 files/digest-yacsadmin-0.6.0_pre20070201 271
diff --git a/app-admin/yacsadmin/files/digest-yacsadmin-0.6.0_pre20070201 b/app-admin/yacsadmin/files/digest-yacsadmin-0.6.0_pre20070201
new file mode 100644
index 0000000..622e988
--- /dev/null
+++ b/app-admin/yacsadmin/files/digest-yacsadmin-0.6.0_pre20070201
@@ -0,0 +1,3 @@
+MD5 52c50994630ca80949d6a6d71419d0bf yacs-0.6.0_pre20070201.tar.bz2 705323
+RMD160 e37326f9c96b7f1b05e6d45e203ed248a5aa60af yacs-0.6.0_pre20070201.tar.bz2 705323
+SHA256 5ce8900ea88ce0ebf59eab3d6de341dae33774d33bb814efb09a8d73de570523 yacs-0.6.0_pre20070201.tar.bz2 705323
diff --git a/app-admin/yacsadmin/metadata.xml b/app-admin/yacsadmin/metadata.xml
new file mode 100644
index 0000000..6fb1fb1
--- /dev/null
+++ b/app-admin/yacsadmin/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>trapni@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-admin/yacsadmin/yacsadmin-0.6.0_pre20070201.ebuild b/app-admin/yacsadmin/yacsadmin-0.6.0_pre20070201.ebuild
new file mode 100644
index 0000000..3cb399c
--- /dev/null
+++ b/app-admin/yacsadmin/yacsadmin-0.6.0_pre20070201.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/swl/swl-0.5.0_pre20070122.ebuild,v 1.1 2007/01/22 07:31:48 trapni Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="YaCS server daemon"
+HOMEPAGE="http://battousai.mylair.de/yacs/"
+SRC_URI="http://battousai.mylair.de/dist/yacs/yacs-${PV}.tar.bz2"
+LICENSE="LGPL-2.1"
+SLOT="0.6"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc multislot"
+
+RDEPEND=">=dev-libs/swl-0.5.0_pre20070201"
+
+DEPEND="${RDEPEND}
+ doc? ( >=app-doc/doxygen-1.3.9.1 )"
+
+S="${WORKDIR}/yacs-${PV}"
+
+BASE_DIR=${BASE_DIR:-/usr}
+
+src_compile() {
+ use debug && append-flags -O0 -g3
+ use debug || append-flags -DNDEBUG=1
+
+ useq multislot && [[ $BASE_DIR = "/usr" ]] && BASE_DIR="${BASE_DIR}/yacs/${SLOT}"
+
+ einfo "Configuring for prefix ${BASE_DIR} ..."
+
+ ./autogen.sh || die "autogen.sh failed"
+
+ ./configure \
+ --prefix="${BASE_DIR}" \
+ --host="${CHOST}" \
+ --libdir="${BASE_DIR}/$(get_libdir)" \
+ --without-libyacsutil \
+ --without-libyacsclient \
+ --without-server \
+ || die "./configure failed"
+
+ cd tools/yacsadmin/ || die
+
+ emake || die "make failed"
+
+ cd - || die
+
+ if use doc; then
+ #ewarn "TODO: generate docs {html,man} via doxygen"
+ #make -C doc api-docs
+ # XXX: install example/test files?
+ true
+ fi
+}
+
+src_install() {
+ cd tools/yacsadmin/ || die
+
+ make install DESTDIR="${D}" || die
+
+ cd -
+
+ if use doc; then
+ #ewarn "TODO: install man-pages and html version via doxygen"
+ #dodoc -r doc/html
+ true
+ fi
+
+ #dodoc AUTHORS ChangeLog* NEWS README* TODO
+}
+
+# vim:ai:noet:ts=4:nowrap
diff --git a/dev-libs/libyacsclient/libyacsclient-0.6.0_pre20070201.ebuild b/dev-libs/libyacsclient/libyacsclient-0.6.0_pre20070201.ebuild
new file mode 100644
index 0000000..fab5ef1
--- /dev/null
+++ b/dev-libs/libyacsclient/libyacsclient-0.6.0_pre20070201.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/swl/swl-0.4.0_rc5-r2.ebuild,v 1.2 2005/08/03 01:38:36 trapni Exp $
+
+inherit flag-o-matic multilib
+
+DESCRIPTION="SWL is a C++ cross platform library."
+HOMEPAGE="http://battousai.mylair.de/yacs/"
+SRC_URI="http://battousai.mylair.de/dist/yacs/yacs-${PV}.tar.bz2"
+LICENSE="LGPL-2.1"
+SLOT="0.6"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc multislot"
+
+RDEPEND=">=dev-libs/swl-0.5.0_pre20070201
+ >=dev-libs/libyacsutil-${PV}"
+
+DEPEND="${RDEPEND}
+ doc? ( >=app-doc/doxygen-1.3.9.1 )"
+
+BASE_DIR=${BASE_DIR:-/usr}
+
+S="${WORKDIR}/yacs-${PV}"
+
+src_compile() {
+ use debug && append-flags -O0 -g3
+ use debug || append-flags -DNDEBUG=1
+
+ useq multislot && [[ $BASE_DIR = "/usr" ]] && BASE_DIR="${BASE_DIR}/yacs/${SLOT}"
+
+ einfo "Configuring for prefix ${BASE_DIR} ..."
+
+ ./autogen.sh || die "autogen.sh failed"
+
+ ./configure \
+ --prefix="${BASE_DIR}" \
+ --host="${CHOST}" \
+ --libdir="${BASE_DIR}/$(get_libdir)" \
+ --without-libyacsutil \
+ --without-server \
+ --with-libyacsclient \
+ || die "./configure for ABI ${ABI} failed"
+
+ cd clients/${PN} || die
+
+ emake || die "make for ABI ${ABI} failed"
+
+ if use doc; then
+ #ewarn "TODO: generate docs {html,man} via doxygen"
+ #make -C doc api-docs
+ # XXX: install example/test files?
+ true
+ fi
+}
+
+src_install() {
+ cd clients/${PN} || die
+
+ make install DESTDIR="${D}" || die
+
+ if use doc; then
+ #ewarn "TODO: install man-pages and html version via doxygen"
+ #dodoc -r doc/html
+ true
+ fi
+
+ dodoc AUTHORS ChangeLog* NEWS README* TODO
+}
+
+# vim:ai:noet:ts=4:nowrap
diff --git a/dev-libs/libyacsclient/metadata.xml b/dev-libs/libyacsclient/metadata.xml
new file mode 100644
index 0000000..7f17745
--- /dev/null
+++ b/dev-libs/libyacsclient/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>trapni@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-libs/libyacsutil/Manifest b/dev-libs/libyacsutil/Manifest
new file mode 100644
index 0000000..c296a66
--- /dev/null
+++ b/dev-libs/libyacsutil/Manifest
@@ -0,0 +1,12 @@
+DIST yacs-0.6.0_pre20070201.tar.bz2 705323 RMD160 e37326f9c96b7f1b05e6d45e203ed248a5aa60af SHA1 4dfd70651223e1f6f735959f35981dfc847f54bc SHA256 5ce8900ea88ce0ebf59eab3d6de341dae33774d33bb814efb09a8d73de570523
+EBUILD libyacsutil-0.6.0_pre20070201.ebuild 1577 RMD160 60d3cbd0c70d2e5dbf7cee5324b7f089773736c7 SHA1 dd7930b4906722da7bf4523b4c9c8b43b17fda79 SHA256 4bcbae0089f54bf935859fb45c9cbd52dba0e88007dd9c9fd5730c1750c9dc40
+MD5 7b7a6e3a14d9ba8a9e86307d0ce21698 libyacsutil-0.6.0_pre20070201.ebuild 1577
+RMD160 60d3cbd0c70d2e5dbf7cee5324b7f089773736c7 libyacsutil-0.6.0_pre20070201.ebuild 1577
+SHA256 4bcbae0089f54bf935859fb45c9cbd52dba0e88007dd9c9fd5730c1750c9dc40 libyacsutil-0.6.0_pre20070201.ebuild 1577
+MISC metadata.xml 199 RMD160 852e94c35804ed3cf83a7149b577cd41a38e2ea1 SHA1 fda1928420c1ef71f25d78ac4a34e6236d9740fc SHA256 3137765885d09c96954a5018ae5627d0276f743c3d7a1f9cf7f1be517855ac5d
+MD5 bff27c36ac89297d86169d3fc2d2ad46 metadata.xml 199
+RMD160 852e94c35804ed3cf83a7149b577cd41a38e2ea1 metadata.xml 199
+SHA256 3137765885d09c96954a5018ae5627d0276f743c3d7a1f9cf7f1be517855ac5d metadata.xml 199
+MD5 9d2c22a415488bdd58e963f2c513ddd1 files/digest-libyacsutil-0.6.0_pre20070201 271
+RMD160 59affbd626a5fc44a74dfb0b726b900e8fd38600 files/digest-libyacsutil-0.6.0_pre20070201 271
+SHA256 8d8837ae2283cc4b72ea40a3349c77b10313d317298b8137731c5a65834d5be9 files/digest-libyacsutil-0.6.0_pre20070201 271
diff --git a/dev-libs/libyacsutil/files/digest-libyacsutil-0.6.0_pre20070201 b/dev-libs/libyacsutil/files/digest-libyacsutil-0.6.0_pre20070201
new file mode 100644
index 0000000..622e988
--- /dev/null
+++ b/dev-libs/libyacsutil/files/digest-libyacsutil-0.6.0_pre20070201
@@ -0,0 +1,3 @@
+MD5 52c50994630ca80949d6a6d71419d0bf yacs-0.6.0_pre20070201.tar.bz2 705323
+RMD160 e37326f9c96b7f1b05e6d45e203ed248a5aa60af yacs-0.6.0_pre20070201.tar.bz2 705323
+SHA256 5ce8900ea88ce0ebf59eab3d6de341dae33774d33bb814efb09a8d73de570523 yacs-0.6.0_pre20070201.tar.bz2 705323
diff --git a/dev-libs/libyacsutil/libyacsutil-0.6.0_pre20070201.ebuild b/dev-libs/libyacsutil/libyacsutil-0.6.0_pre20070201.ebuild
new file mode 100644
index 0000000..b56197c
--- /dev/null
+++ b/dev-libs/libyacsutil/libyacsutil-0.6.0_pre20070201.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/swl/swl-0.4.0_rc5-r2.ebuild,v 1.2 2005/08/03 01:38:36 trapni Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="YaCS utility library"
+HOMEPAGE="http://battousai.mylair.de/yacs/"
+SRC_URI="http://battousai.mylair.de/dist/yacs/yacs-${PV}.tar.bz2"
+LICENSE="LGPL-2.1"
+SLOT="0.6"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc multislot"
+
+RDEPEND=">=dev-libs/swl-0.5.0_pre20070201"
+
+DEPEND="${RDEPEND}
+ doc? ( >=app-doc/doxygen-1.3.9.1 )"
+
+BASE_DIR="${BASE_DIR:-/usr}"
+
+S="${WORKDIR}/yacs-${PV}"
+
+src_compile() {
+ use debug && append-flags -O0 -g3
+ use debug || append-flags -DNDEBUG=1
+
+ useq multislot && [[ $BASE_DIR = "/usr" ]] && BASE_DIR="${BASE_DIR}/yacs/${SLOT}"
+
+ einfo "Configuring for prefix ${BASE_DIR} ..."
+
+ ./autogen.sh || die "autogen.sh failed"
+
+ ./configure \
+ --prefix="${BASE_DIR}" \
+ --host="${CHOST}" \
+ --libdir="${BASE_DIR}/$(get_libdir)" \
+ --with-libyacsutil \
+ --without-server \
+ --without-libyacsclient \
+ || die "./configure failed"
+
+ cd support/yacsutil || die
+
+ emake || die "make failed"
+
+ if use doc; then
+ #ewarn "TODO: generate docs {html,man} via doxygen"
+ #make -C doc api-docs
+ # XXX: install example/test files?
+ true
+ fi
+}
+
+src_install() {
+ pushd support/yacsutil || die
+
+ make install DESTDIR="${D}" || die
+
+ dodoc AUTHORS ChangeLog* NEWS README* TODO
+
+ if use doc; then
+ #ewarn "TODO: install man-pages and html version via doxygen"
+ #dodoc -r doc/html
+ true
+ fi
+}
+
+# vim:ai:noet:ts=4:nowrap
diff --git a/dev-libs/libyacsutil/metadata.xml b/dev-libs/libyacsutil/metadata.xml
new file mode 100644
index 0000000..7f17745
--- /dev/null
+++ b/dev-libs/libyacsutil/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>trapni@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-misc/yacsd/Manifest b/net-misc/yacsd/Manifest
new file mode 100644
index 0000000..b6a672a
--- /dev/null
+++ b/net-misc/yacsd/Manifest
@@ -0,0 +1,20 @@
+AUX yacsd.rc-0.6.0_pre20070201 1124 RMD160 fdc97b88fd1a570adad889608ed81485efd55ab9 SHA1 ba971f7c6cf1be00642de1a5760bbc022111ddab SHA256 b62c9af27672948b6381a0f6dd34adb623ed86d78beb8291a879fc21774eef88
+MD5 1b71d462b7fd0ca7a77825b0cbb30bd3 files/yacsd.rc-0.6.0_pre20070201 1124
+RMD160 fdc97b88fd1a570adad889608ed81485efd55ab9 files/yacsd.rc-0.6.0_pre20070201 1124
+SHA256 b62c9af27672948b6381a0f6dd34adb623ed86d78beb8291a879fc21774eef88 files/yacsd.rc-0.6.0_pre20070201 1124
+AUX yacsd.rc.conf-0.6.0_pre20070201 140 RMD160 89bde3de0ba63ce6299161ea513c1b6e840dd690 SHA1 4935156279ec266ac9f672651274441ff610a179 SHA256 5ac1f6e6e4b8fc250e2dd642ecba5e68ecc5ca5b8e68cf49bc0246fa833e83b5
+MD5 b78f9e5ecddf09a411815e8eefd3bcb1 files/yacsd.rc.conf-0.6.0_pre20070201 140
+RMD160 89bde3de0ba63ce6299161ea513c1b6e840dd690 files/yacsd.rc.conf-0.6.0_pre20070201 140
+SHA256 5ac1f6e6e4b8fc250e2dd642ecba5e68ecc5ca5b8e68cf49bc0246fa833e83b5 files/yacsd.rc.conf-0.6.0_pre20070201 140
+DIST yacs-0.6.0_pre20070201.tar.bz2 705323 RMD160 e37326f9c96b7f1b05e6d45e203ed248a5aa60af SHA1 4dfd70651223e1f6f735959f35981dfc847f54bc SHA256 5ce8900ea88ce0ebf59eab3d6de341dae33774d33bb814efb09a8d73de570523
+EBUILD yacsd-0.6.0_pre20070201.ebuild 3546 RMD160 a8ecd6b2e0fa10f176e84274ba0a066e8da5bf61 SHA1 0032a49fdb4777fd4db02c2a36d75762fdddbb39 SHA256 263ceca1f361c7563760bae46c52437a6ee8a6bdbc1ec7a339bb02bceb9668a5
+MD5 902effbfb42d2f38298ca53694def5e2 yacsd-0.6.0_pre20070201.ebuild 3546
+RMD160 a8ecd6b2e0fa10f176e84274ba0a066e8da5bf61 yacsd-0.6.0_pre20070201.ebuild 3546
+SHA256 263ceca1f361c7563760bae46c52437a6ee8a6bdbc1ec7a339bb02bceb9668a5 yacsd-0.6.0_pre20070201.ebuild 3546
+MISC metadata.xml 201 RMD160 ae909bdbab920d043e01d816efa224e612ae9013 SHA1 e1c9598a3765e96c491209b49ef82e46bc19d375 SHA256 f72d9216cc506e1f3bf6f10b8427cd36810e4c2c279af043b4da733743c0f61f
+MD5 de8121390d7133948ea1a6e2e19035bd metadata.xml 201
+RMD160 ae909bdbab920d043e01d816efa224e612ae9013 metadata.xml 201
+SHA256 f72d9216cc506e1f3bf6f10b8427cd36810e4c2c279af043b4da733743c0f61f metadata.xml 201
+MD5 9d2c22a415488bdd58e963f2c513ddd1 files/digest-yacsd-0.6.0_pre20070201 271
+RMD160 59affbd626a5fc44a74dfb0b726b900e8fd38600 files/digest-yacsd-0.6.0_pre20070201 271
+SHA256 8d8837ae2283cc4b72ea40a3349c77b10313d317298b8137731c5a65834d5be9 files/digest-yacsd-0.6.0_pre20070201 271
diff --git a/net-misc/yacsd/files/digest-yacsd-0.6.0_pre20070201 b/net-misc/yacsd/files/digest-yacsd-0.6.0_pre20070201
new file mode 100644
index 0000000..622e988
--- /dev/null
+++ b/net-misc/yacsd/files/digest-yacsd-0.6.0_pre20070201
@@ -0,0 +1,3 @@
+MD5 52c50994630ca80949d6a6d71419d0bf yacs-0.6.0_pre20070201.tar.bz2 705323
+RMD160 e37326f9c96b7f1b05e6d45e203ed248a5aa60af yacs-0.6.0_pre20070201.tar.bz2 705323
+SHA256 5ce8900ea88ce0ebf59eab3d6de341dae33774d33bb814efb09a8d73de570523 yacs-0.6.0_pre20070201.tar.bz2 705323
diff --git a/net-misc/yacsd/files/yacsd.rc-0.6.0_pre20070201 b/net-misc/yacsd/files/yacsd.rc-0.6.0_pre20070201
new file mode 100755
index 0000000..bcf41de
--- /dev/null
+++ b/net-misc/yacsd/files/yacsd.rc-0.6.0_pre20070201
@@ -0,0 +1,59 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/yacsd/files/yacsd.rc6.2.2.9,v 1.1 2006/03/07 21:07:20 ferdy Exp $
+
+opts="${opts} configtest reload"
+
+YACSD="${YACSD:-/usr/bin/yacsd}"
+PIDFILE="${PIDFILE:-/var/run/yacsd.pid}"
+YACSD_OPTS="${YACSD_OPTS:---config=/etc/yacs-0.6/yacsd.conf --pidfile=${PIDFILE}}"
+
+depend() {
+ need logger dns net mysql
+}
+
+checkconfig() {
+ ${YACSD} ${YACSD_OPTS} -t
+ ret=$?
+ if [ $ret -ne 0 ]; then
+ eerror "yacsd has detected an error in configuration files."
+ fi
+ return $ret
+}
+
+configtest() {
+ ebegin "Checking yacsd Configuration"
+ checkconfig
+ eend $?
+}
+
+start() {
+ checkconfig || return $?
+
+ ebegin "Starting yacsd"
+ ${YACSD} ${YACSD_OPTS} &>/dev/null
+ eend $?
+}
+
+stop() {
+ pid=$(cat ${PIDFILE})
+ ebegin "Stopping yacsd (pid=${pid})"
+
+ kill -TERM ${pid}
+
+ for i in `seq 10`; do
+ ps -C yacsd -o pid= | grep -q ${pid} && break
+ sleep 1
+ done
+
+ ps -C yacsd -o pid= | grep -q ${pid}
+
+ eend $?
+}
+
+reload() {
+ ebegin "Reloading yacsd"
+ kill -HUP $(cat ${PIDFILE})
+ eend $?
+}
diff --git a/net-misc/yacsd/files/yacsd.rc.conf-0.6.0_pre20070201 b/net-misc/yacsd/files/yacsd.rc.conf-0.6.0_pre20070201
new file mode 100644
index 0000000..d33dda4
--- /dev/null
+++ b/net-misc/yacsd/files/yacsd.rc.conf-0.6.0_pre20070201
@@ -0,0 +1,7 @@
+# /etc/conf.d/yacsd
+
+YACSD="/usr/yacs/0.6/bin/yacsd"
+
+PIDFILE="/var/run/yacs-0.6/yacsd.pid"
+
+YACSD_OPTS="--config=/etc/yacs-0.6/yacsd.conf"
diff --git a/net-misc/yacsd/metadata.xml b/net-misc/yacsd/metadata.xml
new file mode 100644
index 0000000..6fb1fb1
--- /dev/null
+++ b/net-misc/yacsd/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>trapni@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-misc/yacsd/yacsd-0.6.0_pre20070201.ebuild b/net-misc/yacsd/yacsd-0.6.0_pre20070201.ebuild
new file mode 100644
index 0000000..2b0c49d
--- /dev/null
+++ b/net-misc/yacsd/yacsd-0.6.0_pre20070201.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/swl/swl-0.5.0_pre20070122.ebuild,v 1.1 2007/01/22 07:31:48 trapni Exp $
+
+inherit flag-o-matic multilib
+
+DESCRIPTION="YaCS server daemon"
+HOMEPAGE="http://battousai.mylair.de/yacs/"
+SRC_URI="http://battousai.mylair.de/dist/yacs/yacs-${PV}.tar.bz2"
+LICENSE="LGPL-2.1"
+SLOT="0.6"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc multislot character chat examples news relationship"
+
+RDEPEND=">=dev-libs/libyacsutil-${PV}
+ >=sys-libs/cracklib-2.8.9-r1"
+
+DEPEND="${RDEPEND}
+ doc? ( >=app-doc/doxygen-1.3.9.1 )"
+
+S="${WORKDIR}/yacs-${PV}"
+
+BASE_DIR=${BASE_DIR:-/usr}
+
+src_compile() {
+ use debug && append-flags -O0 -g3
+ use debug || append-flags -DNDEBUG=1
+
+ useq multislot && [[ $BASE_DIR = "/usr" ]] && BASE_DIR="${BASE_DIR}/yacs/${SLOT}"
+
+ einfo "Configuring for prefix ${BASE_DIR} ..."
+
+ ./autogen.sh || die "autogen.sh failed"
+
+ local sysconfdir="${BASE_DIR}/etc"
+ useq multislot && sysconfdir="/etc/yacs-${SLOT}"
+
+ local piddir="${BASE_DIR}/var/var"
+ useq multislot && piddir="/var/run/yacs-${SLOT}"
+
+ ./configure \
+ --prefix="${BASE_DIR}" \
+ --host="${CHOST}" \
+ --sysconfdir="${sysconfdir}" \
+ --libdir="${BASE_DIR}/$(get_libdir)" \
+ --with-piddir="${piddir}" \
+ --without-libyacsutil \
+ --without-libyacsclient \
+ --with-server \
+ || die "./configure for ABI ${ABI} failed"
+
+ cd server/ || die
+
+ emake || die "make for ABI ${ABI} failed"
+
+ cd - || die
+
+ if use doc; then
+ #ewarn "TODO: generate docs {html,man} via doxygen"
+ #make -C doc api-docs
+ # XXX: install example/test files?
+ true
+ fi
+}
+
+src_install() {
+ # upstream install
+ cd server/ || die
+
+ make install DESTDIR="${D}" || die
+
+ cd -
+
+ # cleanup unwanted files from plugin/module dirs
+ find ${D}/${BASE_DIR}/$(get_libdir)/yacs \( -name '*.a' -o -name '*.la' \) -exec rm -f {} \;
+
+ useq character || rm -rf "${D}/${BASE_DIR}/{$(get_libdir)/yacs/mod_character*,include/yacs/character}"
+ useq relationship || rm -rf "${D}/${BASE_DIR}/{$(get_libdir)/yacs/mod_relationship*,include/yacs/relationship}"
+ useq chat || rm -rf "${D}/${BASE_DIR}/{$(get_libdir)/yacs/mod_chat*,include/yacs/chat}"
+ useq news || rm -rf "${D}/${BASE_DIR}/{$(get_libdir)/yacs/mod_news*,include/yacs/news}"
+ useq examples || rm -rf "${D}/${BASE_DIR}/{$(get_libdir)/yacs/mod_example*,include/yacs/example}"
+
+ # multislot-dependant stuff
+ local configdir piddir rcfile
+
+ if useq multislot; then
+ dodir /etc/yacs-${SLOT}
+ configdir="/etc/yacs-${SLOT}"
+ piddir="/var/run/yacs-${SLOT}"
+ rcfile="yacsd-${SLOT}"
+
+ keepdir /var/run/yacs-${SLOT}
+ keepdir /var/log/yacs-${SLOT}
+ else
+ dodir /etc/yacs
+ configdir="/etc/yacs"
+ piddir="/var/run"
+ rcfile="yacsd"
+
+ dodir /var/run
+ dodir /var/log
+ fi
+
+ # install rc files
+ cp ${FILESDIR}/yacsd.rc-${PVR} yacsd.rc
+ cp ${FILESDIR}/yacsd.rc.conf-${PVR} yacsd.confd
+
+ for x in yacsd.rc yacsd.confd; do
+ sed -i \
+ -e "s,/usr/yacs/0.6,${BASE_DIR}," \
+ -e "s,/var/run/yacs-0.6,${piddir}," \
+ -e "s,/etc/yacs-0.6,${configdir}," \
+ $x
+ done
+
+ newinitd yacsd.rc ${rcfile}
+ newconfd yacsd.confd ${rcfile}
+
+ # install yacsd config file
+ local configfile="${D}/${configdir}/yacsd.conf"
+ cp server/yacsd.conf-dist ${configfile}
+ sed -i -e "s,/opt/surakware/lib,${BASE_DIR}/$(get_libdir)," ${configfile}
+
+ # install common docs
+ dodoc AUTHORS ChangeLog* NEWS README* TODO
+
+ if use doc; then
+ #ewarn "TODO: install man-pages and html version via doxygen"
+ #dodoc -r doc/html
+ true
+ fi
+}
+
+# vim:ai:noet:ts=4:nowrap