Subject: pkg/17216: net/polsms update
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dawszy@tgr.lubin.edu.pl>
List: netbsd-bugs
Date: 06/11/2002 13:55:24
>Number: 17216
>Category: pkg
>Synopsis: net/polsms update
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jun 11 04:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Dawid Szymanski
>Release: NetBSD 1.6_BETA1
>Organization:
Regards,
Dawid Szymanski
--
http://www.NetBSD.org/ http://www.pl.silcnet.org/ http://www.google.com/ Enjoy!
.:: mobile: +48691626681 :: DAWS-6BONE :: DAWS-RIPE :: SQ6EMM ::.
>Environment:
System: NetBSD gornik.tgr.lubin.edu.pl 1.6_BETA1 NetBSD 1.6_BETA1 (GORNIK) #0: Thu Jun 6 10:47:37 CEST 2002 root@gornik.tgr.lubin.edu.pl:/usr/src/sys/arch/i386/compile/GORNIK i386
Architecture: i386
Machine: i386
>Description:
List of changes from 1.8.9d to 1.8.9i:
* Makefile patched for better compatibility with NetBSD
* s/PATH_MAX/MAXPATHLEN/
* GPL License file added
* sms-conf script added
* mimecut script fixed to handle Polish characters
* patch for easiest using sms on OpenBSD
* patch that allow us to sepcify source IP address
* with --from we can specify sender address
>How-To-Repeat:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/polsms/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile 2001/12/29 13:29:42 1.5
+++ Makefile 2002/06/11 11:54:46
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.5 2001/12/29 13:29:42 zuntum Exp $
#
-DISTNAME= sms-1.8.9d
+DISTNAME= sms-1.8.9i
PKGNAME= pol${DISTNAME}
CATEGORIES= net
MASTER_SITES= http://www.ceti.pl/~miki/komputery/download/sms/
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/net/polsms/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- PLIST 2001/10/31 22:57:57 1.1
+++ PLIST 2002/06/11 11:54:46
@@ -1,20 +1,20 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:57:57 zuntum Exp $
+@comment $NetBSD$
bin/sms
bin/smsaddr
-share/sms/doc/README
share/sms/contrib/mimecut
share/sms/contrib/procmailrc
share/sms/contrib/sms.cgi
share/sms/contrib/sms.html
-share/sms/doc/old_solaris
-share/sms/doc/NetBSD
-share/sms/doc/solaris
-share/sms/doc/plusmail
share/sms/doc/FreeBSD
-share/sms/doc/qmail
+share/sms/doc/${OPSYS}
+share/sms/doc/README
+share/sms/doc/eragsm.asp
share/sms/doc/eranet
+share/sms/doc/old_solaris
+share/sms/doc/plusmail
share/sms/doc/podziel_sms
-share/sms/doc/eragsm.asp
-@dirrm share/sms/contrib
+share/sms/doc/qmail
+share/sms/doc/solaris
@dirrm share/sms/doc
+@dirrm share/sms/contrib
@dirrm share/sms
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/polsms/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo 2001/09/16 16:12:58 1.4
+++ distinfo 2002/06/11 11:54:46
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.4 2001/09/16 16:12:58 zuntum Exp $
-SHA1 (sms-1.8.9d.tar.gz) = 5d00a5e23a816fa52bccc592f8e918e6eb64e01d
-Size (sms-1.8.9d.tar.gz) = 50557 bytes
-SHA1 (patch-aa) = 6da78ca47c7d19378f9aee7d4410b223e1be5954
-SHA1 (patch-ab) = 3a9dada1a0a8565edbc259fe8abaad31a6408349
+SHA1 (sms-1.8.9i.tar.gz) = 57630a29c322b7c52e296249dd4dc8e399ee4d3f
+Size (sms-1.8.9i.tar.gz) = 65488 bytes
+SHA1 (patch-aa) = 134fe5eb8bc789f826ecbec9241e54469bcded5d
+SHA1 (patch-ab) = f31182167d15faa848dd667476ace0758ee170ac
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/net/polsms/patches/patch-aa,v
retrieving revision 1.3
diff -u -r1.3 patch-aa
--- patch-aa 2001/09/16 16:12:59 1.3
+++ patch-aa 2002/06/11 11:54:46
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.3 2001/09/16 16:12:59 zuntum Exp $
+$NetBSD$
---- Makefile.orig Sun Sep 2 11:18:21 2001
+--- Makefile.orig Thu Feb 7 00:45:27 2002
+++ Makefile
@@ -17,7 +17,7 @@
#
@@ -11,17 +11,12 @@
# dla starszych wersji Solarisa (tam gdzie nie ma snprintf, getdomainname,
# itd.) odkomentuj ponizsze dwie linie:
-@@ -39,11 +39,11 @@
- # nw katalogi nie sa przeszukiwane automatycznie na FreeBSD oraz NetBSD.
+@@ -39,7 +39,7 @@
+ # nw katalogi nie sa przeszukiwane automatycznie na FreeBSD, NetBSD i OpenBSD.
# Odkomentuj ponizsze linie jesli kompilujesz program na tych systemach
# BSD_INC=-I/usr/local/include -I/usr/pkg/include
-# BSD_LIB=-L/usr/local/lib -L/usr/pkg/lib
-+BSD_LIB=-L$(BUILDLINK_DIR)/lib -Wl,-R$(LOCALBASE)/lib
++BSD_LIB=-L$(BUILDLINK_DIR)/lib -Wl -R$(LOCALBASE)/lib
# katalog pod ktorym program zostanie zainstalowany po make install - binaria
# ida do $DIR/$BIN, reszta do $DIR/$DOC
--INSTALL_PREFIX=/usr/local
-+INSTALL_PREFIX=$(PREFIX)
- INSTALL_BIN=$(INSTALL_PREFIX)/bin
- INSTALL_DOC=$(INSTALL_PREFIX)/doc/sms
-
Index: patches/patch-ab
===================================================================
RCS file: /cvsroot/pkgsrc/net/polsms/patches/patch-ab,v
retrieving revision 1.2
diff -u -r1.2 patch-ab
--- patch-ab 2001/09/16 16:12:59 1.2
+++ patch-ab 2002/06/11 11:54:46
@@ -1,9 +1,9 @@
-$NetBSD: patch-ab,v 1.2 2001/09/16 16:12:59 zuntum Exp $
+$NetBSD$
---- main.cc.orig Sun Sep 2 12:10:25 2001
+--- main.cc.orig Thu Feb 7 00:35:33 2002
+++ main.cc
-@@ -154,10 +154,14 @@
- tick = 1;
+@@ -164,10 +164,14 @@
+ start_arg++;
}
+#ifdef PLUS_MAIL
@@ -15,5 +15,5 @@
}
+#endif
- if (!strcmp(argv[start_arg], "--check")) {
- tick = 1;
+ if (!strcmp(argv[start_arg], "--from")) {
+ if ((start_arg+1) >= argc) return 1;
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: