pkgsrc/mail/pine/Makefile

91 lines
3.4 KiB
Makefile
Raw Normal View History

2002-07-28 07:49:28 +02:00
# $NetBSD: Makefile,v 1.62 2002/07/28 05:49:28 schmonz Exp $
1997-11-22 06:42:42 +01:00
# FreeBSD Id: Makefile,v 1.21 1997/03/26 02:12:07 ache Exp
1997-11-22 06:27:54 +01:00
#
DISTNAME= pine4.44
PKGNAME= pine-4.44
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/
1997-11-22 06:27:54 +01:00
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
MAINTAINER= hubertf@netbsd.org
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
BUILD_DEFS+= PINE_USE_LDAP
# This pkg doesn't build pico or libpico; the pico pkg does that part.
2002-01-06 14:59:08 +01:00
DEPENDS+= pico>=4.2:../../editors/pico
Updated to 4.43. Changes since 4.40: * Answered flag not set in some circumstances when replying * PC-Pine command line argument -passfile to change the name of the password file. This should be a fully-qualified filename. * Replying to a message may close the folder containing the message * Pine fails to compile in non-DEBUG mode. * PC-Pine crashes in some dialogs when run in Dialog Box mode. * Setup/Signature prefers literal-signature by default * Composer justify command handles nested quoting better * Increased efficiency for remote configurations (no temporary files) * New tokens SIZECOMMA (similar to 4.33 SIZE) and SIZENARROW for index-format * Select by size (thanks to Martin Gallwey) * New feature quell-content-id for working around Outlook XP problem * New PC-Pine feature quell-ssl-largeblocks for working around OS SSL-problems * Better color interoperability between PC-Pine and Unix Pine with 16-color xterm * New PC-Pine dialog to aid in locating configuration file if none found * Save from local folder to simple name in remote collection fails * Crash when selecting folders by Properties (Unseen...) in local collection * Crash when talking to POP3 servers which have the EXPIRE capability * Crash when talking to SMTP server which offers STARTTLS * Crash when accessing remote config if there is a TLS failure * Crash when index-format includes SCORE token, a score rule includes an AllText pattern, and the folder being scored is remote * Delivery Status Notification (DSN) broken * Editing reply-indent-string was broken when using Windows dialog boxes * Entire folder is re-filtered when Save is typed and save-will-advance is set
2001-12-15 09:31:38 +01:00
DEPENDS+= imap-uw>=2001.1:../../mail/imap-uw
.include "../../mk/bsd.prefs.mk"
.if defined(PINE_USE_LDAP) && ${PINE_USE_LDAP} == YES
.include "../../databases/openldap/buildlink.mk"
LDAPCFLAGS= LDAPCFLAGS="-DENABLE_LDAP"
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/@${PREFIX}/etc/@' \
-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
@${LN} -sf ${LOCALBASE}/include/pico ${WRKSRC}/pico
1997-11-22 06:41:33 +01:00
do-build:
cd ${WRKSRC} && ./build ${BUILDNAME} ${LDAPCFLAGS} ${LDAPLIBS} PREFIX=${PREFIX} \
CC="${CC} ${CFLAGS} ${LDFLAGS}"
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_SCRIPT} ${FILESDIR}/pgpencrypt ${PREFIX}/bin/
${INSTALL_SCRIPT} ${FILESDIR}/pgpdecode ${PREFIX}/bin/
${INSTALL_SCRIPT} ${FILESDIR}/pgpsign ${PREFIX}/bin/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pine
${INSTALL_DATA} ${FILESDIR}/dot.pinerc.pgp.sample ${PREFIX}/share/examples/pine/dot.pinerc.pgp
${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/
@[ -f ${PREFIX}/etc/pine.conf ] || ${CP} ${PREFIX}/share/examples/pine/pine.conf ${PREFIX}/etc/
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
.include "../../security/openssl/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
2000-01-04 17:58:50 +01:00
.if ${OPSYS} == "SunOS"
BUILDNAME= gs5
BUILDFILE= gs5
2002-06-21 16:13:36 +02:00
.elif ${OPSYS} == "Linux"
BUILDNAME= lrh
BUILDFILE= lnx
2002-07-28 07:49:28 +02:00
.elif ${OPSYS} == "Darwin"
BUILDNAME= osx
BUILDFILE= osx
2000-01-04 17:58:50 +01:00
.else
BUILDNAME= neb
BUILDFILE= neb
2000-01-04 17:58:50 +01:00
.endif