Commit Graph

9 Commits

Author SHA1 Message Date
Zach Bloomquist e54e9557dd `make install` no longer fails if .znc/modules does not exist 2015-04-05 18:57:46 -04:00
Chris Weyl 4cf7a22f24 ensure push.so is linked with libcurl properly
It looks as if the push module was not actually linking against the libcurl
shared library without these additional flags being passed.
2014-01-27 18:00:18 -08:00
John Reese 77ce3e8c1a Add support for using curl instead of CSocket
When compiling with USE_CURL defined, znc push will use libcurl for
making http requests instead of ZNC's builtin CSocket library.  This
enables some advanced features, such as supporting HTTP proxies for
outbound requests.

Currently, building with curl support requires running the following:

    make curl=yes clean install

libcurl must already be installed and accessible by default.  Otherwise,
it is up to the user to populate CXXFLAGS with the appropriate values so
that znc-buildmod can appropriately find and link libcurl to the module.
2013-10-28 17:01:32 -07:00
John Reese 97791061a7 Update build version to flag a dirty working copy
When building with a dirty working copy, that should be made clear in
the build version.  This avoids building from a dirty working copy based
directly from a tag, where it's not obvious that the build contains
local modifications that have not been committed.
2013-08-27 16:45:39 -07:00
John Reese f6e4801c93 Add support for versioning
When building znc-push with the makefile, it will modify the
PUSHVERSION define with version info from `git describe`, build the
module, and then reset PUSHVERSION back to "dev".  When building
directly from znc-buildmod, this will ensure the version is always just
"dev".

A matching command -- `version` -- has been added to the module which
will simply echo the value of PUSHVERSION at the time of compilation.
2013-07-31 17:35:53 +00:00
John Reese 2aaef797f1 New make rule to copy module to default znc path 2012-08-31 11:15:58 -07:00
John Reese a69ec09d6b Rebrand project as ZNC Push
Issue #226
2011-09-29 09:30:08 -04:00
John Reese e2ddfe78e9 Added clean make target 2011-09-28 16:28:10 -04:00
John Reese 80e0da5708 Initial commit, any command triggers HTTP POST
Currently the plugin waits for any command to be sent to *notifo, at
which point it triggers a canned HTTP request to a test URL.  This
canned request will be replaced soon with a proper, authenticated
request to the official Notifo service URL.
2011-01-10 22:33:13 -05:00