Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv2698/main/finkinfo/net
Added Files: dovecot.info dovecot.patch Log Message: New package: dovecot Modification to passwd to acommodate required user for dovecot https://sourceforge.net/tracker/?func=detail&atid=414256&aid=1639826&group_id=17203 --- NEW FILE: dovecot.patch --- diff -urNp dovecot-1.0.rc17/doc/mkcert.sh dovecot-1.0.rc17-patched/doc/mkcert.sh --- dovecot-1.0.rc17/doc/mkcert.sh 2006-10-08 16:37:22.000000000 -0700 +++ dovecot-1.0.rc17-patched/doc/mkcert.sh 2007-01-18 21:45:19.000000000 -0800 @@ -3,9 +3,9 @@ # Generates a self-signed certificate. # Edit dovecot-openssl.cnf before running this. -OPENSSL=${OPENSSL-openssl} -SSLDIR=${SSLDIR-/etc/ssl} -OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf} +OPENSSL=openssl [EMAIL PROTECTED]@/etc/ssl [EMAIL PROTECTED]@/etc/dovecot-openssl.cnf CERTDIR=$SSLDIR/certs KEYDIR=$SSLDIR/private diff -urNp dovecot-1.0.rc17/dovecot.conf dovecot-1.0.rc17-patched/dovecot.conf --- dovecot-1.0.rc17/dovecot.conf 1969-12-31 16:00:00.000000000 -0800 +++ dovecot-1.0.rc17-patched/dovecot.conf 2007-01-18 22:27:22.000000000 -0800 [...1045 lines suppressed...] + # Skip mailboxes which we can't open successfully instead of aborting. + #convert_skip_broken_mailboxes = no + + # Trash plugin. When saving a message would make user go over quota, this + # plugin automatically deletes the oldest mails from configured mailboxes + # until the message can be saved within quota limits. The configuration file + # is a text file where each line is in format: <priority> <mailbox name> + # Mails are first deleted in lowest -> highest priority number order + #trash = /etc/dovecot-trash.conf + + # Lazy expunge plugin. Currently works only with maildirs. When a user + # expunges mails, the mails are moved to a mailbox in another namespace + # (1st). When a mailbox is deleted, the mailbox is moved to another namespace + # (2nd) as well. Also if the deleted mailbox had any expunged messages, + # they're moved to a 3rd namespace. The mails won't be counted in quota, + # and they're not deleted automatically (use a cronjob or something). + #lazy_expunge = .EXPUNGED/ .DELETED/ .DELETED/.EXPUNGED/ +} --- NEW FILE: dovecot.info --- Package: dovecot Version: 1.0.rc17 Revision: 1 Source: http://www.dovecot.org/releases/%n-%v.tar.gz Source-MD5: 881bcc7d2c8fba6d337f3e616a602bf7 Maintainer: Michael Richmond <[EMAIL PROTECTED]> HomePage: http://www.dovecot.org License: OSI-Approved Description: Secure open source IMAP and POP3 server DescDetail: << Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written with security primarily in mind. Dovecot can work with standard mbox and Maildir formats and it's fully compatible with UW-IMAP and Courier IMAP servers' implementation of them, as well as mail clients accessing the mailboxes directly. << DescUsage: << Dovecot can use PAM (Plugable Authentication Modules) to authenticate IMAP and POP user accounts. To allow dovecot to use PAM (RECOMMENDED), copy %p/etc/pam.d/dovecot (or whereever you instaled Fink) to /etc/pam.d/dovecot using the command: sudo cp %p/pam.d/dovecot /etc/pam.d To use SSL connections for IMAP and POP connections (RECOMMENDED), you will need to generate an SSL certificate. To generate the certificate: sudo cp %p/share/doc/dovecot/dovecot-openssl.cnf %p/etc edit %p/etc/dovecot-openssl.cnf to suit your organization sudo sh %p/share/doc/dovecot/mkcert.sh edit %p/etc/dovecot.conf to uncomment the ssl_cert_file and ssl_key_file lines. The dovecot server has been installed to start when you boot the machine. To disable the server, run 'daemonic disable dovecot' as root. This will not kill a running dovecot server, but will prevent the server from automatically starting when you boot the machine. Ensure that you configure dovecot for you system by editing %p/etc/dovecot.conf as appropriate. You can then start up the dovecot server using 'sudo daemonic enable dovecot' or by rebooting your machine. << BuildDepends: pkgconfig, system-openssl-dev, libiconv-dev Depends: daemonic, libiconv, passwd (>= 20070118-1) SetCPPFLAGS: -I%p/lib/system-openssl/include SetLDFLAGS: -L%p/lib/system-openssl/lib ConfigureParams: --disable-dependency-tracking --libexecdir=%p/lib/%n/libexec --localstatedir=%p/var --with-ssl=openssl --with-ssl-dir=%p/etc/ssl ConfFiles: %p/etc/%n.conf PatchScript: sed 's|@PREFIX@|%p|' < %a/%n.patch | patch -p1 InstallScript: << make install DESTDIR=%d # # Copy additional document files into share/doc/dovecot cp %b/INSTALL %i/share/doc/%n cp %b/ChangeLog %i/share/doc/%n cp %b/COPYING.LGPL %i/share/doc/%n cp %b/AUTHORS %i/share/doc/%n cp %b/COPYING %i/share/doc/%n cp %b/TODO %i/share/doc/%n cp %b/README %i/share/doc/%n # # Copy the sample config files and mkcert.sh into share/doc/dovecot mkdir -p %i/share/doc/%n cp %b/doc/dovecot-*.c*nf %i/share/doc/%n cp %b/doc/mkcert.sh %i/share/doc/%n # # Copy default dovecot.conf file into %p/etc cp %b/dovecot.conf %i/etc # # Create PAM definition file mkdir -p %i/etc/pam.d echo "auth required pam_nologin.so" > %i/etc/pam.d/dovecot echo "auth sufficient pam_securityserver.so" >> %i/etc/pam.d/dovecot echo "auth sufficient pam_unix.so" >> %i/etc/pam.d/dovecot echo "auth required pam_deny.so" >> %i/etc/pam.d/dovecot echo "account required pam_permit.so" >> %i/etc/pam.d/dovecot echo "password required pam_deny.so" >> %i/etc/pam.d/dovecot echo "session required pam_uwtmp.so" >> %i/etc/pam.d/dovecot << PostInstScript: << # # update daemonic script if necessary daemonic update %n << PreRmScript: << # # halt the dovecot server before removing or updating the package [ -f %p/var/run/%n/master.pid ] && kill -TERM `cat %p/var/run/%n/master.pid` # # remove daemonic script if necessary if [ $1 != "upgrade" ]; then daemonic remove %n fi << DaemonicName: dovecot DaemonicFile: << <service> <description>Dovecot IMAP and POP mail server</description> <message>Dovecot IMAP and POP mail server</message> <daemon name="dovecot"> <executable checkexit="true">%p/sbin/dovecot</executable> <configfile>%p/etc/dovecot.conf</configfile> <pidfile>%p/var/run/%n/master.pid</pidfile> </daemon> </service> << ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-commits