Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2018 00:53:41 +0000 (UTC)
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484375 - in head/irc: . znc-push znc-push/files
Message-ID:  <201811070053.wA70rfsg005588@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbaio
Date: Wed Nov  7 00:53:41 2018
New Revision: 484375
URL: https://svnweb.freebsd.org/changeset/ports/484375

Log:
  Add irc/znc-push: Push notification service module for ZNC
  
  ZNC Push is a module for ZNC that will send notifications to multiple push
  notification services, or SMS for any private message or channel highlight that
  matches a configurable set of conditions. ZNC Push current supports the
  following services:
  
    Boxcar
    Boxcar 2
    Discord
    Faast
    Nexmo
    Notify My Android (NMA)
    Prowl
    Pushalot
    PushBullet
    Pushjet
    Pushover
    Pushsafer
    Slack
    Supertoasty
    Telegram
    Custom URL GET requests
  
  WWW: https://github.com/jreese/znc-push
  
  PR:		232409
  Submitted by:	David O'Rourke <dor.bsd@xm0.uk>

Added:
  head/irc/znc-push/
  head/irc/znc-push/Makefile   (contents, props changed)
  head/irc/znc-push/distinfo   (contents, props changed)
  head/irc/znc-push/files/
  head/irc/znc-push/files/patch-Makefile   (contents, props changed)
  head/irc/znc-push/pkg-descr   (contents, props changed)
Modified:
  head/irc/Makefile

Modified: head/irc/Makefile
==============================================================================
--- head/irc/Makefile	Wed Nov  7 00:28:16 2018	(r484374)
+++ head/irc/Makefile	Wed Nov  7 00:53:41 2018	(r484375)
@@ -125,5 +125,6 @@
     SUBDIR += weechat-otr
     SUBDIR += xaric
     SUBDIR += znc
+    SUBDIR += znc-push
 
 .include <bsd.port.subdir.mk>

Added: head/irc/znc-push/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/znc-push/Makefile	Wed Nov  7 00:53:41 2018	(r484375)
@@ -0,0 +1,44 @@
+# $FreeBSD$
+
+PORTNAME=	znc-push
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.0.0-165
+DISTVERSIONSUFFIX=	-g0a36b1c
+CATEGORIES=	irc
+
+MAINTAINER=	dor.bsd@xm0.uk
+COMMENT=	Push notification service module for ZNC
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	znc:irc/znc
+LIB_DEPENDS=	libicudata.so:devel/icu
+RUN_DEPENDS=	znc:irc/znc
+
+USES=	gmake ssl
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	jreese
+
+MAKE_ENV=	version=${PORTVERSION}
+
+PLIST_FILES=	lib/znc/push.so
+PORTDOCS=	*.md
+
+OPTIONS_DEFINE=	CURL DOCS
+
+CURL_DESC=	Use curl for HTTP requests
+CURL_LIB_DEPENDS=	libcurl.so:ftp/curl
+CURL_MAKE_ENV=	curl=yes
+
+do-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/lib/znc
+	${INSTALL_PROGRAM} ${WRKSRC}/push.so ${STAGEDIR}${PREFIX}/lib/znc/push.so
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/znc/push.so
+
+do-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/README.md ${WRKSRC}/doc/*.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/irc/znc-push/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/znc-push/distinfo	Wed Nov  7 00:53:41 2018	(r484375)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1541547602
+SHA256 (jreese-znc-push-v1.0.0-165-g0a36b1c_GH0.tar.gz) = c0f1ccf8634424828ac70a37d560044bd8ff2bf2a9b046ac412b1bacfa68a097
+SIZE (jreese-znc-push-v1.0.0-165-g0a36b1c_GH0.tar.gz) = 497827

Added: head/irc/znc-push/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/znc-push/files/patch-Makefile	Wed Nov  7 00:53:41 2018	(r484375)
@@ -0,0 +1,9 @@
+--- Makefile.orig	2018-08-27 02:38:08 UTC
++++ Makefile
+@@ -1,5 +1,4 @@
+-version = $(shell git describe --dirty || echo dev)
+-curl=no
++curl?=no
+ 
+ ifneq ($(curl),no)
+ 	flags=-DUSE_CURL -lcurl

Added: head/irc/znc-push/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/irc/znc-push/pkg-descr	Wed Nov  7 00:53:41 2018	(r484375)
@@ -0,0 +1,23 @@
+ZNC Push is a module for ZNC that will send notifications to multiple push
+notification services, or SMS for any private message or channel highlight that
+matches a configurable set of conditions. ZNC Push current supports the
+following services:
+
+  Boxcar
+  Boxcar 2
+  Discord
+  Faast
+  Nexmo
+  Notify My Android (NMA)
+  Prowl
+  Pushalot
+  PushBullet
+  Pushjet
+  Pushover
+  Pushsafer
+  Slack
+  Supertoasty
+  Telegram
+  Custom URL GET requests
+
+WWW: https://github.com/jreese/znc-push



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