summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>1998-10-09 04:50:07 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>1998-10-09 04:50:07 +0000
commit918514b081ed2ec201967e40d8f64994a864cabd (patch)
treeba40c10195acd00fcea8860362fe2177e309835c /comms
parentActivate yaps. (diff)
YAPS (Yet Another Pager Software)
Submitted by: Stefan Esser <se@mi.uni-koeln.de>
Notes
Notes: svn path=/head/; revision=13775
Diffstat (limited to 'comms')
-rw-r--r--comms/yaps/Makefile26
-rw-r--r--comms/yaps/distinfo1
-rw-r--r--comms/yaps/files/patch-aa45
-rw-r--r--comms/yaps/files/patch-ab102
-rw-r--r--comms/yaps/files/patch-ac10
-rw-r--r--comms/yaps/files/patch-ad13
-rw-r--r--comms/yaps/pkg-comment1
-rw-r--r--comms/yaps/pkg-descr5
-rw-r--r--comms/yaps/pkg-plist7
9 files changed, 210 insertions, 0 deletions
diff --git a/comms/yaps/Makefile b/comms/yaps/Makefile
new file mode 100644
index 000000000000..be2f21ecb8c6
--- /dev/null
+++ b/comms/yaps/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: yaps
+# Version required: 0.96
+# Date created: Di 29 Sep 1998 15:51:27 CEST
+# Whom: se
+#
+# $Id$
+#
+
+DISTNAME= yaps-0.96
+CATEGORIES= comms
+MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/comm/
+
+MAINTAINER= se@FreeBSD.ORG
+
+USE_GMAKE= true
+
+MAN1= yaps.1
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/doc/yaps; \
+ ${INSTALL_DATA} ${WRKSRC}/yaps.rc ${PREFIX}/etc/yaps.rc.sample; \
+ ${INSTALL_DATA} ${WRKSRC}/yaps.doc ${PREFIX}/share/doc/yaps; \
+ ${INSTALL_DATA} ${WRKSRC}/yaps.html ${PREFIX}/share/doc/yaps; \
+ ${INSTALL_MAN} ${WRKSRC}/yaps.1 ${PREFIX}/man/man1;
+
+.include <bsd.port.mk>
diff --git a/comms/yaps/distinfo b/comms/yaps/distinfo
new file mode 100644
index 000000000000..1e2da860beb8
--- /dev/null
+++ b/comms/yaps/distinfo
@@ -0,0 +1 @@
+MD5 (yaps-0.96.tar.gz) = 6b5afb26526cb20f0995e5bb2cfa494e
diff --git a/comms/yaps/files/patch-aa b/comms/yaps/files/patch-aa
new file mode 100644
index 000000000000..1adde0c5b893
--- /dev/null
+++ b/comms/yaps/files/patch-aa
@@ -0,0 +1,45 @@
+*** Config~ Tue Sep 29 15:15:18 1998
+--- Config Tue Sep 29 15:16:10 1998
+***************
+*** 2,8 ****
+ # SECTION A.) Global configuration
+ # Select compiler command
+! CC = gcc
+ #
+! CFLAGS = -Wall -Wno-parentheses -Wshadow -Wstrict-prototypes -Wmissing-prototypes
+ LDFLAGS =
+ EXLIBS =
+--- 2,8 ----
+ # SECTION A.) Global configuration
+ # Select compiler command
+! #CC = gcc
+ #
+! #CFLAGS = -Wall -Wno-parentheses -Wshadow -Wstrict-prototypes -Wmissing-prototypes
+ LDFLAGS =
+ EXLIBS =
+***************
+*** 21,25 ****
+ # SECTION B.) yaps configuration
+ # Name and location of global configuration file
+! YAPS_CFGFILE = /etc/yaps.rc
+ # Name of local configuration file (location is $HOME.)
+ YAPS_LCFGFILE = .yapsrc
+--- 21,25 ----
+ # SECTION B.) yaps configuration
+ # Name and location of global configuration file
+! YAPS_CFGFILE = /usr/local/etc/yaps.rc
+ # Name of local configuration file (location is $HOME.)
+ YAPS_LCFGFILE = .yapsrc
+***************
+*** 30,34 ****
+ # User/Group/Mode for yaps
+ YAPS_USER = bin
+! YAPS_GROUP = uucp
+ YAPS_MODE = 2711
+ # User/Group/Mode for global configuration file
+--- 30,34 ----
+ # User/Group/Mode for yaps
+ YAPS_USER = bin
+! YAPS_GROUP = dialer
+ YAPS_MODE = 2711
+ # User/Group/Mode for global configuration file
diff --git a/comms/yaps/files/patch-ab b/comms/yaps/files/patch-ab
new file mode 100644
index 000000000000..99b334376fb5
--- /dev/null
+++ b/comms/yaps/files/patch-ab
@@ -0,0 +1,102 @@
+*** config.h.orig Tue Sep 29 15:15:25 1998
+--- config.h Tue Sep 29 15:24:15 1998
+***************
+*** 27,31 ****
+ * in sys/time.h
+ */
+! # define HAVE_SYS_SELECT_H 0
+
+ /*
+--- 27,31 ----
+ * in sys/time.h
+ */
+! # define HAVE_SYS_SELECT_H 1
+
+ /*
+***************
+*** 33,37 ****
+ * conversion/classification
+ */
+! # define HAVE_LOCALE_H 0
+
+ /*
+--- 33,37 ----
+ * conversion/classification
+ */
+! # define HAVE_LOCALE_H 1
+
+ /*
+***************
+*** 39,48 ****
+ * very weak replacement is used to find matching services
+ */
+! # define HAVE_REGEX_H 0
+
+ /*
+ * one of these is required for SysV like lockfiles
+ */
+! # define HAVE_SYS_SYSMACROS_H 1
+ # define HAVE_SYS_MKDEV_H 0
+
+--- 39,48 ----
+ * very weak replacement is used to find matching services
+ */
+! # define HAVE_REGEX_H 1
+
+ /*
+ * one of these is required for SysV like lockfiles
+ */
+! # define HAVE_SYS_SYSMACROS_H 0
+ # define HAVE_SYS_MKDEV_H 0
+
+***************
+*** 62,72 ****
+ * to get valid return values from localtime
+ */
+! # define HAVE_TZSET 0
+
+ /*
+ * If these are not set, chmod()/chown() are used
+ */
+! # define HAVE_FCHMOD 0
+! # define HAVE_FCHOWN 0
+
+ /*
+--- 62,72 ----
+ * to get valid return values from localtime
+ */
+! # define HAVE_TZSET 1
+
+ /*
+ * If these are not set, chmod()/chown() are used
+ */
+! # define HAVE_FCHMOD 1
+! # define HAVE_FCHOWN 1
+
+ /*
+***************
+*** 74,78 ****
+ * longjmp() from the signal handler leads into chaos
+ */
+! # define HAVE_SIGSETJMP 0
+
+ /*
+--- 74,78 ----
+ * longjmp() from the signal handler leads into chaos
+ */
+! # define HAVE_SIGSETJMP 1
+
+ /*
+***************
+*** 106,110 ****
+ * set this to 1, otherwise to 0
+ */
+! # define BROKEN_REALLOC 1
+
+ /* -------------- END OF CHANGEABLE PART ------------------ */
+--- 106,110 ----
+ * set this to 1, otherwise to 0
+ */
+! # define BROKEN_REALLOC 0
+
+ /* -------------- END OF CHANGEABLE PART ------------------ */
diff --git a/comms/yaps/files/patch-ac b/comms/yaps/files/patch-ac
new file mode 100644
index 000000000000..8981d1b16890
--- /dev/null
+++ b/comms/yaps/files/patch-ac
@@ -0,0 +1,10 @@
+*** valid.c~ Tue Jun 3 12:09:49 1997
+--- valid.c Tue Sep 29 15:26:39 1998
+***************
+*** 4,7 ****
+--- 4,8 ----
+ # include <stdlib.h>
+ # include <string.h>
++ # include <sys/types.h>
+ # include "pager.h"
+ # include "valid.h"
diff --git a/comms/yaps/files/patch-ad b/comms/yaps/files/patch-ad
new file mode 100644
index 000000000000..c967ef0d77f0
--- /dev/null
+++ b/comms/yaps/files/patch-ad
@@ -0,0 +1,13 @@
+*** tty.c~ Sat Jun 7 16:32:21 1997
+--- tty.c Tue Sep 29 15:32:05 1998
+***************
+*** 23,28 ****
+--- 23,30 ----
+ # include <sys/mkdev.h>
+ # else /* ! HAVE_SYS_SYSMACROS_H && ! HAVE_SYS_MKDEV_H */
++ # ifndef major
+ # define major(xx) (((xx) >> 8) & 0xff)
+ # define minor(xx) ((xx) & 0xff)
++ # endif /* major */
+ # endif /* HAVE_SYS_SYSMACROS_H || HAVE_SYS_MKDEV_H */
+ # include "pager.h"
diff --git a/comms/yaps/pkg-comment b/comms/yaps/pkg-comment
new file mode 100644
index 000000000000..7d474ab92cbf
--- /dev/null
+++ b/comms/yaps/pkg-comment
@@ -0,0 +1 @@
+Yet Another Pager Software: send messages to pager (SMS, TAP, ...)
diff --git a/comms/yaps/pkg-descr b/comms/yaps/pkg-descr
new file mode 100644
index 000000000000..d76141b789d6
--- /dev/null
+++ b/comms/yaps/pkg-descr
@@ -0,0 +1,5 @@
+Send messages to pager devices (incl. cellular phones via SMS) using a
+modem gateway provided by the service company. This software is highly
+configurable, a sample configuration is included for German pager and
+mobile phone services (D1, D2, E+, Telmi, Telmi-Fun, Telmi-Family,
+Telmi-Top, Telmi-Pro, Skyper, Quix).
diff --git a/comms/yaps/pkg-plist b/comms/yaps/pkg-plist
new file mode 100644
index 000000000000..56244edfe948
--- /dev/null
+++ b/comms/yaps/pkg-plist
@@ -0,0 +1,7 @@
+bin/yaps
+@exec mkdir %D/lib/yaps
+etc/yaps.rc.sample
+share/doc/yaps/yaps.doc
+share/doc/yaps/yaps.html
+@dirrm share/doc/yaps
+@dirrm lib/yaps