Changeset 2e78f75 for protocols


Ignore:
Timestamp:
2016-05-15T17:16:38Z (3 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
d3b99b6
Parents:
4fe91a1
git-author:
Jelmer Vernooij <jelmer@…> (15-05-16 17:12:24)
git-committer:
Jelmer Vernooij <jelmer@…> (15-05-16 17:16:38)
Message:

Remove the ARCH / CPU defines.

These only reflect on what arch/cpu bitlbee was built, not on which
it is running. This makes the Debian package unreproducible.
See e.g.
https://tests.reproducible-builds.org/rb-pkg/testing/i386/bitlbee.html

Location:
protocols
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/iq.c

    r4fe91a1 r2e78f75  
    6767                        xt_add_child(reply, xt_new_node("name", set_getstr(&ic->acc->set, "user_agent"), NULL));
    6868                        xt_add_child(reply, xt_new_node("version", BITLBEE_VERSION, NULL));
    69                         xt_add_child(reply, xt_new_node("os", ARCH, NULL));
    7069                } else if (strcmp(s, XMLNS_TIME_OLD) == 0) {
    7170                        time_t time_ep;
  • protocols/twitter/twitter_http.c

    r4fe91a1 r2e78f75  
    7979        g_string_printf(request, "%s %s%s%s%s HTTP/1.1\r\n"
    8080                        "Host: %s\r\n"
    81                         "User-Agent: BitlBee " BITLBEE_VERSION " " ARCH "/" CPU "\r\n",
     81                        "User-Agent: BitlBee " BITLBEE_VERSION "\r\n",
    8282                        is_post ? "POST" : "GET",
    8383                        base_url ? base_url->file : td->url_path,
Note: See TracChangeset for help on using the changeset viewer.