Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 92015 Details for
Bug 130068
Maia Mailguard ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
maia-1.0.1 ebuild
maia-1.0.1.ebuild (text/plain), 4.75 KB, created by
Alexandre Ghisoli
on 2006-07-17 12:17:58 UTC
(
hide
)
Description:
maia-1.0.1 ebuild
Filename:
MIME Type:
Creator:
Alexandre Ghisoli
Created:
2006-07-17 12:17:58 UTC
Size:
4.75 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit depend.php eutils webapp > >DESCRIPTION="Maia Mailguard is a Web based frontend to control virus scanners and spam filters" >HOMEPAGE="http://www.renaissoft.com/projects/maia/" >SRC_URI="http://www.maiamailguard.com/files/${PN}-${PV}.tar.gz > http://www.maiamailguard.com/files/maia-lang-fr.tar.gz" > ># SLOT="0" >LICENSE="GPL-2" >KEYWORDS="~x86 ~amd64" >IUSE="apache crypt mysql postgres" > >DEPEND=">=sys-apps/sed-4 > >=dev-lang/perl-5.8.2" > >RDEPEND=" >=sys-apps/coreutils-5.0-r3 > app-arch/gzip > app-arch/bzip2 > app-arch/arc > app-arch/cabextract > app-arch/freeze > app-arch/lha > app-arch/unarj > app-arch/unrar > app-arch/zoo > mail-filter/spamassassin > virtual/mta > virtual/antivirus > dev-perl/Archive-Tar > >=dev-perl/Archive-Zip-1.14 > >=dev-perl/Compress-Zlib-1.35 > dev-perl/Convert-TNEF > >=dev-perl/Convert-UUlib-1.06 > >=dev-perl/DBI-1.40 > dev-perl/IO-stringy > virtual/perl-MIME-Base64 > dev-perl/MIME-tools > >=dev-perl/net-server-0.93 > dev-perl/Template-Toolkit > >=virtual/perl-Time-HiRes-1.49 > dev-perl/Unix-Syslog > dev-perl/Data-UUID > >=dev-perl/MailTools-1.58 > >=virtual/perl-libnet-1.16 > crypt? ( dev-perl/Crypt-Blowfish > dev-perl/crypt-cbc ) > apache? ( net-www/apache > virtual/php > dev-php/PEAR-Net_POP3 > dev-php/PEAR-Net_IMAP > dev-php/PEAR-DB > dev-php/PEAR-Mail_Mime > dev-php/PEAR-Image_Graph > dev-php/PEAR-Log > dev-php/PEAR-Net_SMTP > >=dev-php/smarty-2.6.14 > dev-libs/libmcrypt ) > mysql? ( >=dev-db/mysql-4.0.1 > >=dev-perl/DBD-mysql ) > postgres? ( >=dev-db/postgresql-8.0 > dev-perl/DBD-Pg > >=dev-perl/DBD-Pg-1.31 )" > > >pkg_setup() { > if use apache > then > require_php_with_use wddx > fi > webapp_pkg_setup > enewgroup amavis > enewuser amavis -1 -1 /var/lib/amavis amavis >} > > >src_unpack() { > unpack ${A} && cd "${S}" > # Patch to address bug 298 > # https://secure.renaissoft.com/maia/ticket/298 > epatch ${FILESDIR}/smarty-plugins.patch > > # https://secure.renaissoft.com/maia/ticket/336 > epatch ${FILESDIR}/configure-detection.patch > > # https://secure.renaissoft.com/maia/ticket/341 > cd ${WORKDIR}/fr > epatch ${FILESDIR}/maia-fr-060614.patch > cd ${S} > > # https://secure.renaissoft.com/maia/ticket/342 > epatch ${FILESDIR}/button-htmlentities.patch >} > > >src_install() { > webapp_src_preinst > # Install maia scripts > cd ${S}/scripts > exeinto /usr/bin > exeopts -oamavis -gamavis -m0700 > doexe *.pl > > cd ${S} > exeinto /usr/sbin > exeopts -oamavis -gamavis -m0700 > doexe amavisd-maia > > # Config files > cd ${S} > dodir /var/run/amavis > insinto /etc > cp maia.conf.dist maia.conf > doins maia.conf > dosed "s:^\$script_dir = [^;]*;:\$script_dir = \"/usr/bin\";: "\ > /etc/maia.conf > cp amavisd.conf.dist amavisd.conf > doins amavisd.conf > dosed "s:/var/amavisd:/var/amavis:g" /etc/amavisd.conf > dosed "s:^\$MYHOME = [^;]*;:\$MYHOME = \"/var/amavis\"; : "\ > /etc/amavisd.conf > dosed "s:^# \$pid_file = [^;]*;:\$pid_file = \"/var/run/amavis/amavisd.pid\"; : "\ > /etc/amavisd.conf > dosed "s:^# \$lock_file = [^;]*;:\$lock_file = \"/var/run/amavis/amavisd.lock\"; : "\ > /etc/amavisd.conf > dosed "s:/var/amavisd/clamd.sock:/var/run/clamav/clamd.sock:g" /etc/amavisd.conf > > if [ "$(dnsdomainname)" = "(none)" ] ; then > dosed "s:^#\\?\\\$mydomain[^;]*;:\$mydomain = '$(hostname)';:" \ > /etc/amavisd.conf > else > dosed "s:^#\\?\\\$mydomain[^;]*;:\$mydomain = '$(dnsdomainname)';:" \ > /etc/amavisd.conf > fi > > keepdir /var/run/amavis/ > keepdir /var/amavis/ > keepdir /var/amavis/tmp > keepdir /var/amavis/db > keepdir /var/amavis/templates > > cd ${S} > dodoc LICENSE README maia-mysql.sql maia-pgsql.sql > # webapp-config is not yet ready to deal with this > # webapp_sqlscript mysql maia-mysql.sql > # webapp_sqlscript postgres maia-pgsql.sql > > > # Also install full amavisd-new source as documentation > tar cvf amavisd-new-2.2.1.tgz reference/amavisd-new-2.2.1/ > dodoc amavisd-new-2.2.1.tgz > > insinto /var/amavis/templates > cd ${S}/templates > doins *.tpl > > if use apache > then > cd ${S}/php > cat config.php.dist |\ > sed 's:\t// \$smarty_path = [^;]*;:\t\$smarty_path = \"/usr/share/php/smarty/\";:' \ > > config.php > cp -R * ${D}/${MY_HTDOCSDIR} > > cd ${WORKDIR}/fr > mkdir ${D}/${MY_HTDOCSDIR}/locale/fr > cp *.php ${D}/${MY_HTDOCSDIR}/locale/fr > > webapp_hook_script ${FILESDIR}/reconfig-${PV} > webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt > fi > > newinitd "${FILESDIR}/maia.rc" maia-amavisd > webapp_src_install >} > >pkg_postinst() { > einfo "The first stage of the installation is done. Now you need to setup " > einfo "your virtual hosts via webapp-config" > einfo "Please read man webapp-config for a detailed description of the" > einfo "process and some examples" > chmod o-rwx /etc/amavisd.conf > chown root:amavis /etc/amavisd.conf > chown -R amavis:amavis /var/amavis > chown -R amavis:amavis /var/run/amavis >} >
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 130068
:
84719
|
84724
|
84784
|
84785
|
85471
|
85472
|
85473
|
86263
| 92015 |
92016
|
92017
|
92018
|
101924
|
105567
|
105935
|
105937
|
127049
|
127071
|
175372