Changeset 2e815e5
- Timestamp:
- 2014-02-28T23:14:11Z (11 years ago)
- Branches:
- master
- Children:
- 35987a1
- Parents:
- 6ae1056 (diff), cb90dc9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile
r6ae1056 r2e815e5 91 91 install-bin: 92 92 mkdir -p $(DESTDIR)$(SBINDIR) 93 install-m 0755 $(OUTFILE) $(DESTDIR)$(SBINDIR)/$(OUTFILE)93 $(INSTALL) -m 0755 $(OUTFILE) $(DESTDIR)$(SBINDIR)/$(OUTFILE) 94 94 95 95 uninstall-bin: … … 98 98 install-dev: 99 99 mkdir -p $(DESTDIR)$(INCLUDEDIR) 100 install-m 0644 config.h $(DESTDIR)$(INCLUDEDIR)101 for i in $(headers); do install-m 0644 $(_SRCDIR_)$$i $(DESTDIR)$(INCLUDEDIR); done100 $(INSTALL) -m 0644 config.h $(DESTDIR)$(INCLUDEDIR) 101 for i in $(headers); do $(INSTALL) -m 0644 $(_SRCDIR_)$$i $(DESTDIR)$(INCLUDEDIR); done 102 102 mkdir -p $(DESTDIR)$(PCDIR) 103 install-m 0644 bitlbee.pc $(DESTDIR)$(PCDIR)103 $(INSTALL) -m 0644 bitlbee.pc $(DESTDIR)$(PCDIR) 104 104 105 105 uninstall-dev: … … 110 110 install-etc: 111 111 mkdir -p $(DESTDIR)$(ETCDIR) 112 install-m 0644 $(_SRCDIR_)motd.txt $(DESTDIR)$(ETCDIR)/motd.txt113 install-m 0644 $(_SRCDIR_)bitlbee.conf $(DESTDIR)$(ETCDIR)/bitlbee.conf112 $(INSTALL) -m 0644 $(_SRCDIR_)motd.txt $(DESTDIR)$(ETCDIR)/motd.txt 113 $(INSTALL) -m 0644 $(_SRCDIR_)bitlbee.conf $(DESTDIR)$(ETCDIR)/bitlbee.conf 114 114 115 115 uninstall-etc: … … 123 123 ifdef OTR_PI 124 124 mkdir -p $(DESTDIR)$(PLUGINDIR) 125 install-m 0755 otr.so $(DESTDIR)$(PLUGINDIR)125 $(INSTALL) -m 0755 otr.so $(DESTDIR)$(PLUGINDIR) 126 126 endif 127 127 … … 129 129 ifdef SKYPE_PI 130 130 mkdir -p $(DESTDIR)$(PLUGINDIR) 131 install-m 0755 skype.so $(DESTDIR)$(PLUGINDIR)131 $(INSTALL) -m 0755 skype.so $(DESTDIR)$(PLUGINDIR) 132 132 mkdir -p $(DESTDIR)$(ETCDIR)/../skyped $(DESTDIR)$(BINDIR) 133 install-m 0644 $(_SRCDIR_)protocols/skype/skyped.cnf $(DESTDIR)$(ETCDIR)/../skyped/skyped.cnf134 install-m 0644 $(_SRCDIR_)protocols/skype/skyped.conf.dist $(DESTDIR)$(ETCDIR)/../skyped/skyped.conf135 install-m 0755 $(_SRCDIR_)protocols/skype/skyped.py $(DESTDIR)$(BINDIR)/skyped136 make-C protocols/skype install-doc133 $(INSTALL) -m 0644 $(_SRCDIR_)protocols/skype/skyped.cnf $(DESTDIR)$(ETCDIR)/../skyped/skyped.cnf 134 $(INSTALL) -m 0644 $(_SRCDIR_)protocols/skype/skyped.conf.dist $(DESTDIR)$(ETCDIR)/../skyped/skyped.conf 135 $(INSTALL) -m 0755 $(_SRCDIR_)protocols/skype/skyped.py $(DESTDIR)$(BINDIR)/skyped 136 $(MAKE) -C protocols/skype install-doc 137 137 endif 138 138 … … 147 147 ifeq ($(shell id -u),0) 148 148 mkdir -p $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR) 149 install-m 0644 init/bitlbee.service $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR)150 install-m 0644 init/bitlbee@.service $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR)151 install-m 0644 init/bitlbee.socket $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR)149 $(INSTALL) -m 0644 init/bitlbee.service $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR) 150 $(INSTALL) -m 0644 init/bitlbee@.service $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR) 151 $(INSTALL) -m 0644 init/bitlbee.socket $(DESTDIR)$(SYSTEMDSYSTEMUNITDIR) 152 152 else 153 153 @echo Not root, so not installing systemd files. -
configure
r6ae1056 r2e815e5 480 480 481 481 if [ "$plugins" = 0 ]; then 482 plugindir="" 482 483 echo '#undef WITH_PLUGINS' >> config.h 483 484 else … … 571 572 prefix=$prefix 572 573 includedir=$includedir 574 plugindir=$plugindir 573 575 574 576 Name: bitlbee -
init/bitlbee.socket
r6ae1056 r2e815e5 3 3 4 4 [Socket] 5 ListenStream=127.0.0.1:6667 5 ListenStream=6667 6 BindToDevice=lo 6 7 Accept=yes 7 8 -
irc_im.c
r6ae1056 r2e815e5 626 626 irc_user_t *iu = bu->ui_data; 627 627 irc_channel_t *ic = c->ui_data; 628 char * ts = NULL;628 char *wrapped, *ts = NULL; 629 629 630 630 if( ic == NULL ) … … 634 634 ts = irc_format_timestamp( irc, sent_at ); 635 635 636 irc_send_msg( iu, "PRIVMSG", ic->name, msg, ts ); 636 wrapped = word_wrap( msg, 425 ); 637 irc_send_msg( iu, "PRIVMSG", ic->name, wrapped, ts ); 637 638 g_free( ts ); 638 639 -
nick.c
r6ae1056 r2e815e5 210 210 "UTF-8", "", NULL, NULL, NULL ); 211 211 212 if( chop && ( s = strchr( part, chop ) ) )212 if( part && chop && ( s = strchr( part, chop ) ) ) 213 213 len = MIN( len, s - part ); 214 214 -
protocols/jabber/jabber_util.c
r6ae1056 r2e815e5 289 289 struct jabber_buddy_ask_data *bla = data; 290 290 291 presence_send_request( bla->ic, bla->handle, " subscribed" );291 presence_send_request( bla->ic, bla->handle, "unsubscribed" ); 292 292 293 293 g_free( bla->handle ); -
tests/check_nick.c
r6ae1056 r2e815e5 7 7 #include "set.h" 8 8 #include "misc.h" 9 #include "bitlbee.h" 9 10 10 11 START_TEST(test_nick_strip) … … 31 32 char copy[60]; 32 33 strcpy(copy, get[i]); 33 nick_strip( copy);34 nick_strip(NULL, copy); 34 35 fail_unless (strcmp(copy, expected[i]) == 0, 35 36 "(%d) nick_strip broken: %s -> %s (expected: %s)", … … 46 47 47 48 for (i = 0; nicks[i]; i++) { 48 fail_unless (nick_ok( nicks[i]) == 1,49 fail_unless (nick_ok(NULL, nicks[i]) == 1, 49 50 "nick_ok() failed: %s", nicks[i]); 50 51 } … … 59 60 60 61 for (i = 0; nicks[i]; i++) { 61 fail_unless (nick_ok( nicks[i]) == 0,62 fail_unless (nick_ok(NULL, nicks[i]) == 0, 62 63 "nick_ok() succeeded for invalid: %s", nicks[i]); 63 64 }
Note: See TracChangeset
for help on using the changeset viewer.