summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Parpart <trapni@gentoo.org>2007-02-02 04:22:56 +0000
committerChristian Parpart <trapni@gentoo.org>2007-02-02 04:22:56 +0000
commit2065e6665fb6a8222175f1e1ce325043e863a6dc (patch)
treeb364db8274e2ac3448da5111b3b49e87caa0001c
parentdigest/manifest update (diff)
downloadoverlay-2065e6665fb6a8222175f1e1ce325043e863a6dc.tar.gz
overlay-2065e6665fb6a8222175f1e1ce325043e863a6dc.tar.bz2
overlay-2065e6665fb6a8222175f1e1ce325043e863a6dc.zip
snapshot bump
svn path=/overlay/; revision=4
-rw-r--r--net-misc/yacsd/ChangeLog7
-rw-r--r--net-misc/yacsd/Manifest12
-rw-r--r--net-misc/yacsd/files/digest-yacsd-0.6.0_pre200702023
-rw-r--r--net-misc/yacsd/yacsd-0.6.0_pre20070202.ebuild134
4 files changed, 156 insertions, 0 deletions
diff --git a/net-misc/yacsd/ChangeLog b/net-misc/yacsd/ChangeLog
new file mode 100644
index 0000000..176074e
--- /dev/null
+++ b/net-misc/yacsd/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for net-misc/yacsd
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 02 Feb 2007; Christian Parpart <trapni@gentoo.org> ChangeLog:
+ snapshot bump
+
diff --git a/net-misc/yacsd/Manifest b/net-misc/yacsd/Manifest
index b6a672a..aabb488 100644
--- a/net-misc/yacsd/Manifest
+++ b/net-misc/yacsd/Manifest
@@ -7,10 +7,19 @@ 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
+DIST yacs-0.6.0_pre20070202.tar.bz2 708624 RMD160 91f86adb99c5ff73ff761a21689cbf9edb50f451 SHA1 a7213110c7abb001658c3f23f03f6eb4e9afec2f SHA256 60894c7ac6afb9671c54ab0f310a72906162f733eaebb4988cdf05497c6533e7
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
+EBUILD yacsd-0.6.0_pre20070202.ebuild 3546 RMD160 a8ecd6b2e0fa10f176e84274ba0a066e8da5bf61 SHA1 0032a49fdb4777fd4db02c2a36d75762fdddbb39 SHA256 263ceca1f361c7563760bae46c52437a6ee8a6bdbc1ec7a339bb02bceb9668a5
+MD5 902effbfb42d2f38298ca53694def5e2 yacsd-0.6.0_pre20070202.ebuild 3546
+RMD160 a8ecd6b2e0fa10f176e84274ba0a066e8da5bf61 yacsd-0.6.0_pre20070202.ebuild 3546
+SHA256 263ceca1f361c7563760bae46c52437a6ee8a6bdbc1ec7a339bb02bceb9668a5 yacsd-0.6.0_pre20070202.ebuild 3546
+MISC ChangeLog 196 RMD160 b1b4a8f3825f971cb231bd1d242db29a308af171 SHA1 86bc204c04d1336e80631813f4ff381698a88e96 SHA256 a47616206be7467d8d2fca1f4204dc5b7e06f21190614be51ece2a977ce1da71
+MD5 0985eb198b24d3a309d01c060fe6a9c0 ChangeLog 196
+RMD160 b1b4a8f3825f971cb231bd1d242db29a308af171 ChangeLog 196
+SHA256 a47616206be7467d8d2fca1f4204dc5b7e06f21190614be51ece2a977ce1da71 ChangeLog 196
MISC metadata.xml 201 RMD160 ae909bdbab920d043e01d816efa224e612ae9013 SHA1 e1c9598a3765e96c491209b49ef82e46bc19d375 SHA256 f72d9216cc506e1f3bf6f10b8427cd36810e4c2c279af043b4da733743c0f61f
MD5 de8121390d7133948ea1a6e2e19035bd metadata.xml 201
RMD160 ae909bdbab920d043e01d816efa224e612ae9013 metadata.xml 201
@@ -18,3 +27,6 @@ SHA256 f72d9216cc506e1f3bf6f10b8427cd36810e4c2c279af043b4da733743c0f61f metadata
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
+MD5 dd3180794e73cc1ab1c0280234cb9e06 files/digest-yacsd-0.6.0_pre20070202 271
+RMD160 e2a464d55e8a1f37ea9a362747660eb0ad9430ed files/digest-yacsd-0.6.0_pre20070202 271
+SHA256 ed4d7c2f2c63b30b3f564a19e9c1eca35efd45a6ebc8ec55d531bed04b47f7c2 files/digest-yacsd-0.6.0_pre20070202 271
diff --git a/net-misc/yacsd/files/digest-yacsd-0.6.0_pre20070202 b/net-misc/yacsd/files/digest-yacsd-0.6.0_pre20070202
new file mode 100644
index 0000000..50b3986
--- /dev/null
+++ b/net-misc/yacsd/files/digest-yacsd-0.6.0_pre20070202
@@ -0,0 +1,3 @@
+MD5 4f78db529fb0f237b8974dd34f9b1c04 yacs-0.6.0_pre20070202.tar.bz2 708624
+RMD160 91f86adb99c5ff73ff761a21689cbf9edb50f451 yacs-0.6.0_pre20070202.tar.bz2 708624
+SHA256 60894c7ac6afb9671c54ab0f310a72906162f733eaebb4988cdf05497c6533e7 yacs-0.6.0_pre20070202.tar.bz2 708624
diff --git a/net-misc/yacsd/yacsd-0.6.0_pre20070202.ebuild b/net-misc/yacsd/yacsd-0.6.0_pre20070202.ebuild
new file mode 100644
index 0000000..2b0c49d
--- /dev/null
+++ b/net-misc/yacsd/yacsd-0.6.0_pre20070202.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