Feat: add Slack support

This commit is contained in:
Michele Bologna
2019-01-15 19:53:36 +01:00
parent e5125ecd59
commit 604e876675
2 changed files with 7 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ hg clone https://bitbucket.org/EionRobb/purple-hangouts/ && \
git clone https://alexschroeder.ch/cgit/bitlbee-mastodon && \ git clone https://alexschroeder.ch/cgit/bitlbee-mastodon && \
hg clone https://bitbucket.org/EionRobb/purple-rocketchat && \ hg clone https://bitbucket.org/EionRobb/purple-rocketchat && \
curl -LO# https://github.com/sm00th/bitlbee-discord/archive/0.4.2.tar.gz && \ curl -LO# https://github.com/sm00th/bitlbee-discord/archive/0.4.2.tar.gz && \
git clone https://github.com/dylex/slack-libpurple.git && \
# build bitlbee # build bitlbee
tar zxvf bitlbee-$VERSION.tar.gz && \ tar zxvf bitlbee-$VERSION.tar.gz && \
cd bitlbee-$VERSION && \ cd bitlbee-$VERSION && \
@@ -72,6 +73,10 @@ cd bitlbee-discord-0.4.2/ && \
./configure && \ ./configure && \
make && \ make && \
make install && \ make install && \
# install slack-libpurple
cd && \
cd slack-libpurple && \
make install && \
# libtool --finish # libtool --finish
libtool --finish /usr/local/lib/bitlbee && \ libtool --finish /usr/local/lib/bitlbee && \
# cleanup # cleanup
@@ -87,6 +92,7 @@ rm -fr purple-hangouts && \
rm -rf bitlbee-mastodon && \ rm -rf bitlbee-mastodon && \
rm -rf purple-rocketchat && \ rm -rf purple-rocketchat && \
rm -fr bitlbee-discord-0.4.2/ 0.4.2.tar.gz && \ rm -fr bitlbee-discord-0.4.2/ 0.4.2.tar.gz && \
rm -fr slack-libpurple && \
# add user bitlbee # add user bitlbee
adduser --system --home /var/lib/bitlbee --disabled-password --disabled-login --shell /usr/sbin/nologin bitlbee && \ adduser --system --home /var/lib/bitlbee --disabled-password --disabled-login --shell /usr/sbin/nologin bitlbee && \
touch /var/run/bitlbee.pid && chown bitlbee:nogroup /var/run/bitlbee.pid touch /var/run/bitlbee.pid && chown bitlbee:nogroup /var/run/bitlbee.pid

View File

@@ -12,6 +12,7 @@ In addition to the [Bitlbee's out of the box supported protocols](https://wiki.b
- Mastodon via [bitlbee-mastodon](https://alexschroeder.ch/software/Bitlbee_Mastodon) - Mastodon via [bitlbee-mastodon](https://alexschroeder.ch/software/Bitlbee_Mastodon)
- Rocket.Chat via [purple-rocketchat](https://bitbucket.org/EionRobb/purple-rocketchat/src/default/) - Rocket.Chat via [purple-rocketchat](https://bitbucket.org/EionRobb/purple-rocketchat/src/default/)
- Discord via [bitlbee-discord](https://github.com/sm00th/bitlbee-discord/) - Discord via [bitlbee-discord](https://github.com/sm00th/bitlbee-discord/)
- Slack via [slack-libpurple](https://github.com/dylex/slack-libpurple)
## Base Docker image ## Base Docker image