add log4c delete old bongo ebuilds
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/bongo@1400 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
b13d6a0f73
commit
1c602fbe7e
3
dev-libs/log4c/Manifest
Normal file
3
dev-libs/log4c/Manifest
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
AUX log4c-1.0.12-function.patch 998 RMD160 b307da8391505529f257db24be4dfcb730d8f8d6 SHA1 0c1be0223ce9bd72ec357ce755a85a0aafd69112 SHA256 a235f27201f602ad902227a0580587e95ae3ff21f9ae0620043f3d66f7f3c8c4
|
||||||
|
DIST log4c-1.2.1.tar.gz 508139 RMD160 53b55c4f255af4c4b691ef3aea1a947e5783d025 SHA1 b380947047cd6f71bdec1afe57d7b285fb2a3f38 SHA256 6ed40a41307c26d052667e1661437394ab00e29cd24ff2640b502ba8ab1e442b
|
||||||
|
EBUILD log4c-1.2.1.ebuild 1021 RMD160 f053b1cdadd775fa629b4568d7dfe1ea541ad2fc SHA1 39d0388149aa4aead014aa2f41ca35fbba214261 SHA256 7a90dfa0fa5cf031d4433ace7492a2284c5e3ea373cf8bb7bc4eac16b2b15f53
|
39
dev-libs/log4c/log4c-1.2.1.ebuild
Normal file
39
dev-libs/log4c/log4c-1.2.1.ebuild
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# Copyright 1999-2007 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI="2"
|
||||||
|
|
||||||
|
inherit eutils
|
||||||
|
|
||||||
|
DESCRIPTION="Log4c is a library of C for flexible logging to files, syslog and other destinations. It is modeled after the Log for Java library (http://jakarta.apache.org/log4j/), staying as close to their API as is reasonable."
|
||||||
|
SRC_URI="mirror://sourceforge/log4c/${P}.tar.gz"
|
||||||
|
HOMEPAGE="http://log4c.sourceforge.net/"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
KEYWORDS="~x86 ~sparc ~ppc ~amd64"
|
||||||
|
IUSE="doc static pic debug"
|
||||||
|
|
||||||
|
DEPEND="doc? ( >=app-doc/doxygen-1.2.15
|
||||||
|
virtual/tex-base
|
||||||
|
virtual/ghostscript )"
|
||||||
|
RDEPEND=">=media-gfx/graphviz-1.7.15-r2"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf --enable-test \
|
||||||
|
$(use_with pic) \
|
||||||
|
$(use_enable static) \
|
||||||
|
$(use_enable debug) \
|
||||||
|
$(use_enable doc) || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
# test case broken
|
||||||
|
#${S}/tests/log4c/test_rc || die "test_rc failed"
|
||||||
|
"${S}"/tests/log4c/test_category || die "test_rc failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install || die
|
||||||
|
}
|
@ -1,28 +1,12 @@
|
|||||||
AUX 70bongo 30 RMD160 f88bfbb75ec6605b5df06aed861a13b01c094466 SHA1 f1d44d8fab4e7495ec38e85047f7e800cdfc1965 SHA256 d0ee5aef8f668f6341f2a7fa61b758c62ab5f4e81ef252e9fa4858ed09eea12e
|
AUX 70bongo 30 RMD160 f88bfbb75ec6605b5df06aed861a13b01c094466 SHA1 f1d44d8fab4e7495ec38e85047f7e800cdfc1965 SHA256 d0ee5aef8f668f6341f2a7fa61b758c62ab5f4e81ef252e9fa4858ed09eea12e
|
||||||
AUX bongo-0.4.0-libical-1.patch 6121 RMD160 b3093329fdd413d015499b5464843285793401f3 SHA1 ccf81dbb4d46a5d60d1c0debb9b63fea6986eeeb SHA256 170576b12d9dea7d1a2e47a3914a55c35ed4147ed65be73481e777fd3467ae1a
|
AUX bongo-0.5.2-FORTIFY-1.patch 1660 RMD160 ee7c9d7b5a5ee617cf99cc6e20d4afc371f9697b SHA1 bd71608e91409bd75608d02c42b8600d8ee96bc6 SHA256 082bd297183567705ef7dadb3b0b6c9fa1f8ac88ff3c1e92dbfea20b24db2dea
|
||||||
AUX bongo-0.4.0-no-werror-1.patch 593 RMD160 17e0f01a35c15973b71e492885ba713b0669ca1f SHA1 71deb6ce4752525dc63841b8c3d5f2bc0de58990 SHA256 9094e4c89eddcdffcb37a209cf5b7a4b23469c9404c0dd355b458c5a6e58a46b
|
|
||||||
AUX bongo.conf.d 319 RMD160 52a3753da81e87716d80091fe09ac2a6027123b2 SHA1 c40625f749819ae138372e917562734cdc47afba SHA256 6e1386658d9751f892d1dbb7f43f3606b40200f702d5c26d1592ab327f6205e8
|
AUX bongo.conf.d 319 RMD160 52a3753da81e87716d80091fe09ac2a6027123b2 SHA1 c40625f749819ae138372e917562734cdc47afba SHA256 6e1386658d9751f892d1dbb7f43f3606b40200f702d5c26d1592ab327f6205e8
|
||||||
AUX bongo.init 795 RMD160 17822d677d9861994229d7154bddec29221cc11c SHA1 e017a66f80afd34956d3679b92c287f5ee1aa418 SHA256 61b4bd024eda1bda2cbb095d7b7e43df4c3007715a9b331e9638d8e9a11bd234
|
AUX bongo.init 795 RMD160 17822d677d9861994229d7154bddec29221cc11c SHA1 e017a66f80afd34956d3679b92c287f5ee1aa418 SHA256 61b4bd024eda1bda2cbb095d7b7e43df4c3007715a9b331e9638d8e9a11bd234
|
||||||
AUX mailer.conf 301 RMD160 5fd76d7292dd4df1157c76c612167b741daed16a SHA1 4f5cabe3cefa47847cfb65d834ac11af477bedf8 SHA256 36f457545e77902a195e111fbec2bff272f21d53113d9be34d826630616dc0da
|
AUX mailer.conf 301 RMD160 5fd76d7292dd4df1157c76c612167b741daed16a SHA1 4f5cabe3cefa47847cfb65d834ac11af477bedf8 SHA256 36f457545e77902a195e111fbec2bff272f21d53113d9be34d826630616dc0da
|
||||||
DIST bongo-0.1.0.tar.bz2 5457363 RMD160 9385457bc59d64afaeefdbadef0492c1e3ef1777 SHA1 4f35a89e7ce10af318ea46e95218f29f8d08fd58 SHA256 78ce79e137de8191d1422f572ea9f29b22ed02a04de596135dc175469f6ddb38
|
|
||||||
DIST bongo-0.2.0.tar.bz2 5589520 RMD160 2bb0dedad612d506954d679ef72254ef6b7a8318 SHA1 e9462abe282056d716493b893c9da7e2ff0ec0f8 SHA256 b58962b557014fca1dd9df119980003d8bbb0566e56d1308930230e74c6efabb
|
|
||||||
DIST bongo-0.2.91.tar.bz2 4219399 RMD160 4e631e08e1466b77dfdacfc5db34afeeac6b78b7 SHA1 672067c8885809b313fb0f09090470876944aec0 SHA256 714911cdd8991aae6adbf357296b19715fcad1dc1e54f8e294081f61bcd80790
|
|
||||||
DIST bongo-0.2.92.tar.bz2 4354592 RMD160 2cb756b9eca3dd1efe8042f004d26db8faca4bc2 SHA1 465414ff3da7121946684fbd3ada6930b0ec30f8 SHA256 5ad74b6c711b2d0c9ba2fe78c039731a41054631ccc370032c8c75de8f356c0a
|
|
||||||
DIST bongo-0.2.93.tar.bz2 4353651 RMD160 c806b66d889aca7c9d4f3d58f3fab9ccbf2060fe SHA1 e60c62e36c9833f6e48f3bed6de32ad1f87edc51 SHA256 e3c08103ed33d4f3e5a2547a86baa28dd27e9e7de2f6d8bda51d66162b0f6bc4
|
|
||||||
DIST bongo-0.2.94.tar.bz2 4347776 RMD160 b4ffe534bf757bfbf95e88b5dec94b9b86dc15e2 SHA1 e24a8e8e4b757811832adce93ab15f366210bafe SHA256 f2294ff689e44dfdd4fc786ef24d578a762da53bda7e392b066e3f77e149ec4a
|
|
||||||
DIST bongo-0.3.0.tar.bz2 4350524 RMD160 03da80c2402ebf7d4f120e7399766bc0961507e4 SHA1 de2d9801b1b354e64250b63414758c97480f7555 SHA256 42c12a15d5cb68aedd7a8d509e1b5db0ad44452c05309e835aefed2544b35b83
|
|
||||||
DIST bongo-0.3.1.tar.bz2 4352124 RMD160 91f6eddb507d492649715533c2c0d884f261474a SHA1 f21b6b95874b49ca95b06d7b35f2a84a04303502 SHA256 296ebfdfdca50d3da6d083503437f1575dcf37f158733a5cebd059ada32d7fd3
|
|
||||||
DIST bongo-0.4.0.tar.bz2 2816258 RMD160 ede8c4fb31b8c35c31a441d168f4ec7b4a553021 SHA1 7bfc4fc145ad9395605afe7fa99fecf63e2260e9 SHA256 031ed931324e9d4757fc237768a0ebc8d30729808256b729c7029a290c1ff493
|
DIST bongo-0.4.0.tar.bz2 2816258 RMD160 ede8c4fb31b8c35c31a441d168f4ec7b4a553021 SHA1 7bfc4fc145ad9395605afe7fa99fecf63e2260e9 SHA256 031ed931324e9d4757fc237768a0ebc8d30729808256b729c7029a290c1ff493
|
||||||
EBUILD bongo-0.1.0.ebuild 2572 RMD160 d6476a703e754afe856606e6abd7dd10007ea477 SHA1 378e1da449c0efd1bddd80f89ed0b4ea37a50241 SHA256 32a51fca5b8a4e938e33ef7b1eca881f9d404070382a2a4fc342e2f627bd5f53
|
DIST bongo-0.5.2.tar.bz2 3832896 RMD160 cbff75893e5ed5e314a7a97176e10b8b8c78d3ee SHA1 403d00d25c128b2f27317c4fce273b0e111ac0ac SHA256 af806a7cd460e4f82543fcebdc6e4115174f37933489e2a9cc52cac91e526981
|
||||||
EBUILD bongo-0.2.0.ebuild 2579 RMD160 9d4c19d08af24286a622be054d79c1e2170ea11f SHA1 c8da39f21b315337b808b2db7020ebb6c7408080 SHA256 16d4b973d2be6a4bf6bacdfaa6421c3446212c55e4730e2c30fc4d0e8a176020
|
EBUILD bongo-0.4.0.ebuild 2570 RMD160 3702df4ea32aa1e44cdc52021f88398050abdff2 SHA1 37950ace979eb79942d836bdded84c33be4d1826 SHA256 de01a8c4c7c19f8145c9cede31b414d6572ae7eaf2a20a6a15c3b888de3b8dce
|
||||||
EBUILD bongo-0.2.91.ebuild 2579 RMD160 a09858fa259fab5fccadfe02ed6ce9e1d50a641f SHA1 df0a2974141ae0fe1478cd701a8f5cbe8966307d SHA256 f7b36110f4e73050ee864d345ba34205e34172d3fcbf3aab36872fdbac10acbb
|
EBUILD bongo-0.5.2.ebuild 2481 RMD160 52b0402d413924fd1ed95a5d919aa574035572ed SHA1 cf8074ac3e90e41e2bf8427a3dd9abaf665e82f9 SHA256 fe258425945206d95eb709c4213662b66c77177a6eebc4cd8f1876783d6d1463
|
||||||
EBUILD bongo-0.2.92.ebuild 2579 RMD160 a09858fa259fab5fccadfe02ed6ce9e1d50a641f SHA1 df0a2974141ae0fe1478cd701a8f5cbe8966307d SHA256 f7b36110f4e73050ee864d345ba34205e34172d3fcbf3aab36872fdbac10acbb
|
EBUILD bongo-9999.ebuild 2727 RMD160 dc01b4a8f7a5114ffd4360575915aca0bf76ee33 SHA1 6aa76d4d856df3c0b85cdc461ccaa81ebdba7dc4 SHA256 39e27321691ef4a36224c7a0e93f86ec6e9f9318b16d6ef9b72372906390dff2
|
||||||
EBUILD bongo-0.2.93.ebuild 2579 RMD160 a09858fa259fab5fccadfe02ed6ce9e1d50a641f SHA1 df0a2974141ae0fe1478cd701a8f5cbe8966307d SHA256 f7b36110f4e73050ee864d345ba34205e34172d3fcbf3aab36872fdbac10acbb
|
|
||||||
EBUILD bongo-0.2.94.ebuild 2579 RMD160 a09858fa259fab5fccadfe02ed6ce9e1d50a641f SHA1 df0a2974141ae0fe1478cd701a8f5cbe8966307d SHA256 f7b36110f4e73050ee864d345ba34205e34172d3fcbf3aab36872fdbac10acbb
|
|
||||||
EBUILD bongo-0.3.0.ebuild 2579 RMD160 a09858fa259fab5fccadfe02ed6ce9e1d50a641f SHA1 df0a2974141ae0fe1478cd701a8f5cbe8966307d SHA256 f7b36110f4e73050ee864d345ba34205e34172d3fcbf3aab36872fdbac10acbb
|
|
||||||
EBUILD bongo-0.3.1.ebuild 2579 RMD160 9d4c19d08af24286a622be054d79c1e2170ea11f SHA1 c8da39f21b315337b808b2db7020ebb6c7408080 SHA256 16d4b973d2be6a4bf6bacdfaa6421c3446212c55e4730e2c30fc4d0e8a176020
|
|
||||||
EBUILD bongo-0.4.0-r1.ebuild 2667 RMD160 5678ac49e63a22d1a850266e8bb9df12aad97261 SHA1 cc2d0d0f12d20ecbb13da233ecd63ecbb9583666 SHA256 21480898f2b19fcb728f8663704d5aa7dc0e2f473f3d846f06879d6cc65ac2b9
|
|
||||||
EBUILD bongo-0.4.0.ebuild 2579 RMD160 9d4c19d08af24286a622be054d79c1e2170ea11f SHA1 c8da39f21b315337b808b2db7020ebb6c7408080 SHA256 16d4b973d2be6a4bf6bacdfaa6421c3446212c55e4730e2c30fc4d0e8a176020
|
|
||||||
EBUILD bongo-9999.ebuild 2736 RMD160 fb0d7aec2b29cce2abac7b1ae22acbd91f814e77 SHA1 077b341859c2a794cc66917a2257c9c3a0584841 SHA256 6e8c2c02f3bf5f2a0dab1a63a30a15dd09a428406f006b5449418341ec8ea5aa
|
|
||||||
MISC ChangeLog 334 RMD160 35e9dcdaf375966174aeaccd5a174685fd38364c SHA1 27ee68e62cbe5fb5182570bb8a1837b8375c9faa SHA256 5808184cfe7f98d754f9cd9b92d51e0df6e8ff56085d417180ec738854a0d9c2
|
MISC ChangeLog 334 RMD160 35e9dcdaf375966174aeaccd5a174685fd38364c SHA1 27ee68e62cbe5fb5182570bb8a1837b8375c9faa SHA256 5808184cfe7f98d754f9cd9b92d51e0df6e8ff56085d417180ec738854a0d9c2
|
||||||
MISC metadata.xml 224 RMD160 a75b1683331a8874b18170c82f559bce6877f626 SHA1 da1ebf5ff592428b014945c5ccd1316778f39092 SHA256 de22a32e0eb75abae4c9d09b297c10d3597e4162861d73140fa6db97aa61f02f
|
MISC metadata.xml 224 RMD160 a75b1683331a8874b18170c82f559bce6877f626 SHA1 da1ebf5ff592428b014945c5ccd1316778f39092 SHA256 de22a32e0eb75abae4c9d09b297c10d3597e4162861d73140fa6db97aa61f02f
|
||||||
|
@ -1,107 +0,0 @@
|
|||||||
# Copyright 1999-2005 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit eutils mailer multilib flag-o-matic
|
|
||||||
|
|
||||||
DESCRIPTION="A calendar and webmail application, which includes its own MTA"
|
|
||||||
|
|
||||||
SRC_URI="http://download.gna.org/bongo/release/${P}.tar.bz2"
|
|
||||||
HOMEPAGE="http://bongo-project.org/"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="libgcrypt"
|
|
||||||
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~x86"
|
|
||||||
|
|
||||||
RDEPEND="net-nds/openldap
|
|
||||||
net-libs/gnutls
|
|
||||||
<=dev-cpp/clucene-0.9.17
|
|
||||||
net-misc/curl
|
|
||||||
>=dev-db/sqlite-3
|
|
||||||
libgcrypt? ( dev-libs/libgcrypt )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup bongo
|
|
||||||
enewuser bongo -1 -1 -1 bongo
|
|
||||||
filter-ldflags -Wl,--as-needed --as-needed
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
use libgcrypt && myconf="${myconf} --with-libgcrypt-prefix=/usr"
|
|
||||||
|
|
||||||
./configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--with-user=bongo \
|
|
||||||
--localstatedir=/var/lib \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--libdir=/usr/$(get_libdir) \
|
|
||||||
--with-clucene=/usr \
|
|
||||||
--with-sqlite3=/usr \
|
|
||||||
--with-libcurl=/usr \
|
|
||||||
${myconf} || die
|
|
||||||
|
|
||||||
emake || die "emake failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
make DESTDIR=${D} install || die "make failed"
|
|
||||||
|
|
||||||
dodir /etc/init.d
|
|
||||||
exeinto /etc/init.d
|
|
||||||
newexe ${FILESDIR}/bongo.init bongo
|
|
||||||
|
|
||||||
dodir /etc/conf.d
|
|
||||||
insinto /etc/conf.d
|
|
||||||
newins ${FILESDIR}/bongo.conf.d bongo
|
|
||||||
|
|
||||||
dodir /etc/env.d
|
|
||||||
insinto /etc/env.d
|
|
||||||
newins ${FILESDIR}/70bongo 70bongo
|
|
||||||
|
|
||||||
dodir /var/lib/bongo
|
|
||||||
keepdir /var/lib/bongo
|
|
||||||
fowners bongo:bongo /var/lib/bongo
|
|
||||||
fperms 770 /var/lib/bongo
|
|
||||||
|
|
||||||
dodir /var/run/bongo
|
|
||||||
keepdir /var/run/bongo
|
|
||||||
fowners bongo:bongo /var/run/bongo
|
|
||||||
fperms 770 /var/run/bongo
|
|
||||||
|
|
||||||
if use mailwrapper ; then
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/sendmail.bongo-sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/mailq.bongo-sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/newaliases.bongo-sendmail
|
|
||||||
mailer_install_conf
|
|
||||||
else
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/lib/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/mailq
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/newaliases
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "Bongo must be setup."
|
|
||||||
elog "Please run:"
|
|
||||||
elog " /usr/sbin/bongo-setup"
|
|
||||||
elog ""
|
|
||||||
elog "For more information on bongo-setup run /usr/sbin/bongo-setup --help"
|
|
||||||
elog ""
|
|
||||||
elog "After bongo is set up run /etc/init.d/bongo start to start the service"
|
|
||||||
elog ""
|
|
||||||
elog "The default login settings are as follows:"
|
|
||||||
elog "username: admin"
|
|
||||||
elog "password: bongo"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
einfo "Setting up Bongo..."
|
|
||||||
/usr/sbin/bongo-setup
|
|
||||||
}
|
|
@ -1,107 +0,0 @@
|
|||||||
# Copyright 1999-2005 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit eutils mailer multilib flag-o-matic
|
|
||||||
|
|
||||||
DESCRIPTION="A calendar and webmail application, which includes its own MTA"
|
|
||||||
|
|
||||||
SRC_URI="http://download.gna.org/bongo/release/${P}.tar.bz2"
|
|
||||||
HOMEPAGE="http://bongo-project.org/"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="libgcrypt"
|
|
||||||
|
|
||||||
KEYWORDS="-alpha -amd64 ~arm ~hppa -ia64 -mips ~ppc -ppc64 ~s390 ~sh ~x86"
|
|
||||||
|
|
||||||
RDEPEND="net-nds/openldap
|
|
||||||
net-libs/gnutls
|
|
||||||
<=dev-cpp/clucene-0.9.17
|
|
||||||
net-misc/curl
|
|
||||||
>=dev-db/sqlite-3
|
|
||||||
libgcrypt? ( dev-libs/libgcrypt )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup bongo
|
|
||||||
enewuser bongo -1 -1 -1 bongo
|
|
||||||
filter-ldflags -Wl,--as-needed --as-needed
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
use libgcrypt && myconf="${myconf} --with-libgcrypt-prefix=/usr"
|
|
||||||
|
|
||||||
./configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--with-user=bongo \
|
|
||||||
--localstatedir=/var/lib \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--libdir=/usr/$(get_libdir) \
|
|
||||||
--with-clucene=/usr \
|
|
||||||
--with-sqlite3=/usr \
|
|
||||||
--with-libcurl=/usr \
|
|
||||||
${myconf} || die
|
|
||||||
|
|
||||||
emake || die "emake failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
make DESTDIR=${D} install || die "make failed"
|
|
||||||
|
|
||||||
dodir /etc/init.d
|
|
||||||
exeinto /etc/init.d
|
|
||||||
newexe ${FILESDIR}/bongo.init bongo
|
|
||||||
|
|
||||||
dodir /etc/conf.d
|
|
||||||
insinto /etc/conf.d
|
|
||||||
newins ${FILESDIR}/bongo.conf.d bongo
|
|
||||||
|
|
||||||
dodir /etc/env.d
|
|
||||||
insinto /etc/env.d
|
|
||||||
newins ${FILESDIR}/70bongo 70bongo
|
|
||||||
|
|
||||||
dodir /var/lib/bongo
|
|
||||||
keepdir /var/lib/bongo
|
|
||||||
fowners bongo:bongo /var/lib/bongo
|
|
||||||
fperms 770 /var/lib/bongo
|
|
||||||
|
|
||||||
dodir /var/run/bongo
|
|
||||||
keepdir /var/run/bongo
|
|
||||||
fowners bongo:bongo /var/run/bongo
|
|
||||||
fperms 770 /var/run/bongo
|
|
||||||
|
|
||||||
if use mailwrapper ; then
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/sendmail.bongo-sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/mailq.bongo-sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/newaliases.bongo-sendmail
|
|
||||||
mailer_install_conf
|
|
||||||
else
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/lib/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/mailq
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/newaliases
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "Bongo must be setup."
|
|
||||||
elog "Please run:"
|
|
||||||
elog " emerge /usr/sbin/bongo-setup"
|
|
||||||
elog ""
|
|
||||||
elog "For more information on bongo-setup run /usr/sbin/bongo-setup --help"
|
|
||||||
elog ""
|
|
||||||
elog "After bongo is set up run /etc/init.d/bongo start to start the service"
|
|
||||||
elog ""
|
|
||||||
elog "The default login settings are as follows:"
|
|
||||||
elog "username: admin"
|
|
||||||
elog "password: bongo"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
einfo "Setting up Bongo..."
|
|
||||||
/usr/sbin/bongo-setup
|
|
||||||
}
|
|
@ -1,107 +0,0 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit eutils mailer multilib flag-o-matic
|
|
||||||
|
|
||||||
DESCRIPTION="A calendar and webmail application, which includes its own MTA"
|
|
||||||
|
|
||||||
SRC_URI="http://download.gna.org/bongo/release/${P}.tar.bz2"
|
|
||||||
HOMEPAGE="http://bongo-project.org/"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="libgcrypt"
|
|
||||||
|
|
||||||
KEYWORDS="-alpha -amd64 ~arm ~hppa -ia64 -mips ~ppc -ppc64 ~s390 ~sh ~x86"
|
|
||||||
|
|
||||||
RDEPEND="net-nds/openldap
|
|
||||||
net-libs/gnutls
|
|
||||||
<=dev-cpp/clucene-0.9.17
|
|
||||||
net-misc/curl
|
|
||||||
>=dev-db/sqlite-3
|
|
||||||
libgcrypt? ( dev-libs/libgcrypt )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup bongo
|
|
||||||
enewuser bongo -1 -1 -1 bongo
|
|
||||||
filter-ldflags -Wl,--as-needed --as-needed
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
use libgcrypt && myconf="${myconf} --with-libgcrypt-prefix=/usr"
|
|
||||||
|
|
||||||
./configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--with-user=bongo \
|
|
||||||
--localstatedir=/var/lib \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--libdir=/usr/$(get_libdir) \
|
|
||||||
--with-clucene=/usr \
|
|
||||||
--with-sqlite3=/usr \
|
|
||||||
--with-libcurl=/usr \
|
|
||||||
${myconf} || die
|
|
||||||
|
|
||||||
emake || die "emake failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
make DESTDIR=${D} install || die "make failed"
|
|
||||||
|
|
||||||
dodir /etc/init.d
|
|
||||||
exeinto /etc/init.d
|
|
||||||
newexe ${FILESDIR}/bongo.init bongo
|
|
||||||
|
|
||||||
dodir /etc/conf.d
|
|
||||||
insinto /etc/conf.d
|
|
||||||
newins ${FILESDIR}/bongo.conf.d bongo
|
|
||||||
|
|
||||||
dodir /etc/env.d
|
|
||||||
insinto /etc/env.d
|
|
||||||
newins ${FILESDIR}/70bongo 70bongo
|
|
||||||
|
|
||||||
dodir /var/lib/bongo
|
|
||||||
keepdir /var/lib/bongo
|
|
||||||
fowners bongo:bongo /var/lib/bongo
|
|
||||||
fperms 770 /var/lib/bongo
|
|
||||||
|
|
||||||
dodir /var/run/bongo
|
|
||||||
keepdir /var/run/bongo
|
|
||||||
fowners bongo:bongo /var/run/bongo
|
|
||||||
fperms 770 /var/run/bongo
|
|
||||||
|
|
||||||
if use mailwrapper ; then
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/sendmail.bongo-sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/mailq.bongo-sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/newaliases.bongo-sendmail
|
|
||||||
mailer_install_conf
|
|
||||||
else
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/lib/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/mailq
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/newaliases
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "Bongo must be setup."
|
|
||||||
elog "Please run:"
|
|
||||||
elog " emerge /usr/sbin/bongo-setup"
|
|
||||||
elog ""
|
|
||||||
elog "For more information on bongo-setup run /usr/sbin/bongo-setup --help"
|
|
||||||
elog ""
|
|
||||||
elog "After bongo is set up run /etc/init.d/bongo start to start the service"
|
|
||||||
elog ""
|
|
||||||
elog "The default login settings are as follows:"
|
|
||||||
elog "username: admin"
|
|
||||||
elog "password: bongo"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
einfo "Setting up Bongo..."
|
|
||||||
/usr/sbin/bongo-setup
|
|
||||||
}
|
|
@ -1,107 +0,0 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit eutils mailer multilib flag-o-matic
|
|
||||||
|
|
||||||
DESCRIPTION="A calendar and webmail application, which includes its own MTA"
|
|
||||||
|
|
||||||
SRC_URI="http://download.gna.org/bongo/release/${P}.tar.bz2"
|
|
||||||
HOMEPAGE="http://bongo-project.org/"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="libgcrypt"
|
|
||||||
|
|
||||||
KEYWORDS="-alpha -amd64 ~arm ~hppa -ia64 -mips ~ppc -ppc64 ~s390 ~sh ~x86"
|
|
||||||
|
|
||||||
RDEPEND="net-nds/openldap
|
|
||||||
net-libs/gnutls
|
|
||||||
<=dev-cpp/clucene-0.9.17
|
|
||||||
net-misc/curl
|
|
||||||
>=dev-db/sqlite-3
|
|
||||||
libgcrypt? ( dev-libs/libgcrypt )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup bongo
|
|
||||||
enewuser bongo -1 -1 -1 bongo
|
|
||||||
filter-ldflags -Wl,--as-needed --as-needed
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
use libgcrypt && myconf="${myconf} --with-libgcrypt-prefix=/usr"
|
|
||||||
|
|
||||||
./configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--with-user=bongo \
|
|
||||||
--localstatedir=/var/lib \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--libdir=/usr/$(get_libdir) \
|
|
||||||
--with-clucene=/usr \
|
|
||||||
--with-sqlite3=/usr \
|
|
||||||
--with-libcurl=/usr \
|
|
||||||
${myconf} || die
|
|
||||||
|
|
||||||
emake || die "emake failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
make DESTDIR=${D} install || die "make failed"
|
|
||||||
|
|
||||||
dodir /etc/init.d
|
|
||||||
exeinto /etc/init.d
|
|
||||||
newexe ${FILESDIR}/bongo.init bongo
|
|
||||||
|
|
||||||
dodir /etc/conf.d
|
|
||||||
insinto /etc/conf.d
|
|
||||||
newins ${FILESDIR}/bongo.conf.d bongo
|
|
||||||
|
|
||||||
dodir /etc/env.d
|
|
||||||
insinto /etc/env.d
|
|
||||||
newins ${FILESDIR}/70bongo 70bongo
|
|
||||||
|
|
||||||
dodir /var/lib/bongo
|
|
||||||
keepdir /var/lib/bongo
|
|
||||||
fowners bongo:bongo /var/lib/bongo
|
|
||||||
fperms 770 /var/lib/bongo
|
|
||||||
|
|
||||||
dodir /var/run/bongo
|
|
||||||
keepdir /var/run/bongo
|
|
||||||
fowners bongo:bongo /var/run/bongo
|
|
||||||
fperms 770 /var/run/bongo
|
|
||||||
|
|
||||||
if use mailwrapper ; then
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/sendmail.bongo-sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/mailq.bongo-sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/newaliases.bongo-sendmail
|
|
||||||
mailer_install_conf
|
|
||||||
else
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/lib/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/mailq
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/newaliases
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "Bongo must be setup."
|
|
||||||
elog "Please run:"
|
|
||||||
elog " emerge /usr/sbin/bongo-setup"
|
|
||||||
elog ""
|
|
||||||
elog "For more information on bongo-setup run /usr/sbin/bongo-setup --help"
|
|
||||||
elog ""
|
|
||||||
elog "After bongo is set up run /etc/init.d/bongo start to start the service"
|
|
||||||
elog ""
|
|
||||||
elog "The default login settings are as follows:"
|
|
||||||
elog "username: admin"
|
|
||||||
elog "password: bongo"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
einfo "Setting up Bongo..."
|
|
||||||
/usr/sbin/bongo-setup
|
|
||||||
}
|
|
@ -1,107 +0,0 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit eutils mailer multilib flag-o-matic
|
|
||||||
|
|
||||||
DESCRIPTION="A calendar and webmail application, which includes its own MTA"
|
|
||||||
|
|
||||||
SRC_URI="http://download.gna.org/bongo/release/${P}.tar.bz2"
|
|
||||||
HOMEPAGE="http://bongo-project.org/"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="libgcrypt"
|
|
||||||
|
|
||||||
KEYWORDS="-alpha -amd64 ~arm ~hppa -ia64 -mips ~ppc -ppc64 ~s390 ~sh ~x86"
|
|
||||||
|
|
||||||
RDEPEND="net-nds/openldap
|
|
||||||
net-libs/gnutls
|
|
||||||
<=dev-cpp/clucene-0.9.17
|
|
||||||
net-misc/curl
|
|
||||||
>=dev-db/sqlite-3
|
|
||||||
libgcrypt? ( dev-libs/libgcrypt )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup bongo
|
|
||||||
enewuser bongo -1 -1 -1 bongo
|
|
||||||
filter-ldflags -Wl,--as-needed --as-needed
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
use libgcrypt && myconf="${myconf} --with-libgcrypt-prefix=/usr"
|
|
||||||
|
|
||||||
./configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--with-user=bongo \
|
|
||||||
--localstatedir=/var/lib \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--libdir=/usr/$(get_libdir) \
|
|
||||||
--with-clucene=/usr \
|
|
||||||
--with-sqlite3=/usr \
|
|
||||||
--with-libcurl=/usr \
|
|
||||||
${myconf} || die
|
|
||||||
|
|
||||||
emake || die "emake failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
make DESTDIR=${D} install || die "make failed"
|
|
||||||
|
|
||||||
dodir /etc/init.d
|
|
||||||
exeinto /etc/init.d
|
|
||||||
newexe ${FILESDIR}/bongo.init bongo
|
|
||||||
|
|
||||||
dodir /etc/conf.d
|
|
||||||
insinto /etc/conf.d
|
|
||||||
newins ${FILESDIR}/bongo.conf.d bongo
|
|
||||||
|
|
||||||
dodir /etc/env.d
|
|
||||||
insinto /etc/env.d
|
|
||||||
newins ${FILESDIR}/70bongo 70bongo
|
|
||||||
|
|
||||||
dodir /var/lib/bongo
|
|
||||||
keepdir /var/lib/bongo
|
|
||||||
fowners bongo:bongo /var/lib/bongo
|
|
||||||
fperms 770 /var/lib/bongo
|
|
||||||
|
|
||||||
dodir /var/run/bongo
|
|
||||||
keepdir /var/run/bongo
|
|
||||||
fowners bongo:bongo /var/run/bongo
|
|
||||||
fperms 770 /var/run/bongo
|
|
||||||
|
|
||||||
if use mailwrapper ; then
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/sendmail.bongo-sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/mailq.bongo-sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/newaliases.bongo-sendmail
|
|
||||||
mailer_install_conf
|
|
||||||
else
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/lib/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/mailq
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/newaliases
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "Bongo must be setup."
|
|
||||||
elog "Please run:"
|
|
||||||
elog " emerge /usr/sbin/bongo-setup"
|
|
||||||
elog ""
|
|
||||||
elog "For more information on bongo-setup run /usr/sbin/bongo-setup --help"
|
|
||||||
elog ""
|
|
||||||
elog "After bongo is set up run /etc/init.d/bongo start to start the service"
|
|
||||||
elog ""
|
|
||||||
elog "The default login settings are as follows:"
|
|
||||||
elog "username: admin"
|
|
||||||
elog "password: bongo"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
einfo "Setting up Bongo..."
|
|
||||||
/usr/sbin/bongo-setup
|
|
||||||
}
|
|
@ -1,107 +0,0 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit eutils mailer multilib flag-o-matic
|
|
||||||
|
|
||||||
DESCRIPTION="A calendar and webmail application, which includes its own MTA"
|
|
||||||
|
|
||||||
SRC_URI="http://download.gna.org/bongo/release/${P}.tar.bz2"
|
|
||||||
HOMEPAGE="http://bongo-project.org/"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="libgcrypt"
|
|
||||||
|
|
||||||
KEYWORDS="-alpha -amd64 ~arm ~hppa -ia64 -mips ~ppc -ppc64 ~s390 ~sh ~x86"
|
|
||||||
|
|
||||||
RDEPEND="net-nds/openldap
|
|
||||||
net-libs/gnutls
|
|
||||||
<=dev-cpp/clucene-0.9.17
|
|
||||||
net-misc/curl
|
|
||||||
>=dev-db/sqlite-3
|
|
||||||
libgcrypt? ( dev-libs/libgcrypt )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup bongo
|
|
||||||
enewuser bongo -1 -1 -1 bongo
|
|
||||||
filter-ldflags -Wl,--as-needed --as-needed
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
use libgcrypt && myconf="${myconf} --with-libgcrypt-prefix=/usr"
|
|
||||||
|
|
||||||
./configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--with-user=bongo \
|
|
||||||
--localstatedir=/var/lib \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--libdir=/usr/$(get_libdir) \
|
|
||||||
--with-clucene=/usr \
|
|
||||||
--with-sqlite3=/usr \
|
|
||||||
--with-libcurl=/usr \
|
|
||||||
${myconf} || die
|
|
||||||
|
|
||||||
emake || die "emake failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
make DESTDIR=${D} install || die "make failed"
|
|
||||||
|
|
||||||
dodir /etc/init.d
|
|
||||||
exeinto /etc/init.d
|
|
||||||
newexe ${FILESDIR}/bongo.init bongo
|
|
||||||
|
|
||||||
dodir /etc/conf.d
|
|
||||||
insinto /etc/conf.d
|
|
||||||
newins ${FILESDIR}/bongo.conf.d bongo
|
|
||||||
|
|
||||||
dodir /etc/env.d
|
|
||||||
insinto /etc/env.d
|
|
||||||
newins ${FILESDIR}/70bongo 70bongo
|
|
||||||
|
|
||||||
dodir /var/lib/bongo
|
|
||||||
keepdir /var/lib/bongo
|
|
||||||
fowners bongo:bongo /var/lib/bongo
|
|
||||||
fperms 770 /var/lib/bongo
|
|
||||||
|
|
||||||
dodir /var/run/bongo
|
|
||||||
keepdir /var/run/bongo
|
|
||||||
fowners bongo:bongo /var/run/bongo
|
|
||||||
fperms 770 /var/run/bongo
|
|
||||||
|
|
||||||
if use mailwrapper ; then
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/sendmail.bongo-sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/mailq.bongo-sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/newaliases.bongo-sendmail
|
|
||||||
mailer_install_conf
|
|
||||||
else
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/lib/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/mailq
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/newaliases
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "Bongo must be setup."
|
|
||||||
elog "Please run:"
|
|
||||||
elog " emerge /usr/sbin/bongo-setup"
|
|
||||||
elog ""
|
|
||||||
elog "For more information on bongo-setup run /usr/sbin/bongo-setup --help"
|
|
||||||
elog ""
|
|
||||||
elog "After bongo is set up run /etc/init.d/bongo start to start the service"
|
|
||||||
elog ""
|
|
||||||
elog "The default login settings are as follows:"
|
|
||||||
elog "username: admin"
|
|
||||||
elog "password: bongo"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
einfo "Setting up Bongo..."
|
|
||||||
/usr/sbin/bongo-setup
|
|
||||||
}
|
|
@ -1,107 +0,0 @@
|
|||||||
# Copyright 1999-2008 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit eutils mailer multilib flag-o-matic
|
|
||||||
|
|
||||||
DESCRIPTION="A calendar and webmail application, which includes its own MTA"
|
|
||||||
|
|
||||||
SRC_URI="http://download.gna.org/bongo/release/${P}.tar.bz2"
|
|
||||||
HOMEPAGE="http://bongo-project.org/"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="libgcrypt"
|
|
||||||
|
|
||||||
KEYWORDS="-alpha -amd64 ~arm ~hppa -ia64 -mips ~ppc -ppc64 ~s390 ~sh ~x86"
|
|
||||||
|
|
||||||
RDEPEND="net-nds/openldap
|
|
||||||
net-libs/gnutls
|
|
||||||
<=dev-cpp/clucene-0.9.17
|
|
||||||
net-misc/curl
|
|
||||||
>=dev-db/sqlite-3
|
|
||||||
libgcrypt? ( dev-libs/libgcrypt )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup bongo
|
|
||||||
enewuser bongo -1 -1 -1 bongo
|
|
||||||
filter-ldflags -Wl,--as-needed --as-needed
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
use libgcrypt && myconf="${myconf} --with-libgcrypt-prefix=/usr"
|
|
||||||
|
|
||||||
./configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--with-user=bongo \
|
|
||||||
--localstatedir=/var/lib \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--libdir=/usr/$(get_libdir) \
|
|
||||||
--with-clucene=/usr \
|
|
||||||
--with-sqlite3=/usr \
|
|
||||||
--with-libcurl=/usr \
|
|
||||||
${myconf} || die
|
|
||||||
|
|
||||||
emake || die "emake failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
make DESTDIR=${D} install || die "make failed"
|
|
||||||
|
|
||||||
dodir /etc/init.d
|
|
||||||
exeinto /etc/init.d
|
|
||||||
newexe ${FILESDIR}/bongo.init bongo
|
|
||||||
|
|
||||||
dodir /etc/conf.d
|
|
||||||
insinto /etc/conf.d
|
|
||||||
newins ${FILESDIR}/bongo.conf.d bongo
|
|
||||||
|
|
||||||
dodir /etc/env.d
|
|
||||||
insinto /etc/env.d
|
|
||||||
newins ${FILESDIR}/70bongo 70bongo
|
|
||||||
|
|
||||||
dodir /var/lib/bongo
|
|
||||||
keepdir /var/lib/bongo
|
|
||||||
fowners bongo:bongo /var/lib/bongo
|
|
||||||
fperms 770 /var/lib/bongo
|
|
||||||
|
|
||||||
dodir /var/run/bongo
|
|
||||||
keepdir /var/run/bongo
|
|
||||||
fowners bongo:bongo /var/run/bongo
|
|
||||||
fperms 770 /var/run/bongo
|
|
||||||
|
|
||||||
if use mailwrapper ; then
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/sendmail.bongo-sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/mailq.bongo-sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/newaliases.bongo-sendmail
|
|
||||||
mailer_install_conf
|
|
||||||
else
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/lib/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/mailq
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/newaliases
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "Bongo must be setup."
|
|
||||||
elog "Please run:"
|
|
||||||
elog " emerge /usr/sbin/bongo-setup"
|
|
||||||
elog ""
|
|
||||||
elog "For more information on bongo-setup run /usr/sbin/bongo-setup --help"
|
|
||||||
elog ""
|
|
||||||
elog "After bongo is set up run /etc/init.d/bongo start to start the service"
|
|
||||||
elog ""
|
|
||||||
elog "The default login settings are as follows:"
|
|
||||||
elog "username: admin"
|
|
||||||
elog "password: bongo"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
einfo "Setting up Bongo..."
|
|
||||||
/usr/sbin/bongo-setup
|
|
||||||
}
|
|
@ -1,107 +0,0 @@
|
|||||||
# Copyright 1999-2005 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
inherit eutils mailer multilib flag-o-matic
|
|
||||||
|
|
||||||
DESCRIPTION="A calendar and webmail application, which includes its own MTA"
|
|
||||||
|
|
||||||
SRC_URI="http://download.gna.org/bongo/release/${P}.tar.bz2"
|
|
||||||
HOMEPAGE="http://bongo-project.org/"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="libgcrypt"
|
|
||||||
|
|
||||||
KEYWORDS="-alpha -amd64 ~arm ~hppa -ia64 -mips ~ppc -ppc64 ~s390 ~sh ~x86"
|
|
||||||
|
|
||||||
RDEPEND="net-nds/openldap
|
|
||||||
net-libs/gnutls
|
|
||||||
<=dev-cpp/clucene-0.9.17
|
|
||||||
net-misc/curl
|
|
||||||
>=dev-db/sqlite-3
|
|
||||||
libgcrypt? ( dev-libs/libgcrypt )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup bongo
|
|
||||||
enewuser bongo -1 -1 -1 bongo
|
|
||||||
filter-ldflags -Wl,--as-needed --as-needed
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
use libgcrypt && myconf="${myconf} --with-libgcrypt-prefix=/usr"
|
|
||||||
|
|
||||||
./configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--with-user=bongo \
|
|
||||||
--localstatedir=/var/lib \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--libdir=/usr/$(get_libdir) \
|
|
||||||
--with-clucene=/usr \
|
|
||||||
--with-sqlite3=/usr \
|
|
||||||
--with-libcurl=/usr \
|
|
||||||
${myconf} || die
|
|
||||||
|
|
||||||
emake || die "emake failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
make DESTDIR=${D} install || die "make failed"
|
|
||||||
|
|
||||||
dodir /etc/init.d
|
|
||||||
exeinto /etc/init.d
|
|
||||||
newexe ${FILESDIR}/bongo.init bongo
|
|
||||||
|
|
||||||
dodir /etc/conf.d
|
|
||||||
insinto /etc/conf.d
|
|
||||||
newins ${FILESDIR}/bongo.conf.d bongo
|
|
||||||
|
|
||||||
dodir /etc/env.d
|
|
||||||
insinto /etc/env.d
|
|
||||||
newins ${FILESDIR}/70bongo 70bongo
|
|
||||||
|
|
||||||
dodir /var/lib/bongo
|
|
||||||
keepdir /var/lib/bongo
|
|
||||||
fowners bongo:bongo /var/lib/bongo
|
|
||||||
fperms 770 /var/lib/bongo
|
|
||||||
|
|
||||||
dodir /var/run/bongo
|
|
||||||
keepdir /var/run/bongo
|
|
||||||
fowners bongo:bongo /var/run/bongo
|
|
||||||
fperms 770 /var/run/bongo
|
|
||||||
|
|
||||||
if use mailwrapper ; then
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/sendmail.bongo-sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/mailq.bongo-sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/newaliases.bongo-sendmail
|
|
||||||
mailer_install_conf
|
|
||||||
else
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/lib/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/bin/sendmail
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/mailq
|
|
||||||
dosym /usr/sbin/bongo-sendmail /usr/sbin/newaliases
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "Bongo must be setup."
|
|
||||||
elog "Please run:"
|
|
||||||
elog " emerge /usr/sbin/bongo-setup"
|
|
||||||
elog ""
|
|
||||||
elog "For more information on bongo-setup run /usr/sbin/bongo-setup --help"
|
|
||||||
elog ""
|
|
||||||
elog "After bongo is set up run /etc/init.d/bongo start to start the service"
|
|
||||||
elog ""
|
|
||||||
elog "The default login settings are as follows:"
|
|
||||||
elog "username: admin"
|
|
||||||
elog "password: bongo"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_config() {
|
|
||||||
einfo "Setting up Bongo..."
|
|
||||||
/usr/sbin/bongo-setup
|
|
||||||
}
|
|
@ -14,11 +14,11 @@ SLOT="0"
|
|||||||
|
|
||||||
IUSE="libgcrypt"
|
IUSE="libgcrypt"
|
||||||
|
|
||||||
KEYWORDS="-alpha -amd64 ~arm ~hppa -ia64 -mips ~ppc -ppc64 ~s390 ~sh ~x86"
|
KEYWORDS="-alpha ~amd64 ~arm ~hppa -ia64 -mips ~ppc -ppc64 ~s390 ~sh ~x86"
|
||||||
|
|
||||||
RDEPEND="net-nds/openldap
|
RDEPEND="net-nds/openldap
|
||||||
net-libs/gnutls
|
net-libs/gnutls
|
||||||
<=dev-cpp/clucene-0.9.17
|
dev-cpp/clucene
|
||||||
net-misc/curl
|
net-misc/curl
|
||||||
>=dev-db/sqlite-3
|
>=dev-db/sqlite-3
|
||||||
libgcrypt? ( dev-libs/libgcrypt )"
|
libgcrypt? ( dev-libs/libgcrypt )"
|
||||||
|
@ -24,7 +24,7 @@ KEYWORDS=""
|
|||||||
PROVIDE="virtual/mta"
|
PROVIDE="virtual/mta"
|
||||||
DEPEND="net-nds/openldap
|
DEPEND="net-nds/openldap
|
||||||
net-libs/gnutls
|
net-libs/gnutls
|
||||||
>=dev-cpp/clucene-0.9.17
|
dev-cpp/clucene
|
||||||
net-misc/curl
|
net-misc/curl
|
||||||
>=dev-db/sqlite-3
|
>=dev-db/sqlite-3
|
||||||
>=dev-libs/libical-0.40
|
>=dev-libs/libical-0.40
|
||||||
|
Loading…
Reference in New Issue
Block a user