diff options
author | Christian Parpart <trapni@gentoo.org> | 2007-02-18 11:44:24 +0000 |
---|---|---|
committer | Christian Parpart <trapni@gentoo.org> | 2007-02-18 11:44:24 +0000 |
commit | ce1160a5e58f2ee59a268b914af88513e07088af (patch) | |
tree | f5c5ed4558ad20522743b837d699404278805af4 | |
parent | snapshot update (diff) | |
download | overlay-ce1160a5e58f2ee59a268b914af88513e07088af.tar.gz overlay-ce1160a5e58f2ee59a268b914af88513e07088af.tar.bz2 overlay-ce1160a5e58f2ee59a268b914af88513e07088af.zip |
snapshot bump
svn path=/overlay/; revision=33
-rw-r--r-- | net-misc/yacsd/ChangeLog | 3 | ||||
-rw-r--r-- | net-misc/yacsd/Manifest | 16 | ||||
-rw-r--r-- | net-misc/yacsd/files/digest-yacsd-0.6.0_pre20070218 | 3 | ||||
-rw-r--r-- | net-misc/yacsd/yacsd-0.6.0_pre20070218.ebuild | 136 |
4 files changed, 154 insertions, 4 deletions
diff --git a/net-misc/yacsd/ChangeLog b/net-misc/yacsd/ChangeLog index 899da4c..cc375e7 100644 --- a/net-misc/yacsd/ChangeLog +++ b/net-misc/yacsd/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 18 Feb 2007; <trapni@gentoo.org> ChangeLog: + bumped snapshot + 13 Feb 2007; <trapni@gentoo.org> ChangeLog: ensuring yacs user/group at pkg_setup() diff --git a/net-misc/yacsd/Manifest b/net-misc/yacsd/Manifest index be93008..4efbb69 100644 --- a/net-misc/yacsd/Manifest +++ b/net-misc/yacsd/Manifest @@ -8,6 +8,7 @@ RMD160 89bde3de0ba63ce6299161ea513c1b6e840dd690 files/yacsd.rc.conf-0.6.0_pre200 SHA256 5ac1f6e6e4b8fc250e2dd642ecba5e68ecc5ca5b8e68cf49bc0246fa833e83b5 files/yacsd.rc.conf-0.6.0_pre20070201 140 DIST yacs-0.6.0_pre20070202.tar.bz2 708624 RMD160 91f86adb99c5ff73ff761a21689cbf9edb50f451 SHA1 a7213110c7abb001658c3f23f03f6eb4e9afec2f SHA256 60894c7ac6afb9671c54ab0f310a72906162f733eaebb4988cdf05497c6533e7 DIST yacs-0.6.0_pre20070208.tar.bz2 860956 RMD160 eb2f66fcd1e08b057a3aa6bc6d901c5c84088230 SHA1 16b1501b4e3605b240885884e3db5fce2ea66cd6 SHA256 1da5571e560865f5f6c3512e7fc4c74413cb61bf02daa255f38caff1605bbba9 +DIST yacs-0.6.0_pre20070218.tar.bz2 860886 RMD160 bda41e62e4630c9b10d83ece5ad70c8ae77dc284 SHA1 f6cb0d1d1a76c8efd6dea6fdc2b66361fe4c91be SHA256 bfab214aed89cc30cbf5673e1c7659f92bac6ab821b92d6da3c47b42d9280fa2 EBUILD yacsd-0.6.0_pre20070202.ebuild 3613 RMD160 37b904d89f06255689dbbdcf202249e2249c4410 SHA1 2a42d53f2e3891c60860441449885b5b387a420b SHA256 8431796ff6ab3c936aa14cb1497f8758c8f50ac64dce8fb46f5c9cb8cb07c21e MD5 bbbfc9d8343dac62c7a5b9a8ab1a5084 yacsd-0.6.0_pre20070202.ebuild 3613 RMD160 37b904d89f06255689dbbdcf202249e2249c4410 yacsd-0.6.0_pre20070202.ebuild 3613 @@ -16,10 +17,14 @@ EBUILD yacsd-0.6.0_pre20070208.ebuild 3575 RMD160 96184d06094d7291f8cbe4f6334dd2 MD5 bb3a7a8b841cda09eebb781eaa86fc8a yacsd-0.6.0_pre20070208.ebuild 3575 RMD160 96184d06094d7291f8cbe4f6334dd2732fa0d1c1 yacsd-0.6.0_pre20070208.ebuild 3575 SHA256 2bb19618b0d8432e2d3b321e8ea367dc09c9b37d807efbc5b87433502814e7b9 yacsd-0.6.0_pre20070208.ebuild 3575 -MISC ChangeLog 196 RMD160 b1b4a8f3825f971cb231bd1d242db29a308af171 SHA1 86bc204c04d1336e80631813f4ff381698a88e96 SHA256 a47616206be7467d8d2fca1f4204dc5b7e06f21190614be51ece2a977ce1da71 -MD5 0985eb198b24d3a309d01c060fe6a9c0 ChangeLog 196 -RMD160 b1b4a8f3825f971cb231bd1d242db29a308af171 ChangeLog 196 -SHA256 a47616206be7467d8d2fca1f4204dc5b7e06f21190614be51ece2a977ce1da71 ChangeLog 196 +EBUILD yacsd-0.6.0_pre20070218.ebuild 3575 RMD160 96184d06094d7291f8cbe4f6334dd2732fa0d1c1 SHA1 d818cc7771f9a72851b4ec5f5d6096bfbfb9b8b5 SHA256 2bb19618b0d8432e2d3b321e8ea367dc09c9b37d807efbc5b87433502814e7b9 +MD5 bb3a7a8b841cda09eebb781eaa86fc8a yacsd-0.6.0_pre20070218.ebuild 3575 +RMD160 96184d06094d7291f8cbe4f6334dd2732fa0d1c1 yacsd-0.6.0_pre20070218.ebuild 3575 +SHA256 2bb19618b0d8432e2d3b321e8ea367dc09c9b37d807efbc5b87433502814e7b9 yacsd-0.6.0_pre20070218.ebuild 3575 +MISC ChangeLog 350 RMD160 34313f4ee2752e9da7bc0357e0d44bf546a4684e SHA1 f84f42c479f3ca4e2a342ea6252d938307b37b94 SHA256 06f3503b433503bf27e693f218b4fcbbd7d3d8d93608cc04f4012ac7976e9067 +MD5 41008c5cb7f0c9191a9db81ccbbfe353 ChangeLog 350 +RMD160 34313f4ee2752e9da7bc0357e0d44bf546a4684e ChangeLog 350 +SHA256 06f3503b433503bf27e693f218b4fcbbd7d3d8d93608cc04f4012ac7976e9067 ChangeLog 350 MISC metadata.xml 201 RMD160 ae909bdbab920d043e01d816efa224e612ae9013 SHA1 e1c9598a3765e96c491209b49ef82e46bc19d375 SHA256 f72d9216cc506e1f3bf6f10b8427cd36810e4c2c279af043b4da733743c0f61f MD5 de8121390d7133948ea1a6e2e19035bd metadata.xml 201 RMD160 ae909bdbab920d043e01d816efa224e612ae9013 metadata.xml 201 @@ -30,3 +35,6 @@ SHA256 ed4d7c2f2c63b30b3f564a19e9c1eca35efd45a6ebc8ec55d531bed04b47f7c2 files/di MD5 0c32120f45e44d21c5a8b114e5c81222 files/digest-yacsd-0.6.0_pre20070208 271 RMD160 ea9a3e4e3917d1038452f823fd4e495a237b6bfb files/digest-yacsd-0.6.0_pre20070208 271 SHA256 425a3251b22d6c9adf2eea5ea139b5b4c203619ed24df81b04865b9a185591e2 files/digest-yacsd-0.6.0_pre20070208 271 +MD5 eb077d5b5c5340eda5f4ce32e623792c files/digest-yacsd-0.6.0_pre20070218 271 +RMD160 6a21a06b9e89d2bf4de971ec02335a4f1bbf12e4 files/digest-yacsd-0.6.0_pre20070218 271 +SHA256 d2b554bf8c48a8cf1a903a7c863d2f5ec7621cae30bae1e2eac74f83c040b0db files/digest-yacsd-0.6.0_pre20070218 271 diff --git a/net-misc/yacsd/files/digest-yacsd-0.6.0_pre20070218 b/net-misc/yacsd/files/digest-yacsd-0.6.0_pre20070218 new file mode 100644 index 0000000..9f5c729 --- /dev/null +++ b/net-misc/yacsd/files/digest-yacsd-0.6.0_pre20070218 @@ -0,0 +1,3 @@ +MD5 4831c099c8dddb6f70b9c3a59d1a616e yacs-0.6.0_pre20070218.tar.bz2 860886 +RMD160 bda41e62e4630c9b10d83ece5ad70c8ae77dc284 yacs-0.6.0_pre20070218.tar.bz2 860886 +SHA256 bfab214aed89cc30cbf5673e1c7659f92bac6ab821b92d6da3c47b42d9280fa2 yacs-0.6.0_pre20070218.tar.bz2 860886 diff --git a/net-misc/yacsd/yacsd-0.6.0_pre20070218.ebuild b/net-misc/yacsd/yacsd-0.6.0_pre20070218.ebuild new file mode 100644 index 0000000..b2be8af --- /dev/null +++ b/net-misc/yacsd/yacsd-0.6.0_pre20070218.ebuild @@ -0,0 +1,136 @@ +# 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="https://developer.ninchens.de/yacs/" +SRC_URI="https://ninchens.de/~trapni/dist/yacs/yacs-${PV}.tar.bz2" +LICENSE="LGPL-2.1" +SLOT="0.6" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc multislot character chat example news relationship" + +# the last compatible version for package internal dependencies +PV_COMPAT="0.6.0_pre20070202" + +# the last compatible version for the rc files being used in this ebuild +PV_rc="0.6.0_pre20070201" + +RDEPEND=">=dev-libs/libyacsutil-${PV_COMPAT} + >=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} + +pkg_setup() { + enewgroup yacs 71 + enewuser yacs 71 -1 / yacs +} + +src_compile() { + use debug && append-flags -O0 -g + use debug || append-flags -DNDEBUG=1 + + useq multislot && [[ $BASE_DIR = "/usr" ]] && BASE_DIR="${BASE_DIR}/yacs/${SLOT}" + + einfo "Configuring for prefix ${BASE_DIR} ..." + + 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 \ + $(use_enable character mod_character) \ + $(use_enable chat mod_chat) \ + $(use_enable relationship mod_relationship) \ + $(use_enable news mod_news) \ + $(use_enable example mod_example) \ + --disable-mod_{cms,crm,rpg} \ + --without-mod_ychatstream \ + --without-mod_transform-plugins \ + || die "./configure failed" + + emake -C server/ || 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() { + # upstream install + make -C server/ install DESTDIR="${D}" || die + + # 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-${PV_rc} yacsd.rc || die + cp ${FILESDIR}/yacsd.rc.conf-${PV_rc} yacsd.confd || die + + 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 || die + done + + newinitd yacsd.rc ${rcfile} || die + newconfd yacsd.confd ${rcfile} || die + + # install yacsd config file + local configfile="${D}/${configdir}/yacsd.conf" + cp server/yacsd.conf-dist ${configfile} || die + sed -i -e "s,/opt/surakware/lib,${BASE_DIR}/$(get_libdir)," ${configfile} || die + sed -i -e 's,User = "yacsd",User = "yacs",' ${configfile} || die + sed -i -e 's,Mail = "yacsd@MY.HOST.NET",Mail = "yacs@localhost",' ${configfile} || die + + # 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 |