diff options
author | Neil Blakey-Milner <nbm@FreeBSD.org> | 2000-08-02 12:01:17 +0000 |
---|---|---|
committer | Neil Blakey-Milner <nbm@FreeBSD.org> | 2000-08-02 12:01:17 +0000 |
commit | e33bc01307d6ae28e01e514e98f7529355414def (patch) | |
tree | 4b965842488873aff5dad404ba479d648e77e976 /hebrew | |
parent | 083fd1d90486517fd4483391d86b2f3cfc8c606d (diff) | |
download | ports-e33bc01307d6ae28e01e514e98f7529355414def.tar.gz ports-e33bc01307d6ae28e01e514e98f7529355414def.zip |
Notes
Diffstat (limited to 'hebrew')
-rw-r--r-- | hebrew/Makefile | 1 | ||||
-rw-r--r-- | hebrew/pine/Makefile | 79 | ||||
-rw-r--r-- | hebrew/pine/distinfo | 1 | ||||
-rw-r--r-- | hebrew/pine/files/dot.pinerc.pgp.sample | 16 | ||||
-rw-r--r-- | hebrew/pine/files/patch-aa | 22 | ||||
-rw-r--r-- | hebrew/pine/files/patch-ac | 91 | ||||
-rw-r--r-- | hebrew/pine/files/patch-af | 36 | ||||
-rw-r--r-- | hebrew/pine/files/patch-ai | 70 | ||||
-rw-r--r-- | hebrew/pine/files/patch-aj | 17 | ||||
-rw-r--r-- | hebrew/pine/files/patch-ak | 29 | ||||
-rw-r--r-- | hebrew/pine/files/patch-al | 60 | ||||
-rw-r--r-- | hebrew/pine/files/patch-am | 19 | ||||
-rw-r--r-- | hebrew/pine/files/patch-an | 36 | ||||
-rw-r--r-- | hebrew/pine/files/patch-ap | 20 | ||||
-rw-r--r-- | hebrew/pine/files/patch-aq | 38 | ||||
-rw-r--r-- | hebrew/pine/files/patch-as | 76 | ||||
-rw-r--r-- | hebrew/pine/files/patch-at | 101 | ||||
-rw-r--r-- | hebrew/pine/files/patch-au | 27 | ||||
-rw-r--r-- | hebrew/pine/files/patch-av | 44 | ||||
-rw-r--r-- | hebrew/pine/files/patch-aw | 12 | ||||
-rw-r--r-- | hebrew/pine/files/pgpdecode | 51 | ||||
-rw-r--r-- | hebrew/pine/files/pgpencrypt | 11 | ||||
-rw-r--r-- | hebrew/pine/files/pgpsign | 11 | ||||
-rw-r--r-- | hebrew/pine/pkg-comment | 1 | ||||
-rw-r--r-- | hebrew/pine/pkg-descr | 22 | ||||
-rw-r--r-- | hebrew/pine/pkg-plist | 25 |
26 files changed, 916 insertions, 0 deletions
diff --git a/hebrew/Makefile b/hebrew/Makefile index 387a15af799f..1b26dd4f8d2f 100644 --- a/hebrew/Makefile +++ b/hebrew/Makefile @@ -4,3 +4,4 @@ SUBDIR += elmar-fonts .include <bsd.port.subdir.mk> + SUBDIR += pine diff --git a/hebrew/pine/Makefile b/hebrew/pine/Makefile new file mode 100644 index 000000000000..f08e0755e139 --- /dev/null +++ b/hebrew/pine/Makefile @@ -0,0 +1,79 @@ +# New ports collection makefile for: pine-heb +# Date created: Apr 01 2000 +# Whom: Nadav Eiron <nadav@cs.technion.ac.il> +# +# $FreeBSD$ + +PORTNAME= pine +PORTVERSION= 4.21.2.9 +CATEGORIES= hebrew mail news +MASTER_SITES= ftp://www8.cc.huji.ac.il/pub/pine/ +DISTNAME= pine4.21_heb2.09 + +MAINTAINER?= nadav@cs.technion.ac.il + +MAN1= pine.1 pico.1 pilot.1 + +post-patch: + for i in ${WRKSRC}/doc/pine.1 \ + ${WRKSRC}/pine/init.c \ + ${WRKSRC}/pine/pine.hlp \ + ${WRKSRC}/pine/mailcap.c \ + ${WRKSRC}/pine/osdep/os-bsf.h ; do \ + ${MV} $$i $$i.sed ; \ + ${SED} -e "s:@@PREFIX@@:${PREFIX}:g" \ + $$i.sed >$$i ; \ + ${RM} $$i.sed ; \ + done + for i in ${WRKSRC}/doc/tech-notes.txt \ + ${WRKSRC}/doc/tech-notes/*.html ; do \ + ${MV} $$i $$i.sed ; \ + ${SED} -e "s:/usr/local/lib/:${PREFIX}/etc/:g" \ + $$i.sed >$$i ; \ + ${RM} $$i.sed ; \ + done + +do-build: + @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ./build bsf) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/pico ${PREFIX}/bin/pico + ${INSTALL_PROGRAM} ${WRKSRC}/bin/pilot ${PREFIX}/bin/pilot + ${INSTALL_PROGRAM} ${WRKSRC}/bin/pine ${PREFIX}/bin/pine + ${SED} -e 's,@@PREFIX@@,${PREFIX},g' \ + < ${FILESDIR}/pgpdecode > ${WRKSRC}/bin/pgpdecode + ${SED} -e 's,@@PREFIX@@,${PREFIX},g' \ + < ${FILESDIR}/pgpencrypt > ${WRKSRC}/bin/pgpencrypt + ${SED} -e 's,@@PREFIX@@,${PREFIX},g' \ + < ${FILESDIR}/pgpsign > ${WRKSRC}/bin/pgpsign + ${INSTALL_SCRIPT} ${WRKSRC}/bin/pgpencrypt ${PREFIX}/bin/pgpencrypt + ${INSTALL_SCRIPT} ${WRKSRC}/bin/pgpdecode ${PREFIX}/bin/pgpdecode + ${INSTALL_SCRIPT} ${WRKSRC}/bin/pgpsign ${PREFIX}/bin/pgpsign + ${SED} -e 's,@@PREFIX@@,${PREFIX},g' \ + < ${FILESDIR}/dot.pinerc.pgp.sample \ + > ${WRKSRC}/dot.pinerc.pgp.sample + ${INSTALL_DATA} ${WRKSRC}/dot.pinerc.pgp.sample \ + ${PREFIX}/etc/dot.pinerc.pgp.sample + ${INSTALL_MAN} ${WRKSRC}/doc/pico.1 ${PREFIX}/man/man1/pico.1 + ${INSTALL_MAN} ${WRKSRC}/doc/pilot.1 ${PREFIX}/man/man1/pilot.1 + ${INSTALL_MAN} ${WRKSRC}/doc/pine.1 ${PREFIX}/man/man1/pine.1 +.if !defined(NOPORTDOCS) + ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} \ + ${PREFIX}/share/doc/pine \ + ${PREFIX}/share/doc/pine/tech-notes + ${INSTALL_DATA} ${WRKSRC}/doc/brochure.txt ${PREFIX}/share/doc/pine + ${INSTALL_DATA} ${WRKSRC}/doc/tech-notes.txt ${PREFIX}/share/doc/pine + ${INSTALL_DATA} ${WRKSRC}/doc/tech-notes/*.html \ + ${PREFIX}/share/doc/pine/tech-notes/ +.endif + +post-install: + ${PREFIX}/bin/pine -P ${PREFIX}/etc/pine.conf -conf >${WRKSRC}/pine.conf + ${INSTALL_DATA} ${WRKSRC}/pine.conf ${PREFIX}/etc/pine.conf + +# hack to allow slave ports to include bsd.port.pre.mk and then this file +.if defined(PRE_MK_INCLUDED) +.include <bsd.port.post.mk> +.else +.include <bsd.port.mk> +.endif diff --git a/hebrew/pine/distinfo b/hebrew/pine/distinfo new file mode 100644 index 000000000000..b69814bcf002 --- /dev/null +++ b/hebrew/pine/distinfo @@ -0,0 +1 @@ +MD5 (pine4.21_heb2.09.tar.gz) = 380a2efdac0fb224e1189fcec1dc09e1 diff --git a/hebrew/pine/files/dot.pinerc.pgp.sample b/hebrew/pine/files/dot.pinerc.pgp.sample new file mode 100644 index 000000000000..512509a30448 --- /dev/null +++ b/hebrew/pine/files/dot.pinerc.pgp.sample @@ -0,0 +1,16 @@ +# List of features; see Pine's Setup/options menu for the current set. +# e.g. feature-list= select-without-confirm, signature-at-bottom +# Default condition for all of the features is no-. +feature-list=compose-send-offers-first-filter + +# This variable takes a list of programs that message text is piped into +# after MIME decoding, prior to display. +display-filters="-----BEGIN PGP" @@PREFIX@@/bin/pgpdecode + +# This defines a program that message text is piped into before MIME +# encoding, prior to sending +sending-filters=@@PREFIX@@/bin/pgpsign, + @@PREFIX@@/bin/pgpencrypt _RECIPIENTS_ + +# hook, to get rid of the sucking 'quoted printable' ;-)) +# enable-8bit-esmtp-negotiation diff --git a/hebrew/pine/files/patch-aa b/hebrew/pine/files/patch-aa new file mode 100644 index 000000000000..e4e9d0ae2182 --- /dev/null +++ b/hebrew/pine/files/patch-aa @@ -0,0 +1,22 @@ +--- pico/search.c.old Tue Oct 5 01:49:41 1999 ++++ pico/search.c Wed Feb 16 03:41:45 2000 +@@ -97,12 +97,15 @@ + int bc; + int pc; + { ++ bc = (unsigned char)bc; ++ pc = (unsigned char)pc; ++ + if ((curwp->w_bufp->b_mode & MDEXACT) == 0){ +- if (bc>='a' && bc<='z') +- bc -= 0x20; ++ if (islower(bc)) ++ bc = toupper(bc); + +- if (pc>='a' && pc<='z') +- pc -= 0x20; ++ if (islower(pc)) ++ pc = toupper(pc); + } + + return(bc == pc); diff --git a/hebrew/pine/files/patch-ac b/hebrew/pine/files/patch-ac new file mode 100644 index 000000000000..c4407f440d4c --- /dev/null +++ b/hebrew/pine/files/patch-ac @@ -0,0 +1,91 @@ +*** pine/osdep/os-bsf.h.orig Thu Oct 8 00:51:40 1998 +--- pine/osdep/os-bsf.h Tue Feb 9 20:15:18 1999 +*************** +*** 74,80 **** + default-composer-hdrs or customized-hdrs to get at it. Instead of + defining NEVER_ALLOW_CHANGING_FROM, an easier way of preventing From + changing is to put the feature "no-allow-changing-from" in the +! /usr/local/lib/pine.conf.fixed file. + ----*/ + /* #define NEVER_ALLOW_CHANGING_FROM */ + +--- 74,80 ---- + default-composer-hdrs or customized-hdrs to get at it. Instead of + defining NEVER_ALLOW_CHANGING_FROM, an easier way of preventing From + changing is to put the feature "no-allow-changing-from" in the +! @@PREFIX@@/etc/pine.conf.fixed file. + ----*/ + /* #define NEVER_ALLOW_CHANGING_FROM */ + +*************** +*** 87,93 **** + NOTE: You'll also have to make sure the appropriate osdep/postreap.* + file is included in the os-*.ic file for your system. + ----*/ +! /* #define BACKGROUND_POST */ + + + +--- 87,93 ---- + NOTE: You'll also have to make sure the appropriate osdep/postreap.* + file is included in the os-*.ic file for your system. + ----*/ +! #define BACKGROUND_POST + + + +*************** +*** 160,167 **** + + + /*----- System-wide config file ----------------------------------------*/ +! #define SYSTEM_PINERC "/usr/local/lib/pine.conf" +! #define SYSTEM_PINERC_FIXED "/usr/local/lib/pine.conf.fixed" + + + +--- 160,167 ---- + + + /*----- System-wide config file ----------------------------------------*/ +! #define SYSTEM_PINERC "@@PREFIX@@/etc/pine.conf" +! #define SYSTEM_PINERC_FIXED "@@PREFIX@@/etc/pine.conf.fixed" + + + +*************** +*** 219,225 **** + /*---------------------------------------------------------------------- + If no nntp-servers are defined, this program will be used to post news. + ----*/ +! #define SENDNEWS "/usr/local/news/inews -h" + + + /*--------- Program employed by users to change their password ---------*/ +--- 219,227 ---- + /*---------------------------------------------------------------------- + If no nntp-servers are defined, this program will be used to post news. + ----*/ +! #define SENDNEWS "/usr/local/news/lib/inews -h" /* For NN inews */ +! /*#define SENDNEWS "/usr/local/bin/inews -h" /* For INN inews */ +! /*#define SENDNEWS "/usr/local/bin/inews -h" /* For Cnews inews */ + + + /*--------- Program employed by users to change their password ---------*/ +*************** +*** 268,274 **** + 8 + 9 logs gross details of command execution + ----*/ +! #define DEFAULT_DEBUG 2 + + + +--- 270,276 ---- + 8 + 9 logs gross details of command execution + ----*/ +! #define DEFAULT_DEBUG 0 + + + diff --git a/hebrew/pine/files/patch-af b/hebrew/pine/files/patch-af new file mode 100644 index 000000000000..18bd351bff7e --- /dev/null +++ b/hebrew/pine/files/patch-af @@ -0,0 +1,36 @@ +*** imap/src/osdep/unix/Makefile.orig Wed Jan 27 01:19:19 1999 +--- imap/src/osdep/unix/Makefile Tue Feb 9 21:32:44 1999 +*************** +*** 82,88 **** + # Commands possibly overriden by the individual port + + ARRC=ar rc +! CC=cc + LN=ln -s + RANLIB=ranlib + +--- 82,88 ---- + # Commands possibly overriden by the individual port + + ARRC=ar rc +! #CC=cc + LN=ln -s + RANLIB=ranlib + +*************** +*** 100,106 **** + dummy.o pseudo.o netmsg.o flstring.o fdstring.o \ + rfc822.o nntp.o smtp.o imap4r1.o pop3.o \ + unix.o mbox.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o +! CFLAGS=$(BASECFLAGS) $(EXTRACFLAGS) + MAKE=make + MV=mv + RM=rm -rf +--- 100,106 ---- + dummy.o pseudo.o netmsg.o flstring.o fdstring.o \ + rfc822.o nntp.o smtp.o imap4r1.o pop3.o \ + unix.o mbox.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o +! CFLAGS+=$(BASECFLAGS) $(EXTRACFLAGS) + MAKE=make + MV=mv + RM=rm -rf diff --git a/hebrew/pine/files/patch-ai b/hebrew/pine/files/patch-ai new file mode 100644 index 000000000000..5c2604e36c55 --- /dev/null +++ b/hebrew/pine/files/patch-ai @@ -0,0 +1,70 @@ +*** pine/send.c.orig Thu Feb 4 20:17:39 1999 +--- pine/send.c Tue Feb 9 21:34:37 1999 +*************** +*** 7083,7095 **** + body->subtype = cpystr("octet-stream"); + } + +! /* +! * Apply maximal encoding regardless of previous +! * setting. This segment's either not text, or is +! * unlikely to be readable with > 30% of the +! * text encoded anyway, so we might as well save space... +! */ +! new_encoding = ENCBINARY; /* > 30% 8 bit chars */ + } + } + +--- 7083,7099 ---- + body->subtype = cpystr("octet-stream"); + } + +! if(body->type == TYPETEXT) +! /* Use ENC8BIT rather than ENCBINARY for TEXT */ +! new_encoding = ENC8BIT; +! else +! /* +! * Apply maximal encoding regardless of previous +! * setting. This segment's either not text, or is +! * unlikely to be readable with > 30% of the +! * text encoded anyway, so we might as well save space... +! */ +! new_encoding = ENCBINARY; /* > 30% 8 bit chars */ + } + } + +*************** +*** 8034,8040 **** + + switch (body->encoding) { /* all else needs filtering */ + case ENC8BIT: /* encode 8BIT into QUOTED-PRINTABLE */ +! gf_link_filter(gf_8bit_qp, NULL); + break; + + case ENCBINARY: /* encode binary into BASE64 */ +--- 8038,8045 ---- + + switch (body->encoding) { /* all else needs filtering */ + case ENC8BIT: /* encode 8BIT into QUOTED-PRINTABLE */ +! if(F_OFF(F_ENABLE_8BIT, ps_global)) /* unless 8BIT enabled */ +! gf_link_filter(gf_8bit_qp, NULL); + break; + + case ENCBINARY: /* encode binary into BASE64 */ +*************** +*** 8136,8142 **** + && !(so_puts(so, "Content-Transfer-Encoding: ") + && so_puts(so, body_encodings[(body->encoding==ENCBINARY) + ? ENCBASE64 +! : (body->encoding == ENC8BIT) + ? ENCQUOTEDPRINTABLE + : (body->encoding <= ENCMAX) + ? body->encoding +--- 8141,8147 ---- + && !(so_puts(so, "Content-Transfer-Encoding: ") + && so_puts(so, body_encodings[(body->encoding==ENCBINARY) + ? ENCBASE64 +! : (body->encoding == ENC8BIT && F_OFF(F_ENABLE_8BIT, ps_global)) + ? ENCQUOTEDPRINTABLE + : (body->encoding <= ENCMAX) + ? body->encoding diff --git a/hebrew/pine/files/patch-aj b/hebrew/pine/files/patch-aj new file mode 100644 index 000000000000..abe75ff54ef4 --- /dev/null +++ b/hebrew/pine/files/patch-aj @@ -0,0 +1,17 @@ +*** imap/src/osdep/unix/os_bsi.h.orig Thu Feb 13 07:25:33 1997 +--- imap/src/osdep/unix/os_bsi.h Fri Jul 10 00:12:36 1998 +*************** +*** 37,43 **** +--- 37,48 ---- + #include <unistd.h> + #include <string.h> + #include <sys/types.h> ++ #ifdef __FreeBSD__ ++ #include <dirent.h> ++ #define direct dirent ++ #else + #include <sys/dir.h> ++ #endif + #include <fcntl.h> + #include <syslog.h> + #include <sys/file.h> diff --git a/hebrew/pine/files/patch-ak b/hebrew/pine/files/patch-ak new file mode 100644 index 000000000000..663064e9940c --- /dev/null +++ b/hebrew/pine/files/patch-ak @@ -0,0 +1,29 @@ +*** imap/Makefile.orig Thu Jan 28 01:33:11 1999 +--- imap/Makefile Tue Feb 9 21:35:37 1999 +*************** +*** 379,390 **** + $(TOOLS)/$@ "$(LN)" src/charset c-client + sh -c '(test -d src/kerberos) && ($(LN) `pwd`/src/kerberos/* c-client) || true' + $(TOOLS)/$@ "$(LN)" src/osdep/$(SYSTEM) c-client +! $(TOOLS)/$@ "$(LN)" src/mtest mtest +! $(TOOLS)/$@ "$(LN)" src/ipopd ipopd +! $(TOOLS)/$@ "$(LN)" src/imapd imapd + $(LN) $(TOOLS)/$@ . + +! build: OSTYPE rebuild rebuildclean bundled + + OSTYPE: + @echo Building c-client for $(OS)... +--- 379,390 ---- + $(TOOLS)/$@ "$(LN)" src/charset c-client + sh -c '(test -d src/kerberos) && ($(LN) `pwd`/src/kerberos/* c-client) || true' + $(TOOLS)/$@ "$(LN)" src/osdep/$(SYSTEM) c-client +! # $(TOOLS)/$@ "$(LN)" src/mtest mtest +! # $(TOOLS)/$@ "$(LN)" src/ipopd ipopd +! # $(TOOLS)/$@ "$(LN)" src/imapd imapd + $(LN) $(TOOLS)/$@ . + +! build: OSTYPE rebuild rebuildclean # bundled + + OSTYPE: + @echo Building c-client for $(OS)... diff --git a/hebrew/pine/files/patch-al b/hebrew/pine/files/patch-al new file mode 100644 index 000000000000..a55e334900a9 --- /dev/null +++ b/hebrew/pine/files/patch-al @@ -0,0 +1,60 @@ +--- build.orig Fri Feb 19 18:30:54 1999 ++++ build Wed Oct 13 17:53:42 1999 +@@ -80,8 +80,9 @@ + pine The Pine mailer. Once compiled this should work just fine on + your system with no other files than this binary, and no + modifications to your system. Optionally you may create two +- configuration files, /usr/local/lib/pine.conf and +- /usr/local/lib/pine.info. See the documentation for details. ++ configuration files, /usr/local/etc/pine.conf and ++ /usr/local/etc/pine.info. See the documentation for details. ++ + + pico The standalone editor similar to the Pine message composer. + This is a very simple straight forward text editor. +@@ -278,10 +279,10 @@ + + if [ -s c-client ] ; then rm -f c-client ; fi + ln -s imap/c-client c-client +- if [ -s mtest ] ; then rm -f mtest ; fi +- ln -s imap/mtest mtest +- if [ -s imapd ] ; then rm -f imapd ; fi +- ln -s imap/imapd imapd ++# if [ -s mtest ] ; then rm -f mtest ; fi ++# ln -s imap/mtest mtest ++# if [ -s imapd ] ; then rm -f imapd ; fi ++# ln -s imap/imapd imapd + echo "Making c-client library, mtest and imapd" + eval echo make "$makeargs" "$K1" "$K2" $ccltarg + cd $PHOME/imap +@@ -303,14 +304,14 @@ + cd $PHOME/bin + rm -f pine mtest imapd pico pilot + if [ -s ../pine/pine ] ; then ln ../pine/pine pine ; fi +- if [ -s ../mtest/mtest ] ; then ln ../mtest/mtest mtest ; fi +- if [ -s ../imapd/imapd ] ; then ln ../imapd/imapd imapd ; fi ++# if [ -s ../mtest/mtest ] ; then ln ../mtest/mtest mtest ; fi ++# if [ -s ../imapd/imapd ] ; then ln ../imapd/imapd imapd ; fi + if [ -s ../pico/pico ] ; then ln ../pico/pico pico ; fi + if [ -s ../pico/pilot ] ; then ln ../pico/pilot pilot ; fi + cd $PHOME + echo '' + echo "Links to executables are in bin directory:" +- size bin/pine bin/mtest bin/imapd bin/pico bin/pilot ++ size bin/pine bin/pico bin/pilot + case $maketarg in + mnt) echo "Fixing stacksizes ..." + fixstk 64K bin/pine bin/pico bin/imapd bin/mtest bin/pilot +@@ -325,10 +326,10 @@ + make clean + echo "Cleaning Pine" + cd $PHOME/pine +- make -f makefile.ult clean ++ make -f makefile.bsf clean + echo "Cleaning pico" + cd $PHOME/pico +- make $makeargs -f makefile.ult clean ++ make $makeargs -f makefile.bsf clean + echo "Done" + cd $PHOME + ;; diff --git a/hebrew/pine/files/patch-am b/hebrew/pine/files/patch-am new file mode 100644 index 000000000000..b285a5dedee5 --- /dev/null +++ b/hebrew/pine/files/patch-am @@ -0,0 +1,19 @@ +*** pine/pine.h.orig Mon Feb 22 14:49:07 1999 +--- pine/pine.h Mon Feb 22 14:49:57 1999 +*************** +*** 2588,2594 **** + } ATABLE_S; + + +! #define TAG_EMBED '\377' /* Announces embedded data in text string */ + #define TAG_INVON '\001' /* Supported character attributes */ + #define TAG_INVOFF '\002' + #define TAG_BOLDON '\003' +--- 2588,2594 ---- + } ATABLE_S; + + +! #define TAG_EMBED '\001' /* Announces embedded data in text string */ + #define TAG_INVON '\001' /* Supported character attributes */ + #define TAG_INVOFF '\002' + #define TAG_BOLDON '\003' diff --git a/hebrew/pine/files/patch-an b/hebrew/pine/files/patch-an new file mode 100644 index 000000000000..2d9cc2dc5bea --- /dev/null +++ b/hebrew/pine/files/patch-an @@ -0,0 +1,36 @@ +*** pico/osdep/os-bsf.h.orig Wed Jul 8 19:37:28 1998 +--- pico/osdep/os-bsf.h Fri Jul 10 12:57:37 1998 +*************** +*** 23,29 **** + + #define USE_DIRENT + #include <sys/types.h> +! #include <sys/dir.h> + #include <stdlib.h> + #include <string.h> + +--- 23,29 ---- + + #define USE_DIRENT + #include <sys/types.h> +! #include <dirent.h> + #include <stdlib.h> + #include <string.h> + +*************** +*** 152,158 **** + /* + * Place where mail gets delivered (for pico's new mail checking) + */ +! #define MAILDIR "/usr/spool/mail" + + /* + * What and where the tool that checks spelling is located. If this is +--- 152,158 ---- + /* + * Place where mail gets delivered (for pico's new mail checking) + */ +! #define MAILDIR "/var/mail" + + /* + * What and where the tool that checks spelling is located. If this is diff --git a/hebrew/pine/files/patch-ap b/hebrew/pine/files/patch-ap new file mode 100644 index 000000000000..2aa3d35d53c2 --- /dev/null +++ b/hebrew/pine/files/patch-ap @@ -0,0 +1,20 @@ +*** pico/osdep/term.cap.orig Sat Feb 28 02:14:53 1998 +--- pico/osdep/term.cap Wed Jul 15 01:58:58 1998 +*************** +*** 270,276 **** + _kppu = tgetstr("kP", &p); + _kppd = tgetstr("kN", &p); + _kphome = tgetstr("kh", &p); +! _kpend = tgetstr("kH", &p); + _kpdel = tgetstr("kD", &p); + _kf1 = tgetstr("k1", &p); + _kf2 = tgetstr("k2", &p); +--- 270,277 ---- + _kppu = tgetstr("kP", &p); + _kppd = tgetstr("kN", &p); + _kphome = tgetstr("kh", &p); +! if((_kpend = tgetstr("@7", &p)) == NULL) +! _kpend = tgetstr("kH",&p); + _kpdel = tgetstr("kD", &p); + _kf1 = tgetstr("k1", &p); + _kf2 = tgetstr("k2", &p); diff --git a/hebrew/pine/files/patch-aq b/hebrew/pine/files/patch-aq new file mode 100644 index 000000000000..1029b9e593f8 --- /dev/null +++ b/hebrew/pine/files/patch-aq @@ -0,0 +1,38 @@ +*** pico/display.c.orig Fri Jun 19 20:19:53 1998 +--- pico/display.c Mon Jul 13 01:36:38 1998 +*************** +*** 77,83 **** + {"^X", "Exit", KS_EXIT}, {"^J", "Justify", KS_JUSTIFY}, + {"^W", "Where is", KS_WHEREIS}, {"^V", "Next Pg", KS_NEXTPAGE}, + {"^U", NULL, KS_NONE}, +! #ifdef SPELLER + {"^T", "To Spell", KS_SPELLCHK} + #else + {"^D", "Del Char", KS_NONE} +--- 77,83 ---- + {"^X", "Exit", KS_EXIT}, {"^J", "Justify", KS_JUSTIFY}, + {"^W", "Where is", KS_WHEREIS}, {"^V", "Next Pg", KS_NEXTPAGE}, + {"^U", NULL, KS_NONE}, +! #if defined(SPELLER) && !defined(__FreeBSD__) + {"^T", "To Spell", KS_SPELLCHK} + #else + {"^D", "Del Char", KS_NONE} +*** pico/main.c.orig Tue Apr 21 20:28:08 1998 +--- pico/main.c Mon Jul 13 01:36:39 1998 +*************** +*** 66,72 **** + { F9, (CTRL|'K')}, + { F10, (CTRL|'U')}, + { F11, (CTRL|'C')}, +! #ifdef SPELLER + { F12, (CTRL|'T')} + #else + { F12, (CTRL|'D')} +--- 66,72 ---- + { F9, (CTRL|'K')}, + { F10, (CTRL|'U')}, + { F11, (CTRL|'C')}, +! #if defined(SPELLER) && !defined(__FreeBSD__) + { F12, (CTRL|'T')} + #else + { F12, (CTRL|'D')} diff --git a/hebrew/pine/files/patch-as b/hebrew/pine/files/patch-as new file mode 100644 index 000000000000..5bb66b9d8953 --- /dev/null +++ b/hebrew/pine/files/patch-as @@ -0,0 +1,76 @@ +*** pine/init.c.orig Tue Jan 26 21:57:56 1999 +--- pine/init.c Tue Feb 9 22:14:08 1999 +*************** +*** 326,332 **** + + /*---------------------------------------------------------------------- + These are the variables that control a number of pine functions. They +! come out of the .pinerc and the /usr/local/lib/pine.conf files. Some can + be set by the user while in Pine. Eventually all the local ones should + be so and maybe the global ones too. + +--- 326,332 ---- + + /*---------------------------------------------------------------------- + These are the variables that control a number of pine functions. They +! come out of the .pinerc and the @@PREFIX@@/etc/pine.conf files. Some can + be set by the user while in Pine. Eventually all the local ones should + be so and maybe the global ones too. + +*** pico/edef.h.orig Thu Apr 23 02:53:44 1998 +--- pico/edef.h Tue Feb 9 22:14:08 1999 +*************** +*** 59,65 **** + int ComposerEditing = FALSE; /* TRUE if message line is open */ + int revexist = FALSE; /* does reverse video exist? */ + char modecode[] = "WCSEVO"; /* letters to represent modes */ +! long gmode = MDWRAP; /* global editor mode */ + int sgarbf = TRUE; /* TRUE if screen is garbage */ + int mpresf = FALSE; /* TRUE if message in last line */ + int clexec = FALSE; /* command line execution flag */ +--- 59,65 ---- + int ComposerEditing = FALSE; /* TRUE if message line is open */ + int revexist = FALSE; /* does reverse video exist? */ + char modecode[] = "WCSEVO"; /* letters to represent modes */ +! long gmode = MDWRAP | MDTCAPWINS; /* global editor mode */ + int sgarbf = TRUE; /* TRUE if screen is garbage */ + int mpresf = FALSE; /* TRUE if message in last line */ + int clexec = FALSE; /* command line execution flag */ +*** pico/main.c.orig Tue Feb 9 21:46:54 1999 +--- pico/main.c Tue Feb 9 22:14:08 1999 +*************** +*** 443,449 **** + gmode ^= MDSSPD; + break; + case 'q': /* -q for termcap takes precedence */ +! gmode ^= MDTCAPWINS; + break; + case 'w': /* -w turn off word wrap */ + gmode ^= MDWRAP; +--- 443,449 ---- + gmode ^= MDSSPD; + break; + case 'q': /* -q for termcap takes precedence */ +! gmode |= MDTCAPWINS; + break; + case 'w': /* -w turn off word wrap */ + gmode ^= MDWRAP; +*** pico/pilot.c.orig Mon Aug 24 20:37:39 1998 +--- pico/pilot.c Tue Feb 9 22:14:09 1999 +*************** +*** 222,228 **** + sup_keyhelp = !sup_keyhelp; + break; + case 'q': /* -q for termcap takes precedence */ +! gmode ^= MDTCAPWINS; + break; + case 'z': /* -z to suspend */ + gmode ^= MDSSPD; +--- 222,228 ---- + sup_keyhelp = !sup_keyhelp; + break; + case 'q': /* -q for termcap takes precedence */ +! gmode |= MDTCAPWINS; + break; + case 'z': /* -z to suspend */ + gmode ^= MDSSPD; diff --git a/hebrew/pine/files/patch-at b/hebrew/pine/files/patch-at new file mode 100644 index 000000000000..4a8564a88065 --- /dev/null +++ b/hebrew/pine/files/patch-at @@ -0,0 +1,101 @@ +*** pine/pine.hlp.orig Fri Feb 5 01:07:54 1999 +--- pine/pine.hlp Tue Feb 9 22:10:02 1999 +*************** +*** 455,463 **** + + executable <Unix search path>/pine + persnl cfg ~/.pinerc +! global cfg /usr/local/lib/pine.conf +! fixed cfg /usr/local/lib/pine.conf.fixed +! local help /usr/local/lib/pine.info + + interrupted ~/.pine-interrupted-mail + debug ~/.pine-debugN +--- 455,463 ---- + + executable <Unix search path>/pine + persnl cfg ~/.pinerc +! global cfg @@PREFIX@@/etc/pine.conf +! fixed cfg @@PREFIX@@/etc/pine.conf.fixed +! local help @@PREFIX@@/etc/pine.info + + interrupted ~/.pine-interrupted-mail + debug ~/.pine-debugN +*************** +*** 469,476 **** + postponed# ~/mail/postponed-msgs + sentmail# ~/mail/sent-mail + mailcap# ~/.mailcap + /etc/mailcap +! + /usr/etc/mailcap + /usr/local/etc/mailcap +! mimetypes# ~/.mime.types + /etc/mime.types + /usr/local/lib/mime.types + + news-spool varies across Unix flavors, e.g. /usr/spool/news or /var/news + active-news varies across Unix flavors, e.g. /usr/lib/news/active +--- 469,476 ---- + postponed# ~/mail/postponed-msgs + sentmail# ~/mail/sent-mail + mailcap# ~/.mailcap + /etc/mailcap +! + /usr/etc/mailcap + @@PREFIX@@/etc/mailcap +! mimetypes# ~/.mime.types + /etc/mime.types + @@PREFIX@@/etc/mime.types + + news-spool varies across Unix flavors, e.g. /usr/spool/news or /var/news + active-news varies across Unix flavors, e.g. /usr/lib/news/active +*************** +*** 856,864 **** + this link now to send a message to it:<BR> + <A HREF="X-Pine-Gripe:_LOCAL_ADDRESS_?local"><!--#echo var="_LOCAL_FULLNAME_"--></A><P> + <!--chtml endif--> +! <!--chtml if [ -r /usr/local/lib/pine.info ]--> + <HR WIDTH="75%">Local Support Contacts:<P> +! <!--#include file="/usr/local/lib/pine.info"--> + <HR WIDTH="75%"> + <!--chtml endif--> + <P> +--- 856,864 ---- + this link now to send a message to it:<BR> + <A HREF="X-Pine-Gripe:_LOCAL_ADDRESS_?local"><!--#echo var="_LOCAL_FULLNAME_"--></A><P> + <!--chtml endif--> +! <!--chtml if [ -r @@PREFIX@@/etc/pine.info ]--> + <HR WIDTH="75%">Local Support Contacts:<P> +! <!--#include file="@@PREFIX@@/etc/pine.info"--> + <HR WIDTH="75%"> + <!--chtml endif--> + <P> +*************** +*** 945,951 **** + <OL> + <LI> <A HREF="#intro">Introduction</A> + <LI> <A HREF="#pine_help">Pine Help</A> +! <!--chtml if [ -r /usr/local/lib/pine.info ]--> + <LI> <A HREF="#local_support">Local Support Contacts</A> + <!--chtml endif--> + <LI> <A HREF="#giving_cmds">Giving Commands in Pine</A> +--- 945,951 ---- + <OL> + <LI> <A HREF="#intro">Introduction</A> + <LI> <A HREF="#pine_help">Pine Help</A> +! <!--chtml if [ -r @@PREFIX@@/etc/pine.info ]--> + <LI> <A HREF="#local_support">Local Support Contacts</A> + <!--chtml endif--> + <LI> <A HREF="#giving_cmds">Giving Commands in Pine</A> +*************** +*** 1052,1060 **** + at your site.) + + +! <!--chtml if [ -r /usr/local/lib/pine.info ]--> + <H2><A NAME="local_support">Local Support Contacts</A></H2> +! <!--#include file="/usr/local/lib/pine.info"--> + <!--chtml endif--> + + <H2><A NAME="giving_cmds">Giving Commands in Pine</A></H2> +--- 1052,1060 ---- + at your site.) + + +! <!--chtml if [ -r @@PREFIX@@/etc/pine.info ]--> + <H2><A NAME="local_support">Local Support Contacts</A></H2> +! <!--#include file="@@PREFIX@@/etc/pine.info"--> + <!--chtml endif--> + + <H2><A NAME="giving_cmds">Giving Commands in Pine</A></H2> diff --git a/hebrew/pine/files/patch-au b/hebrew/pine/files/patch-au new file mode 100644 index 000000000000..45136f7db8c7 --- /dev/null +++ b/hebrew/pine/files/patch-au @@ -0,0 +1,27 @@ +*** doc/pine.1.orig Thu Feb 4 20:42:05 1999 +--- doc/pine.1 Tue Feb 9 22:11:26 1999 +*************** +*** 294,304 **** + .br + /etc/mime.types System-wide file ext. to MIME type mapping + .br +! /usr/local/lib/pine.info Local pointer to system administrator. + .br +! /usr/local/lib/pine.conf System-wide configuration file. + .br +! /usr/local/lib/pine.conf.fixed Non-overridable configuration file. + .br + /tmp/.\\usr\\spool\\mail\\xxxx Per-folder mailbox lock files. + .br +--- 294,304 ---- + .br + /etc/mime.types System-wide file ext. to MIME type mapping + .br +! @@PREFIX@@/etc/pine.info Local pointer to system administrator. + .br +! @@PREFIX@@/etc/pine.conf System-wide configuration file. + .br +! @@PREFIX@@/etc/pine.conf.fixed Non-overridable configuration file. + .br + /tmp/.\\usr\\spool\\mail\\xxxx Per-folder mailbox lock files. + .br diff --git a/hebrew/pine/files/patch-av b/hebrew/pine/files/patch-av new file mode 100644 index 000000000000..5dcbf0f8b050 --- /dev/null +++ b/hebrew/pine/files/patch-av @@ -0,0 +1,44 @@ +*** pine/mailcap.c.orig Wed Nov 18 20:00:15 1998 +--- pine/mailcap.c Thu Feb 11 23:43:54 1999 +*************** +*** 61,67 **** + + Mime types makes mime assign attachment types according + to file name extensions found in a system wide file +! ``/usr/local/lib/mime.types'' and a user specific file + ``~/.mime.types'' . These files specify file extensions + that will be connected to a mime type. + ******************************************************* +--- 61,67 ---- + + Mime types makes mime assign attachment types according + to file name extensions found in a system wide file +! ``@@PREFIX@@/etc/mime.types'' and a user specific file + ``~/.mime.types'' . These files specify file extensions + that will be connected to a mime type. + ******************************************************* +*************** +*** 96,106 **** + #define MC_PATH_SEPARATOR ':' + #define MC_USER_FILE NULL + #define MC_STDPATH \ +! ".mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap" + #define MT_PATH_SEPARATOR ':' + #define MT_USER_FILE NULL + #define MT_STDPATH \ +! ".mime.types:/etc/mime.types:/usr/local/lib/mime.types" + #endif /* !DOS */ + + #ifdef _WINDOWS +--- 96,106 ---- + #define MC_PATH_SEPARATOR ':' + #define MC_USER_FILE NULL + #define MC_STDPATH \ +! ".mailcap:/etc/mailcap:/usr/etc/mailcap:@@PREFIX@@/etc/mailcap" + #define MT_PATH_SEPARATOR ':' + #define MT_USER_FILE NULL + #define MT_STDPATH \ +! ".mime.types:/etc/mime.types:@@PREFIX@@/etc/mime.types" + #endif /* !DOS */ + + #ifdef _WINDOWS diff --git a/hebrew/pine/files/patch-aw b/hebrew/pine/files/patch-aw new file mode 100644 index 000000000000..ae3ad3c1e484 --- /dev/null +++ b/hebrew/pine/files/patch-aw @@ -0,0 +1,12 @@ +--- imap/src/osdep/unix/env_unix.c.orig Sun Oct 10 13:43:21 1999 ++++ imap/src/osdep/unix/env_unix.c Wed Oct 13 20:11:32 1999 +@@ -825,7 +825,8 @@ + } + close (pi[0]); close (pi[1]); + } +- if (lockEaccesError) {/* punt silently if paranoid site */ ++ if (strncmp(base->lock,"/var/mail/",10) && lockEaccesError) { ++ /* punt silently if paranoid site */ + sprintf (tmp,"Mailbox vulnerable - directory %.80s",hitch); + if (s = strrchr (tmp,'/')) *s = '\0'; + strcat (tmp," must have 1777 protection"); diff --git a/hebrew/pine/files/pgpdecode b/hebrew/pine/files/pgpdecode new file mode 100644 index 000000000000..1849ed714a5f --- /dev/null +++ b/hebrew/pine/files/pgpdecode @@ -0,0 +1,51 @@ +#! /bin/sh +# ---------- pgpdecode --------- +# 21.03.96 Roland Rosenfeld <roland@spinnaker.rhein.de> +# +# Sun Mar 24 12:01:21 MET 1996 Andreas Klemm <andreas@knobel.gun.de> +# The tmp files in the original version were world readable for +# the short time of unpacking, setting suitable umask prevents this +# +# Wed Sep 16 21:35:43 WST 1997 Anthony Di Pietro <anthony@dino.omen.com.au> +# Modified to work with both PGP v2 and PGP v5. +# Now uses mktemp to prevent symlink attack and tmp races. + +umask 077 + +MYNAME=`basename $0` + +STDOUT=`mktemp -q /tmp/${MYNAME}.XXXXXX` +if [ $? -ne 0 ] +then + echo "$0: Can't create temporary file to decode message." + exit 1 +fi + +trap "rm -f $STDOUT ; exit" 0 1 2 15 + +STDERR=`mktemp -q /tmp/${MYNAME}.XXXXXX` +if [ $? -ne 0 ] +then + echo "$0: Can't create temporary file to decode message." + exit 1 +fi + +trap "rm -f $STDOUT $STDERR; exit" 0 1 2 15 + +if [ -x @@PREFIX@@/bin/pgpv ] +then + pgpv 2>&1 > $STDOUT |tee $STDERR > /dev/tty +else + pgp -f 2>&1 > $STDOUT |tee $STDERR > /dev/tty +fi + +cat $STDERR | \ +grep -v '^No files specified. Using stdin.$' | \ +grep -v '^Opening file \"stdout\" type text.$' | \ +grep -v '^Opening file \"stdout\" type binary.$' | \ +grep -v '^Opening file \"/dev/null\" type text.$' | \ +grep -v '^Opening file \"/dev/null\" type binary.$' | \ +grep -v '^$'| \ +sed -e 's/^/| /' +echo "" +cat $STDOUT diff --git a/hebrew/pine/files/pgpencrypt b/hebrew/pine/files/pgpencrypt new file mode 100644 index 000000000000..c1d821479a0c --- /dev/null +++ b/hebrew/pine/files/pgpencrypt @@ -0,0 +1,11 @@ +#!/bin/sh +# ---------- pgpencrypt --------- +# 21.03.96 Roland Rosenfeld <roland@spinnaker.rhein.de> +# Wed 16 Sep 1998 23:46:43 WST Anthony Di Pietro <anthony@dino.omen.com.au> +# Modified to work with both PGP v2 and PGP v5. +if [ -x @@PREFIX@@/bin/pgpe ] +then + pgpe -s -a -r $* +else + pgp -feast $* +fi diff --git a/hebrew/pine/files/pgpsign b/hebrew/pine/files/pgpsign new file mode 100644 index 000000000000..e938b0b6d63d --- /dev/null +++ b/hebrew/pine/files/pgpsign @@ -0,0 +1,11 @@ +#!/bin/sh +# ---------- pgpsign --------- +# 21.03.96 Roland Rosenfeld <roland@spinnaker.rhein.de> +# Wed 16 Sep 1998 23:48:51 WST Anthony Di Pietro <anthony@dino.omen.com.au> +# Modified to work with both PGP v2 and PGP v5. +if [ -x @@PREFIX@@/bin/pgps ] +then + pgps -a -t +else + pgp -fast +fi diff --git a/hebrew/pine/pkg-comment b/hebrew/pine/pkg-comment new file mode 100644 index 000000000000..378f2afd7abf --- /dev/null +++ b/hebrew/pine/pkg-comment @@ -0,0 +1 @@ +PINE(tm) -- a Program for Internet News & Email diff --git a/hebrew/pine/pkg-descr b/hebrew/pine/pkg-descr new file mode 100644 index 000000000000..2dc657e76cd4 --- /dev/null +++ b/hebrew/pine/pkg-descr @@ -0,0 +1,22 @@ +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 -- please use the "imap-uw" port for this). + +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. + +WWW: http://www.washington.edu/pine/ + +Adrian Penisoara (Ady) +pine@freebsd.ady.ro diff --git a/hebrew/pine/pkg-plist b/hebrew/pine/pkg-plist new file mode 100644 index 000000000000..64942415cb83 --- /dev/null +++ b/hebrew/pine/pkg-plist @@ -0,0 +1,25 @@ +@unexec %D/bin/pine -conf >%D/etc/pine.conf.tmp +@unexec if cmp -s %D/etc/pine.conf %D/etc/pine.conf.tmp; then rm -f %D/etc/pine.conf; fi +@unexec rm -f %D/etc/pine.conf.tmp +bin/pgpdecode +bin/pgpencrypt +bin/pgpsign +bin/pico +bin/pilot +bin/pine +etc/dot.pinerc.pgp.sample +@exec %D/bin/pine -P %D/etc/pine.conf -conf >%D/etc/pine.conf.tmp +@exec /bin/mv %D/etc/pine.conf.tmp %D/etc/pine.conf +share/doc/pine/brochure.txt +share/doc/pine/tech-notes.txt +share/doc/pine/tech-notes/background.html +share/doc/pine/tech-notes/cmd-line.html +share/doc/pine/tech-notes/config-notes.html +share/doc/pine/tech-notes/config.html +share/doc/pine/tech-notes/index.html +share/doc/pine/tech-notes/installation.html +share/doc/pine/tech-notes/introduction.html +share/doc/pine/tech-notes/low-level.html +share/doc/pine/tech-notes/porting.html +@dirrm share/doc/pine/tech-notes +@dirrm share/doc/pine |