SHA256
1
0
forked from pool/atheme
atheme/atheme-nodate.diff

51 lines
2.3 KiB
Diff

From: Jan Engelhardt <jengelh@inai.de>
Date: 2012-10-28 01:35:57.295975255 +0200
__DATE__ is not desired; causes unnecessary rebuilds.
---
libathemecore/ctcp-common.c | 2 +-
libathemecore/ptasks.c | 2 +-
modules/operserv/uptime.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Index: atheme-services-7.1.0/libathemecore/ctcp-common.c
===================================================================
--- atheme-services-7.1.0.orig/libathemecore/ctcp-common.c
+++ atheme-services-7.1.0/libathemecore/ctcp-common.c
@@ -44,7 +44,7 @@ static void ctcp_version_handler(sourcei
notice(si->service->nick, si->su->nick,
"\001VERSION %s. %s %s %s [%s] [enc:%s] Build Date: %s\001",
- PACKAGE_STRING, revision, me.name, get_conf_opts(), ircd->ircdname, ci->id, __DATE__);
+ PACKAGE_STRING, revision, me.name, get_conf_opts(), ircd->ircdname, ci->id, "suse");
}
static void ctcp_clientinfo_handler(sourceinfo_t *si, char *cmd, char *args)
Index: atheme-services-7.1.0/libathemecore/ptasks.c
===================================================================
--- atheme-services-7.1.0.orig/libathemecore/ptasks.c
+++ atheme-services-7.1.0/libathemecore/ptasks.c
@@ -51,7 +51,7 @@ void handle_version(user_t *u)
return;
numeric_sts(me.me, 351, u, "%s. %s %s :%s [%s] [enc:%s] Build Date: %s",
- PACKAGE_STRING, me.name, revision, get_conf_opts(), ircd->ircdname, ci->id, __DATE__);
+ PACKAGE_STRING, me.name, revision, get_conf_opts(), ircd->ircdname, ci->id, "suse");
}
void handle_admin(user_t *u)
Index: atheme-services-7.1.0/modules/operserv/uptime.c
===================================================================
--- atheme-services-7.1.0.orig/modules/operserv/uptime.c
+++ atheme-services-7.1.0/modules/operserv/uptime.c
@@ -33,7 +33,7 @@ static void os_cmd_uptime(sourceinfo_t *
{
logcommand(si, CMDLOG_GET, "UPTIME");
- command_success_nodata(si, "%s [%s] Build Date: %s", PACKAGE_STRING, revision, __DATE__);
+ command_success_nodata(si, "%s [%s] Build Date: irrelevant", PACKAGE_STRING, revision);
command_success_nodata(si, _("Services have been up for %s"), timediff(CURRTIME - me.start));
command_success_nodata(si, _("Current PID: %d"), getpid());
command_success_nodata(si, _("Registered accounts: %d"), cnt.myuser);