Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 12873 Details for
Bug 22331
net-mail/dbmail (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dbmail-1.1.ebuild
dbmail-1.1.ebuild (text/plain), 2.89 KB, created by
Chris Johnson
on 2003-06-06 00:49:47 UTC
(
hide
)
Description:
dbmail-1.1.ebuild
Filename:
MIME Type:
Creator:
Chris Johnson
Created:
2003-06-06 00:49:47 UTC
Size:
2.89 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/net-mail/qmail/qmail-1.03-r9.ebuild,v 1.8 2003/02/17 08:41:57 raker Exp $ > >IUSE="ssl postgres mysql" > >S=${WORKDIR}/${P} > >DESCRIPTION="A mail transfer agent that uses mysql or postgresql as its data store rather than maildir" >HOMEPAGE="http://www.dbmail.org/" >SRC_URI="http://dbmail.org/tgz/${P}.tgz" > >DEPEND="openssl" > >RDEPEND="" > >SLOT="0" >LICENSE="gpl-2" >KEYWORDS="-x86 -ppc -sparc " > >pkg_setup() { > > einfo "Checking if group dbmail exists." > if ! groupmod dbmail; then > einfo "* Adding dbmail group." > groupadd dbmail || die "problem adding group dbmail" > fi > einfo "Checking if user dbmail exists." > if ! id dbmail; then > einfo "* Adding dbmail user." > useradd -g dbmail -s /bin/bash -d /home/dbmail dbmail \ > || die "problem adding user dbmail" > fi > einfo "Creating /home/dbmail if it does not exist." > if ! [ -d /home/dbmail ]; then > einfo "* Creating /home/dbmail" > mkdir /home/dbmail > fi >} > >src_compile() { > > #use mysql && myconf="$myconf --with-mysql" > use postgres && myconf="$myconf --with-pgsql" > > cd ${S} > ./configure --prefix=/usr \ > --with-openssl \ > $myconf || die > > emake || die "compile problem" > >} > > > >src_install() { > cd ${S} > for file in dbmail-smtp dbmail-pop3d dbmail-imapd \ > dbmail-maintenance dbmail-adduser \ > dbmail-mini-injector dbmail-readvut > do > chown dbmail.dbmail $file > chmod 770 $file > dobin $file > done > doman man/* > dodoc AUTHORS INSTALL EXTRAS ChangeLog COPYING \ > VERSION NEWS README TODO mysql2pgsql/HOW-TO-CONVERT > insinto /etc > doins dbmail.conf > mkdir -p ${D}/home/dbmail/sql > cp -a sql ${D}/home/dbmail/ > >} > >pkg_postinst() { > einfo ">>> Execute the following command" > einfo ">>> ebuild /var/db/pkg/net-mail/${PF}/${PF}.ebuild config" > einfo ">>> to setup the initial database environment and " > einfo ">>> for more setup instructions." >} > >pkg_config() { > > # For PostgreSQL > einfo ">>> Initializing the database user, databse, and tables ..." > einfo ">>> Creating postgres user dbmail. " > einfo "You may want to add a password for dbmail: " > einfo "`psql -c "ALTER USER dbmail WITH PASSWORD 'secret';"`" > createuser -U postgres -a -d dbmail > createdb -U dbmail dbmail > psql -U dbmail dbmail < /home/dbmail/sql/postgresql/create_tables.pgsql > einfo "Please read /usr/share/doc/dbmail-1.1/INSTALL " > einfo "for remaining instructions on setting up dbmail users and " > einfo "for finishing configuration to connect to your MTA and " > einfo "to connect to your db." > einfo "" > einfo "The next step is to add users to the db. Example: " > einfo " ./dbmail-adduser a john secret 0 25000000 " > einfo " john@dude.org john@dude.net @net.com" > einfo "You will also want to follow the installation instructions " > einfo "on setting up the maintenance program to delete old messages." > einfo "Don't forget to edit /etc/dbmail.conf as well. :)" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 22331
:
12873
|
20450
|
20451
|
31141
|
31146
|
31147
|
31148
|
41784
|
41785
|
41952
|
42440
|
45764
|
45765
|
45766
|
48551
|
55725
|
55726
|
55727
|
55728
|
61730
|
67162
|
67177
|
67609
|
67610
|
70257
|
93954