Module: kamailio Branch: master Commit: 559b8488beb2bd3e231c4d0e54061ab69daf95d6 URL: https://github.com/kamailio/kamailio/commit/559b8488beb2bd3e231c4d0e54061ab69daf95d6
Author: Victor Seva <[email protected]> Committer: Victor Seva <[email protected]> Date: 2015-08-12T11:05:41+02:00 Merge pull request #285 from kamailio/vseva/kamcmd_version_nodate kamcmd: support VERSION_NODATE and VERSION_DATE for reproducible builds --- Modified: utils/kamcmd/kamcmd.c --- Diff: https://github.com/kamailio/kamailio/commit/559b8488beb2bd3e231c4d0e54061ab69daf95d6.diff Patch: https://github.com/kamailio/kamailio/commit/559b8488beb2bd3e231c4d0e54061ab69daf95d6.patch --- diff --git a/utils/kamcmd/kamcmd.c b/utils/kamcmd/kamcmd.c index 974127c..a49bb3a 100644 --- a/utils/kamcmd/kamcmd.c +++ b/utils/kamcmd/kamcmd.c @@ -87,7 +87,15 @@ static char id[]="$Id$"; static char version[]= NAME " " VERSION; +#ifdef VERSION_NODATE +static char compiled[] = ""; +#else +#ifdef VERSION_DATE +static char compiled[]= VERSION_DATE; +#else static char compiled[]= __TIME__ " " __DATE__; +#endif +#endif static char help_msg[]="\ Usage: " NAME " [options][-s address] [ cmd ]\n\ Options:\n\ _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
