Date: Mon, 14 Sep 1998 13:54:32 +0900 (KST) From: Park Jong-Hwan <jhpark@asp.kwangwoon.ac.kr> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/7924: update ports: korean/tin Message-ID: <199809140454.NAA24066@asp.kwangwoon.ac.kr>
next in thread | raw e-mail | index | archive | help
>Number: 7924 >Category: ports >Synopsis: tin news reader for Korean >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Sep 13 22:00:00 PDT 1998 >Last-Modified: >Originator: Park Jong-Hwan >Organization: Hangul IRC Network >Release: FreeBSD 2.2.7-STABLE i386 >Environment: FreeBSD asp.kwangwoon.ac.kr 2.2.7-STABLE FreeBSD 2.2.7-STABLE #0: Fri Jul 24 15:39:18 KST 1998 jhpark@safety.kwangwoon.ac.kr:/usr/src/sys/compile/jhpark i386 >Description: tin news reader for Korean. previous ko-tin port can't display Hangul on most machines. it occured because my machines compiled with xpg4 library. >How-To-Repeat: >Fix: added --disable-locale to CONFIGURE_ARGS >Audit-Trail: >Unformatted: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # tin # tin/files # tin/files/md5 # tin/patches # tin/patches/patch-aa # tin/patches/patch-ab # tin/patches/patch-ac # tin/pkg # tin/pkg/PLIST # tin/pkg/DESCR # tin/pkg/COMMENT # tin/Makefile # echo c - tin mkdir -p tin > /dev/null 2>&1 echo c - tin/files mkdir -p tin/files > /dev/null 2>&1 echo x - tin/files/md5 sed 's/^X//' >tin/files/md5 << 'END-of-tin/files/md5' XMD5 (tinpre-1.4-980818.tgz) = 93f20163834b3a15772b4f128441004f END-of-tin/files/md5 echo c - tin/patches mkdir -p tin/patches > /dev/null 2>&1 echo x - tin/patches/patch-aa sed 's/^X//' >tin/patches/patch-aa << 'END-of-tin/patches/patch-aa' X--- src/Makefile.in.orig Sat Nov 22 06:03:52 1997 X+++ src/Makefile.in Wed Nov 26 03:12:30 1997 X@@ -20,7 +20,7 @@ X LDFLAGS = @LDFLAGS@ X YACC = @YACC@ X X-LIBS = -L../pcre -lpcre @LIBS@ @INN_NNTPLIB@ X+LIBS = ../pcre/libpcre.a @LIBS@ @INN_NNTPLIB@ ../pcre/libpcre.a X X # Where do you want the binary & manual page installed? X INSTALL_PREFIX = @INSTALL_PREFIX@ END-of-tin/patches/patch-aa echo x - tin/patches/patch-ab sed 's/^X//' >tin/patches/patch-ab << 'END-of-tin/patches/patch-ab' X--- src/init.c.orig Mon Aug 10 10:08:16 1998 X+++ src/init.c Mon Sep 14 13:07:14 1998 X@@ -144,7 +144,7 @@ X int hist_last[HIST_MAXNUM+1]; X int hist_pos[HIST_MAXNUM+1]; X int iso2asc_supported; /* Convert ISO-Latin1 to Ascii */ X-int mail_mime_encoding = MIME_ENCODING_7BIT; X+int mail_mime_encoding = MIME_ENCODING_8BIT; X int max_from = 0; X int max_subj = 0; X int num_headers_to_display; /* num headers to display -- swp */ X@@ -152,7 +152,7 @@ X int num_of_killed_arts; X int num_of_selected_arts; /* num articles marked 'hot' */ X int num_of_tagged_arts; X-int post_mime_encoding = MIME_ENCODING_7BIT; X+int post_mime_encoding = MIME_ENCODING_8BIT; X pid_t process_id; X gid_t real_gid; X uid_t real_uid; X@@ -245,7 +245,7 @@ X t_bool newsrc_active; X t_bool advertising = TRUE; X t_bool pos_first_unread; /* position cursor at first/last unread article */ X-t_bool post_8bit_header = FALSE; /* allow 8bit chars. in header when posting to newsgroup */ X+t_bool post_8bit_header = TRUE; /* allow 8bit chars. in header when posting to newsgroup */ X t_bool post_article_and_exit; /* quick post of an article then exit (elm like) */ X t_bool post_postponed_and_exit; /* post postponed articles and exit */ X t_bool print_header; /* print all of mail header or just Subject: & From lines */ X@@ -569,6 +569,7 @@ X iso2asc_supported = 0; X keep_dead_articles = TRUE; X keep_posted_articles = TRUE; X+ mail_8bit_header = FALSE; X mark_saved_read = TRUE; X list_active = FALSE; X newsrc_active = FALSE; X@@ -580,7 +581,7 @@ X pos_first_unread = TRUE; X post_article_and_exit = FALSE; X post_postponed_and_exit = FALSE; X- post_8bit_header = FALSE; X+ post_8bit_header = TRUE; X print_header = FALSE; X process_only_unread = TRUE; X prompt_followupto = FALSE; END-of-tin/patches/patch-ab echo x - tin/patches/patch-ac sed 's/^X//' >tin/patches/patch-ac << 'END-of-tin/patches/patch-ac' X--- include/nntplib.h.orig Mon Aug 3 00:24:12 1998 X+++ include/nntplib.h Mon Sep 14 13:23:23 1998 X@@ -18,7 +18,7 @@ X # ifdef M_AMIGA X # define NNTP_SERVER_FILE "uulib:nntpserver" X # else X-# define NNTP_SERVER_FILE "/etc/nntpserver" X+# define NNTP_SERVER_FILE __PREFIX__"/etc/nntpserver" X # endif /* M_AMIGA */ X #endif /* !NNTP_SERVER_FILE */ X END-of-tin/patches/patch-ac echo c - tin/pkg mkdir -p tin/pkg > /dev/null 2>&1 echo x - tin/pkg/PLIST sed 's/^X//' >tin/pkg/PLIST << 'END-of-tin/pkg/PLIST' Xbin/tin X@exec ln -fs %f %B/rtin X@unexec rm -f %B/rtin END-of-tin/pkg/PLIST echo x - tin/pkg/DESCR sed 's/^X//' >tin/pkg/DESCR << 'END-of-tin/pkg/DESCR' XTIN: Easy to use threaded newsreader with NOV/NNTP support. XThis version of tin is configured for Korean users. X XPark JongHwan Xjhpark@HanIRC.org END-of-tin/pkg/DESCR echo x - tin/pkg/COMMENT sed 's/^X//' >tin/pkg/COMMENT << 'END-of-tin/pkg/COMMENT' XTIN newsreader (termcap based) END-of-tin/pkg/COMMENT echo x - tin/Makefile sed 's/^X//' >tin/Makefile << 'END-of-tin/Makefile' X# New ports collection makefile for: tin-ko X# Version required: tinpre-1.4 X# Date created: 14 Sep 1998 X# Whom: Park JongHwan <jhpark@HanIRC.org> X# X# $Id$ X# X XDISTNAME= tinpre-1.4-980818 XPKGNAME= ko-${DISTNAME} XCATEGORIES= korean news XMASTER_SITES= ftp://ftp.hpcnet.ne.kr/pub/packages/news/tin/current/ \ X ftp://ftp.kaist.ac.kr/hangul/news/tin/current/ \ X ftp://ftp.tin.org/pub/news/clients/tin/current/ \ X ftp://nuxi.ucdavis.edu/pub/tin/ \ X ftp://ftp.nuxi.com/pub/tin/ X XEXTRACT_SUFX= .tgz X XMAINTAINER= jhpark@HanIRC.org X XWRKSRC= ${WRKDIR}/${DISTNAME:S/pre-1.4//} XGNU_CONFIGURE= yes X XCONFIGURE_ARGS= --with-nntp-default-server=news \ X --with-spooldir=/var/news \ X --with-libdir=${PREFIX}/news/lib \ X --enable-forgery \ X --enable-break-long-lines \ X --with-pgp=${PREFIX}/bin/pgp \ X --with-ispell=${PREFIX}/bin/ispell \ X --with-metamail=${PREFIX}/bin/metamail \ X --with-mime-default-charset=EUC-KR \ X --disable-mime-strict-charset \ X --disable-locale X XMAKEFILE= makefile XALL_TARGET= build XMAN1= tin.1 X X.if defined(NNTP_ONLY) XCONFIGURE_ARGS+= --enable-nntp-only X.endif X Xpre-fetch: X.if !defined(NNTP_ONLY) X @${ECHO_MSG} "To build the tin to read news via NNTP only, type:" X @${ECHO_MSG} " make NNTP_ONLY=yes" X.else X @${ECHO_MSG} "Building tin without local news spool support." X.endif X X Xpost-patch: X @${MV} ${WRKSRC}/doc/tin.1 ${WRKSRC}/doc/tin.1.dist X @${SED} -e 's:/var/spool/news:/var/news:' \ X -e 's:/etc/nntpserver:${PREFIX}/etc/nntpserver:' \ X -e 's:/usr/lib/news:${PREFIX}/news/lib:' \ X <${WRKSRC}/doc/tin.1.dist >${WRKSRC}/doc/tin.1 X Xpost-configure: X @${ECHO} '#define __PREFIX__ "${PREFIX}"' >>${WRKSRC}/include/autoconf.h X X.include <bsd.port.mk> END-of-tin/Makefile exit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809140454.NAA24066>