Date: Wed, 8 Jan 2003 11:42:30 +0100 (CET) From: Philip Paeps <philip@paeps.cx> To: FreeBSD-gnats-submit@FreeBSD.org Cc: ache@FreeBSD.org Subject: ports/46858: Update of news/tin, addition of some conditionals Message-ID: <20030108104230.B033B51@juno.home.paeps.cx>
next in thread | raw e-mail | index | archive | help
>Number: 46858 >Category: ports >Synopsis: Update of news/tin, addition of some conditionals >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Jan 08 02:50:01 PST 2003 >Closed-Date: >Last-Modified: >Originator: Philip Paeps >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD juno.home.paeps.cx 5.0-CURRENT FreeBSD 5.0-CURRENT #8: Thu Jan 2 22:53:28 CET 2003 philip@juno.home.paeps.cx:/usr/obj/usr/src/sys/JUNO i386 >Description: The news/tin port has been out of date for a while. There's a number of interesting new things in recent versions, as well as some bug fixes. I'd already sent this patch to the maintainer many moons ago, without sign of life. If he's no longer interested, I'd be happy to maintain the port. The patch in Fix: updates Tin to the current most recent version, and conditionalises some of the more useful features. >How-To-Repeat: Install news/tin. >Fix: diff -Nur tin.old/Makefile tin/Makefile --- tin.old/Makefile Mon Sep 2 06:27:13 2002 +++ tin/Makefile Sun Nov 24 20:12:00 2002 @@ -6,12 +6,9 @@ # PORTNAME= tin -PORTVERSION= 1.5.12 -PORTREVISION= 1 +PORTVERSION= 1.5.16 CATEGORIES+= news ipv6 -MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/v1.5/ \ - ftp://nuxi.ucdavis.edu/pub/tin/v1.5/ \ - ftp://ftp.nuxi.com/pub/tin/v1.5/ +MASTER_SITES= ftp://ftp.tin.org/pub/news/clients/tin/unstable/snapshots/ MAINTAINER?= ache@FreeBSD.org @@ -26,17 +23,9 @@ --with-spooldir=/var/news \ --with-libdir=${PREFIX}/news/lib \ --with-defaults-dir=${PREFIX}/etc \ - --with-editor=/usr/bin/ee \ --enable-nls \ - --enable-ipv6 \ - --enable-curses \ - --with-ncurses \ - --disable-mime-strict-charset \ - --enable-forgery \ + --with-screen=ncurses \ --enable-break-long-lines \ - --with-pgp=${PREFIX}/bin/pgp \ - --with-ispell=${PREFIX}/bin/ispell \ - --with-metamail=${PREFIX}/bin/metamail \ --with-mime-default-charset=US-ASCII CONFIGURE_ENV= CFLAGS='${CFLAGS} -DNNTP_SERVER_FILE="\"${PREFIX}/etc/nntpserver\""' \ CPPFLAGS='${CPPFLAGS} -I${LOCALBASE}/include' \ @@ -47,6 +36,34 @@ .if defined(WITH_TIN_NNTP_ONLY) CONFIGURE_ARGS+= --enable-nntp-only +.endif + +.if defined(WITH_TIN_PGP) +BUILD_DEPENDS+= ${LOCALBASE}/bin/pgp:${PORTSDIR}/security/pgp6 +CONFIGURE_ARGS+= --with-pgp=${LOCALBASE}/bin/pgp \ + --without-pgpk \ + --without-gpg +.elif defined(WITH_TIN_GPG) +BUILD_DEPENDS+= ${LOCALBASE}/bin/gpg:${PORTSDIR}/security/gnupg +CONFIGURE_ARGS+= --with-gpg=${LOCALBASE}/bin/gpg \ + --without-pgp \ + --without-pgpk +.else +CONFIGURE_ARGS+= --disable-pgp-gpg +.endif + +.if defined(WITH_TIN_IPV6) +CONFIGURE_ARGS+= --enable-ipv6 +.endif + +.if defined(WITH_TIN_ISPELL) +BUILD_DEPENDS+= ${LOCALBASE}/bin/ispell:${PORTSDIR}/textproc/ispell +CONFIGURE_ARGS+= --with-ispell=${LOCALBASE}/bin/ispell +.endif + +.if defined(WITH_TIN_METAMAIL) +BUILD_DEPENDS+= ${LOCALBASE}/bin/metamail:${PORTSDIR}/mail/metamail +CONFIGURE_ARGS+= --with-metamail=${LOCABASE}/bin/metamail .endif post-patch: diff -Nur tin.old/distinfo tin/distinfo --- tin.old/distinfo Sat May 25 16:51:17 2002 +++ tin/distinfo Sun Nov 24 19:47:56 2002 @@ -1 +1 @@ -MD5 (tin-1.5.12.tar.bz2) = 8d5e6ee1a2b979cdf457c4d8f1b6799d +MD5 (tin-1.5.16.tar.bz2) = 53d66dd99aad38346cef58be5ea1f0b2 >Release-Note: >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?20030108104230.B033B51>