13 Commits

Author SHA1 Message Date
ezkrg
064739d091 note mooomooos work 2021-07-14 10:58:36 +02:00
Attila Szabó
0eb2c284f7 Merge pull request #22 from mooomooo/attachments
Add flag and deps to enable attachment handling for Signal plugin
2021-07-14 10:42:59 +02:00
mooomooo
796ccbacc8 Add flag and deps to enable attachment handling for Signal plugin (see https://github.com/hoehermann/libpurple-signald/issues/9) 2021-07-13 21:38:40 +00:00
ezkrg
a087e0ad72 delete test dockerfile 2021-06-12 12:49:15 +02:00
ezkrg
e3adfa3528 copy libolm without version 2021-06-11 21:33:18 +02:00
ezkrg
9059f87b25 fix olm lib version 2021-06-11 19:56:34 +02:00
ezkrg
dc3072ee17 fix signal build 2021-06-11 19:56:03 +02:00
ezkrg
169b65f3d2 update plugins 2021-06-11 19:32:10 +02:00
ezkrg
3588344d75 add icyque link 2021-06-07 14:13:33 +02:00
ezkrg
6738827bff add icyque 2021-05-14 17:06:30 +02:00
ezkrg
5dee26c2fb log updates 2021-05-06 15:23:04 +02:00
ezkrg
e926d0870f update skypeweb 2021-05-06 14:41:25 +02:00
ezkrg
e0484eb0da update facebook plugin 2021-05-06 14:00:31 +02:00
3 changed files with 58 additions and 12 deletions

View File

@@ -1,5 +1,22 @@
# Changelog # Changelog
## 2021-07-13 23:38:45 ([mooomooo](https://github.com/mooomooo))
- add flag and deps to enable attachment handling for Signal plugin
## 2021-06-11 19:23:13
- update hangouts
- update slack
- update rocket.chat
- update olm and matrix
- update signal
## 2021-05-14 17:05:39
- add icyque
## 2021-05-06 15:21:19
- update facebook version to 1.2.2
- update skypeweb to c4906b8
## 2020-11-04 03:16:34 ([heywoodlh](https://github.com/heywoodlh)) ## 2020-11-04 03:16:34 ([heywoodlh](https://github.com/heywoodlh))
- add signal - add signal

View File

@@ -40,7 +40,7 @@ RUN echo OTR=${OTR} > /tmp/status \
FROM bitlbee-build as facebook-build FROM bitlbee-build as facebook-build
ARG FACEBOOK=1 ARG FACEBOOK=1
ARG FACEBOOK_VERSION=v1.2.0 ARG FACEBOOK_VERSION=v1.2.2
RUN echo FACEBOOK=${FACEBOOK} > /tmp/status \ RUN echo FACEBOOK=${FACEBOOK} > /tmp/status \
&& if [ ${FACEBOOK} -eq 1 ]; \ && if [ ${FACEBOOK} -eq 1 ]; \
@@ -84,7 +84,7 @@ RUN echo STEAM=${STEAM} > /tmp/status \
FROM bitlbee-build as skypeweb-build FROM bitlbee-build as skypeweb-build
ARG SKYPEWEB=1 ARG SKYPEWEB=1
ARG SKYPEWEB_VERSION=f836eeb ARG SKYPEWEB_VERSION=c4906b8
RUN echo SKYPEWEB=${SKYPEWEB} > /tmp/status \ RUN echo SKYPEWEB=${SKYPEWEB} > /tmp/status \
&& if [ ${SKYPEWEB} -eq 1 ]; \ && if [ ${SKYPEWEB} -eq 1 ]; \
@@ -129,7 +129,7 @@ RUN echo TELEGRAM=${TELEGRAM} > /tmp/status \
FROM bitlbee-build as hangouts-build FROM bitlbee-build as hangouts-build
ARG HANGOUTS=1 ARG HANGOUTS=1
ARG HANGOUTS_VERSION=efa7a53 ARG HANGOUTS_VERSION=e8c8088
RUN echo HANGOUTS=${HANGOUTS} > /tmp/status \ RUN echo HANGOUTS=${HANGOUTS} > /tmp/status \
&& if [ ${HANGOUTS} -eq 1 ]; \ && if [ ${HANGOUTS} -eq 1 ]; \
@@ -149,7 +149,7 @@ RUN echo HANGOUTS=${HANGOUTS} > /tmp/status \
FROM bitlbee-build as slack-build FROM bitlbee-build as slack-build
ARG SLACK=1 ARG SLACK=1
ARG SLACK_VERSION=2e9fa02 ARG SLACK_VERSION=e0c73ae
SHELL [ "/bin/bash", "-c" ] SHELL [ "/bin/bash", "-c" ]
@@ -220,7 +220,7 @@ RUN echo DISCORD=${DISCORD} > /tmp/status \
FROM bitlbee-build as rocketchat-build FROM bitlbee-build as rocketchat-build
ARG ROCKETCHAT=1 ARG ROCKETCHAT=1
ARG ROCKETCHAT_VERSION=5da3e14 ARG ROCKETCHAT_VERSION=62090bc
RUN echo ROCKETCHAT=${ROCKETCHAT} > /tmp/status \ RUN echo ROCKETCHAT=${ROCKETCHAT} > /tmp/status \
&& if [ ${ROCKETCHAT} -eq 1 ]; \ && if [ ${ROCKETCHAT} -eq 1 ]; \
@@ -264,8 +264,8 @@ RUN echo MASTODON=${MASTODON} > /tmp/status \
FROM bitlbee-build as matrix-build FROM bitlbee-build as matrix-build
ARG MATRIX=1 ARG MATRIX=1
ARG OLM_VERSION=3.1.4 ARG OLM_VERSION=3.2.4
ARG MATRIX_VERSION=1d23385 ARG MATRIX_VERSION=2fcd5b8
RUN echo MATRIX=${MATRIX} > /tmp/status \ RUN echo MATRIX=${MATRIX} > /tmp/status \
&& if [ ${MATRIX} -eq 1 ]; \ && if [ ${MATRIX} -eq 1 ]; \
@@ -284,7 +284,7 @@ RUN echo MATRIX=${MATRIX} > /tmp/status \
&& make install \ && make install \
&& strip /usr/lib/purple-2/libmatrix.so; \ && strip /usr/lib/purple-2/libmatrix.so; \
else mkdir -p /usr/lib/purple-2 \ else mkdir -p /usr/lib/purple-2 \
&& ln -sf /nowhere /usr/local/lib/libolm.so.3.1.4 \ && ln -sf /nowhere /usr/local/lib/libolm.so \
&& ln -sf /nowhere /usr/lib/purple-2/libmatrix.so; \ && ln -sf /nowhere /usr/lib/purple-2/libmatrix.so; \
fi fi
@@ -293,15 +293,18 @@ RUN echo MATRIX=${MATRIX} > /tmp/status \
FROM bitlbee-build as signald-build FROM bitlbee-build as signald-build
ARG SIGNAL=1 ARG SIGNAL=1
ARG SIGNAL_VERSION=f53a118 ARG SIGNAL_VERSION=v0.8.1
RUN echo SIGNAL=${SIGNAL} > /tmp/status \ RUN echo SIGNAL=${SIGNAL} > /tmp/status \
&& if [ ${SIGNAL} -eq 1 ]; \ && if [ ${SIGNAL} -eq 1 ]; \
then cd /tmp \ then cd /tmp \
&& apk --no-cache add file-dev libmagic \
&& git clone -n https://github.com/hoehermann/libpurple-signald \ && git clone -n https://github.com/hoehermann/libpurple-signald \
&& cd libpurple-signald \ && cd libpurple-signald \
&& git checkout ${SIGNAL_VERSION} \ && git checkout ${SIGNAL_VERSION} \
&& make \ && git submodule init \
&& git submodule update \
&& make SUPPORT_EXTERNAL_ATTACHMENTS=1 \
&& make install \ && make install \
&& strip /usr/lib/purple-2/libsignald.so; \ && strip /usr/lib/purple-2/libsignald.so; \
else mkdir -p /usr/lib/purple-2 \ else mkdir -p /usr/lib/purple-2 \
@@ -310,6 +313,26 @@ RUN echo SIGNAL=${SIGNAL} > /tmp/status \
# --- # ---
FROM bitlbee-build as icyque-build
ARG ICYQUE=1
ARG ICYQUE_VERSION=4fc08a0
RUN echo ICYQUE=${ICYQUE} > /tmp/status \
&& if [ ${ICYQUE} -eq 1 ]; \
then cd /tmp \
&& git clone -n https://github.com/EionRobb/icyque.git \
&& cd icyque \
&& git checkout ${ICYQUE_VERSION} \
&& make \
&& make install \
&& strip /usr/lib/purple-2/libicyque.so; \
else mkdir -p /usr/lib/purple-2 \
&& ln -sf /nowhere /usr/lib/purple-2/libicyque.so; \
fi
# ---
FROM alpine:${ALPINE_VERSION} as bitlbee-plugins FROM alpine:${ALPINE_VERSION} as bitlbee-plugins
COPY --from=bitlbee-build /usr/sbin/bitlbee /tmp/usr/sbin/bitlbee COPY --from=bitlbee-build /usr/sbin/bitlbee /tmp/usr/sbin/bitlbee
@@ -362,13 +385,16 @@ COPY --from=mastodon-build /usr/lib/bitlbee/mastodon.la /tmp/usr/lib/bitlbee/mas
COPY --from=mastodon-build /usr/share/bitlbee/mastodon-help.txt /tmp/usr/share/bitlbee/mastodon-help.txt COPY --from=mastodon-build /usr/share/bitlbee/mastodon-help.txt /tmp/usr/share/bitlbee/mastodon-help.txt
COPY --from=mastodon-build /tmp/status /tmp/plugin/mastodon COPY --from=mastodon-build /tmp/status /tmp/plugin/mastodon
COPY --from=matrix-build /usr/local/lib/libolm.so.3.1.4 /tmp/usr/local/lib/libolm.so.3 COPY --from=matrix-build /usr/local/lib/libolm.so /tmp/usr/local/lib/libolm.so
COPY --from=matrix-build /usr/lib/purple-2/libmatrix.so /tmp/usr/lib/purple-2/libmatrix.so COPY --from=matrix-build /usr/lib/purple-2/libmatrix.so /tmp/usr/lib/purple-2/libmatrix.so
COPY --from=matrix-build /tmp/status /tmp/plugin/matrix COPY --from=matrix-build /tmp/status /tmp/plugin/matrix
COPY --from=signald-build /usr/lib/purple-2/libsignald.so /tmp/usr/lib/purple-2/libsignald.so COPY --from=signald-build /usr/lib/purple-2/libsignald.so /tmp/usr/lib/purple-2/libsignald.so
COPY --from=signald-build /tmp/status /tmp/plugin/signald COPY --from=signald-build /tmp/status /tmp/plugin/signald
COPY --from=icyque-build /usr/lib/purple-2/libicyque.so /tmp/usr/lib/purple-2/libicyque.so
COPY --from=icyque-build /tmp/status /tmp/plugin/icyque
RUN apk add --update --no-cache findutils \ RUN apk add --update --no-cache findutils \
&& find /tmp/ -type f -empty -delete \ && find /tmp/ -type f -empty -delete \
&& find /tmp/ -type d -empty -delete \ && find /tmp/ -type d -empty -delete \
@@ -390,10 +416,12 @@ RUN addgroup -g 101 -S bitlbee \
&& source /plugins \ && source /plugins \
&& if [ ${OTR} -eq 1 ]; then PKGS="${PKGS} libotr"; fi \ && if [ ${OTR} -eq 1 ]; then PKGS="${PKGS} libotr"; fi \
&& if [ ${FACEBOOK} -eq 1 ] || [ ${SKYPEWEB} -eq 1 ] || [ ${HANGOUTS} -eq 1 ] \ && if [ ${FACEBOOK} -eq 1 ] || [ ${SKYPEWEB} -eq 1 ] || [ ${HANGOUTS} -eq 1 ] \
|| [ ${ROCKETCHAT} -eq 1 ] || [ ${MATRIX} -eq 1 ] || [ ${SIGNAL} -eq 1 ]; then PKGS="${PKGS} json-glib"; fi \ || [ ${ROCKETCHAT} -eq 1 ] || [ ${MATRIX} -eq 1 ] || [ ${SIGNAL} -eq 1 ] \
|| [ ${ICYQUE} -eq 1 ]; then PKGS="${PKGS} json-glib"; fi \
&& if [ ${STEAM} -eq 1 ] || [ ${TELEGRAM} -eq 1 ] || [ ${MATRIX} -eq 1 ]; then PKGS="${PKGS} libgcrypt"; fi \ && if [ ${STEAM} -eq 1 ] || [ ${TELEGRAM} -eq 1 ] || [ ${MATRIX} -eq 1 ]; then PKGS="${PKGS} libgcrypt"; fi \
&& if [ ${TELEGRAM} -eq 1 ]; then PKGS="${PKGS} zlib libwebp libpng"; fi \ && if [ ${TELEGRAM} -eq 1 ]; then PKGS="${PKGS} zlib libwebp libpng"; fi \
&& if [ ${HANGOUTS} -eq 1 ] || [ ${SIGNAL} -eq 1 ]; then PKGS="${PKGS} protobuf-c"; fi \ && if [ ${HANGOUTS} -eq 1 ] || [ ${SIGNAL} -eq 1 ]; then PKGS="${PKGS} protobuf-c"; fi \
&& if [ ${SIGNAL} -eq 1 ]; then PKGS="${PKGS} libmagic"; fi \
&& if [ ${SIPE} -eq 1 ]; then PKGS="${PKGS} libxml2"; fi \ && if [ ${SIPE} -eq 1 ]; then PKGS="${PKGS} libxml2"; fi \
&& if [ ${ROCKETCHAT} -eq 1 ]; then PKGS="${PKGS} discount"; fi \ && if [ ${ROCKETCHAT} -eq 1 ]; then PKGS="${PKGS} discount"; fi \
&& if [ ${MATRIX} -eq 1 ]; then PKGS="${PKGS} sqlite http-parser"; fi \ && if [ ${MATRIX} -eq 1 ]; then PKGS="${PKGS} sqlite http-parser"; fi \

View File

@@ -13,6 +13,7 @@ This docker image includes bitlbee with a bunch of useful plugins:
- [mastodon](https://github.com/kensanata/bitlbee-mastodon) - [mastodon](https://github.com/kensanata/bitlbee-mastodon)
- [matrix](https://github.com/matrix-org/purple-matrix) - [matrix](https://github.com/matrix-org/purple-matrix)
- [signal](https://github.com/hoehermann/libpurple-signald) - [signal](https://github.com/hoehermann/libpurple-signald)
- [icyque](https://github.com/EionRobb/icyque)
The most significant being the [libpurple Slack plugin](https://github.com/dylex/slack-libpurple). As Slack is turning off its IRC gateway on May 15 2018, now is the time to spin up your own docker image and start using bitlbee instead. The most significant being the [libpurple Slack plugin](https://github.com/dylex/slack-libpurple). As Slack is turning off its IRC gateway on May 15 2018, now is the time to spin up your own docker image and start using bitlbee instead.