Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 2624 Details for
Bug 5641
vqadmin-2.3.2.ebuild here. needs 'qmailadmin' and 'autorespond'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
vqadmin 2.3.2 ebuild
vqadmin-2.3.2.ebuild.txt (text/plain), 2.65 KB, created by
Maurizio Disimino
on 2002-07-27 03:58:56 UTC
(
hide
)
Description:
vqadmin 2.3.2 ebuild
Filename:
MIME Type:
Creator:
Maurizio Disimino
Created:
2002-07-27 03:58:56 UTC
Size:
2.65 KB
patch
obsolete
># Copyright 1999-2002 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header: /home/cvsroot/gentoo-x86/net-mail/vqadmin/vqadmin-2.3.2.ebuild,v 1 2002/07/22 15:54:03 j2ee Exp $ > >S=${WORKDIR}/${P} >DESCRIPTION="A web based control pannel to manage Virtual Qmail Domains. Works with qmailadmin" >SRC_URI="http://www.inter7.com/vqadmin/${P}.tar.gz" >HOMEPAGE="http://www.inter7.com/vqadmin" > >KEYWORDS="x86" >LICENSE="GPL-2" >SLOT="0" > >DEPEND="net-mail/vpopmail > net-mail/qmail" > >RDEPEND="${DEPEND} > net-mail/qmailadmin > net-www/apache" > >REAL_CGIBINDIR="/home/httpd/cgi-bin" > >src_compile() { > > econf --enable-qmaildir=/var/qmail \ > --enable-vpopuser=vpopmail \ > --enable-vpopgroup=vpopmail \ > --enable-cgibindir=\${CGIBINDIR} || die "configure failed" > emake || die > > sed "/install-exec-local:/,/chmod go+r/s|\${CGIBINDIR}|\${D}${REAL_CGIBINDIR}|" Makefile > Makefile.new > mv --force Makefile.new Makefile >} > >src_install () { > make DESTDIR=${D} install-strip || die > > # Install documentation. > dodoc ACL AUTHORS BUGS LICENSE ChangeLog FAQ INSTALL NEWS TODO README >} > >pkg_postinst() { > > einfo "Performing post-installation routines for ${P}." > > cat > ${REAL_CGIBINDIR}/vqadmin/vqadmin.conf <<EOF ><Directory "${REAL_CGIBINDIR}/vqadmin"> > deny from all > Options ExecCGI > AllowOverride AuthConfig > Order deny,allow ></Directory> >EOF > > # Including configuration to the apache config file > echo "Include ${REAL_CGIBINDIR}/vqadmin/vqadmin.conf" >> /etc/apache/conf/apache.conf > > # Creating .htaccess > einfo "" > einfo "We need to create an htaccess for the directory so Apache knows" > einfo "how to authenticate users trying to access the directory." > cat > ${REAL_CGIBINDIR}/vqadmin/.htaccess <<EOF >AuthType Basic >AuthUserFile /etc/apache/conf/vqadmin.passwd >AuthName vqadmin >require valid-user >satisfy any >EOF > # Tightening Permissions > chown apache.apache ${REAL_CGIBINDIR}/vqadmin/.htaccess > chmod 600 ${REAL_CGIBINDIR}/vqadmin/.htaccess > > # How set up users ? > einfo "Now, You can create a user. Example: " > einfo " htpasswd -c /etc/apache/conf/vqadmin.passwd username" > einfo "then: " > einfo " cd /etc/apache/conf/ && chown root.apache vqadmin.passwd" > einfo " chmod 640 vqadmin.passwd" > einfo "" > einfo "IMPORTANT ! Use the -c (-create) switch ONLY the first time" > einfo "IMPORTANT ! You will have to restart apache to get vqadmin working" >} > >pkg_postrm() { > rm -rf ${REAL_CGIBINDIR}/vqadmin/vqadmin.conf > rm -rf ${REAL_CGIBINDIR}/vqadmin/.htaccess > rmdir ${REAL_CGIBINDIR}/vqadmin > sed "/^Include.*vqadmin.conf$/d" /etc/apache/conf/apache.conf > /etc/apache/conf/apache.conf.new > mv --force /etc/apache/conf/apache.conf.new /etc/apache/conf/apache.conf >}
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 5641
: 2624