pkgsrc/mail/pine/Makefile

112 lines
3.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.99 2005/01/18 04:00:18 jschauma Exp $
1997-11-22 06:27:54 +01:00
Changes 4.61: * The "^T" "To Files" command from within the composer on the Attchmnt header line or from within the composer in the "^J" "Attach" command is now capable of attaching multiple files at once * When Exporting a message with attachments you now have the option of saving all of the attachments in a new directory (Export Message File Selection) by typing "^P" while exporting * Feature to modify behavior of TAB command, Tab-Uses-Unseen-For-Next-Folder * When sending, flowed text (RFC 3676) is sent by default. Now it is possible to turn off this behavior on a message by message basis with the ^V command at the Send prompt. You may still turn if off for all cases with the feature Quell-Flowed-Text. * Viewer-Margin-Left and Viewer-Margin-Right made a little more flexible * Suppress quoted text when viewing messages with Quote-Suppression-Threshold * The behavior of the HdrMode Command has changed slightly. It now reverts back to normal mode when you switch to a new message. It also has an additional state if Quote-Suppression-Threshold is turned on. * The old behavior of the HdrMode Command can be restored by not setting the Quote-Suppression-Threshold and setting the new feature Quell-Full-Header-Auto-Reset * Feature to rename sent-mail folder to sent-mail-yyyy-mm instead of sent-mail-mon-year (Prune-Uses-YYYY-MM) * With Alternate-Role-Menu option turned on you could Reply or Forward using a Role. Now you can also Bounce using a role. * Relaxed conditions which caused a filter to not be reevaluated before expunging if the user changed flags manually. Now only a manual Undelete may cause the filter to not be reevaluated before expunging.
2004-08-12 14:18:50 +02:00
DISTNAME= pine4.61
PKGNAME= pine-4.61
PKGREVISION= 1
1997-11-22 06:27:54 +01:00
CATEGORIES= mail news
MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \
ftp://ftp.fu-berlin.de/unix/mail/pine/
EXTRACT_SUFX= .tar.bz2
1997-11-22 06:27:54 +01:00
2003-11-03 23:43:37 +01:00
MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://www.washington.edu/pine/
COMMENT= Program for Internet News and E-mail
1997-11-22 06:27:54 +01:00
2001-06-05 00:22:43 +02:00
LICENSE= pine-license
2004-05-02 02:22:20 +02:00
USE_BUILDLINK3= YES
USE_PKGINSTALL= YES
CONF_FILES= ${PREFIX}/share/examples/pine/pine.conf ${PKG_SYSCONFDIR}/pine.conf
.include "../../mk/compiler.mk"
.if ${OPSYS} == "SunOS"
2004-05-17 12:56:17 +02:00
BUILDNAME= so5
BUILDFILE= sol
.elif ${OPSYS} == "Linux"
2004-05-17 12:56:17 +02:00
BUILDNAME= lnx
BUILDFILE= lnx
.elif ${OPSYS} == "Darwin"
2004-05-17 12:56:17 +02:00
BUILDNAME= osx
BUILDFILE= osx
LIBS+= -lcurses
.elif ${OPSYS} == "IRIX"
. if ${OS_VERSION} >= 6.5
BUILDNAME= sg6
. else
BUILDNAME= sgi
. endif
BUILDFILE= sgi
.else
2004-05-17 12:56:17 +02:00
BUILDNAME= neb
BUILDFILE= neb
CFLAGS+= -O
.endif
2002-10-09 01:31:01 +02:00
.if !empty(CC_VERSION:Mgcc-*)
UNLIMIT_RESOURCES+= datasize
.endif
PKG_OPTIONS_VAR= PKG_OPTIONS.pine
PKG_SUPPORTED_OPTIONS= ldap
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mldap)
2004-05-02 02:22:20 +02:00
. include "../../databases/openldap/buildlink3.mk"
PINE_LDAPCFLAGS= LDAPCFLAGS="-DENABLE_LDAP"
PINE_LDAPLIBS= LDAPLIBS="-lldap -llber"
.endif
pre-patch:
# Make sure the imap lib that comes with pine isn't
# used (see http://www.securityfocus.com/advisories/2646)
2000-10-22 00:45:28 +02:00
${RM} -fr ${WRKSRC}/imap
do-configure:
${CP} -f ${WRKSRC}/pine/osdep/os-${BUILDFILE}.h ${WRKSRC}/pine/osdep/os-${BUILDFILE}.h.orig
${SED} \
-e 's@/usr/local/lib/@${PKG_SYSCONFDIR}/@' \
-e 's@DEFAULT_DEBUG.*2@DEFAULT_DEBUG 0@' \
<${WRKSRC}/pine/osdep/os-${BUILDFILE}.h.orig >${WRKSRC}/pine/osdep/os-${BUILDFILE}.h
@${RM} -rf ${WRKSRC}/pico
2002-10-09 01:31:01 +02:00
@${LN} -sf ${BUILDLINK_DIR}/include/pico ${WRKSRC}/pico
1997-11-22 06:41:33 +01:00
do-build:
cd ${WRKSRC} && ${_ULIMIT_CMD} \
${SETENV} ${MAKE_ENV} ./build ${BUILDNAME} \
${PINE_LDAPCFLAGS} ${PINE_LDAPLIBS} \
2002-10-09 01:31:01 +02:00
PREFIX=${PREFIX} \
CC="${CC} ${CFLAGS}" \
EXTRALDFLAGS="${LDFLAGS} ${LIBS}"
1997-11-22 06:41:33 +01:00
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/pine ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/bin/rpdump ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/bin/rpload ${PREFIX}/bin/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pine
${INSTALL_MAN} ${WRKSRC}/doc/pine.1 ${PREFIX}/man/man1/pine.1
( ${ECHO} '# (This file is not part of the pine distribution! - HF)' ; \
${PREFIX}/bin/pine -conf ) | ${SED} \
1997-11-22 06:41:33 +01:00
-e 's|^\(use-only-domain-name\)=.*$$|\1=No|g' \
-e 's|^\(feature-list\)=.*$$|\1=enable-mail-check-cue,enable-suspend,expanded-view-of-addressbooks,include-header-in-reply,include-text-in-reply,show-selected-in-boldface,signature-at-bottom|g' \
-e 's|^\(sort-key\)=.*$$|\1=Arrival/Reverse|g' \
>${PREFIX}/share/examples/pine/pine.conf
${INSTALL_DATA} ${FILESDIR}/pine.conf.fixed ${PREFIX}/share/examples/pine/
Update to 4.30. Fixes another security hole... Full list of changes: * Configuration flexibility + pine configurations can now be stored remotely on an imap server for access from different locations without the need to configure for each location. + configuration may be split into two parts: generic configuration and exceptional, per-platform configuration. + signatures can now be stored remotely or as part of the pinerc file + for configuration options which are lists, inheritance is supported * New security features + SSL support for Unix Pine (source code only) + SSL enhancements for PC-Pine * Minor rule enhancements + status of a message (New, Deleted, etc.) can now be used as criteria for pattern matching. + "move-only-if-not-deleted" option in filtering to lessen the chance of messages being filtered more than once when running multiple pine sessions. + ability to set arbitrary headers in roles. + news filtering made more efficient. * Basic threaded sorting (Expanded functionality to be added in a future version). * Enhanced MAPI support for PC-Pine * Various other new features and configuration options + alternate-compose-menu + by-replyto for saved-msg-name-rule + check-newmail-when-quitting + continue-tab-without-confirm + expose-hidden-config + expunge-only-manually + incoming-startup-rule additions + literal-signature + mark-for-cc + prefer-plain-text + pruning-rule, for monthly sent-mail renaming and deleting + quell-extra-post-prompt + hidden feature allow-changing-from defaults to on * New command line options: + -p , pinerc can now refer to a remote mailbox which contains the configuration file + -x , is how you override your default pinerc settings with exceptions for a particular platform, may be local or remote + -aux , allows you to tell Pine the local directory to use for auxiliary files when pinerc is remote (PC-Pine only) + -copy_pinerc and -copy_abook options + -v option Bugs that have been addressed in this release include: * Incoming mail with an extremely long From address can cause a buffer overflow on the stack (security) * X-Keywords crash for unix formatted mailboxes * Composer word wrapping needlessly wraps words * New messages appear in zoomed view * "Bad msgno 0" filtering crash * "+" during login doesn't always mean that SSL is being used * news filtering refilters messages that had already been filtered * Goto and Save can't access folders that are readable but not listable * Goto doesn't allow access of folders outside of a Collection List * PC-Pine SSL functionality broken in Windows 2000/Millennium * FromOrTo and To in index-format don't work for newsgroups * Sorting by score doesn't always work * Viewing of very large messages uses more memory than is need * Loss of body for reply to multipart/signed mime messages * Pine crashes when replying to or forwarding messages with certain types of attachments * Brackets are falsely recognized as url characters * Crash when enclosing options in quotes for PC-Pine * Newsgroup posting doesn't allow posting to additional news servers
2000-11-09 04:37:26 +01:00
${INSTALL_DATA_DIR} ${PREFIX}/share/pine
${INSTALL_DATA_DIR} ${PREFIX}/share/pine/contrib
${INSTALL_DATA_DIR} ${PREFIX}/share/pine/contrib/utils
${INSTALL_DATA} ${WRKSRC}/doc/tech-notes.txt ${PREFIX}/share/pine/
${INSTALL_DATA} ${WRKSRC}/contrib/krb5-setup ${PREFIX}/share/pine/contrib
${INSTALL_DATA} ${WRKSRC}/contrib/ldap-setup ${PREFIX}/share/pine/contrib
${INSTALL_DATA} ${WRKSRC}/contrib/utils/* ${PREFIX}/share/pine/contrib/utils
${CHMOD} +x ${PREFIX}/share/pine/contrib/utils/*.sh
1997-11-22 06:27:54 +01:00
2004-05-02 02:22:20 +02:00
.include "../../devel/ncurses/buildlink3.mk"
.include "../../editors/pico/buildlink3.mk"
.include "../../mail/imap-uw/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
2002-10-09 01:31:01 +02:00
.include "../../mk/bsd.pkg.mk"