Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 1463 Details for
Bug 3649
net-mail/cyrus-imapd-2.0.16 (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild for cyrus-imapd-2.0.16
cyrus-imapd-2.0.16.ebuild (text/plain), 3.77 KB, created by
Maik Schreiber
on 2002-06-11 18:50:57 UTC
(
hide
)
Description:
ebuild for cyrus-imapd-2.0.16
Filename:
MIME Type:
Creator:
Maik Schreiber
Created:
2002-06-11 18:50:57 UTC
Size:
3.77 KB
patch
obsolete
># Copyright 1999-2002 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># Author: Maik Schreiber <bZ@iq-computing.de> ># /space/gentoo/cvsroot/gentoo-x86/app-admin/pwgen/pwgen-2.01.ebuild,v 1.2 2002/05/27 17:27:34 drobbins Exp > >HOMEPAGE="http://asg.web.cmu.edu/cyrus/imapd/" >DESCRIPTION="Cyrus IMAP server" >SRC_URI="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/${P}.tar.gz" >RDEPEND=">=dev-libs/cyrus-sasl-1.5.15" >DEPEND="${RDEPEND}" >PROVIDE="virtual/imapd" > >save_env() { > export oldpath="${PATH}" > export oldcflags="${CFLAGS}" > export oldcxxflags="${CXXFLAGS}" >} > >restore_env() { > export PATH="${oldpath}" > export CFLAGS="${oldcflags}" > export CXXFLAGS="${oldcxxflags}" >} > >fix_perl_paths() { > mv ${1} ${1}.orig > sed <${1}.orig >${1} \ > -e "s|INSTALLMAN1DIR = /usr/share/man/man1|INSTALLMAN1DIR = ${D}/usr/share/man/man1|g" \ > -e "s|INSTALLMAN3DIR = /usr/share/man/man3|INSTALLMAN3DIR = ${D}/usr/share/man/man3|g" \ > -e 's|$(PREFIX)/lib/site_perl/|$(PREFIX)/lib/perl5/site_perl/|g' \ > -e 's|INSTALLARCHLIB = $(PREFIX)/lib/5.6.1/i686-linux|INSTALLARCHLIB = $(PREFIX)/lib/perl5/site_perl/5.6.1/i686-linux|' >} > > >pkg_setup() { > if ! grep -q ^cyrus: /etc/group ; then > groupadd cyrus || die "problem adding cyrus group" > fi > > if ! grep -q ^cyrus: /etc/passwd ; then > useradd -g cyrus -d /dev/null -s /bin/false \ > -c "Cyrus IMAP server" cyrus \ > || die "problem adding cyrus user" > fi >} > >src_compile() { > save_env > > # modify config file paths > mv imap/krbck.c imap/krbck.c.orig > sed <imap/krbck.c.orig >imap/krbck.c \ > -e 's|#define CONFIG_FILENAME "/etc/imapd.conf"|#define CONFIG_FILENAME "/etc/cyrus/imapd.conf"|' > mv imap/config.c imap/config.c.orig > sed <imap/config.c.orig >imap/config.c \ > -e 's|#define CONFIG_FILENAME "/etc/imapd.conf"|#define CONFIG_FILENAME "/etc/cyrus/imapd.conf"|' > > mv master/masterconf.c master/masterconf.c.orig > sed <master/masterconf.c.orig >master/masterconf.c \ > -e 's|#define CONFIG_FILENAME "/etc/cyrus.conf"|#define CONFIG_FILENAME "/etc/cyrus/cyrus.conf"|' > > # fix hard-coded installation paths > mv Makefile.in Makefile.in.orig > sed <Makefile.in.orig >Makefile.in \ > -e 's|${DESTDIR}$(prefix)/man|${DESTDIR}$(prefix)/share/man|g' > mv man/Makefile.in man/Makefile.in.orig > sed <man/Makefile.in.orig >man/Makefile.in \ > -e 's|$(DESTDIR)$(prefix)/man|$(DESTDIR)$(prefix)/share/man|g' > > # compile temporary makedepend utility > cd makedepend > ./configure || (restore_env ; die) > make || (restore_env ; die) > export PATH="`pwd`:${PATH}" > cd .. > > CFLAGS="${CFLAGS} -I/usr/include/et" > CXXFLAGS="${CXXFLAGS} -I/usr/include/et" > ./configure --prefix=${D}/usr \ > --with-cyrus-prefix=${D}/usr/lib/cyrus \ > --mandir=${D}/usr/share/man \ > --sysconfdir=/etc/cyrus \ > --with-cyrus-user=cyrus \ > --with-cyrus-group=cyrus \ > --with-auth=unix \ > || (restore_env ; die) > mv config.h config.h.orig > sed <config.h.orig >config.h \ > -e "s|#define CYRUS_PATH \"${D}/usr/lib/cyrus\"|#define CYRUS_PATH \"/usr/lib/cyrus\"|" > dosed config.h > make || (restore_env ; die) > > # fix hard-coded installation paths (Perl part) > fix_perl_paths perl/imap/Makefile > fix_perl_paths perl/sieve/acap/Makefile > fix_perl_paths perl/sieve/managesieve/Makefile > > restore_env >} > >src_install() { > make install || die > > ${FILESDIR}/mkimap.sh "${D}" > > insinto /etc/cyrus > doins ${FILESDIR}/cyrus.conf.sample > doins ${FILESDIR}/imapd.conf.sample > > insinto /etc > doins ${FILESDIR}/services > > exeinto /etc/init.d > newexe ${FILESDIR}/rc_cyrus cyrus >} > >pkg_postinst() { > einfo "/etc/cyrus contains the configuration files cyrus.conf.sample" > einfo 'and imapd.conf.sample now. Edit them and then remove the ".sample"' > einfo 'suffix. After that, run "/etc/init.d/cyrus start".' > einfo "" > einfo "To permanently add Cyrus to your startup, you may want to try" > einfo '"rc-update add cyrus default", too.' >}
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 3649
: 1463 |
1464
|
1465
|
1466
|
1467
|
1468
|
1590
|
1591
|
1592
|
1776
|
1796
|
1804
|
1826