summaryrefslogtreecommitdiff
path: root/net/polsms
diff options
context:
space:
mode:
authormartti <martti@pkgsrc.org>2002-06-13 08:27:10 +0000
committermartti <martti@pkgsrc.org>2002-06-13 08:27:10 +0000
commitef1f0f8678201ac920ae665e72fd2decb2b3a9c9 (patch)
tree9dd5ea2531999a56e550001f2bdb73c01f7b5308 /net/polsms
parent6506a916b20811f62b9cf34d5925108dff9d0d48 (diff)
downloadpkgsrc-ef1f0f8678201ac920ae665e72fd2decb2b3a9c9.tar.gz
Updated polsms to 1.8.9i (pkg/17216 by Dawid Szymanski)
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
Diffstat (limited to 'net/polsms')
-rw-r--r--net/polsms/Makefile4
-rw-r--r--net/polsms/PLIST18
-rw-r--r--net/polsms/distinfo10
-rw-r--r--net/polsms/patches/patch-aa15
-rw-r--r--net/polsms/patches/patch-ab12
5 files changed, 27 insertions, 32 deletions
diff --git a/net/polsms/Makefile b/net/polsms/Makefile
index 87e5011e963..fae5b516454 100644
--- a/net/polsms/Makefile
+++ b/net/polsms/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2001/12/29 13:29:42 zuntum Exp $
+# $NetBSD: Makefile,v 1.6 2002/06/13 08:27:10 martti 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/
diff --git a/net/polsms/PLIST b/net/polsms/PLIST
index 272d3e0ed7a..4d75378df5f 100644
--- a/net/polsms/PLIST
+++ b/net/polsms/PLIST
@@ -1,20 +1,20 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:57:57 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/06/13 08:27:10 martti Exp $
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
diff --git a/net/polsms/distinfo b/net/polsms/distinfo
index 555acd1bed1..6acb0173741 100644
--- a/net/polsms/distinfo
+++ b/net/polsms/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2001/09/16 16:12:58 zuntum Exp $
+$NetBSD: distinfo,v 1.5 2002/06/13 08:27:10 martti 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
diff --git a/net/polsms/patches/patch-aa b/net/polsms/patches/patch-aa
index 935b7944194..fb7e363b70c 100644
--- a/net/polsms/patches/patch-aa
+++ b/net/polsms/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.3 2001/09/16 16:12:59 zuntum Exp $
+$NetBSD: patch-aa,v 1.4 2002/06/13 08:27:11 martti Exp $
---- 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 @@ $NetBSD: patch-aa,v 1.3 2001/09/16 16:12:59 zuntum Exp $
# 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
-
diff --git a/net/polsms/patches/patch-ab b/net/polsms/patches/patch-ab
index 59572d4db8a..9657680632e 100644
--- a/net/polsms/patches/patch-ab
+++ b/net/polsms/patches/patch-ab
@@ -1,9 +1,9 @@
-$NetBSD: patch-ab,v 1.2 2001/09/16 16:12:59 zuntum Exp $
+$NetBSD: patch-ab,v 1.3 2002/06/13 08:27:12 martti Exp $
---- 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 @@ $NetBSD: patch-ab,v 1.2 2001/09/16 16:12:59 zuntum Exp $
}
+#endif
- if (!strcmp(argv[start_arg], "--check")) {
- tick = 1;
+ if (!strcmp(argv[start_arg], "--from")) {
+ if ((start_arg+1) >= argc) return 1;