Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 2004 12:14:12 +0800 (CST)
From:      Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/75530: [PATCH] mail/nbsmtp: update to 0.98
Message-ID:  <20041227041412.A86AB106C64@FreeBSD.csie.NCTU.edu.tw>
Resent-Message-ID: <200412270420.iBR4KHeG059007@freefall.freebsd.org>

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

>Number:         75530
>Category:       ports
>Synopsis:       [PATCH] mail/nbsmtp: update to 0.98
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 27 04:20:17 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Liao
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD FreeBSD.csie.NCTU.edu.tw 4.10-STABLE FreeBSD 4.10-STABLE #1: Mon Nov 15 22:13:47 CST 2004
>Description:
- Update to 0.98

Removed file(s):
- files/patch-aa
- files/patch-nbsmtp.c

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- nbsmtp-0.98.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/nbsmtp/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- Makefile	5 Feb 2004 20:37:30 -0000	1.8
+++ Makefile	27 Dec 2004 04:13:52 -0000
@@ -6,19 +6,23 @@
 #
 
 PORTNAME=	nbsmtp
-PORTVERSION=	0.8
+PORTVERSION=	0.98
 CATEGORIES=	mail
-MASTER_SITES=	http://physeeks.dyndns.org:8000/download/ \
-		ftp://ftp.nuug.no/pub/anders/distfiles/
-EXTRACT_SUFX=	.tgz
+MASTER_SITES=	http://www.gentoo-es.org/~ferdy/ \
+		http://www.it.uc3m.es/~ferdy/nbsmtp/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Simple program for outgoing SMTP delivery
 
-NO_WRKSUBDIR=	yes
 PLIST_FILES=	bin/nbsmtp
+GNU_CONFIGURE=	yes
+
+MAN5=	nbsmtprc.5
+MAN8=	nbsmtp.8
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/nbsmtp ${PREFIX}/bin/
+	${INSTALL_PROGRAM} ${WRKSRC}/nbsmtp ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/nbsmtp.8 ${MAN8PREFIX}/man/man8
+	${INSTALL_MAN} ${WRKSRC}/nbsmtprc.5 ${MAN5PREFIX}/man/man5
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/mail/nbsmtp/distinfo,v
retrieving revision 1.2
diff -u -u -r1.2 distinfo
--- distinfo	29 Jan 2004 07:24:52 -0000	1.2
+++ distinfo	27 Dec 2004 04:13:52 -0000
@@ -1,2 +1,2 @@
-MD5 (nbsmtp-0.8.tgz) = 88e43a1d9d22210a4c9beba57ba96058
-SIZE (nbsmtp-0.8.tgz) = 9687
+MD5 (nbsmtp-0.98.tar.gz) = fe055f4e01e6cfd9eb9c80681a42f7eb
+SIZE (nbsmtp-0.98.tar.gz) = 111390
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/mail/nbsmtp/pkg-descr,v
retrieving revision 1.2
diff -u -u -r1.2 pkg-descr
--- pkg-descr	20 Jan 2002 16:01:58 -0000	1.2
+++ pkg-descr	27 Dec 2004 04:13:52 -0000
@@ -13,6 +13,6 @@
 port: The smtp port you want to connect to. 25 is standard, don't change it
 unless you know what you are doing.
 
-WWW: http://physeeks.dyndns.org:8000/software.html
+WWW: http://nbsmtp.ferdyx.org/
 
 - Anders Nordby <anders@fix.no>
Index: files/patch-aa
===================================================================
RCS file: files/patch-aa
diff -N files/patch-aa
--- files/patch-aa	20 May 2001 03:25:18 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,10 +0,0 @@
---- Makefile.orig	Sat May  5 19:30:42 2001
-+++ Makefile	Sat May  5 19:31:41 2001
-@@ -1,5 +1,5 @@
--linux: nbsmtp.c
--	gcc -o nbsmtp nbsmtp.c
-+all: nbsmtp.c
-+	gcc $(CFLAGS) -o nbsmtp nbsmtp.c
- 
- solaris: nbsmtp.c
- 	gcc -o nbsmtp nbsmtp.c -lxnet 
Index: files/patch-nbsmtp.c
===================================================================
RCS file: files/patch-nbsmtp.c
diff -N files/patch-nbsmtp.c
--- files/patch-nbsmtp.c	10 Apr 2002 20:24:07 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,66 +0,0 @@
---- nbsmtp.c.orig	Sat Apr  7 02:09:01 2001
-+++ nbsmtp.c	Wed Apr 10 22:03:27 2002
-@@ -19,6 +19,8 @@
- */
- 
- #include <stdio.h>
-+#include <stdlib.h>
-+#include <string.h>
- #include <unistd.h>
- #include <sys/types.h>
- #include <sys/socket.h>
-@@ -76,42 +78,45 @@
- {
-   printf("Usage:\n");
-   printf("%s -d domain -f from@addr -h host [-p port] [-l debuglevel]\n", prog);
-+  exit(EXIT_FAILURE);
- }
- 
- int main(int argc, char *argv[])
- {
--  int i;
-+  int ch;
- 
--  for(i=1; i<argc; i+=2){
--    switch(*(argv[i]+1))
-+  while ( (ch = getopt(argc, argv, "h:d:f:p:l:")) != -1){
-+    switch (ch)
-       {
-       case 'h':
--	host = (char *)strdup(argv[i+1]);
-+	host = strdup(optarg);
- 	break;
-       case 'd':
--	domain = (char *)strdup(argv[i+1]);
-+	domain = strdup(optarg);
- 	break;
-       case 'f':
--	fromaddr = (char *)strdup(argv[i+1]);
-+	fromaddr = strdup(optarg);
- 	break;
-       case 'p':
--	port = atoi(argv[i+1]);
-+	port = atoi(optarg);
- 	break;
-       case 'l':
--	debug_level =  atoi(argv[i+1]);
-+	debug_level = atoi(optarg);
- 	if(debug_level > 1)
- 	  stdlog = fopen("nbsmtp.log", "w");
- 	else
- 	  stdlog = stdout;
- 	break;
-+      case '?':
-       default:
- 	print_usage(argv[0]);
-+	break;
-       }
-   }
- 
-+  argc -= optind;
-   if(domain==NULL || fromaddr==NULL || host==NULL){
-     print_usage(argv[0]);
--    return 1;
-   }
- 
-   if(port==0)
--- nbsmtp-0.98.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041227041412.A86AB106C64>