---
name: zh-pine
version: 4.64
origin: chinese/pine4
comment: A Program for Internet News & Email with Chinese(BIG-5) support
arch: freebsd:9:x86:64
www: http://www.washington.edu/pine/
maintainer: avatar@mmlab.cse.yzu.edu.tw
prefix: /usr/local
licenselogic: single
flatsize: 6710147
desc: |
  Pine (Program for Internet News & Email) is a tool for reading, sending,
  and managing electronic messages.  It was designed specifically with
  novice computer users in mind, but can be tailored to accommodate the
  needs of "power users" as well.  Pine uses Internet message protocols
  (e.g. RFC-822, SMTP, MIME, IMAP, NNTP) and runs on Unix and PCs.

  Besides Pine this package includes the Pico editor, the Pilot file browser
  and also the IMAPv4r1 daemon and POP2/POP3 servers (these daemons are not
  built by default).

  An optional set of configuration files can be put into /usr/local/etc
  to set system wide defaults. Have a look at the documentation installed
  in /usr/local/share/doc/pine/ for more details.

  Also included in dot.pinerc.pgp.sample are example entries needed to
  add to your .pinerc to activate the pgp add on scripts pgpdecode,
  pgpencode, and pgpsign.

  dot.pinerc.sample is an example configuration file(include PGP support) can be
  put into your home directory as .pinerc.

  WWW: http://www.washington.edu/pine/
categories: [news, mail, chinese]
files:
  /usr/local/bin/pgpdecode: 8b75c9e9c884d958d52e4e94300fc477dbde6d985fa6f62cfe0637aa1c3dc7ab
  /usr/local/bin/pgpencrypt: 1a9cfe5764422a76633d270c8cc908c90228815a4bdc227811603f5644f56767
  /usr/local/bin/pgpsign: 21cdef6e17703b987d4123e8528ff150962f37a9e029973c207b1dfe9daf993d
  /usr/local/bin/pico: bee60ada0fb9545769138c48b4194bbccd22c3de205d170ccd109d3661717d99
  /usr/local/bin/pilot: 104ae427b27e4fff8bd155e0e72550dea8ca050277e186642ad740d5115f2c5b
  /usr/local/bin/pine: 109f01b86a9ec17bd27af6756911b5bbc690275ae57afdf8b69f43ec0891c0a2
  /usr/local/etc/dot.pinerc.pgp.sample: 421241a97257871b60b6ab8c1456d27e7894741dcb1e8ed96fa6629feeb12e52
  /usr/local/etc/dot.pinerc.sample: f3eaf6571d959125e51d6dd66d300b597571ad28445fa8c3b316b524b814d482
  /usr/local/man/man1/pico.1.gz: 106d70a2a25b242d98e2251d8185df63607d5e38fe8a5c5a0f8e33805f7a25fd
  /usr/local/man/man1/pilot.1.gz: a87f7221cf8a3caf95082ef1cdcbf04fe9d3e7334bb07e751277505cd0e2c645
  /usr/local/man/man1/pine.1.gz: 88b7099e99d575d56b89727ae132fef3048997c11503dc73a7717cbef02c0c1c
  /usr/local/share/doc/pine/brochure.txt: 79809c699135e965bae1d3c9e4dbf565ce50ffd9b3f189d3ec93b081492dc7ca
  /usr/local/share/doc/pine/tech-notes.txt: fdfd88da6b7efbc66858027bef3e86a9572dbd8d65f3e208047d13e47e7a604e
  /usr/local/share/doc/pine/tech-notes/background.html: 3dba3f34364c26e0c8f85748beb67ceabcef33076e27b249f0a9008931f948c1
  /usr/local/share/doc/pine/tech-notes/cmd-line.html: 160ba3be39a67c0f970ba5031f698aa6d0e7cd1bd25602f038feb6d656d91f21
  /usr/local/share/doc/pine/tech-notes/config-notes.html: 662b52659c1d87d247168517cbe44cc9403e5f78e994e6e5dc18cc30e888e8c5
  /usr/local/share/doc/pine/tech-notes/config.html: 97c41c4ebf18327120095d8b5b03de9d1442812d13c3fb098578f28dbfc016a0
  /usr/local/share/doc/pine/tech-notes/index.html: eaa983347c16bc3d0c639737484863c18202293008ef6cf960ce2e5c2244cfde
  /usr/local/share/doc/pine/tech-notes/installation.html: ec4101a117525fff1481e30d51088fe29618e6942731dc4c7c930ef8dfe1fc33
  /usr/local/share/doc/pine/tech-notes/introduction.html: 26e42c8897c5f1881d993e979ae21922100c75bf8a26c3b88a6be129be47033d
  /usr/local/share/doc/pine/tech-notes/low-level.html: 770d1fbb449ccaf35faa58265be0ec94809ce787024eb7a08b9e74c2b5021fd3
  /usr/local/share/doc/pine/tech-notes/porting.html: 8f915c3b6ed38c08c4bbfdd5851dab94aa11ea1c8743af337c2e397a6b6e47c9
directories:
  /usr/local/share/doc/pine/tech-notes/: n
  /usr/local/share/doc/pine/: n
scripts:
  post-install: |
    /usr/local/bin/pine -P /usr/local/etc/pine.conf -conf >/usr/local/etc/pine.conf.tmp
    /bin/mv /usr/local/etc/pine.conf.tmp /usr/local/etc/pine.conf
  pre-deinstall: |
    /usr/local/bin/pine -conf >/usr/local/etc/pine.conf.tmp
    if cmp -s /usr/local/etc/pine.conf /usr/local/etc/pine.conf.tmp; then rm -f /usr/local/etc/pine.conf; fi
    rm -f /usr/local/etc/pine.conf.tmp 2>/dev/null || true
  install: |
    #!/bin/sh

    if [ "$2" = "POST-INSTALL" -o -n "${PACKAGE_BUILDING}" ]; then
      exit 0
    fi

    /usr/bin/dialog --yesno "SECURITY NOTE: The pine software has had several remote vulnerabilities discovered in the past, which allowed remote attackers to execute arbitrary code as you on your local system, by the action of sending a specially-prepared email. All such KNOWN problems have been fixed, but the pine code is written in a very insecure style and the FreeBSD Security Officer believes there are likely to be other undiscovered vulnerabilities. Do you wish to proceed with the installation of pine anyway?" 12 70 || /usr/bin/false

    /usr/bin/dialog --msgbox "Be sure to consult the Pine help for section about 'Information on mbox driver' before using Pine with /usr/bin/mail on a POP3 server." 7 70
