Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 1998 04:21:47 +0900 (KST)
From:      Park Jong-Hwan <jhpark@asp.kwangwoon.ac.kr>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7920: New port request: korean/tin
Message-ID:  <199809131921.EAA02725@asp.kwangwoon.ac.kr>

next in thread | raw e-mail | index | archive | help

>Number:         7920
>Category:       ports
>Synopsis:       new tin ports 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 12:30: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:

new port(korean/tin).
tin news reader which configured for Korean users.


# 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/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 02:14:10 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@@ -238,14 +238,14 @@
X t_bool keep_posted_articles;
X t_bool local_filtered_articles;		/* locally killed / auto-selected articles */
X t_bool local_index;			/* do private indexing? */
X-t_bool mail_8bit_header = FALSE;	/* allow 8bit chars. in header of mail message */
X+t_bool mail_8bit_header = TRUE;	/* allow 8bit chars. in header of mail message */
X t_bool mail_news;		/* mail all arts to specified user */
X t_bool mark_saved_read;		/* mark saved article/thread as read */
X t_bool list_active;
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 */
END-of-tin/patches/patch-ab
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.
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.tin.org/pub/news/clients/tin/current/ \
X		ftp://nuxi.ucdavis.edu/pub/tin/ \
X		ftp://ftp.nuxi.com/pub/tin/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=     jhpark@HanIRC.org
X
XRUN_DEPENDS=	${PREFIX}/bin/metamail:${PORTSDIR}/mail/metamail 
X
XWRKSRC=         ${WRKDIR}/${DISTNAME:S/pre-1.4//}
XGNU_CONFIGURE=	yes
X
XCONFIGURE_ARGS=  --with-nntp-default-server=usenet  \
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
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	@${SED} -e 's:/etc/nntpserver:${PREFIX}/etc/nntpserver:' \
X		<${WRKSRC}/include/nntplib.h >${WRKSRC}/include/nntplib.h.patched
X	@${MV} ${WRKSRC}/include/nntplib.h ${WRKSRC}/include/nntplib.h.orig
X	@${MV} ${WRKSRC}/include/nntplib.h.patched ${WRKSRC}/include/nntplib.h
X
X
X.include <bsd.port.mk>
END-of-tin/Makefile
exit

>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:

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?199809131921.EAA02725>