Commit Graph

12 Commits

Author SHA1 Message Date
Jared 4f69d4874d
Makefile - Escape version a bit more
Closes #212
2018-08-26 14:21:09 -04:00
Lars Kellogg-Stedman 4087133a5e change handling of embedded version information
rather than modifying push.cpp as part of the built process, this
passes in a version string on the command.  This is a little cleaner
(it does not lead to false changes in push.cpp) and makes it easier for a
packager to provide explicit version information, e.g., by passing in
version information to make:

    make version=`lars-test'
2015-09-28 21:54:35 -04:00
John Reese 277630019f Fix makefile/sed -i 2015-09-21 12:57:16 -07:00
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