pkgsrc/mail/pine/Makefile

82 lines
3.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.54 2001/11/27 03:12:54 hubertf 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.40
PKGNAME= pine-4.40
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.
2001-10-19 12:56:54 +02:00
DEPENDS+= pico>=4.1:../../editors/pico
DEPENDS+= imap-uw>=2001.0:../../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
USE_SSL= yes
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-${BUILDNAME}.h ${WRKSRC}/pine/osdep/os-${BUILDNAME}.h.orig
${SED} \
-e 's@/usr/local/lib/@${PREFIX}/etc/@' \
-e 's@DEFAULT_DEBUG.*2@DEFAULT_DEBUG 0@' \
<${WRKSRC}/pine/osdep/os-${BUILDNAME}.h.orig >${WRKSRC}/pine/osdep/os-${BUILDNAME}.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}"
1997-11-22 06:41:33 +01:00
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pine/pine ${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 "../../mk/bsd.pkg.mk"
2000-01-04 17:58:50 +01:00
.if ${OPSYS} == "SunOS"
BUILDNAME= gs5
.else
BUILDNAME= neb
.endif