Changeset 520106c37dca8dd9921431f0385fa4a74fecf4d5
- Timestamp:
- 04/21/11 21:49:32
(2 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1303422572 -0400
- git-parent:
[360c4e69486a75ae673ac8f9c2370b64326280a5]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1303422572 -0400
- Message:
support versioning from git
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| ra2e8387 |
r520106c |
|
| 13 | 13 | sql/reconnoiter_ddl_dump.sql |
|---|
| 14 | 14 | src/lua/src/lua |
|---|
| | 15 | src/noit_version.h |
|---|
| 15 | 16 | src/noitd |
|---|
| 16 | 17 | src/noit.conf |
|---|
| r360c4e6 |
r520106c |
|
| 161 | 161 | AC_SUBST(JAVAPARTS) |
|---|
| 162 | 162 | |
|---|
| 163 | | AC_MSG_CHECKING([determining reconnoiter version]) |
|---|
| 164 | | NOIT_FALLBACK_VERSION=`echo '$Revision$' | awk '{print $2;}'` |
|---|
| 165 | | NOIT_SVNVERSION=`svnversion` |
|---|
| 166 | | if test "x$NOIT_SVNVERSION" = "xexported" ; then |
|---|
| 167 | | NOIT_SVNVERSION="$NOIT_FALLBACK_VERSION" |
|---|
| 168 | | fi |
|---|
| 169 | | AC_DEFINE_UNQUOTED(NOIT_SVNVERSION, "$NOIT_SVNVERSION", [svn version from wc]) |
|---|
| 170 | | AC_MSG_RESULT([$NOIT_SVNVERSION]) |
|---|
| 171 | | |
|---|
| 172 | 163 | # Checks for data types |
|---|
| 173 | 164 | AC_CHECK_SIZEOF(char, 1) |
|---|
| r06601a4 |
r520106c |
|
| 1 | 1 | |
|---|
| 2 | 2 | noit_capabilities_listener.o: noit_capabilities_listener.c noit_defines.h \ |
|---|
| 3 | | noit_config.h noitedit/strlcpy.h noit_config.h eventer/eventer.h \ |
|---|
| 4 | | noit_defines.h utils/noit_log.h noit_defines.h utils/noit_hash.h \ |
|---|
| 5 | | noit_config.h utils/noit_atomic.h eventer/eventer_POSIX_fd_opset.h \ |
|---|
| 6 | | noit_defines.h eventer/eventer.h eventer/eventer_SSL_fd_opset.h \ |
|---|
| | 3 | noit_config.h noitedit/strlcpy.h noit_config.h noit_version.h \ |
|---|
| | 4 | eventer/eventer.h noit_defines.h utils/noit_log.h noit_defines.h \ |
|---|
| | 5 | utils/noit_hash.h noit_config.h utils/noit_atomic.h \ |
|---|
| | 6 | eventer/eventer_POSIX_fd_opset.h noit_defines.h eventer/eventer.h \ |
|---|
| | 7 | eventer/eventer_SSL_fd_opset.h \ |
|---|
| 7 | 8 | eventer/eventer_jobq.h utils/noit_atomic.h utils/noit_sem.h \ |
|---|
| 8 | 9 | noit_listener.h utils/noit_hash.h utils/noit_log.h utils/noit_sem.h \ |
|---|
| … | … | |
| 10 | 11 | utils/noit_skiplist.h noit_conf.h noit_console.h noitedit/histedit.h \ |
|---|
| 11 | 12 | noit_defines.h eventer/eventer.h noit_console_telnet.h \ |
|---|
| 12 | | noit_xml.h \ |
|---|
| | 13 | noit_xml.h \ |
|---|
| 13 | 14 | |
|---|
| 14 | 15 | noit_check.o: noit_check.c noit_defines.h noit_config.h \ |
|---|
| … | … | |
| 20 | 21 | eventer/eventer_jobq.h utils/noit_atomic.h utils/noit_sem.h \ |
|---|
| 21 | 22 | noitedit/histedit.h noit_defines.h eventer/eventer.h \ |
|---|
| 22 | | noit_console_telnet.h noit_check.h \ |
|---|
| | 23 | noit_console_telnet.h \ |
|---|
| | 24 | noit_check.h \ |
|---|
| 23 | 25 | noit_module.h noit_check_tools.h noit_check_tools_shared.h \ |
|---|
| 24 | 26 | noit_check_resolver.h |
|---|
| … | … | |
| 32 | 34 | utils/noit_hash.h utils/noit_skiplist.h noit_conf.h noit_console.h \ |
|---|
| 33 | 35 | noitedit/histedit.h noit_defines.h eventer/eventer.h \ |
|---|
| 34 | | noit_console_telnet.h noit_filters.h \ |
|---|
| | 36 | noit_console_telnet.h \ |
|---|
| | 37 | noit_filters.h \ |
|---|
| 35 | 38 | utils/noit_log.h jlog/jlog.h jlog/jlog_config.h |
|---|
| 36 | 39 | |
|---|
| … | … | |
| 43 | 46 | utils/noit_log.h utils/noit_skiplist.h udns/udns.h noit_console.h \ |
|---|
| 44 | 47 | noitedit/histedit.h noit_defines.h eventer/eventer.h \ |
|---|
| 45 | | noit_console_telnet.h utils/noit_hash.h |
|---|
| | 48 | noit_console_telnet.h utils/noit_hash.h \ |
|---|
| 46 | 49 | |
|---|
| 47 | 50 | noit_check_rest.o: noit_check_rest.c noit_defines.h noit_config.h \ |
|---|
| 48 | 51 | noitedit/strlcpy.h noit_config.h \ |
|---|
| 49 | | noit_listener.h eventer/eventer.h \ |
|---|
| | 52 | noit_listener.h eventer/eventer.h \ |
|---|
| 50 | 53 | noit_defines.h utils/noit_log.h noit_defines.h utils/noit_hash.h \ |
|---|
| 51 | 54 | noit_config.h utils/noit_atomic.h eventer/eventer_POSIX_fd_opset.h \ |
|---|
| … | … | |
| 55 | 58 | noit_check.h utils/noit_skiplist.h noit_conf.h noit_console.h \ |
|---|
| 56 | 59 | noitedit/histedit.h noit_defines.h eventer/eventer.h \ |
|---|
| 57 | | noit_console_telnet.h noit_check_tools.h \ |
|---|
| | 60 | noit_console_telnet.h \ |
|---|
| | 61 | noit_check_tools.h \ |
|---|
| 58 | 62 | noit_module.h noit_check_tools_shared.h noit_conf_private.h \ |
|---|
| 59 | 63 | noit_filters.h |
|---|
| … | … | |
| 84 | 88 | noit_conf.o: noit_conf.c noit_defines.h noit_config.h noitedit/strlcpy.h \ |
|---|
| 85 | 89 | noit_config.h \ |
|---|
| 86 | | noit_conf.h utils/noit_hash.h noit_config.h \ |
|---|
| | 90 | noit_conf.h utils/noit_hash.h noit_config.h \ |
|---|
| 87 | 91 | noit_console.h eventer/eventer.h noit_defines.h utils/noit_log.h \ |
|---|
| 88 | 92 | noit_defines.h utils/noit_hash.h utils/noit_atomic.h noit_config.h \ |
|---|
| … | … | |
| 91 | 95 | eventer/eventer_jobq.h utils/noit_atomic.h utils/noit_sem.h \ |
|---|
| 92 | 96 | noitedit/histedit.h noit_defines.h eventer/eventer.h \ |
|---|
| 93 | | noit_console_telnet.h utils/noit_skiplist.h \ |
|---|
| 94 | | noit_check.h utils/noit_log.h utils/noit_b64.h noit_defines.h |
|---|
| | 97 | noit_console_telnet.h \ |
|---|
| | 98 | utils/noit_skiplist.h \ |
|---|
| | 99 | noit_check.h utils/noit_log.h \ |
|---|
| | 100 | utils/noit_b64.h noit_defines.h |
|---|
| 95 | 101 | |
|---|
| 96 | 102 | noit_conf_checks.o: noit_conf_checks.c noit_defines.h noit_config.h \ |
|---|
| 97 | 103 | noitedit/strlcpy.h noit_config.h \ |
|---|
| 98 | | noit_conf.h utils/noit_hash.h \ |
|---|
| | 104 | noit_conf.h utils/noit_hash.h \ |
|---|
| 99 | 105 | noit_config.h noit_console.h eventer/eventer.h noit_defines.h \ |
|---|
| 100 | 106 | utils/noit_log.h noit_defines.h utils/noit_hash.h utils/noit_atomic.h \ |
|---|
| … | … | |
| 103 | 109 | eventer/eventer_jobq.h utils/noit_atomic.h utils/noit_sem.h \ |
|---|
| 104 | 110 | noitedit/histedit.h noit_defines.h eventer/eventer.h \ |
|---|
| 105 | | noit_console_telnet.h utils/noit_skiplist.h \ |
|---|
| 106 | | noit_conf_private.h noit_conf_checks.h noit_check.h noit_check_tools.h \ |
|---|
| 107 | | noit_module.h noit_check_tools_shared.h noit_filters.h utils/noit_log.h |
|---|
| | 111 | noit_console_telnet.h \ |
|---|
| | 112 | utils/noit_skiplist.h \ |
|---|
| | 113 | noit_conf_private.h noit_conf_checks.h \ |
|---|
| | 114 | noit_check.h noit_check_tools.h noit_module.h noit_check_tools_shared.h \ |
|---|
| | 115 | noit_filters.h utils/noit_log.h |
|---|
| 108 | 116 | |
|---|
| 109 | 117 | noit_console.o: noit_console.c noit_defines.h noit_config.h \ |
|---|
| … | … | |
| 115 | 123 | utils/noit_log.h noit_listener.h utils/noit_hash.h noit_console.h \ |
|---|
| 116 | 124 | noitedit/histedit.h noit_defines.h eventer/eventer.h \ |
|---|
| 117 | | noit_console_telnet.h utils/noit_skiplist.h noit_tokenizer.h \ |
|---|
| | 125 | noit_console_telnet.h \ |
|---|
| | 126 | utils/noit_skiplist.h noit_tokenizer.h \ |
|---|
| 118 | 127 | noitedit/sys.h noitedit/el.h noitedit/tty.h noit_defines.h \ |
|---|
| 119 | 128 | noitedit/histedit.h noitedit/prompt.h noitedit/key.h noitedit/el_term.h \ |
|---|
| … | … | |
| 131 | 140 | utils/noit_log.h noit_listener.h utils/noit_hash.h noit_console.h \ |
|---|
| 132 | 141 | noitedit/histedit.h noit_defines.h eventer/eventer.h \ |
|---|
| 133 | | noit_console_telnet.h utils/noit_skiplist.h noit_tokenizer.h \ |
|---|
| | 142 | noit_console_telnet.h \ |
|---|
| | 143 | utils/noit_skiplist.h noit_tokenizer.h \ |
|---|
| 134 | 144 | noitedit/sys.h noitedit/el.h noitedit/tty.h noit_defines.h \ |
|---|
| 135 | 145 | noitedit/histedit.h noitedit/prompt.h noitedit/key.h noitedit/el_term.h \ |
|---|
| … | … | |
| 140 | 150 | |
|---|
| 141 | 151 | noit_console_state.o: noit_console_state.c noit_defines.h noit_config.h \ |
|---|
| 142 | | noitedit/strlcpy.h noit_config.h eventer/eventer.h noit_defines.h \ |
|---|
| 143 | | utils/noit_log.h noit_defines.h utils/noit_hash.h noit_config.h \ |
|---|
| 144 | | utils/noit_atomic.h eventer/eventer_POSIX_fd_opset.h noit_defines.h \ |
|---|
| 145 | | eventer/eventer.h eventer/eventer_SSL_fd_opset.h \ |
|---|
| | 152 | noitedit/strlcpy.h noit_config.h noit_version.h eventer/eventer.h \ |
|---|
| | 153 | noit_defines.h utils/noit_log.h noit_defines.h utils/noit_hash.h \ |
|---|
| | 154 | noit_config.h utils/noit_atomic.h eventer/eventer_POSIX_fd_opset.h \ |
|---|
| | 155 | noit_defines.h eventer/eventer.h eventer/eventer_SSL_fd_opset.h \ |
|---|
| 146 | 156 | eventer/eventer_jobq.h utils/noit_atomic.h utils/noit_sem.h \ |
|---|
| 147 | 157 | eventer/eventer_jobq.h utils/noit_log.h utils/noit_hash.h \ |
|---|
| 148 | 158 | noit_listener.h noit_console.h noitedit/histedit.h noit_defines.h \ |
|---|
| 149 | | eventer/eventer.h noit_console_telnet.h utils/noit_skiplist.h \ |
|---|
| 150 | | noit_tokenizer.h noit_module.h noit_check.h noit_conf.h \ |
|---|
| | 159 | eventer/eventer.h noit_console_telnet.h \ |
|---|
| | 160 | utils/noit_skiplist.h noit_tokenizer.h \ |
|---|
| | 161 | noit_module.h noit_check.h noit_conf.h |
|---|
| 151 | 162 | |
|---|
| 152 | 163 | noit_console_telnet.o: noit_console_telnet.c noit_defines.h noit_config.h \ |
|---|
| … | … | |
| 157 | 168 | eventer/eventer_jobq.h utils/noit_atomic.h utils/noit_sem.h \ |
|---|
| 158 | 169 | noitedit/histedit.h noit_defines.h eventer/eventer.h \ |
|---|
| 159 | | noit_console_telnet.h utils/noit_hash.h utils/noit_skiplist.h |
|---|
| | 170 | noit_console_telnet.h utils/noit_hash.h \ |
|---|
| | 171 | utils/noit_skiplist.h |
|---|
| 160 | 172 | |
|---|
| 161 | 173 | noit_filters.o: noit_filters.c noit_defines.h noit_config.h \ |
|---|
| … | … | |
| 167 | 179 | eventer/eventer_jobq.h utils/noit_atomic.h utils/noit_sem.h \ |
|---|
| 168 | 180 | noitedit/histedit.h noit_defines.h eventer/eventer.h \ |
|---|
| 169 | | noit_console_telnet.h utils/noit_skiplist.h \ |
|---|
| 170 | | noit_check.h noit_conf_checks.h noit_filters.h \ |
|---|
| | 181 | noit_console_telnet.h \ |
|---|
| | 182 | utils/noit_skiplist.h \ |
|---|
| | 183 | noit_check.h noit_conf_checks.h \ |
|---|
| | 184 | noit_filters.h \ |
|---|
| 171 | 185 | |
|---|
| 172 | 186 | noit_filters_rest.o: noit_filters_rest.c noit_defines.h noit_config.h \ |
|---|
| 173 | 187 | noitedit/strlcpy.h noit_config.h \ |
|---|
| 174 | | noit_listener.h eventer/eventer.h \ |
|---|
| | 188 | noit_listener.h eventer/eventer.h \ |
|---|
| 175 | 189 | noit_defines.h utils/noit_log.h noit_defines.h utils/noit_hash.h \ |
|---|
| 176 | 190 | noit_config.h utils/noit_atomic.h eventer/eventer_POSIX_fd_opset.h \ |
|---|
| … | … | |
| 179 | 193 | utils/noit_hash.h noit_http.h utils/noit_atomic.h noit_rest.h \ |
|---|
| 180 | 194 | noit_filters.h noit_console.h noitedit/histedit.h noit_defines.h \ |
|---|
| 181 | | eventer/eventer.h noit_console_telnet.h utils/noit_skiplist.h \ |
|---|
| 182 | | noit_conf.h noit_check.h noit_check_tools.h \ |
|---|
| 183 | | noit_module.h noit_check_tools_shared.h noit_conf_private.h |
|---|
| | 195 | eventer/eventer.h noit_console_telnet.h \ |
|---|
| | 196 | utils/noit_skiplist.h noit_conf.h \ |
|---|
| | 197 | noit_check.h noit_check_tools.h noit_module.h \ |
|---|
| | 198 | noit_check_tools_shared.h noit_conf_private.h |
|---|
| 184 | 199 | |
|---|
| 185 | 200 | noit_http.o: noit_http.c noit_defines.h noit_config.h noitedit/strlcpy.h \ |
|---|
| … | … | |
| 211 | 226 | utils/noit_log.h noit_listener.h utils/noit_hash.h noit_conf.h \ |
|---|
| 212 | 227 | noit_console.h noitedit/histedit.h noit_defines.h eventer/eventer.h \ |
|---|
| 213 | | noit_console_telnet.h utils/noit_skiplist.h |
|---|
| | 228 | noit_console_telnet.h \ |
|---|
| | 229 | utils/noit_skiplist.h \ |
|---|
| 214 | 230 | |
|---|
| 215 | 231 | noit_livestream_listener.o: noit_livestream_listener.c noit_defines.h \ |
|---|
| … | … | |
| 222 | 238 | noit_livestream_listener.h noit_check.h utils/noit_skiplist.h \ |
|---|
| 223 | 239 | noit_conf.h noit_console.h noitedit/histedit.h noit_defines.h \ |
|---|
| 224 | | eventer/eventer.h noit_console_telnet.h |
|---|
| | 240 | eventer/eventer.h noit_console_telnet.h \ |
|---|
| 225 | 241 | |
|---|
| 226 | 242 | noit_module.o: noit_module.c noit_defines.h noit_config.h \ |
|---|
| 227 | 243 | noitedit/strlcpy.h noit_config.h \ |
|---|
| 228 | | noit_module.h utils/noit_hash.h \ |
|---|
| | 244 | noit_module.h utils/noit_hash.h \ |
|---|
| 229 | 245 | noit_config.h noit_check.h eventer/eventer.h noit_defines.h \ |
|---|
| 230 | 246 | utils/noit_log.h noit_defines.h utils/noit_hash.h utils/noit_atomic.h \ |
|---|
| … | … | |
| 234 | 250 | utils/noit_skiplist.h noit_conf.h noit_console.h noitedit/histedit.h \ |
|---|
| 235 | 251 | noit_defines.h eventer/eventer.h noit_console_telnet.h \ |
|---|
| 236 | | utils/noit_log.h module-online.h |
|---|
| | 252 | utils/noit_log.h module-online.h |
|---|
| 237 | 253 | |
|---|
| 238 | 254 | noit_rest.o: noit_rest.c noit_defines.h noit_config.h noitedit/strlcpy.h \ |
|---|
| … | … | |
| 245 | 261 | utils/noit_atomic.h noit_rest.h noit_conf.h noit_console.h \ |
|---|
| 246 | 262 | noitedit/histedit.h noit_defines.h eventer/eventer.h \ |
|---|
| 247 | | noit_console_telnet.h utils/noit_skiplist.h |
|---|
| | 263 | noit_console_telnet.h \ |
|---|
| | 264 | utils/noit_skiplist.h \ |
|---|
| 248 | 265 | |
|---|
| 249 | 266 | noit_tokenizer.o: noit_tokenizer.c noit_defines.h noit_config.h \ |
|---|
| … | … | |
| 263 | 280 | utils/noit_lockfile.h noit_listener.h noit_console.h \ |
|---|
| 264 | 281 | noitedit/histedit.h noit_defines.h eventer/eventer.h \ |
|---|
| 265 | | noit_console_telnet.h utils/noit_skiplist.h noit_jlog_listener.h \ |
|---|
| | 282 | noit_console_telnet.h \ |
|---|
| | 283 | utils/noit_skiplist.h noit_jlog_listener.h \ |
|---|
| 266 | 284 | noit_rest.h noit_http.h \ |
|---|
| 267 | 285 | utils/noit_atomic.h noit_check_rest.h noit_check.h noit_conf.h \ |
|---|
| 268 | | noit_check_tools.h noit_module.h \ |
|---|
| | 286 | noit_check_tools.h noit_module.h \ |
|---|
| 269 | 287 | noit_check_tools_shared.h noit_livestream_listener.h \ |
|---|
| 270 | 288 | noit_capabilities_listener.h noit_conf_checks.h noit_filters.h \ |
|---|
| … | … | |
| 281 | 299 | stratcon_datastore.h utils/noit_hash.h stratcon_realtime_http.h \ |
|---|
| 282 | 300 | noit_conf.h noit_console.h noitedit/histedit.h noit_defines.h \ |
|---|
| 283 | | eventer/eventer.h noit_console_telnet.h utils/noit_skiplist.h \ |
|---|
| 284 | | stratcon_iep.h stratcon_jlog_streamer.h \ |
|---|
| | 301 | eventer/eventer.h noit_console_telnet.h \ |
|---|
| | 302 | utils/noit_skiplist.h \ |
|---|
| | 303 | stratcon_iep.h stratcon_jlog_streamer.h \ |
|---|
| 285 | 304 | utils/noit_atomic.h jlog/jlog.h jlog/jlog_config.h noit_check.h \ |
|---|
| 286 | 305 | noit_rest.h noit_listener.h noit_http.h \ |
|---|
| … | … | |
| 295 | 314 | noit_jlog_listener.h stratcon_jlog_streamer.h noit_conf.h \ |
|---|
| 296 | 315 | utils/noit_hash.h noit_console.h noitedit/histedit.h noit_defines.h \ |
|---|
| 297 | | eventer/eventer.h noit_console_telnet.h utils/noit_skiplist.h \ |
|---|
| 298 | | utils/noit_atomic.h jlog/jlog.h \ |
|---|
| 299 | | jlog/jlog_config.h stratcon_datastore.h stratcon_iep.h noit_check.h |
|---|
| | 316 | eventer/eventer.h noit_console_telnet.h \ |
|---|
| | 317 | utils/noit_skiplist.h \ |
|---|
| | 318 | utils/noit_atomic.h jlog/jlog.h \ |
|---|
| | 319 | jlog/jlog_config.h stratcon_datastore.h stratcon_realtime_http.h \ |
|---|
| | 320 | stratcon_iep.h noit_check.h |
|---|
| 300 | 321 | |
|---|
| 301 | 322 | stratcon_jlog_streamer.o: stratcon_jlog_streamer.c noit_defines.h \ |
|---|
| … | … | |
| 306 | 327 | eventer/eventer_jobq.h utils/noit_atomic.h utils/noit_sem.h noit_conf.h \ |
|---|
| 307 | 328 | utils/noit_hash.h noit_console.h noitedit/histedit.h noit_defines.h \ |
|---|
| 308 | | eventer/eventer.h noit_console_telnet.h utils/noit_skiplist.h \ |
|---|
| 309 | | utils/noit_log.h utils/noit_getip.h \ |
|---|
| | 329 | eventer/eventer.h noit_console_telnet.h \ |
|---|
| | 330 | utils/noit_skiplist.h \ |
|---|
| | 331 | utils/noit_log.h utils/noit_getip.h \ |
|---|
| 310 | 332 | noit_config.h noit_defines.h noit_jlog_listener.h noit_rest.h \ |
|---|
| 311 | 333 | noit_listener.h noit_http.h \ |
|---|
| 312 | | utils/noit_atomic.h stratcon_datastore.h stratcon_jlog_streamer.h \ |
|---|
| 313 | | jlog/jlog.h jlog/jlog_config.h stratcon_iep.h |
|---|
| | 334 | utils/noit_atomic.h stratcon_datastore.h stratcon_realtime_http.h \ |
|---|
| | 335 | stratcon_jlog_streamer.h jlog/jlog.h jlog/jlog_config.h stratcon_iep.h |
|---|
| 314 | 336 | |
|---|
| 315 | 337 | stratcon_realtime_http.o: stratcon_realtime_http.c noit_defines.h \ |
|---|
| … | … | |
| 320 | 342 | eventer/eventer_jobq.h utils/noit_atomic.h utils/noit_sem.h noit_conf.h \ |
|---|
| 321 | 343 | utils/noit_hash.h noit_console.h noitedit/histedit.h noit_defines.h \ |
|---|
| 322 | | eventer/eventer.h noit_console_telnet.h utils/noit_skiplist.h \ |
|---|
| 323 | | utils/noit_log.h utils/noit_str.h \ |
|---|
| | 344 | eventer/eventer.h noit_console_telnet.h \ |
|---|
| | 345 | utils/noit_skiplist.h \ |
|---|
| | 346 | utils/noit_log.h utils/noit_str.h \ |
|---|
| 324 | 347 | noit_defines.h jlog/jlog.h jlog/jlog_config.h noit_jlog_listener.h \ |
|---|
| 325 | 348 | noit_listener.h noit_http.h \ |
|---|
| … | … | |
| 337 | 360 | utils/noit_lockfile.h noit_listener.h noit_console.h \ |
|---|
| 338 | 361 | noitedit/histedit.h noit_defines.h eventer/eventer.h \ |
|---|
| 339 | | noit_console_telnet.h utils/noit_skiplist.h noit_module.h noit_check.h \ |
|---|
| 340 | | noit_conf.h noit_rest.h noit_http.h \ |
|---|
| | 362 | noit_console_telnet.h \ |
|---|
| | 363 | utils/noit_skiplist.h noit_module.h \ |
|---|
| | 364 | noit_check.h noit_conf.h noit_rest.h \ |
|---|
| | 365 | noit_http.h \ |
|---|
| 341 | 366 | utils/noit_atomic.h noit_capabilities_listener.h \ |
|---|
| 342 | 367 | stratcon_jlog_streamer.h jlog/jlog.h jlog/jlog_config.h \ |
|---|
| 343 | | stratcon_datastore.h stratcon_iep.h stratcon_realtime_http.h \ |
|---|
| | 368 | stratcon_datastore.h stratcon_realtime_http.h stratcon_iep.h \ |
|---|
| 344 | 369 | man/stratcond.usage.h |
|---|
| rae3cdae |
r520106c |
|
| 41 | 41 | noit_check_tools_shared.h \ |
|---|
| 42 | 42 | noit_check_tools.h noit_conf.h noit_conf_checks.h noit_conf_private.h \ |
|---|
| | 43 | noit_version.h \ |
|---|
| 43 | 44 | noit_config.h noit_console.h noit_console_telnet.h noit_defines.h \ |
|---|
| 44 | 45 | noit_filters.h noit_http.h noit_jlog_listener.h noit_listener.h \ |
|---|
| … | … | |
| 132 | 133 | json-lib/libnoitjson.a: libnoitjson |
|---|
| 133 | 134 | |
|---|
| | 135 | .PHONY: noit_version.h |
|---|
| | 136 | |
|---|
| | 137 | noit_version.h: |
|---|
| | 138 | @$(top_srcdir)/buildtools/mkversion.sh noit_version.h |
|---|
| | 139 | |
|---|
| 134 | 140 | man/noitd.usage.h: make-man |
|---|
| 135 | 141 | |
|---|
| rec0f79b |
r520106c |
|
| 32 | 32 | |
|---|
| 33 | 33 | #include "noit_defines.h" |
|---|
| | 34 | #include "noit_version.h" |
|---|
| 34 | 35 | #include "eventer/eventer.h" |
|---|
| 35 | 36 | #include "noit_listener.h" |
|---|
| r56cf490 |
r520106c |
|
| 275 | 275 | typedef enum { noit_false = 0, noit_true } noit_boolean; |
|---|
| 276 | 276 | |
|---|
| 277 | | #define NOIT_HEADURL "$HeadURL$" |
|---|
| 278 | | #undef NOIT_SVNVERSION |
|---|
| 279 | | |
|---|
| 280 | | #endif |
|---|
| | 277 | #endif |
|---|
| r9be14ab |
r520106c |
|
| 32 | 32 | |
|---|
| 33 | 33 | #include "noit_defines.h" |
|---|
| 34 | | |
|---|
| | 34 | #include "noit_version.h" |
|---|
| 35 | 35 | #include "eventer/eventer.h" |
|---|
| 36 | 36 | #include "eventer/eventer_jobq.h" |
|---|
| … | … | |
| 144 | 144 | cmd_info_t console_command_eventer_jobq = { |
|---|
| 145 | 145 | "jobq", noit_console_eventer_jobq, NULL, NULL, NULL |
|---|
| | 146 | }; |
|---|
| | 147 | |
|---|
| | 148 | static int |
|---|
| | 149 | noit_console_version(noit_console_closure_t ncct, int argc, char **argv, |
|---|
| | 150 | noit_console_state_t *dstate, void *unused) { |
|---|
| | 151 | char buff[256]; |
|---|
| | 152 | noit_build_version(buff, sizeof(buff)); |
|---|
| | 153 | nc_printf(ncct, "version: %s\n", buff); |
|---|
| | 154 | return 0; |
|---|
| | 155 | } |
|---|
| | 156 | cmd_info_t console_command_version = { |
|---|
| | 157 | "version", noit_console_version, NULL, NULL, NULL |
|---|
| 146 | 158 | }; |
|---|
| 147 | 159 | |
|---|
| … | … | |
| 509 | 521 | noit_console_state_add_cmd(_top_level_state, &console_command_shutdown); |
|---|
| 510 | 522 | noit_console_state_add_cmd(_top_level_state, &console_command_restart); |
|---|
| | 523 | noit_console_state_add_cmd(show_state, &console_command_version); |
|---|
| 511 | 524 | |
|---|
| 512 | 525 | evdeb = noit_console_mksubdelegate( |
|---|
| r9bdec91 |
r520106c |
|
| 112 | 112 | #define HAVE_IPv6 |
|---|
| 113 | 113 | |
|---|
| 114 | | #include <stdio.h> |
|---|
| 115 | | |
|---|
| 116 | | static inline int noit_build_version(char *buff, int len) { |
|---|
| 117 | | const char *v = NOIT_HEADURL; |
|---|
| 118 | | const char *start, *end, *ns; |
|---|
| 119 | | if(NULL != (start = strstr(v, "reconnoiter/"))) { |
|---|
| 120 | | start += strlen("reconnoiter/"); |
|---|
| 121 | | if(NULL != (end = strstr(start, "/src"))) { |
|---|
| 122 | | ns = strchr(start, '/'); /* necessarily non-NULL */ |
|---|
| 123 | | ns++; |
|---|
| 124 | | if(!strncmp(start, "trunk/", 6)) |
|---|
| 125 | | return snprintf(buff, len, "trunk.%s", NOIT_SVNVERSION); |
|---|
| 126 | | if(!strncmp(start, "branches/", 9)) |
|---|
| 127 | | return snprintf(buff, len, "b_%.*s.%s", (int)(end - ns), ns, NOIT_SVNVERSION); |
|---|
| 128 | | if(!strncmp(start, "tags/", 5)) |
|---|
| 129 | | return snprintf(buff, len, "%.*s.%s", (int)(end - ns), ns, NOIT_SVNVERSION); |
|---|
| 130 | | } |
|---|
| 131 | | } |
|---|
| 132 | | return snprintf(buff, len, "unknown.%s", NOIT_SVNVERSION); |
|---|
| 133 | | } |
|---|
| 134 | | |
|---|
| 135 | 114 | #if defined(__sun) && !defined(HAVE_POSIX_READDIR_R) |
|---|
| 136 | 115 | #define portable_readdir_r(a,b,c) (((*c) = readdir_r(a,b)) != NULL) |
|---|