pine - A Program for Internet News & Email -or- Pine Is Not Elm ChangeLog

HOWTO


# Pine 4.64
# =========
# Pine is no longer being actively developed.  The replacement is named
# Alpine.
#
# For the story, go here:
# http://www.washington.edu/alpine/overview/story.html

# Prerequisites:
# OpenSSL (optional)
# OpenLDAP (optional)
# kerberos (optional)

# If you have the source for OpenLDAP in ~/src/ldap/openldap-* or
# ~/src/openldap-*, it'll build in LDAP support.  If you have
# OpenSSL installed into /usr/local/ssl, it'll build-in SSL support.
# See "INCLUDING LDAP" and "INCLUDING SSL" in the source's README for
# more info.

# I've never tried it myself, but the docs say that if you want to build
# in Kerberos support, create a symlink named krb5 in the source directory to
# the directory that contains the kerberos includes and libraries.  See
# "INCLUDING KERBEROS" in the source's README for more info.

cd
test -f installed/pine4.64.tar.bz2 && mv installed/pine4.64.tar.bz2 .
test ! -f pine4.64.tar.bz2 &&
wget ftp://ftp.cac.washington.edu/pine/pine4.64.tar.bz2

# Verify tarball w/ md5sum:
echo "39ca07b3d305b4cd0d6aaf4585123275  pine4.64.tar.bz2" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "pine?.*" -exec rm -r {} \;
tar xjvf ~/pine4.64.tar.bz2
cd pine4.64
find ../ldap -maxdepth 1 -type d -name "openldap-*" -exec ln -sf {} ldap \; 2> /dev/null
test ! -L ./ldap &&
find .. -maxdepth 1 -type d -name "openldap-*"   -exec ln -sf {} ldap \; 2> /dev/null

# If you don't have OpenSSL installed in the usual source-installed place
# (/usr/local/ssl), like when you use a distribution packaged version of it,
# you can define SSLDIR, SSLCERTS, SSLINCLUDE and SSLLIB at the end of the
# build line below.  For example, to build it with a Slackware-packaged
# version of OpenSSL, which is installed under the /usr prefix, run:
# ./build slx SSLDIR=/usr SSLCERTS=/etc/ssl/certs

./build slx

# Now become root to install it:
su

test -x /sbin/removepkg && /sbin/removepkg pine
( cd /usr/local/bin ; rm -f pine pinef pico pilot )
( cd /usr/local/man/man1 ; rm -f pine.1 pico.1 pilot.1 )
# Quit out of pine now if it's running
install -s bin/pine bin/pico bin/pilot /usr/bin/
install -m 444 doc/pine.1 doc/pico.1 doc/pilot.1 /usr/man/man1/
ln -sf /usr/bin/pine /usr/bin/pinef

# To specify site-wide default configuration options run:
# pine -pinerc /usr/local/lib/pine.conf
# then open up pine.conf and modify it as necessary.  To create site-wide
# fixed (not changeable by the user) configuration options, create a
# pine.conf.fixed and make sure only root has write permissions on it.

# Become yourself again
exit

# There are other binaries in ~/src/pine4.64/bin that you may want
# to check out, like mailutil (run it for usage).  mailutil doesn't, but
# most of the other ones have man pages in ~/src/pine4.64/doc
#
# Check how many messages you have in a local mbox folder:
# ./mailutil check /var/spool/mail/jason
#
# Check how many messages you have in a folder named "lists" on a
# Cyrus IMAP server via IMAP + TLS (ignoring the complaint about the
# self-signed certificate and not using rsh to connect):
# ./mailutil check {localhost/user=jason/novalidate-cert/NoRsh}INBOX.lists
#
# Check how many messages you have in your Cyrus POP3 inbox via POP3 + TLS:
# ./mailutil check {localhost/pop3/user=jason/novalidate-cert}INBOX

cd
mkdir -p -m 0700 installed
rm -f installed/pine*.tar.*
mv pine4.64.tar.bz2 installed/

List of HOWTOs

Last updated: 2020-04-29 10:24pm EDT(-0400)
Copyright © 2001-2020 Jason Englander. All Rights reserved.
[HTML5]