From 80bda2039b95843d0b2759d9f4643085f8fa76ea Mon Sep 17 00:00:00 2001 From: mbalmer Date: Sun, 29 Oct 2006 14:37:30 +0000 Subject: [PATCH] An LDAP enabled MDA to deliver email to mobile phones via SMS, using Hylafax's sendpage command. --- mail/smsmail/Makefile | 35 +++++++++++++++++++++++++++++++++++ mail/smsmail/distinfo | 4 ++++ mail/smsmail/pkg/DESCR | 1 + mail/smsmail/pkg/PLIST | 8 ++++++++ 4 files changed, 48 insertions(+) create mode 100644 mail/smsmail/Makefile create mode 100644 mail/smsmail/distinfo create mode 100644 mail/smsmail/pkg/DESCR create mode 100644 mail/smsmail/pkg/PLIST diff --git a/mail/smsmail/Makefile b/mail/smsmail/Makefile new file mode 100644 index 00000000000..a1c38fa40a9 --- /dev/null +++ b/mail/smsmail/Makefile @@ -0,0 +1,35 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2006/10/29 14:37:30 mbalmer Exp $ + +COMMENT= "LDAP enabled MDA to deliver mails as SMS" + +DISTNAME= smsmail-1.0.2 + +CATEGORIES= mail + +HOMEPAGE= http://www.etc.msys.ch/software/smsmail/ + +MAINTAINER= Marc Balmer + +SHARED_ONLY= Yes + +# BSD +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +WANTLIB= c pthread + +MASTER_SITES= ftp://ftp.etc.msys.ch/pub/sources/smsmail/ +EXTRACT_SUFX= .tgz + +LIB_DEPENDS= ldap_r.>=8,lber.>=8::databases/openldap +RUN_DEPENDS= ::comms/hylafax + +NO_REGRESS= Yes + +post-install: + cp ${WRKSRC}/etc/openldap/schema/sms.schema \ + ${PREFIX}/share/examples/smsmail + +.include diff --git a/mail/smsmail/distinfo b/mail/smsmail/distinfo new file mode 100644 index 00000000000..ebf256fb762 --- /dev/null +++ b/mail/smsmail/distinfo @@ -0,0 +1,4 @@ +MD5 (smsmail-1.0.2.tgz) = 9991b9b632cb7bba54a138bbb94ef858 +RMD160 (smsmail-1.0.2.tgz) = c22f37136ceeb893e0784308ead860cb657480cb +SHA1 (smsmail-1.0.2.tgz) = ea229eddb251f169d0fb824f17d0335065991a39 +SIZE (smsmail-1.0.2.tgz) = 9598 diff --git a/mail/smsmail/pkg/DESCR b/mail/smsmail/pkg/DESCR new file mode 100644 index 00000000000..b6c488b7f4a --- /dev/null +++ b/mail/smsmail/pkg/DESCR @@ -0,0 +1 @@ +An LDAP enabled SMS mailer. diff --git a/mail/smsmail/pkg/PLIST b/mail/smsmail/pkg/PLIST new file mode 100644 index 00000000000..f6e0d739527 --- /dev/null +++ b/mail/smsmail/pkg/PLIST @@ -0,0 +1,8 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2006/10/29 14:37:30 mbalmer Exp $ +bin/smsmail +@man man/cat1/smsmail.0 +@man man/cat5/smsmail.conf.0 +share/examples/smsmail/ +share/examples/smsmail/sms.schema +share/examples/smsmail/smsmail.conf +@sample ${SYSCONFDIR}/smsmail.conf