add Bongo

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/bongo@582 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2008-12-07 21:17:15 +00:00
commit 5c4eea54f8
12 changed files with 616 additions and 0 deletions

14
net-mail/bongo/Manifest Normal file
View File

@ -0,0 +1,14 @@
AUX 70bongo 30 RMD160 f88bfbb75ec6605b5df06aed861a13b01c094466 SHA1 f1d44d8fab4e7495ec38e85047f7e800cdfc1965 SHA256 d0ee5aef8f668f6341f2a7fa61b758c62ab5f4e81ef252e9fa4858ed09eea12e
AUX bongo.conf.d 319 RMD160 52a3753da81e87716d80091fe09ac2a6027123b2 SHA1 c40625f749819ae138372e917562734cdc47afba SHA256 6e1386658d9751f892d1dbb7f43f3606b40200f702d5c26d1592ab327f6205e8
AUX bongo.init 795 RMD160 17822d677d9861994229d7154bddec29221cc11c SHA1 e017a66f80afd34956d3679b92c287f5ee1aa418 SHA256 61b4bd024eda1bda2cbb095d7b7e43df4c3007715a9b331e9638d8e9a11bd234
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.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
EBUILD bongo-0.1.0.ebuild 2572 RMD160 d6476a703e754afe856606e6abd7dd10007ea477 SHA1 378e1da449c0efd1bddd80f89ed0b4ea37a50241 SHA256 32a51fca5b8a4e938e33ef7b1eca881f9d404070382a2a4fc342e2f627bd5f53
EBUILD bongo-0.2.0.ebuild 2579 RMD160 9d4c19d08af24286a622be054d79c1e2170ea11f SHA1 c8da39f21b315337b808b2db7020ebb6c7408080 SHA256 16d4b973d2be6a4bf6bacdfaa6421c3446212c55e4730e2c30fc4d0e8a176020
EBUILD bongo-0.3.1.ebuild 2579 RMD160 9d4c19d08af24286a622be054d79c1e2170ea11f SHA1 c8da39f21b315337b808b2db7020ebb6c7408080 SHA256 16d4b973d2be6a4bf6bacdfaa6421c3446212c55e4730e2c30fc4d0e8a176020
EBUILD bongo-0.4.0.ebuild 2579 RMD160 9d4c19d08af24286a622be054d79c1e2170ea11f SHA1 c8da39f21b315337b808b2db7020ebb6c7408080 SHA256 16d4b973d2be6a4bf6bacdfaa6421c3446212c55e4730e2c30fc4d0e8a176020
EBUILD bongo-9999.ebuild 2735 RMD160 d54ed3e34d0f7c8aee5cb481805c9e359a8fb8f1 SHA1 bf9ba8760d68d720b08ef4de81199706dc1de979 SHA256 1082f072bf8e4d8ccc3b4620be90a53087e3d1699a2337df50fef71738592940
MISC metadata.xml 224 RMD160 a75b1683331a8874b18170c82f559bce6877f626 SHA1 da1ebf5ff592428b014945c5ccd1316778f39092 SHA256 de22a32e0eb75abae4c9d09b297c10d3597e4162861d73140fa6db97aa61f02f

View File

@ -0,0 +1,107 @@
# 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
}

View File

@ -0,0 +1,107 @@
# 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
}

View File

@ -0,0 +1,107 @@
# 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
}

View File

@ -0,0 +1,107 @@
# 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
}

View File

@ -0,0 +1,116 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
ESVN_REPO_URI="http://svn.gna.org/svn/${PN}/trunk"
WANT_AUTOMAKE="1.9"
inherit autotools eutils mailer multilib flag-o-matic subversion
DESCRIPTION="A calendar and webmail application, which includes its own MTA"
HOMEPAGE="http://bongo-project.org/"
LICENSE="LGPL-2"
SLOT="0"
IUSE="libgcrypt"
KEYWORDS=""
RDEPEND="net-nds/openldap
net-libs/gnutls
net-misc/curl
>=dev-db/sqlite-3
libgcrypt? ( dev-libs/libgcrypt )
!dev-cpp/clucene"
# BLOCK CLUCENE DEP UNTIL THE 64bit BUG IS FIXED UPSTREAM
#dev-cpp/clucene
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"
./autogen.sh \
--prefix=/usr \
--with-user=bongo \
--localstatedir=/var/lib \
--sysconfdir=/etc \
--libdir=/usr/$(get_libdir) \
--with-sqlite3=/usr \
--with-sqlite3-libdir=/usr/$(get_libdir) \
--with-libcurl=/usr \
${myconf} || die
# BLOCK CLUCENE DEP UNTIL THE 64bit BUG IS FIXED UPSTREAM
#--with-clucene=/usr \
#--with-clucene-libdir=/usr/$(get_libdir) \
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() {
/usr/sbin/bongo-setup
}

View File

@ -0,0 +1 @@
CONFIG_PROTECT=/var/lib/bongo

View File

@ -0,0 +1,7 @@
# /etc/conf.d/bongo
# Set to "standalone" when you want bongo to run it's own limited webserver.
# This is needed if you plan to use bongo either on it's own or with any
# non-Apache web server or simple proxy.
# Set to anything else if you plan to use the mod_python interface for Apache.
BONGO_WEB_MODE="standalone"

View File

@ -0,0 +1,31 @@
#!/sbin/runscript
depend() {
need net
use logger dns antivirus
after apache2 lighttpd spamd
provide mta
}
start() {
ebegin "Starting bongo"
start-stop-daemon --start --quiet \
--exec /usr/sbin/bongo-manager -- -d &> /dev/null
if [[ ${BONGO_WEB_MODE} == 'standalone' ]] ; then
start-stop-daemon --start --quiet --background --make-pidfile \
--pidfile /var/run/bongo/bongo-standalone.pid \
--exec /usr/bin/python \
--startas /usr/sbin/bongo-standalone &> /dev/null
fi
eend $?
}
stop() {
ebegin "Stopping bongo"
if [[ ${BONGO_WEB_MODE} == 'standalone' ]] ; then
start-stop-daemon --stop \
--pidfile /var/run/bongo/bongo-standalone.pid
fi
start-stop-daemon --stop --name bongo-manager &> /dev/null
eend $?
}

View File

@ -0,0 +1,10 @@
# $Header: $
# $OpenBSD: mailer.conf,v 1.3 2000/04/06 18:24:19 millert Exp $
# Execute the "real" sendmail program from bongo,
# named /usr/sbin/bongo-sendmail
#
sendmail /usr/sbin/bongo-sendmail
send-mail /usr/sbin/bongo-sendmail
mailq /usr/sbin/bongo-sendmail
newaliases /usr/sbin/bongo-sendmail

View File

@ -0,0 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
no-herd
dostrow@gentoo.org
Bongo is an email and calendaring server which is includes its own MTA and web server.

1
profiles/repo_name Normal file
View File

@ -0,0 +1 @@
bongo