pkgsrc/mail/squirrelmail/Makefile

99 lines
3.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.125 2014/05/29 23:36:52 wiz Exp $
Update squirrelmail to 1.4.23pre14345, snap shot from squirrelmail's repository. Approved by wiz@. * Now work well with PHP 5.4 and later. Version 1.4.23 - SVN -------------------- - Added capability to issue SEARCH commands in literal format (so that non-ASCII search terms are handled RFC-correctly). - Fixed hook name clash: new "smtp_auth" hook added in version 1.4.22 has been renamed to "smtp_authenticate" - Added SASL PLAIN mechanism for IMAP logins; backported from version 1.5.2. - Prevent syslog warning in call_user_func_array() call when no arguments given. Patch from Jean-Philippe Guerard (#3309935). - Changed the read_body_menu_top hook from concat_hook_function to do_hook_function (plugin authors please note) - Always ensure that the Reply-To header is a full email address in outgoing messages - Fixed issue with Noselect mailboxes being clickable in folder list - Made performance improvements in mailbox listing - Attachment filename extensions changed from ".msg" to ".eml" - Unified address book searches somewhat: file-backed address books now search in each field individually; database-backed address books now search in fields other than first/last name (nickname, email); LDAP- backed address books now search in common name fields as well as by email address (cn, sn, givenname, mail) - You may now enable LDAP-backed address books to be listed (using the "List all" button on the address search screen accessed via the "Addresses" button on the compose screen) by adding "$ldap_abook_allow_listing = TRUE;" (without quotes) to config/config_local.php (previously, this required editing of a file). - Added ability to control browser rendering mode (quirks versus standards) - see the $browser_rendering_mode setting in config/config.php or the "4. General Options ==> 19. Browser rendering mode" setting in the configuration tool (#3240356). - Added "search_index_before" hook (analog of the "mailbox_index_before" hook) - Made performance improvements in security token handling - Improvements for compatibility with PHP 5.4. - Added option that allows users to have replies to their own messages sent to the recipient of the previous message (#3520988).
2012-12-28 05:03:34 +01:00
DISTNAME= squirrelmail-webmail-1.4.23pre14345
Update squirrelmail package to 1.4.22. Version 1.4.22 - 12 July 2011 ----------------------------- - Backported default timezone fix from version 1.5.2; helps mitigate timezone errors in environments where a default has not been set by the administrator. - Fixed system lock-ups caused by a combination of certain rare, malformed message headers and buggy versions of PHP mbstring (#3053349). - Now allow multiple plugins to handle (add links for) a single attachment MIME type. - Now allow administrators to disable all plugins or enable just a select few plugins (overriding the active plugins in the normal configuration) by setting $temporary_plugins as an empty array (all disabled) or an array with one or more plugin directory names in config_local.php. - Backport fix for call_user_func_array not supporting NULL as empty array in PHP 5.3.3 - Fixed sqauth_read_password() for plugins on the login_verified hook. - Added SMTP SASL PLAIN authentication option to configuration tool (core support for such is not new). - Gmail doens't support standard search commands; removed sort buttons. - Forced addition of a file suffix to attachments that lack a filename (helps forwarded messages avoid spam filters) (thanks to Petr Kletecka) (#3139004). - Fixed missing security token in listcommands plugin. - Added smtp_auth hook (thanks to Emmanuel Dreyfus). - Made speed enhancements to threaded message display (thanks to Siim Poder) (#3288123). - Allow administrators to configure subfolders of user INBOXes to be treated as special folders by adding $subfolders_of_inbox_are_special to config_local.php. - Fixed incorrect display of INBOX subfolders under some configurations. IMPORTANT: You may need to update your configuration so that $default_sub_of_inbox is TRUE if it was FALSE (e.g., Courier IMAP users) and after updating to this version, your special folders are no longer listed at the top of your folder list. Also, if this change prevents users from logging in with an error such as "ERROR: Could not complete request. Query: CREATE "Trash" Reason Given: Invalid mailbox name.", you will need to correct the user preference values for the problem folders. You can do so with commands such as the following for file- based preferences (adjust the data directory location as needed): find /var/lib/squirrelmail/data/ -name *.pref -exec sed --in-place 's/trash_folder=Trash/trash_folder=INBOX.Trash/g' {} \; find /var/lib/squirrelmail/data/ -name *.pref -exec sed --in-place 's/trash_folder=Drafts/trash_folder=INBOX.Drafts/g' {} \; find /var/lib/squirrelmail/data/ -name *.pref -exec sed --in-place 's/trash_folder=Sent/trash_folder=INBOX.Sent/g' {} \; Or, for database-based preferences: UPDATE userprefs SET prefval = 'INBOX.Trash' WHERE prefkey = 'trash_folder' AND prefval = 'Trash'; UPDATE userprefs SET prefval = 'INBOX.Drafts' WHERE prefkey = 'draft_folder' AND prefval = 'Drafts'; UPDATE userprefs SET prefval = 'INBOX.Sent' WHERE prefkey = 'sent_folder' AND prefval = 'Sent'; MAKE SURE to back up your user preferences first! - Optimized message highlighting rules; faster message list display and faster highlight rules management (thanks to C. Bensend for extensive effort helping diagnose) - New Mail plugin no longer removes normal organization title when putting the number of new messages in the browser title - Added clickjacking protection (thanks to Asbjorn Thorsen and Geir Hansen for bringing this to our attention). [CVE-2010-4554] - Fixed XSS holes in generic options inputs, XSS hole in the SquirrelSpell plugin, XSS hole in the Index Order page, and added anti-CSRF protection to the empty trash feature and the Index Order page (thanks to Nicholas Carlini for finding all these issues). [CVE-2010-4555] - Fixed XSS problem with unsanitized style tags in messages. [CVE-2011-2023]
2011-07-13 14:22:43 +02:00
PKGNAME= ${DISTNAME:S/-webmail//}
PKGREVISION= 3
CATEGORIES= mail www
Update squirrelmail to 1.4.23pre14345, snap shot from squirrelmail's repository. Approved by wiz@. * Now work well with PHP 5.4 and later. Version 1.4.23 - SVN -------------------- - Added capability to issue SEARCH commands in literal format (so that non-ASCII search terms are handled RFC-correctly). - Fixed hook name clash: new "smtp_auth" hook added in version 1.4.22 has been renamed to "smtp_authenticate" - Added SASL PLAIN mechanism for IMAP logins; backported from version 1.5.2. - Prevent syslog warning in call_user_func_array() call when no arguments given. Patch from Jean-Philippe Guerard (#3309935). - Changed the read_body_menu_top hook from concat_hook_function to do_hook_function (plugin authors please note) - Always ensure that the Reply-To header is a full email address in outgoing messages - Fixed issue with Noselect mailboxes being clickable in folder list - Made performance improvements in mailbox listing - Attachment filename extensions changed from ".msg" to ".eml" - Unified address book searches somewhat: file-backed address books now search in each field individually; database-backed address books now search in fields other than first/last name (nickname, email); LDAP- backed address books now search in common name fields as well as by email address (cn, sn, givenname, mail) - You may now enable LDAP-backed address books to be listed (using the "List all" button on the address search screen accessed via the "Addresses" button on the compose screen) by adding "$ldap_abook_allow_listing = TRUE;" (without quotes) to config/config_local.php (previously, this required editing of a file). - Added ability to control browser rendering mode (quirks versus standards) - see the $browser_rendering_mode setting in config/config.php or the "4. General Options ==> 19. Browser rendering mode" setting in the configuration tool (#3240356). - Added "search_index_before" hook (analog of the "mailbox_index_before" hook) - Made performance improvements in security token handling - Improvements for compatibility with PHP 5.4. - Added option that allows users to have replies to their own messages sent to the recipient of the previous message (#3520988).
2012-12-28 05:03:34 +01:00
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tar.bz2
2011-07-13 03:30:34 +02:00
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://www.squirrelmail.org/
COMMENT= PHP webmail package
2009-05-12 14:27:19 +02:00
LICENSE= gnu-gpl-v2
Update mail/squirrelmail to 1.2.2. Changes from version 1.0.6 include: * Collapsible Folders - The folder list can be collapsed at any parent folder. This makes folder lists with large hierarchical structures much easier to manage and navigate. * The Paginator! - This enables quick access to any page in the message list by simply choosing the page number to view rather than tediously clicking "next" 50 times. * Hundreds of UI tweaks - The user interface has been given a face-lift. The HTML has been largely overhauled, and while it still has the same general feel, it has been made more intuitive. * Drafts - It is now possible to compose a message and save it to be sent at a later date with the drafts option. * New Options Page - The options page has been completely rewritten for several reasons, the main of which was to allow seamless integration of plugin options and to provide uniformity throughout the entire section. * Multiple Identities - It is now possible to create different identities (home, work, school) that can be chosen upon sending. Each identity can have its own email address, full name, and signature. * Reply Citations - Different types of citations are now possible when replying to messages. * Better Attachment Handling - The plugin, attachment_common, has been fully integrated into the core of SquirrelMail. This allows inline viewing of several different types of attachments. * Integration of Several Plugins - The following plugins have been put directly into the core. As a result, be sure not to install these as plugins, as the result may be (at best) unpredictable: attachment_common, paginator, priority, printer_friendly, sqclock, xmailer. * Improved support for newer versions of PHP. Note that you may have trouble if you are running PHP version 4.0.100 (commonly distributed with Debian 3.0). * Ability to mark messages as read and unread from the message listing. * Alternating Colors - The message list now alternates row colors by default. This presents a much cleaner and easier to read interface to the user.
2002-01-07 12:49:44 +01:00
CONFLICTS= sq-attachment-handlers-[0-9]*
CONFLICTS+= sq-squirrelspell-[0-9]*
2005-07-07 10:32:51 +02:00
CONFLICTS+= ja-squirrelspell-[0-9]*
CONFLICTS+= ja-squirrelmail-[0-9]*
DEPENDS+= ${PHP_PKG_PREFIX}-gettext>=4.3.3:../../devel/php-gettext
Update mail/squirrelmail to 1.2.2. Changes from version 1.0.6 include: * Collapsible Folders - The folder list can be collapsed at any parent folder. This makes folder lists with large hierarchical structures much easier to manage and navigate. * The Paginator! - This enables quick access to any page in the message list by simply choosing the page number to view rather than tediously clicking "next" 50 times. * Hundreds of UI tweaks - The user interface has been given a face-lift. The HTML has been largely overhauled, and while it still has the same general feel, it has been made more intuitive. * Drafts - It is now possible to compose a message and save it to be sent at a later date with the drafts option. * New Options Page - The options page has been completely rewritten for several reasons, the main of which was to allow seamless integration of plugin options and to provide uniformity throughout the entire section. * Multiple Identities - It is now possible to create different identities (home, work, school) that can be chosen upon sending. Each identity can have its own email address, full name, and signature. * Reply Citations - Different types of citations are now possible when replying to messages. * Better Attachment Handling - The plugin, attachment_common, has been fully integrated into the core of SquirrelMail. This allows inline viewing of several different types of attachments. * Integration of Several Plugins - The following plugins have been put directly into the core. As a result, be sure not to install these as plugins, as the result may be (at best) unpredictable: attachment_common, paginator, priority, printer_friendly, sqclock, xmailer. * Improved support for newer versions of PHP. Note that you may have trouble if you are running PHP version 4.0.100 (commonly distributed with Debian 3.0). * Ability to mark messages as read and unread from the message listing. * Alternating Colors - The message list now alternates row colors by default. This presents a much cleaner and easier to read interface to the user.
2002-01-07 12:49:44 +01:00
USE_LANGUAGES= # empty
NO_BUILD= yes
USE_TOOLS+= pax perl:run
REPLACE_PERL+= config/conf.pl
PKG_GROUPS_VARS+= APACHE_GROUP
PKG_USERS_VARS+= APACHE_USER
BUILD_DEFS+= VARBASE
.include "../../mk/bsd.prefs.mk"
PKG_SYSCONFSUBDIR?= httpd
Updated mail/squirrelmail to 1.4.12 NOTE: includes a critical bug fix in the attachment handling - Enabled user selection of address format when adding from address book during message composition. - Fixed issue with adding attachments in PHP 4.x environments (#1805471). - Backport size setting on "newmail" popup window. - Added a "short_open_tag" configuration test. - Undefined notice in error message box when no default folder prefix is set. - Undefined index error when downloading. Possibly caused by using tabs and opening multiple mailboxes. - PAGE_NAME might not be defined in all plugins, which might cause a "not defined" error on session timeouts. - Fixed outgoing messages to allow addresses such as "0@..." or "000@...", etc. (#1818398). - Fixed issue with in-reply-to and reference headers not being retained on reply (#1810659). - Revived logout_error hook (#1800015). - Allow custom session handlers to work correctly (and be defined at the application level with SquirrelMail). - Fix off-by-one in bodystructure parsing triggered by servers sending a body location part (e.g. Sun Java System Messaging Server). Thanks John Callahan (#1808382). - Invalid initialization of To: header (#1772893). - Includes cleanup in include/validate.php. - Cleanup in multiple files to remove unneeded includes. - Added sort by size (#812233 and #159997, plus multiple list requests). Patch provided by Christopher E. Brown. - Fix bug in sitewide SMTP settings still using authenticated user, rather than configured settings (#1835942). - Fixed mailto: functionality. - Added mailto: link handling when viewing messages. - Handle PHP's insistence on setting the value to 'deleted' for destroyed sessions
2007-12-05 08:11:28 +01:00
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
EGDIR= share/examples/squirrelmail
SMDIR= share/squirrelmail
DATADIR= ${VARBASE}/spool/squirrelmail
Update mail/squirrelmail to 1.2.2. Changes from version 1.0.6 include: * Collapsible Folders - The folder list can be collapsed at any parent folder. This makes folder lists with large hierarchical structures much easier to manage and navigate. * The Paginator! - This enables quick access to any page in the message list by simply choosing the page number to view rather than tediously clicking "next" 50 times. * Hundreds of UI tweaks - The user interface has been given a face-lift. The HTML has been largely overhauled, and while it still has the same general feel, it has been made more intuitive. * Drafts - It is now possible to compose a message and save it to be sent at a later date with the drafts option. * New Options Page - The options page has been completely rewritten for several reasons, the main of which was to allow seamless integration of plugin options and to provide uniformity throughout the entire section. * Multiple Identities - It is now possible to create different identities (home, work, school) that can be chosen upon sending. Each identity can have its own email address, full name, and signature. * Reply Citations - Different types of citations are now possible when replying to messages. * Better Attachment Handling - The plugin, attachment_common, has been fully integrated into the core of SquirrelMail. This allows inline viewing of several different types of attachments. * Integration of Several Plugins - The following plugins have been put directly into the core. As a result, be sure not to install these as plugins, as the result may be (at best) unpredictable: attachment_common, paginator, priority, printer_friendly, sqclock, xmailer. * Improved support for newer versions of PHP. Note that you may have trouble if you are running PHP version 4.0.100 (commonly distributed with Debian 3.0). * Ability to mark messages as read and unread from the message listing. * Alternating Colors - The message list now alternates row colors by default. This presents a much cleaner and easier to read interface to the user.
2002-01-07 12:49:44 +01:00
ATTACHMENTS_DIR= ${DATADIR}/attachments
USER_PREFS_DIR= ${DATADIR}/data
MESSAGE_SUBST+= SMDIR=${PREFIX}/${SMDIR}
FILES_SUBST+= SMDIR=${PREFIX}/${SMDIR}
Updated mail/squirrelmail to 1.4.12 NOTE: includes a critical bug fix in the attachment handling - Enabled user selection of address format when adding from address book during message composition. - Fixed issue with adding attachments in PHP 4.x environments (#1805471). - Backport size setting on "newmail" popup window. - Added a "short_open_tag" configuration test. - Undefined notice in error message box when no default folder prefix is set. - Undefined index error when downloading. Possibly caused by using tabs and opening multiple mailboxes. - PAGE_NAME might not be defined in all plugins, which might cause a "not defined" error on session timeouts. - Fixed outgoing messages to allow addresses such as "0@..." or "000@...", etc. (#1818398). - Fixed issue with in-reply-to and reference headers not being retained on reply (#1810659). - Revived logout_error hook (#1800015). - Allow custom session handlers to work correctly (and be defined at the application level with SquirrelMail). - Fix off-by-one in bodystructure parsing triggered by servers sending a body location part (e.g. Sun Java System Messaging Server). Thanks John Callahan (#1808382). - Invalid initialization of To: header (#1772893). - Includes cleanup in include/validate.php. - Cleanup in multiple files to remove unneeded includes. - Added sort by size (#812233 and #159997, plus multiple list requests). Patch provided by Christopher E. Brown. - Fix bug in sitewide SMTP settings still using authenticated user, rather than configured settings (#1835942). - Fixed mailto: functionality. - Added mailto: link handling when viewing messages. - Handle PHP's insistence on setting the value to 'deleted' for destroyed sessions
2007-12-05 08:11:28 +01:00
CONF_FILES= ${SMDIR}/config/config_default.php \
${SMDIR}/config/config.php
CONF_FILES+= ${SMDIR}/data/default_pref \
${DATADIR}/data/default_pref
CONF_FILES+= ${EGDIR}/squirrelmail.conf \
${PKG_SYSCONFDIR}/squirrelmail.conf
CONF_FILES+= ${EGDIR}/data/.htaccess ${DATADIR}/data/.htaccess
CONF_FILES+= ${EGDIR}/data/index.php ${DATADIR}/data/index.php
CONF_FILES+= ${EGDIR}/data/.htaccess ${USER_PREFS_DIR}/.htaccess
CONF_FILES+= ${EGDIR}/data/index.php ${USER_PREFS_DIR}/index.php
Update mail/squirrelmail to 1.2.2. Changes from version 1.0.6 include: * Collapsible Folders - The folder list can be collapsed at any parent folder. This makes folder lists with large hierarchical structures much easier to manage and navigate. * The Paginator! - This enables quick access to any page in the message list by simply choosing the page number to view rather than tediously clicking "next" 50 times. * Hundreds of UI tweaks - The user interface has been given a face-lift. The HTML has been largely overhauled, and while it still has the same general feel, it has been made more intuitive. * Drafts - It is now possible to compose a message and save it to be sent at a later date with the drafts option. * New Options Page - The options page has been completely rewritten for several reasons, the main of which was to allow seamless integration of plugin options and to provide uniformity throughout the entire section. * Multiple Identities - It is now possible to create different identities (home, work, school) that can be chosen upon sending. Each identity can have its own email address, full name, and signature. * Reply Citations - Different types of citations are now possible when replying to messages. * Better Attachment Handling - The plugin, attachment_common, has been fully integrated into the core of SquirrelMail. This allows inline viewing of several different types of attachments. * Integration of Several Plugins - The following plugins have been put directly into the core. As a result, be sure not to install these as plugins, as the result may be (at best) unpredictable: attachment_common, paginator, priority, printer_friendly, sqclock, xmailer. * Improved support for newer versions of PHP. Note that you may have trouble if you are running PHP version 4.0.100 (commonly distributed with Debian 3.0). * Ability to mark messages as read and unread from the message listing. * Alternating Colors - The message list now alternates row colors by default. This presents a much cleaner and easier to read interface to the user.
2002-01-07 12:49:44 +01:00
Updated mail/squirrelmail to 1.4.12 NOTE: includes a critical bug fix in the attachment handling - Enabled user selection of address format when adding from address book during message composition. - Fixed issue with adding attachments in PHP 4.x environments (#1805471). - Backport size setting on "newmail" popup window. - Added a "short_open_tag" configuration test. - Undefined notice in error message box when no default folder prefix is set. - Undefined index error when downloading. Possibly caused by using tabs and opening multiple mailboxes. - PAGE_NAME might not be defined in all plugins, which might cause a "not defined" error on session timeouts. - Fixed outgoing messages to allow addresses such as "0@..." or "000@...", etc. (#1818398). - Fixed issue with in-reply-to and reference headers not being retained on reply (#1810659). - Revived logout_error hook (#1800015). - Allow custom session handlers to work correctly (and be defined at the application level with SquirrelMail). - Fix off-by-one in bodystructure parsing triggered by servers sending a body location part (e.g. Sun Java System Messaging Server). Thanks John Callahan (#1808382). - Invalid initialization of To: header (#1772893). - Includes cleanup in include/validate.php. - Cleanup in multiple files to remove unneeded includes. - Added sort by size (#812233 and #159997, plus multiple list requests). Patch provided by Christopher E. Brown. - Fix bug in sitewide SMTP settings still using authenticated user, rather than configured settings (#1835942). - Fixed mailto: functionality. - Added mailto: link handling when viewing messages. - Handle PHP's insistence on setting the value to 'deleted' for destroyed sessions
2007-12-05 08:11:28 +01:00
REQD_DIRS+= ${SMDIR} ${SMDIR}/config
OWN_DIRS+= ${DATADIR}
OWN_DIRS_PERMS+= ${ATTACHMENTS_DIR} ${REAL_ROOT_USER} ${APACHE_GROUP} 730
2002-10-20 09:58:36 +02:00
OWN_DIRS_PERMS+= ${USER_PREFS_DIR} ${APACHE_USER} ${APACHE_GROUP} 755
SUBST_CLASSES+= paths
Updated mail/squirrelmail to 1.4.12 NOTE: includes a critical bug fix in the attachment handling - Enabled user selection of address format when adding from address book during message composition. - Fixed issue with adding attachments in PHP 4.x environments (#1805471). - Backport size setting on "newmail" popup window. - Added a "short_open_tag" configuration test. - Undefined notice in error message box when no default folder prefix is set. - Undefined index error when downloading. Possibly caused by using tabs and opening multiple mailboxes. - PAGE_NAME might not be defined in all plugins, which might cause a "not defined" error on session timeouts. - Fixed outgoing messages to allow addresses such as "0@..." or "000@...", etc. (#1818398). - Fixed issue with in-reply-to and reference headers not being retained on reply (#1810659). - Revived logout_error hook (#1800015). - Allow custom session handlers to work correctly (and be defined at the application level with SquirrelMail). - Fix off-by-one in bodystructure parsing triggered by servers sending a body location part (e.g. Sun Java System Messaging Server). Thanks John Callahan (#1808382). - Invalid initialization of To: header (#1772893). - Includes cleanup in include/validate.php. - Cleanup in multiple files to remove unneeded includes. - Added sort by size (#812233 and #159997, plus multiple list requests). Patch provided by Christopher E. Brown. - Fix bug in sitewide SMTP settings still using authenticated user, rather than configured settings (#1835942). - Fixed mailto: functionality. - Added mailto: link handling when viewing messages. - Handle PHP's insistence on setting the value to 'deleted' for destroyed sessions
2007-12-05 08:11:28 +01:00
SUBST_FILES.paths= ${WRKDIR}/squirrelmail.conf.dist
SUBST_FILES.paths+= config/config_default.php
SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g'
SUBST_SED.paths+= -e 's,@ATTACHMENTS_DIR@,${ATTACHMENTS_DIR},g'
SUBST_SED.paths+= -e 's,@USER_PREFS_DIR@,${USER_PREFS_DIR},g'
SUBST_SED.paths+= -e 's,@SMDIR@,${PREFIX}/${SMDIR},g'
SUBST_STAGE.paths= pre-configure
DATA_FILES= .htaccess index.php
INSTALLATION_DIRS= ${PKGMANDIR}/man8 ${EGDIR}/data ${SMDIR}
2007-03-24 20:21:18 +01:00
post-extract:
${CP} ${FILESDIR}/squirrelmail.conf.dist \
Updated mail/squirrelmail to 1.4.12 NOTE: includes a critical bug fix in the attachment handling - Enabled user selection of address format when adding from address book during message composition. - Fixed issue with adding attachments in PHP 4.x environments (#1805471). - Backport size setting on "newmail" popup window. - Added a "short_open_tag" configuration test. - Undefined notice in error message box when no default folder prefix is set. - Undefined index error when downloading. Possibly caused by using tabs and opening multiple mailboxes. - PAGE_NAME might not be defined in all plugins, which might cause a "not defined" error on session timeouts. - Fixed outgoing messages to allow addresses such as "0@..." or "000@...", etc. (#1818398). - Fixed issue with in-reply-to and reference headers not being retained on reply (#1810659). - Revived logout_error hook (#1800015). - Allow custom session handlers to work correctly (and be defined at the application level with SquirrelMail). - Fix off-by-one in bodystructure parsing triggered by servers sending a body location part (e.g. Sun Java System Messaging Server). Thanks John Callahan (#1808382). - Invalid initialization of To: header (#1772893). - Includes cleanup in include/validate.php. - Cleanup in multiple files to remove unneeded includes. - Added sort by size (#812233 and #159997, plus multiple list requests). Patch provided by Christopher E. Brown. - Fix bug in sitewide SMTP settings still using authenticated user, rather than configured settings (#1835942). - Fixed mailto: functionality. - Added mailto: link handling when viewing messages. - Handle PHP's insistence on setting the value to 'deleted' for destroyed sessions
2007-12-05 08:11:28 +01:00
${WRKDIR}/squirrelmail.conf.dist
${CP} -p ${WRKSRC}/contrib/conf.pl.8 ${WRKDIR}/squirrelmail-conf.pl.8
pre-install:
${FIND} ${WRKSRC} \( -name '*.orig*' -o -name '.cvsignore' \) \
2007-05-10 12:08:24 +02:00
-exec rm -f {} \;
${FIND} ${WRKSRC} -type d -exec chmod ${PKGDIRMODE} {} \;
${FIND} ${WRKSRC} -type f -exec chmod ${SHAREMODE} {} \;
${CHMOD} 0555 ${WRKSRC}/config/conf.pl
${RM} -f ${WRKSRC}/contrib/conf.pl.8
do-install:
${INSTALL_DATA} ${WRKDIR}/squirrelmail.conf.dist \
${DESTDIR}${PREFIX}/${EGDIR}/squirrelmail.conf
.for f in ${DATA_FILES}
${INSTALL_DATA} ${WRKSRC}/data/${f} ${DESTDIR}${PREFIX}/${EGDIR}/data
.endfor
cd ${WRKSRC}; pax -rw -pp . ${DESTDIR}${PREFIX}/${SMDIR}
${INSTALL_DATA} ${WRKDIR}/squirrelmail-conf.pl.8 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"