diff options
author | knu <knu@FreeBSD.org> | 2000-04-15 08:17:16 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-04-15 08:17:16 +0800 |
commit | 7f6d91f209d573ecce1d6e79507240f4060317a9 (patch) | |
tree | fe25f73290afca068b51f27331273fcc70ec4a58 /japanese | |
parent | 8dfb84744a7a26cba26ac46ad6c061835dfcff51 (diff) | |
download | freebsd-ports-gnome-7f6d91f209d573ecce1d6e79507240f4060317a9.tar.gz freebsd-ports-gnome-7f6d91f209d573ecce1d6e79507240f4060317a9.tar.zst freebsd-ports-gnome-7f6d91f209d573ecce1d6e79507240f4060317a9.zip |
Resurrect japanese/pine.
Screwup by: knu
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/pine/Makefile | 53 | ||||
-rw-r--r-- | japanese/pine/distinfo | 3 | ||||
-rw-r--r-- | japanese/pine/files/patch-aa | 19 | ||||
-rw-r--r-- | japanese/pine/files/patch-ab | 106 | ||||
-rw-r--r-- | japanese/pine/files/patch-ac | 421 | ||||
-rw-r--r-- | japanese/pine/files/patch-ad | 138 | ||||
-rw-r--r-- | japanese/pine/files/patch-ae | 161 | ||||
-rw-r--r-- | japanese/pine/files/patch-af | 37 | ||||
-rw-r--r-- | japanese/pine/files/patch-ag | 36 | ||||
-rw-r--r-- | japanese/pine/files/patch-ah | 19 | ||||
-rw-r--r-- | japanese/pine/files/patch-ak | 50 | ||||
-rw-r--r-- | japanese/pine/files/patch-al | 55 | ||||
-rw-r--r-- | japanese/pine/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/pine/pkg-descr | 17 | ||||
-rw-r--r-- | japanese/pine/pkg-plist | 10 | ||||
-rw-r--r-- | japanese/pine/scripts/configure | 3 |
17 files changed, 1130 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index 5497dd2a4010..a9b5a6ccecf3 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -194,6 +194,7 @@ SUBDIR += paledit SUBDIR += perl5 SUBDIR += pgp.language + SUBDIR += pine SUBDIR += plain2 SUBDIR += plan SUBDIR += platex-common diff --git a/japanese/pine/Makefile b/japanese/pine/Makefile new file mode 100644 index 000000000000..1afb75b62d5c --- /dev/null +++ b/japanese/pine/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: jp-pine +# Date created: 01 May 1996 +# Whom: masafumi +# +# $FreeBSD$ +# + +PORTNAME= pine +PORTVERSION= 3.95 +CATEGORIES= japanese mail +MASTER_SITES= ftp://ftp.cac.washington.edu/pine/ \ + ${MASTER_SITE_PORTS_JP} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + ${DISTNAME}lj1.1b2.tar.gz +DISTNAME= ${PORTNAME}${PORTVERSION} + +PATCHFILES= ${DISTNAME}lj1.1b2-b3.diff.gz +PATCH_SITES= ${MASTER_SITE_PORTS_JP} + +MAINTAINER= max@FreeBSD.org + +BROKEN_ELF= yes + +LIB_DEPENDS= canna.1:${PORTSDIR}/japanese/Canna +BUILD_DEPENDS= ${PREFIX}/lib/libcanna.a:${PORTSDIR}/japanese/Canna + +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +MAN1= pine.1 pilot.1 pico.1 + +pre-patch: + @(cd ${WRKSRC}; \ + ${TAR} zxf ${DISTDIR}/${DISTNAME}lj1.1b2.tar.gz; \ + ${PATCH} -s -p0 < japan/${DISTNAME}lj1.1b2.diff) + +do-build: + (cd ${WRKSRC}; ./build bsf) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/pico ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bin/pilot ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/bin/pine ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/bin/libpico.so.1.3 $(PREFIX)/lib + ${INSTALL_MAN} ${WRKSRC}/doc/pico.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/pilot.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/pine.1 ${PREFIX}/man/man1 + ${MKDIR} ${PREFIX}/lib/pine + ${INSTALL_DATA} ${WRKSRC}/pine/pine.hlp ${PREFIX}/lib/pine + ${INSTALL_DATA} ${WRKSRC}/pine/pine.ndx ${PREFIX}/lib/pine + ${INSTALL_DATA} ${WRKSRC}/pine/pine_ja.hlp ${PREFIX}/lib/pine + ${INSTALL_DATA} ${WRKSRC}/pine/pine_ja.ndx ${PREFIX}/lib/pine + @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib + +.include <bsd.port.mk> diff --git a/japanese/pine/distinfo b/japanese/pine/distinfo new file mode 100644 index 000000000000..fba68dd421b9 --- /dev/null +++ b/japanese/pine/distinfo @@ -0,0 +1,3 @@ +MD5 (pine3.95.tar.gz) = e99dd57904a035571776d7dc0c632d46 +MD5 (pine3.95lj1.1b2.tar.gz) = 13d549f7140e2c85c417dbed397a7810 +MD5 (pine3.95lj1.1b2-b3.diff.gz) = 5ea9dfcbc92de6da4c5efb8453a33fd7 diff --git a/japanese/pine/files/patch-aa b/japanese/pine/files/patch-aa new file mode 100644 index 000000000000..61a22c67432d --- /dev/null +++ b/japanese/pine/files/patch-aa @@ -0,0 +1,19 @@ +*** pico/os_unix.c.orig Fri Sep 20 13:43:41 1996 +--- pico/os_unix.c Fri Sep 20 13:44:43 1996 +*************** +*** 1527,1533 **** + #endif + extern int sys_nerr; + +! return((err >= 0 && err < sys_nerr) ? sys_errlist[err] : NULL); + } + + +--- 1527,1533 ---- + #endif + extern int sys_nerr; + +! return(((err >= 0) && (err < sys_nerr)) ? (char*)sys_errlist[err] : NULL); + } + + diff --git a/japanese/pine/files/patch-ab b/japanese/pine/files/patch-ab new file mode 100644 index 000000000000..a4a347426dbb --- /dev/null +++ b/japanese/pine/files/patch-ab @@ -0,0 +1,106 @@ +*** pico/makefile.bsf.orig Fri Sep 20 13:44:43 1996 +--- pico/makefile.bsf Fri Sep 20 13:44:43 1996 +*************** +*** 0 **** +--- 1,101 ---- ++ # ++ # Michael Seibel ++ # Networks and Distributed Computing ++ # Computing and Communications ++ # University of Washington ++ # Administration Builiding, AG-44 ++ # Seattle, Washington, 98195, USA ++ # Internet: mikes@cac.washington.edu ++ # ++ # Please address all bugs and comments to "pine-bugs@cac.washington.edu" ++ # ++ # ++ # Pine and Pico are registered trademarks of the University of Washington. ++ # No commercial use of these trademarks may be made without prior written ++ # permission of the University of Washington. ++ # ++ # Pine, Pico, and Pilot software and its included text are Copyright ++ # 1989-1996 by the University of Washington. ++ # ++ # The full text of our legal notices is contained in the file called ++ # CPYRIGHT, included with this distribution. ++ # ++ ++ # ++ # Makefile for the FreeBSD shared-lib version of the PINE composer library and ++ # stand-alone editor pico. ++ # ++ ++ #includes symbol info for debugging ++ DASHO= # -g ++ #for normal build ++ #DASHO= -O ++ ++ STDCFLAGS= -DBSDI -DBSDI2 -DPOSIX -DJOB_CONTROL -DANSI -DMOUSE \ ++ -I/usr/local/include ++ EXTRACFLAGS= -DKANJI -DCANNA -DHELPFILE ++ CFLAGS+= $(EXTRACFLAGS) $(DASHO) $(STDCFLAGS) ++ ++ # switches for library building ++ LIBCMD= ar ++ LIBARGS= ru ++ RANLIB= ranlib ++ ++ EXTRALIBES= -lcanna -L/usr/local/lib ++ LIBS= $(EXTRALIBES) -ltermcap ++ ++ OFILES= attach.o ansi.o basic.o bind.o browse.o buffer.o \ ++ composer.o display.o file.o fileio.o line.o osdep.o \ ++ pico.o random.o region.o search.o spell.o tcap.o window.o \ ++ word.o kanji.o jctype.o canna.o ++ ++ # Lets be elite and not retype in the above ++ SOFILES= ${OFILES:.o=.so} ++ ++ CFILES= attach.c ansi.c basic.c bind.c browse.c buffer.c \ ++ composer.c display.c file.c fileio.c line.c osdep.c \ ++ pico.c random.c region.c search.c spell.c tcap.c window.c \ ++ word.c kanji.c jctype.c canna.c ++ ++ HFILES= estruct.h edef.h efunc.h ebind.h pico.h osdep.h \ ++ kanji.h jctype.h canna.h ++ ++ # Need this for the shared library rule to work correctly ++ .SUFFIXES: .o .so ++ ++ # ++ # dependencies for the Unix versions of pico and libpico.a ++ # ++ all: pico pilot ++ ++ osdep.c: os_unix.c ++ rm -f osdep.c ++ cp os_unix.c osdep.c ++ ++ osdep.h: os_unix.h ++ rm -f osdep.h ++ cp os_unix.h osdep.h ++ ++ libpico.a: osdep.c osdep.h $(OFILES) ++ $(LIBCMD) $(LIBARGS) libpico.a $(OFILES) ++ $(RANLIB) libpico.a ++ ++ libpico.so.1.3: osdep.c osdep.h $(SOFILES) ++ ld -Bshareable -x -o libpico.so.1.3 $(SOFILES) ++ ++ pico: main.c libpico.so.1.3 ++ $(CC) $(CFLAGS) main.c -L. -lpico $(LIBS) -o pico ++ ++ pilot: pilot.c libpico.so.1.3 ++ $(CC) $(CFLAGS) pilot.c -L. -lpico $(LIBS) -o pilot ++ ++ .c.so: ; $(CC) -fpic -DPIC -c $(CFLAGS) ${@:.so=.c} -o $@ ++ ++ .c.o: ; $(CC) -c $(CFLAGS) $*.c ++ ++ $(OFILES): $(HFILES) ++ ++ $(SOFILES): $(HFILES) ++ ++ clean: ++ rm -f *.a *.so.1.3 *.o *.so *~ osdep.c osdep.h pico pilot diff --git a/japanese/pine/files/patch-ac b/japanese/pine/files/patch-ac new file mode 100644 index 000000000000..856c2ff86530 --- /dev/null +++ b/japanese/pine/files/patch-ac @@ -0,0 +1,421 @@ +*** pine/osdep/os-bsf.h.in.orig Fri Sep 20 13:44:43 1996 +--- pine/osdep/os-bsf.h.in Fri Sep 20 13:44:44 1996 +*************** +*** 0 **** +--- 1,416 ---- ++ /*---------------------------------------------------------------------- ++ ++ T H E P I N E M A I L S Y S T E M ++ ++ Laurence Lundblade and Mike Seibel ++ Networks and Distributed Computing ++ Computing and Communications ++ University of Washington ++ Administration Builiding, AG-44 ++ Seattle, Washington, 98195, USA ++ Internet: lgl@CAC.Washington.EDU ++ mikes@CAC.Washington.EDU ++ ++ Please address all bugs and comments to "pine-bugs@cac.washington.edu" ++ ++ ++ Pine and Pico are registered trademarks of the University of Washington. ++ No commercial use of these trademarks may be made without prior written ++ permission of the University of Washington. ++ ++ Pine, Pico, and Pilot software and its included text are Copyright ++ 1989-1996 by the University of Washington. ++ ++ The full text of our legal notices is contained in the file called ++ CPYRIGHT, included with this distribution. ++ ++ ++ Pine is in part based on The Elm Mail System: ++ *********************************************************************** ++ * The Elm Mail System - Revision: 2.13 * ++ * * ++ * Copyright (c) 1986, 1987 Dave Taylor * ++ * Copyright (c) 1988, 1989 USENET Community Trust * ++ *********************************************************************** ++ ++ ++ ----------------------------------------------------------------------*/ ++ ++ #ifndef _OS_INCLUDED ++ #define _OS_INCLUDED ++ ++ ++ /*---------------------------------------------------------------------- ++ ++ This first section has some constants that you may want to change ++ for your configuration. This is the BSD/386 Gamma 4.1 version of the ++ os.h file. ++ Further down in the file are os-dependent things that need to be set up ++ correctly for each os. They aren't interesting, they just have to be ++ right. There are also a few constants down there that may be of ++ interest to some. ++ ++ ----*/ ++ ++ /*---------------------------------------------------------------------- ++ Define this if you want the disk quota to be checked on startup. ++ Of course, this only makes sense if your system has quotas. If it doesn't, ++ there should be a dummy disk_quota() routine in os-xxx.c so that defining ++ this won't be harmful anyway. ++ ----*/ ++ /* #define USE_QUOTAS /* comment out if you never want quotas checked */ ++ ++ ++ ++ /*---------------------------------------------------------------------- ++ Define this if you want to allow the users to change their From header ++ line when they send out mail. The users will still have to configure ++ either default-composer-hdrs or customized-hdrs to get at the From ++ header, even if this is set. ++ ----*/ ++ #define ALLOW_CHANGING_FROM /* comment out to not allow changing From */ ++ ++ ++ ++ /*---------------------------------------------------------------------- ++ Define this if you want to allow users to turn on the feature that ++ enables sending to take place in a fork()'d child. This may reduce ++ the time on the user's wall clock it takes to post mail. ++ 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 /* comment out to disable posting from child */ ++ ++ ++ ++ /*---------------------------------------------------------------------- ++ Turn this on if you want to disable the keyboard lock function. ++ ----*/ ++ /* #define NO_KEYBOARD_LOCK */ ++ ++ ++ ++ /*---------------------------------------------------------------------- ++ Turn this on to trigger QP encoding of sent message text if it contains ++ "From " at the beginning of a line or "." on a line by itself. ++ ----*/ ++ /* #define ENCODE_FROMS */ ++ ++ ++ ++ /*---------------------------------------------------------------------- ++ Timeouts (seconds) ++ ----*/ ++ #define DF_MAILCHECK "150" /* How often to check for new mail, by ++ default. There's some expense in doing ++ this so it shouldn't be done too ++ frequently. (Can be set in config ++ file now.) */ ++ ++ /*---------------------------------------------------------------------- ++ Check pointing (seconds) ++ ----*/ ++ #define CHECK_POINT_TIME (7*60) /* Check point the mail file (write changes ++ to disk) if more than CHECK_POINT_TIME ++ seconds have passed since the first ++ change was made. Depending on what is ++ happening, we may wait up to three times ++ this long, since we don't want to do the ++ slow check pointing and irritate the user. */ ++ ++ #define CHECK_POINT_FREQ (12) /* Check point the mail file if there have been ++ at least this many (status) changes to the ++ current mail file. We may wait longer if ++ it isn't a good time to do the checkpoint. */ ++ ++ ++ ++ /*---------------------------------------------------------------------- ++ In scrolling through text, the number of lines from the previous ++ screen to overlap when showing the next screen. Usually set to two. ++ ----*/ ++ #define DF_OVERLAP "2" ++ ++ ++ ++ /*---------------------------------------------------------------------- ++ When scrolling screens, the number of lines from top and bottom of ++ the screen to initiate single-line scrolling. ++ ----*/ ++ #define DF_MARGIN "0" ++ ++ ++ ++ /*---------------------------------------------------------------------- ++ Default fill column for pine composer and maximum fill column. The max ++ is used to stop people from setting their custom fill column higher than ++ that number. Note that DF_FILLCOL is a string but MAX_FILLCOL is an integer. ++ ----*/ ++ #define DF_FILLCOL "74" ++ #define MAX_FILLCOL 80 ++ ++ ++ ++ /*----- System-wide config file ----------------------------------------*/ ++ #define SYSTEM_PINERC "@PREFIX@/etc/pine.conf" ++ #define SYSTEM_PINERC_FIXED "@PREFIX@/etc/pine.conf.fixed" ++ ++ ++ ++ /*---------------------------------------------------------------------- ++ The default folder names and folder directories (some for backwards ++ compatibility). Think hard before changing any of these. ++ ----*/ ++ #define DF_DEFAULT_FCC "sent-mail" ++ #define DEFAULT_SAVE "saved-messages" ++ #define POSTPONED_MAIL "postponed-mail" ++ #define POSTPONED_MSGS "postponed-msgs" ++ #define INTERRUPTED_MAIL ".pine-interrupted-mail" ++ #define DEADLETTER "dead.letter" ++ #define DF_MAIL_DIRECTORY "mail" ++ #define INBOX_NAME "INBOX" ++ #define DF_SIGNATURE_FILE ".signature" ++ #define DF_ELM_STYLE_SAVE "no" ++ #define DF_HEADER_IN_REPLY "no" ++ #define DF_OLD_STYLE_REPLY "no" ++ #define DF_USE_ONLY_DOMAIN_NAME "no" ++ #define DF_FEATURE_LEVEL "sapling" ++ #define DF_SAVE_BY_SENDER "no" ++ #define DF_SORT_KEY "arrival" ++ #define DF_AB_SORT_RULE "fullname-with-lists-last" ++ #define DF_SAVED_MSG_NAME_RULE "default-folder" ++ #define DF_FCC_RULE "default-fcc" ++ #define DF_STANDARD_PRINTER "lpr" ++ #define ANSI_PRINTER "attached-to-ansi" ++ #define DF_ADDRESSBOOK ".addressbook" ++ #define DF_BUGS_FULLNAME "Pine Developers" ++ #define DF_BUGS_ADDRESS "pine-bugs@cac.washington.edu" ++ #define DF_SUGGEST_FULLNAME "Pine Developers" ++ #define DF_SUGGEST_ADDRESS "pine-suggestions@cac.washington.edu" ++ #define DF_PINEINFO_FULLNAME "Pine-Info News Group" ++ #define DF_PINEINFO_ADDRESS "pine-info@cac.washington.edu" ++ #define DF_LOCAL_FULLNAME "Local Support" ++ #define DF_LOCAL_ADDRESS "postmaster" ++ #define DF_KBLOCK_PASSWD_COUNT "1" ++ ++ /*---------------------------------------------------------------------- ++ The default printer when pine starts up for the first time with no printer ++ ----*/ ++ #define DF_DEFAULT_PRINTER ANSI_PRINTER ++ ++ ++ ++ /*---------------------------------------------------------------------- ++ ++ OS dependencies, BSD/386 Gamma 4.1 version. See also the os-bsi.c files. ++ The following stuff may need to be changed for a new port, but once ++ the port is done, it won't change. At the bottom of the file are a few ++ constants that you may want to configure differently than they ++ are configured, but probably not. ++ ++ ----*/ ++ ++ ++ ++ /*----------------- Are we ANSI? ---------------------------------------*/ ++ #define ANSI /* this is an ANSI compiler */ ++ ++ /*------ If our compiler doesn't understand type void ------------------*/ ++ /* #define void char /* no void in compiler */ ++ ++ ++ ++ /*------- Some more includes that should usually be correct ------------*/ ++ #include <pwd.h> ++ #include <sys/wait.h> ++ #include <sys/stat.h> ++ #include <fcntl.h> ++ #include <netdb.h> ++ ++ ++ ++ /*----------------- locale.h -------------------------------------------*/ ++ #include <locale.h> /* To make matching and sorting work right */ ++ ++ ++ ++ /*----------------- time.h ---------------------------------------------*/ ++ #include <time.h> ++ /* plain time.h isn't enough on some systems */ ++ /* #include <sys/time.h> /* For struct timeval usually in time.h */ ++ ++ ++ ++ /*--------------- signal.h ---------------------------------------------*/ ++ #include <signal.h> /* sometimes both required, sometimes */ ++ /* #include <sys/signal.h> /* only one or the other */ ++ ++ #define SigType void /* value returned by sig handlers is void */ ++ /* #define SigType int /* value returned by sig handlers is int */ ++ ++ #define POSIX_SIGNALS /* use POSIX signal semantics (ttyin.c) */ ++ /* #define SYSV_SIGNALS /* use System-V signal semantics (ttyin.c) */ ++ ++ ++ ++ ++ /*-------------- A couple typedef's for integer sizes ------------------*/ ++ typedef unsigned int usign32_t; ++ typedef unsigned short usign16_t; ++ ++ ++ ++ /*-------------- qsort argument type -----------------------------------*/ ++ #define QSType void /* qsort arg is of type void * */ ++ /* #define QSType char /* qsort arg is of type char * */ ++ ++ ++ ++ /*-------------- fcntl flag to set non-blocking IO ---------------------*/ ++ #define NON_BLOCKING_IO O_NONBLOCK /* POSIX style */ ++ /* #define NON_BLOCKING_IO FNDELAY /* good ol' bsd style */ ++ ++ ++ #ifdef HELPFILE ++ #undef HELPFILE ++ #define HELPFILE "@PREFIX@/lib/pine/pine.hlp" ++ #define HELPINDEX "@PREFIX@/lib/pine/pine.ndx" ++ #endif ++ ++ /*------ how help text is referenced (always char ** on Unix) ----------*/ ++ #ifdef HELPFILE ++ #define HelpType char ** ++ #define HelpType short ++ #define NO_HELP (-1) ++ #else ++ #define HelpType char ** ++ #define NO_HELP (char **)NULL ++ #endif ++ ++ ++ /* ++ * Choose one of the following three terminal drivers ++ */ ++ ++ /*--------- Good 'ol BSD -----------------------------------------------*/ ++ /* #include <sgtty.h> /* BSD-based systems */ ++ ++ /*--------- System V terminal driver -----------------------------------*/ ++ /* #define HAVE_TERMIO /* this is for pure System V */ ++ /* #include <termio.h> /* Sys V */ ++ ++ /*--------- POSIX terminal driver --------------------------------------*/ ++ #define HAVE_TERMIOS /* this is an alternative */ ++ #include <termios.h> /* POSIX */ ++ ++ ++ ++ /*-------- Use poll system call instead of select ----------------------*/ ++ /* #define USE_POLL /* use the poll() system call instead of select() */ ++ ++ ++ ++ /*-------- Use terminfo database instead of termcap --------------------*/ ++ /* #define USE_TERMINFO /* use terminfo instead of termcap */ ++ ++ ++ ++ /*-- What argument does wait(2) take? Define this if it is a union -----*/ ++ /* #define HAVE_WAIT_UNION /* the arg to wait is a union wait * */ ++ ++ ++ ++ /*-------- Is window resizing available? -------------------------------*/ ++ #if defined(TIOCGWINSZ) && defined(SIGWINCH) ++ #define RESIZING /* SIGWINCH and friends */ ++ #endif ++ ++ ++ ++ /*-------- If no vfork, use regular fork -------------------------------*/ ++ /* #define vfork fork /* vfork is just a lightweight fork, so can use fork */ ++ ++ ++ ++ /*----- The usual sendmail configuration for sending mail on Unix ------*/ ++ #define SENDMAIL "/usr/sbin/sendmail" ++ #define SENDMAILFLAGS "-bs -odb -oem" /* send via smtp with backgroud ++ delivery and mail back errors */ ++ ++ ++ /*---------------------------------------------------------------------- ++ If no nntp-servers are defined, this program will be used to post news. ++ ----*/ ++ #define SENDNEWS "/usr/local/news/lib/inews -h" /* news posting cmd */ ++ ++ ++ /*--------- Program employed by users to change their password ---------*/ ++ #define PASSWD_PROG "/usr/bin/passwd" ++ ++ ++ /*-------------- A couple constants used to size arrays ----------------*/ ++ #include <sys/param.h> /* Get it from param.h if available */ ++ #undef MAXPATH /* Sometimes defined in param.h differently */ ++ #define MAXPATH MAXPATHLEN /* Longest pathname we ever expect */ ++ /* #define MAXPATH (512) /* Longest pathname we ever expect */ ++ #define MAXFOLDER (64) /* Longest foldername we ever expect */ ++ ++ ++ /*-- Max screen pine will display on. Used to define some array sizes --*/ ++ #define MAX_SCREEN_COLS (170) ++ #define MAX_SCREEN_ROWS (200) ++ ++ ++ /*---- When no screen size can be discovered this is the size used -----*/ ++ #define DEFAULT_LINES_ON_TERMINAL (24) ++ #define DEFAULT_COLUMNS_ON_TERMINAL (80) ++ ++ ++ /*---------------------------------------------------------------------- ++ Where to put the output of pine in debug mode. Files are created ++ in the user's home directory and have a number appended to them when ++ there is more than one. ++ ----*/ ++ #define DEBUGFILE ".pine-debug" ++ ++ /*---------------------------------------------------------------------- ++ The number of debug files to save in the user's home diretory. The files ++ are useful for figuring out what a user did when he complains that something ++ went wrong. It's important to keep a bunch around, usually 4, so that the ++ debug file in question will still be around when the problem gets ++ investigated. Users tend to go in and out of Pine a few times and there ++ is one file for each pine invocation ++ ----*/ ++ #define NUMDEBUGFILES 4 ++ ++ /*---------------------------------------------------------------------- ++ The default debug level to set (approximate meanings): ++ 1 logs only highest level events and errors ++ 2 logs events like file writes ++ 3 ++ 4 logs each command ++ 5 ++ 6 ++ 7 logs details of command execution (7 is highest to run any production) ++ 8 ++ 9 logs gross details of command execution ++ ----*/ ++ #define DEFAULT_DEBUG 2 ++ ++ ++ ++ /*---------------------------------------------------------------------- ++ Various maximum field lengths, probably shouldn't be changed. ++ ----*/ ++ #define MAX_FULLNAME (100) ++ #define MAX_NICKNAME (40) ++ #define MAX_ADDRESS (200) ++ #define MAX_NEW_LIST (500) /* Max addrs to be added when creating list */ ++ #define MAX_SEARCH (100) /* Longest string to search for */ ++ #define MAX_ADDR_EXPN (1000) /* Longest expanded addr */ ++ #define MAX_ADDR_FIELD (10000) /* Longest fully-expanded addr field */ ++ ++ ++ #endif /* _OS_INCLUDED */ ++ ++ diff --git a/japanese/pine/files/patch-ad b/japanese/pine/files/patch-ad new file mode 100644 index 000000000000..7291e4e445a4 --- /dev/null +++ b/japanese/pine/files/patch-ad @@ -0,0 +1,138 @@ +*** pine/osdep/os-bsf.ic.orig Fri Sep 20 13:44:44 1996 +--- pine/osdep/os-bsf.ic Fri Sep 20 13:44:44 1996 +*************** +*** 0 **** +--- 1,133 ---- ++ ; ++ ; FreeBSD os-fbs.ic file for building os-fbs.c. ++ ; ++ ; Boilerplate header. ++ include(header) ++ ++ ; Can_access function. Just calls access. Only one version available. ++ include(canacces) ++ ++ ; File_size function. Only one version available. ++ include(filesize) ++ ++ ; Is_writable_dir function. Only one version available. ++ include(writ_dir) ++ ++ ; Create_mail_dir function. All Unixes use creatdir and DOS ++ ; uses creatdir.dos. ++ include(creatdir) ++ ++ ; Rename_file function. All Unixes use rename and DOS uses ++ ; rename.dos. There is also one called rename.hom which ++ ; is currently unused. Hom stands for homemade. ++ include(rename) ++ ++ ; Build_path function. All Unixes use bld_path and DOS ++ ; uses bld_path.dos. ++ include(bld_path) ++ ++ ; Last_cmpnt function. All Unixes use lstcmpnt and DOS ++ ; uses lstcmpnt.dos. ++ include(lstcmpnt) ++ ++ ; Expand_foldername function. All Unixes use expnfldr and DOS ++ ; uses expnfldr.dos. ++ include(expnfldr) ++ ++ ; Fnexpand function. All Unixes use fnexpand and DOS ++ ; uses fnexpand.dos. ++ include(fnexpand) ++ ++ ; Filter_filename function. All Unixes use fltrname and DOS ++ ; uses fltrname.dos. ++ include(fltrname) ++ ++ ; There are several versions of disk quotas. Standard BSD-style quotas ++ ; (Australian) include diskquot. Systems which don't have quotas use ++ ; diskquot.non. Systems which use Sun-style quotas are slightly more ++ ; complicated. They usually require different include files. They are ++ ; set up to include the file sunquota and prepend include file info to ++ ; that. See diskquot.*. ++ include(diskquot.non) ++ ++ ; Read_file function. All Unixes use readfile and DOS ++ ; uses readfile.dos. ++ include(readfile) ++ ++ ; Create_tmpfile function. This usually just calls the ANSI standard ++ ; tmpfile function if there is one. That is the version in the file tempfile. ++ ; There is also a tempfile.non for Unix systems which don't have a tmpfile ++ ; function already. ++ include(tempfile) ++ ++ ; Temp_nam function. This usually just calls the "standard" ++ ; tmpnam function if there is one. That is the version in the file tempnam. ++ include(tempnam) ++ ++ ; Coredump function. Version called coredump just calls abort, coredump.fpe ++ ; uses a floating point exception to cause the coredump on some systems. ++ include(coredump) ++ ++ ; This is usually a call to gethostname. That version is in the file hostname. ++ ; There is also a version called hostname.una which uses the uname system ++ ; call commonly found in SysV systems. An unused version called ++ ; hostname.hom also exists. ++ include(hostname) ++ ++ ; Getdomainnames function. All Unixes use domnames and DOS ++ ; uses domnames.dos. ++ include(domnames) ++ ++ ; Canonical_name function. All Unixes use canonicl and DOS ++ ; uses canonicl.dos. ++ include(canonicl) ++ ++ ; This file includes two functions, have_job_control and stop_process. ++ ; The Unix version is called jobcntrl and the slightly-different DOS ++ ; version is jobcntrl.dos. ++ include(jobcntrl) ++ ++ ; Error_desciption function. All Unixes use err_desc. The version ++ ; called err_desc.dos is the same except that it doesn't declare the ++ ; variable sys_errlist[], which is already declared. There ++ ; is also a version called err_desc.hom which is unused. ++ include(err_desc.dos) ++ ++ ; There are six functions in this include. They are get_system_login, ++ ; get_system_fullname, get_system_homedir, get_system_passwd, gcos_name, ++ ; and local_name_lookup. The Unix version is pw_stuff and the dos version ++ ; is pw_stuff.dos. There is also a pw_stuff.fun. Fun stands for funny ++ ; GCOS field. It's currently unused. ++ include(pw_stuff) ++ ++ ; Change_passwd function. Unixes use chnge_pw. ++ ; There is also a DOS version. ++ include(chnge_pw) ++ ++ ; Mime_can_display function. Only a single version of this now. ++ include(mimedisp) ++ ++ ; Most systems have the ANSI fgetpos and fsetpos functions. For those, ++ ; use fgetpos. If a system doesn't have it use fgetpos.non. ++ include(fgetpos) ++ ++ ; These functions are similar to popen(), but allow both an input stream ++ ; and an output buffer. ++ include(pipe) ++ ++ ; These functions are used to wait on a fork'd child doing our posting ++ include(postreap.wtp) ++ ++ ; These functions are used to hand messages off to local mail transport ++ ; and posting agents (typically, "sendmail"). ++ include(sendmail) ++ ++ ; This function is used to actually spawn the given command (usually dredged ++ ; from mailcap) on the given data file (usually on /tmp). ++ include(execview) ++ ++ ; This includes the various routines to support printing ++ include(print) ++ ++ ; Debug file maintenance. ++ include(debuging) diff --git a/japanese/pine/files/patch-ae b/japanese/pine/files/patch-ae new file mode 100644 index 000000000000..21aff24f255d --- /dev/null +++ b/japanese/pine/files/patch-ae @@ -0,0 +1,161 @@ +*** pine/makefile.bsf.orig Fri Sep 20 13:44:43 1996 +--- pine/makefile.bsf Fri Sep 20 13:44:43 1996 +*************** +*** 0 **** +--- 1,156 ---- ++ # ++ # T H E P I N E M A I L S Y S T E M ++ # ++ # Laurence Lundblade and Mike Seibel ++ # Networks and Distributed Computing ++ # Computing and Communications ++ # University of Washington ++ # Administration Building, AG-44 ++ # Seattle, Washington, 98195, USA ++ # Internet: lgl@CAC.Washington.EDU ++ # mikes@CAC.Washington.EDU ++ # ++ # Please address all bugs and comments to "pine-bugs@cac.washington.edu" ++ # ++ # ++ # Pine and Pico are registered trademarks of the University of Washington. ++ # No commercial use of these trademarks may be made without prior written ++ # permission of the University of Washington. ++ # ++ # Pine, Pico, and Pilot software and its included text are Copyright ++ # 1989-1996 by the University of Washington. ++ # ++ # The full text of our legal notices is contained in the file called ++ # CPYRIGHT, included with this distribution. ++ # ++ # ++ # Pine is in part based on The Elm Mail System: ++ # *********************************************************************** ++ # * The Elm Mail System - Revision: 2.13 * ++ # * * ++ # * Copyright (c) 1986, 1987 Dave Taylor * ++ # * Copyright (c) 1988, 1989 USENET Community Trust * ++ # *********************************************************************** ++ # ++ # ++ ++ ++ # ++ # Make file for the Pine mail system for FreeBSD ++ # ++ # ++ # Most commonly fiddled flags for compiler. ++ # Uncomment the setttings desired here ++ # ++ RM= rm -f ++ LN= ln -s ++ MAKE= make ++ #OPTIMIZE= -O ++ PROFILE= # -pg ++ DEBUG= # -g -DDEBUG ++ ++ IMAPDIR= ../c-client ++ PICODIR= ../pico ++ ++ STDLIBES= -ltermlib -lcrypt ++ #LOCLIBES= $(PICODIR)/libpico.a $(IMAPDIR)/c-client.a ++ LOCLIBES= -lpico ${IMAPDIR}/c-client.a ++ LOCLIBDIR= -L$(PICODIR) ++ EXTRALIBES= -L/usr/local/lib -lcanna ++ LIBES= $(LOCLIBDIR) $(LOCLIBES) $(EXTRALIBES) $(STDLIBES) ++ ++ STDCFLAGS= -DBSDI -DSYSTYPE=\"BSF\" -DMOUSE -I/usr/local/include ++ EXTRACFLAGS= -DKANJI -DCANNA -DHELPFILE ++ CFLAGS+= $(OPTIMIZE) $(PROFILE) $(DEBUG) $(EXTRACFLAGS) $(STDCFLAGS) ++ ++ obj= addrbook.o adrbklib.o args.o context.o filter.o \ ++ folder.o help.o imap.o init.o mailcap.o mailcmd.o \ ++ mailindx.o mailpart.o mailview.o newmail.o other.o pine.o \ ++ reply.o screen.o send.o signals.o status.o strings.o ttyin.o \ ++ ttyout.o os.o ++ ++ cfiles= addrbook.c adrbklib.c args.c context.c filter.c \ ++ folder.c help.c helptext.c imap.c init.c mailcap.c mailcmd.c \ ++ mailindx.c mailpart.c mailview.c newmail.c other.c pine.c \ ++ reply.c screen.c send.c signals.c status.c strings.c ttyin.c \ ++ ttyout.c os.c ++ ++ HELPSRCS= pine.hlp pine_ja.hlp ++ HELPINDXS= pine.ndx pine_ja.ndx ++ ++ pine: $(obj) $(LOCLIBES) ++ echo "char datestamp[]="\"`LC_TIME=C date`\"";" > date.c ++ echo "char hoststamp[]="\"`hostname`\"";" >> date.c ++ $(CC) $(LDFLAGS) $(CFLAGS) -o pine $(obj) date.c $(LIBES) ++ ++ $(HELPINDXS) helptext.h: helpindx $(HELPSRCS) ++ ./helpindx pine.hlp pine.ndx helptext.h ++ ./helpindx pine_ja.hlp pine_ja.ndx /dev/null ++ ++ helpindx: helpindx.c ++ $(CC) $(CFLAGS) -o $@ helpindx.c ++ ++ # this is not part of pine ++ pine-use: pine-use.c ++ $(CC) -o pine-use pine-use.c ++ ++ clean: ++ $(RM) *.o os.h os.c helptext.c helptext.h ++ cd osdep; make clean; cd .. ++ ++ ++ HEADERS= headers.h pine.h os.h helptext.h context.h \ ++ $(IMAPDIR)/mail.h $(IMAPDIR)/osdep.h ++ ++ addrbook.o: addrbook.c $(HEADERS) adrbklib.h $(PICODIR)/pico.h ++ adrbklib.o: adrbklib.c $(HEADERS) adrbklib.h ++ args.o: args.c $(HEADERS) ++ context.o: context.c $(HEADERS) $(IMAPDIR)/misc.h ++ filter.o: filter.c $(HEADERS) $(PICODIR)/pico.h ++ folder.o: folder.c $(HEADERS) ++ help.o: help.c $(HEADERS) ++ helptext.o: helptext.c ++ imap.o: imap.c $(HEADERS) ++ init.o: init.c $(HEADERS) ++ mailcap.o: mailcap.c $(HEADERS) ++ mailcmd.o: mailcmd.c $(HEADERS) $(PICODIR)/pico.h ++ mailindx.o: mailindx.c $(HEADERS) ++ mailpart.o: mailpart.c $(HEADERS) ++ mailview.o: mailview.c $(HEADERS) ++ newmail.o: newmail.c $(HEADERS) ++ os.o: os.c $(HEADERS) ++ other.o: other.c $(HEADERS) $(PICODIR)/pico.h ++ pine.o: pine.c $(HEADERS) ++ reply.o: reply.c $(HEADERS) ++ screen.o: screen.c $(HEADERS) ++ send.o: send.c $(HEADERS) $(IMAPDIR)/smtp.h $(PICODIR)/pico.h ++ signals.o: signals.c $(HEADERS) ++ status.o: status.c $(HEADERS) ++ strings.o: strings.c $(HEADERS) ++ ttyin.o: ttyin.c $(HEADERS) ++ ttyout.o: ttyout.c $(HEADERS) ++ ++ os.h: osdep/os-bsf.h ++ $(RM) os.h ++ $(LN) osdep/os-bsf.h os.h ++ ++ #helptext.c: pine.hlp ++ # ./cmplhelp.sh < pine.hlp > helptext.c ++ ++ #helptext.h: pine.hlp ++ # ./cmplhlp2.sh < pine.hlp > helptext.h ++ ++ os.c: osdep/os-bsf.c ++ $(RM) os.c ++ $(LN) osdep/os-bsf.c os.c ++ ++ osdep/os-bsf.c: osdep/bld_path osdep/canacces osdep/canonicl \ ++ osdep/chnge_pw osdep/coredump osdep/creatdir \ ++ osdep/diskquot.non osdep/domnames osdep/err_desc.dos \ ++ osdep/expnfldr osdep/fgetpos osdep/filesize osdep/fltrname \ ++ osdep/fnexpand osdep/header osdep/hostname \ ++ osdep/jobcntrl osdep/lstcmpnt osdep/mimedisp osdep/pipe \ ++ osdep/print osdep/pw_stuff osdep/readfile osdep/debuging \ ++ osdep/rename osdep/tempfile osdep/tempnam osdep/writ_dir \ ++ osdep/sendmail osdep/execview osdep/os-bsf.ic ++ cd osdep; $(MAKE) includer os-bsf.c; cd .. diff --git a/japanese/pine/files/patch-af b/japanese/pine/files/patch-af new file mode 100644 index 000000000000..8c0b03077df9 --- /dev/null +++ b/japanese/pine/files/patch-af @@ -0,0 +1,37 @@ +*** imap/ANSI/c-client/Makefile.orig Tue Jan 21 14:26:05 1997 +--- imap/ANSI/c-client/Makefile Tue Jan 21 14:38:27 1997 +*************** +*** 36,43 **** + BINARIES=mail.o bezerk.o mtx.o tenex2.o mbox.o mh.o mmdf.o imap2.o pop3.o \ + news.o nntpcunx.o phile.o dummy.o smtp.o nntp.o rfc822.o misc.o \ + osdep.o sm_unix.o newsrc.o +! CC=cc +! CFLAGS=$(EXTRACFLAGS) + DEFAULTDRIVERS=imap nntp pop3 mh tenex mtx mmdf bezerk news phile dummy + LN=ln -s + MAKE=make +--- 36,43 ---- + BINARIES=mail.o bezerk.o mtx.o tenex2.o mbox.o mh.o mmdf.o imap2.o pop3.o \ + news.o nntpcunx.o phile.o dummy.o smtp.o nntp.o rfc822.o misc.o \ + osdep.o sm_unix.o newsrc.o +! #CC=cc +! #CFLAGS=$(EXTRACFLAGS) + DEFAULTDRIVERS=imap nntp pop3 mh tenex mtx mmdf bezerk news phile dummy + LN=ln -s + MAKE=make +*************** +*** 125,130 **** +--- 125,137 ---- + STDPROTO=bezerkproto MAILSPOOL=/var/mail \ + ACTIVEFILE=/usr/lib/news/active NEWSSPOOL=/usr/spool/news \ + RSHPATH=/usr/bin/rsh CFLAGS="-g -O -pipe -DNFSKLUDGE $(EXTRACFLAGS)" ++ ++ bsf: # FreeBSD ++ $(MAKE) $(ARCHIVE) OS=bsi EXTRADRIVERS="$(EXTRADRIVERS)" \ ++ STDPROTO=bezerkproto MAILSPOOL=/var/mail \ ++ ACTIVEFILE=/usr/local/news/lib/active NEWSSPOOL=/var/news \ ++ RSHPATH=/usr/bin/rsh CFLAGS="${CFLAGS} -DNFSKLUDGE $(EXTRACFLAGS)" \ ++ LDFLAGS="-lcrypt" + + cvx: # Convex + $(MAKE) mtest OS=$@ EXTRADRIVERS="$(EXTRADRIVERS)" \ diff --git a/japanese/pine/files/patch-ag b/japanese/pine/files/patch-ag new file mode 100644 index 000000000000..62e141e4ddf6 --- /dev/null +++ b/japanese/pine/files/patch-ag @@ -0,0 +1,36 @@ +*** imap/ANSI/c-client/mh.c.orig Thu May 16 03:49:54 1996 +--- imap/ANSI/c-client/mh.c Fri Sep 20 13:44:42 1996 +*************** +*** 807,813 **** + stat (LOCAL->dir,&sbuf); + if (sbuf.st_ctime != LOCAL->scantime) { + struct direct **names = NIL; +! long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); + old = nmsgs ? mail_elt (stream,nmsgs)->data1 : 0; + /* note scanned now */ + LOCAL->scantime = sbuf.st_ctime; +--- 807,813 ---- + stat (LOCAL->dir,&sbuf); + if (sbuf.st_ctime != LOCAL->scantime) { + struct direct **names = NIL; +! long nfiles = scandir (LOCAL->dir,&names,mh_select,(void*)mh_numsort); + old = nmsgs ? mail_elt (stream,nmsgs)->data1 : 0; + /* note scanned now */ + LOCAL->scantime = sbuf.st_ctime; +*************** +*** 1049,1055 **** + return NIL; + } + mh_file (tmp,mailbox); /* build file name we will use */ +! if (nfiles = scandir (tmp,&names,mh_select,mh_numsort)) { + /* largest number */ + last = atoi (names[nfiles-1]->d_name); + for (i = 0; i < nfiles; ++i) /* free directory */ +--- 1049,1055 ---- + return NIL; + } + mh_file (tmp,mailbox); /* build file name we will use */ +! if (nfiles = scandir (tmp,&names,mh_select,(void*)mh_numsort)) { + /* largest number */ + last = atoi (names[nfiles-1]->d_name); + for (i = 0; i < nfiles; ++i) /* free directory */ diff --git a/japanese/pine/files/patch-ah b/japanese/pine/files/patch-ah new file mode 100644 index 000000000000..821655583887 --- /dev/null +++ b/japanese/pine/files/patch-ah @@ -0,0 +1,19 @@ +*** imap/ANSI/c-client/news.c.orig Thu May 16 03:50:02 1996 +--- imap/ANSI/c-client/news.c Fri Sep 20 13:44:42 1996 +*************** +*** 309,315 **** + stream->mailbox + 1); + while (s = strchr (s,'.')) *s = '/'; + /* scan directory */ +! if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { + stream->local = fs_get (sizeof (NEWSLOCAL)); + LOCAL->dirty = NIL; /* no update to .newsrc needed yet */ + LOCAL->dir = cpystr (tmp); /* copy directory name for later */ +--- 309,315 ---- + stream->mailbox + 1); + while (s = strchr (s,'.')) *s = '/'; + /* scan directory */ +! if ((nmsgs = scandir (tmp,&names,news_select,(void*)news_numsort)) >= 0) { + stream->local = fs_get (sizeof (NEWSLOCAL)); + LOCAL->dirty = NIL; /* no update to .newsrc needed yet */ + LOCAL->dir = cpystr (tmp); /* copy directory name for later */ diff --git a/japanese/pine/files/patch-ak b/japanese/pine/files/patch-ak new file mode 100644 index 000000000000..c9f014c50282 --- /dev/null +++ b/japanese/pine/files/patch-ak @@ -0,0 +1,50 @@ +*** imap/Makefile.orig Tue Jan 21 11:08:23 1997 +--- imap/Makefile Tue Jan 21 11:04:47 1997 +*************** +*** 47,53 **** + + # ANSI compiler ports. Note for SCO you may have to set LN to "copy -rom" + +! a32 a41 aix bs2 bsi d-g drs lnx lyn mct mnt neb nxt osf sc5 sco sgi slx sos: + $(MAKE) build SYSTYPE=ANSI OS=$@ + + # Non-ANSI compiler ports. +--- 47,53 ---- + + # ANSI compiler ports. Note for SCO you may have to set LN to "copy -rom" + +! a32 a41 aix bs2 bsi bsf d-g drs lnx lyn mct mnt neb nxt osf sc5 sco sgi slx sos: + $(MAKE) build SYSTYPE=ANSI OS=$@ + + # Non-ANSI compiler ports. +*************** +*** 82,87 **** +--- 82,90 ---- + #bs2: + # $(MAKE) build SYSTYPE=ANSI OS=bsi + ++ bsf: ++ $(MAKE) build OS=bsf PROCESS=an ++ + pt1: + $(MAKE) build SYSTYPE=non-ANSI OS=ptx + +*************** +*** 92,99 **** + $(LN) $(SYSTYPE) systype + cd $(SYSTYPE)/c-client; $(MAKE) $(OS) + cd $(SYSTYPE)/ms;$(MAKE) +! cd $(SYSTYPE)/ipopd;$(MAKE) +! cd $(SYSTYPE)/imapd;$(MAKE) + + clean: + $(RM) systype +--- 95,102 ---- + $(LN) $(SYSTYPE) systype + cd $(SYSTYPE)/c-client; $(MAKE) $(OS) + cd $(SYSTYPE)/ms;$(MAKE) +! # cd $(SYSTYPE)/ipopd;$(MAKE) +! # cd $(SYSTYPE)/imapd;$(MAKE) + + clean: + $(RM) systype diff --git a/japanese/pine/files/patch-al b/japanese/pine/files/patch-al new file mode 100644 index 000000000000..8418f09adcfe --- /dev/null +++ b/japanese/pine/files/patch-al @@ -0,0 +1,55 @@ +*** build.orig Tue Jan 21 14:26:05 1997 +--- build Tue Jan 21 14:55:43 1997 +*************** +*** 168,181 **** + cd $PHOME/bin + rm -f pine mtest imapd pico pilot + if [ -s ../pine/pine ] ; then ln ../pine/pine pine ; fi +- if [ -s ../c-client/mtest ] ; then ln ../c-client/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 + echo "Done" + ;; + +--- 168,180 ---- + cd $PHOME/bin + rm -f pine mtest imapd pico pilot + if [ -s ../pine/pine ] ; then ln ../pine/pine pine ; fi + if [ -s ../pico/pico ] ; then ln ../pico/pico pico ; fi + if [ -s ../pico/pilot ] ; then ln ../pico/pilot pilot ; fi ++ if [ -s ../pico/libpico.so.1.3 ] ; ++ then ln ../pico/libpico.so.1.3 libpico.so.1.3 ; fi + cd $PHOME + echo '' + echo "Links to executables are in bin directory:" + echo "Done" + ;; + +*************** +*** 186,195 **** + make clean + echo "Cleaning Pine" + cd $PHOME/pine +! make -f makefile.ult clean + echo "Cleaning pico" + cd $PHOME/pico +! make $makeargs -f makefile.ult clean + echo "Done" + cd $PHOME + ;; +--- 185,194 ---- + make clean + echo "Cleaning Pine" + cd $PHOME/pine +! make -f makefile.bsf clean + echo "Cleaning pico" + cd $PHOME/pico +! make $makeargs -f makefile.bsf clean + echo "Done" + cd $PHOME + ;; diff --git a/japanese/pine/pkg-comment b/japanese/pine/pkg-comment new file mode 100644 index 000000000000..ad5c6194dd01 --- /dev/null +++ b/japanese/pine/pkg-comment @@ -0,0 +1 @@ +Program for Internet News and E-mail with Japanese Support diff --git a/japanese/pine/pkg-descr b/japanese/pine/pkg-descr new file mode 100644 index 000000000000..7cc83c75415b --- /dev/null +++ b/japanese/pine/pkg-descr @@ -0,0 +1,17 @@ +Pine for FreeBSD 2.x 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. This +package also includes the Pico editor, the IMAP daemon, a POP2 server, +and a POP3 server. + +This version supports kanji input using Canna. Canna can be started +by ^@ (or ctrl-space) in the Pico editor. + +If you want to use the spell checking feature of pine, set the +environment variable SPELL to "/usr/local/bin/ispell -l". + +An optional configuration file "pine.conf" can be put into /usr/local/etc +to set system wide defaults. The format of this file is identical to the +.pinerc file that is auto-generated by pine in your home directory. diff --git a/japanese/pine/pkg-plist b/japanese/pine/pkg-plist new file mode 100644 index 000000000000..0192a1a6c4c0 --- /dev/null +++ b/japanese/pine/pkg-plist @@ -0,0 +1,10 @@ +bin/pico +bin/pilot +bin/pine +lib/libpico.so.1.3 +@exec /sbin/ldconfig -m %B +@unexec /sbin/ldconfig -R +lib/pine/pine.hlp +lib/pine/pine.ndx +lib/pine/pine_ja.hlp +lib/pine/pine_ja.ndx diff --git a/japanese/pine/scripts/configure b/japanese/pine/scripts/configure new file mode 100644 index 000000000000..4b79832cc6ce --- /dev/null +++ b/japanese/pine/scripts/configure @@ -0,0 +1,3 @@ +#!/bin/sh + +sed s+@PREFIX@+${PREFIX}+ ${WRKSRC}/pine/osdep/os-bsf.h.in >${WRKSRC}/pine/osdep/os-bsf.h |