diff options
Diffstat (limited to 'nonprism')
-rw-r--r-- | nonprism/bitlbee-nonprism/PKGBUILD | 62 | ||||
-rw-r--r-- | nonprism/bitlbee-nonprism/bitlbee.install | 15 | ||||
-rw-r--r-- | nonprism/bitlbee-nonprism/bitlbee.tmpfiles | 1 | ||||
-rw-r--r-- | nonprism/bitlbee-nonprism/xinetd | 12 | ||||
-rw-r--r-- | nonprism/empathy-nonprism/PKGBUILD | 39 | ||||
-rw-r--r-- | nonprism/empathy-nonprism/empathy.install | 16 | ||||
-rw-r--r-- | nonprism/evolution-data-server-nonprism/PKGBUILD | 40 | ||||
-rw-r--r-- | nonprism/evolution-data-server-nonprism/evolution-data-server.install | 11 | ||||
-rw-r--r-- | nonprism/gnome-online-accounts-nonprism/PKGBUILD | 53 | ||||
-rw-r--r-- | nonprism/gnome-online-accounts-nonprism/gnome-online-accounts.install | 12 | ||||
-rw-r--r-- | nonprism/gnome-online-accounts-nonprism/imap-smtp.patch | 20 | ||||
-rw-r--r-- | nonprism/gnome-online-accounts-nonprism/smtp-auth-plain.patch | 88 | ||||
-rw-r--r-- | nonprism/kdepim-runtime-nonprism/PKGBUILD | 39 | ||||
-rw-r--r-- | nonprism/kdepim-runtime-nonprism/kdepim-runtime.install | 13 | ||||
-rw-r--r-- | nonprism/your-privacy/PKGBUILD | 24 | ||||
-rw-r--r-- | nonprism/your-privacy/your-coherence.install | 30 |
16 files changed, 475 insertions, 0 deletions
diff --git a/nonprism/bitlbee-nonprism/PKGBUILD b/nonprism/bitlbee-nonprism/PKGBUILD new file mode 100644 index 000000000..f0cfcbf19 --- /dev/null +++ b/nonprism/bitlbee-nonprism/PKGBUILD @@ -0,0 +1,62 @@ + +_pkgname=bitlbee +pkgname=bitlbee-coherence +pkgver=3.2 +pkgrel=1 +pkgdesc='Brings XMPP to IRC (removed support for nonfree, unsafe and dangerous for privacy protocols)' +url='http://www.bitlbee.org/' +license=('GPL') +arch=('i686' 'x86_64') +depends=('gnutls' 'glib2') +makedepends=('asciidoc' 'libotr3') +optdepends=('libotr3: for OTR encryption support' + 'xinetd: to run bitlbee through xinetd') +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver +source=("http://get.bitlbee.org/src/${_pkgname}-${pkgver}.tar.gz" + 'xinetd' + 'bitlbee.tmpfiles') +sha1sums=('21e17f082c776566429603b1e8c966983a75ac9e' + '81c1185b09bee9520b7b58e295a0ffe43a9b0093' + '64b05c7ba522fcdbd0fb57d89ea8320713cc18e9') +backup=('etc/bitlbee/bitlbee.conf' + 'etc/bitlbee/motd.txt' + 'etc/xinetd.d/bitlbee') +install=bitlbee.install + +build() { + cd "$_pkgname-$pkgver" + + ./configure \ + --prefix=/usr \ + --etcdir=/etc/bitlbee \ + --sbindir=/usr/bin \ + --pidfile=/run/bitlbee/bitlbee.pid \ + --ipcsocket=/run/bitlbee/bitlbee.sock \ + --systemdsystemunitdir=/usr/lib/systemd/system \ + --jabber=1 \ + --msn=0 \ + --oscar=0 \ + --yahoo=0 \ + --twitter=0 \ + --purple=0 \ + --ssl=gnutls \ + --strip=0 \ + --otr=plugin \ + --skype=0 + + # hacky: build against libotr3 + sed -i 's,^OTRFLAGS=.*,OTRFLAGS=-lotr3,' Makefile.settings + sed -i 's,#include.*libotr,&3,' otr.h + + make +} + +package() { + make -C "$_pkgname-$pkgver" DESTDIR="$pkgdir" install{,-etc,-dev} + + install -o65 -g65 -dm770 "$pkgdir/var/lib/bitlbee" + install -Dm644 "$srcdir/xinetd" "$pkgdir/etc/xinetd.d/bitlbee" + install -Dm644 "$srcdir/bitlbee.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/bitlbee.conf" +}
\ No newline at end of file diff --git a/nonprism/bitlbee-nonprism/bitlbee.install b/nonprism/bitlbee-nonprism/bitlbee.install new file mode 100644 index 000000000..aa5a81a70 --- /dev/null +++ b/nonprism/bitlbee-nonprism/bitlbee.install @@ -0,0 +1,15 @@ +post_install() { + getent group bitlbee &>/dev/null || groupadd -r -g 65 bitlbee >/dev/null + getent passwd bitlbee &>/dev/null || useradd -r -u 65 -g bitlbee -d /var/lib/bitlbee -s /bin/false -c bitlbee bitlbee >/dev/null + systemd-tmpfiles --create bitlbee.conf +} + +post_upgrade() { + post_install +} + +post_remove() { + getent passwd bitlbee &>/dev/null && userdel bitlbee >/dev/null + getent group bitlbee &>/dev/null && groupdel bitlbee >/dev/null + true +} diff --git a/nonprism/bitlbee-nonprism/bitlbee.tmpfiles b/nonprism/bitlbee-nonprism/bitlbee.tmpfiles new file mode 100644 index 000000000..ebd909675 --- /dev/null +++ b/nonprism/bitlbee-nonprism/bitlbee.tmpfiles @@ -0,0 +1 @@ +d /run/bitlbee 0755 bitlbee bitlbee - -
\ No newline at end of file diff --git a/nonprism/bitlbee-nonprism/xinetd b/nonprism/bitlbee-nonprism/xinetd new file mode 100644 index 000000000..169134d2b --- /dev/null +++ b/nonprism/bitlbee-nonprism/xinetd @@ -0,0 +1,12 @@ +service bitlbee +{ + type = UNLISTED + socket_type = stream + protocol = tcp + wait = no + user = bitlbee + group = bitlbee + server = /usr/sbin/bitlbee + port = 6667 + disable = yes +}
\ No newline at end of file diff --git a/nonprism/empathy-nonprism/PKGBUILD b/nonprism/empathy-nonprism/PKGBUILD new file mode 100644 index 000000000..de0eca1e9 --- /dev/null +++ b/nonprism/empathy-nonprism/PKGBUILD @@ -0,0 +1,39 @@ + +_pkgname=empathy +pkgname=empathy-coherence +pkgver=3.8.3 +pkgrel=1 +pkgdesc="A GNOME instant messaging client using the Telepathy framework without support for nonfree, unsafe and dangerous for privacy protocols" +arch=(i686 x86_64) +url="http://live.gnome.org/Empathy" +license=(GPL2) +depends=(clutter-gst clutter-gtk folks gcr iso-codes libcanberra libpulse webkitgtk3 telepathy-farstream telepathy-glib telepathy-logger telepathy-mission-control) +makedepends=(intltool itstool docbook-xsl python2) +optdepends=('telepathy-gabble: XMPP/Jabber support' + 'telepathy-idle: IRC support' + 'telepathy-salut: Link-local XMPP support' + 'telepathy-rakia: SIP support') +options=('!libtool' '!makeflags') +groups=(gnome) +install=empathy.install +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver +source=(http://ftp.gnome.org/pub/GNOME/sources/$_pkgname/${pkgver:0:3}/$_pkgname-$pkgver.tar.xz) +sha256sums=('61e547c6f0929b3111219349482e2395a32f41bbd0852046405d835acba965c0') + +build() { + cd $_pkgname-$pkgver + PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/empathy \ + --disable-static + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + make +} + +package() { + cd $_pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + diff --git a/nonprism/empathy-nonprism/empathy.install b/nonprism/empathy-nonprism/empathy.install new file mode 100644 index 000000000..4c5b64313 --- /dev/null +++ b/nonprism/empathy-nonprism/empathy.install @@ -0,0 +1,16 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + echo "To use Empathy you need to install at least one Telepathy connection manager." +} + +post_upgrade() { + glib-compile-schemas /usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_remove() { + post_upgrade +}
\ No newline at end of file diff --git a/nonprism/evolution-data-server-nonprism/PKGBUILD b/nonprism/evolution-data-server-nonprism/PKGBUILD new file mode 100644 index 000000000..2ba93b16c --- /dev/null +++ b/nonprism/evolution-data-server-nonprism/PKGBUILD @@ -0,0 +1,40 @@ + +_pkgname=evolution-data-server +pkgname=evolution-data-server-coherence +pkgver=3.8.5 +pkgrel=1 +pkgdesc="Centralized access to appointments and contacts without libgdata support" +arch=(i686 x86_64) +depends=(nss krb5 libical db libxml2 libsoup gtk3 libsecret gcr) +makedepends=(intltool gperf gobject-introspection vala python2 gnome-common) +options=('!libtool') +install=$_pkgname.install +url="http://www.gnome.org" +license=(GPL) +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver +source=(http://ftp.gnome.org/pub/gnome/sources/$_pkgname/${pkgver%.*}/$_pkgname-$pkgver.tar.xz) +sha256sums=('73c4ecfed65651cc72966b90081d7b72f9b42573585bc89797efea65ccfdbd2a') + + +build() { + cd "$_pkgname-$pkgver" + autoreconf -fi + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --with-openldap=yes \ + --libexecdir=/usr/lib/evolution-data-server \ + --with-krb5=/usr --with-libdb=/usr \ + --without-libgdata \ + --disable-goa \ + --disable-google \ + --disable-weather \ + --enable-vala-bindings --disable-uoa PYTHON=python2 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool + make +} + +package() { + cd "$_pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/nonprism/evolution-data-server-nonprism/evolution-data-server.install b/nonprism/evolution-data-server-nonprism/evolution-data-server.install new file mode 100644 index 000000000..e75920e11 --- /dev/null +++ b/nonprism/evolution-data-server-nonprism/evolution-data-server.install @@ -0,0 +1,11 @@ +post_install () { + glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_upgrade () { + post_install +} + +post_remove () { + post_install +}
\ No newline at end of file diff --git a/nonprism/gnome-online-accounts-nonprism/PKGBUILD b/nonprism/gnome-online-accounts-nonprism/PKGBUILD new file mode 100644 index 000000000..4f1809e83 --- /dev/null +++ b/nonprism/gnome-online-accounts-nonprism/PKGBUILD @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Ionut Biru <ibiru@archlinux.org> +# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> + +_pkgname=gnome-online-accounts +pkgname=gnome-online-accounts-coherence +pkgver=3.8.2 +pkgrel=2 +pkgdesc="GNOME service to access online accounts, without support for nonfree, unsafe and dangerous for privacy protocols" +arch=(i686 x86_64 mips64el) +url="http://www.gnome.org" +license=('GPL') +depends=('webkitgtk3' 'json-glib' 'libnotify' 'rest' 'hicolor-icon-theme' 'libsecret') +makedepends=('intltool' 'libxslt' 'gobject-introspection' 'docbook-xsl') +provides=("$_pkgname=$pkgver") +conflicts=$_pkgname +replaces=$_pkgname +options=(!libtool) +install=$_pkgname.install +source=(http://download.gnome.org/sources/$_pkgname/${pkgver:0:3}/$_pkgname-$pkgver.tar.xz + imap-smtp.patch + smtp-auth-plain.patch) +sha256sums=('12611a002043c8acc29e9800ec009e3e19736bdb6237d246e848d7c7909fe826' + '2b413d1f401647bd143b7dc6dd4b6d6660ff47ef9a11ccbc691b7c13de5cba69' + 'e7250be7c078053345699250433b7164751d3e457155bd35508c7d1660f459be') + +prepare() { + cd $_pkgname-$pkgver + # Upstream 3.8 branch + patch -Np1 -i ../imap-smtp.patch + patch -Np1 -i ../smtp-auth-plain.patch +} + +build() { + cd $_pkgname-$pkgver + ./configure --prefix=/usr --libexec=/usr/lib/gnome-online-accounts \ + --disable-google \ + --disable-owncloud \ + --disable-facebook \ + --disable-windows-live \ + --disable-exchange \ + --disable-flickr \ + --enable-imap-smtp \ + --disable-kerberos + make +} + +package() { + cd $_pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/nonprism/gnome-online-accounts-nonprism/gnome-online-accounts.install b/nonprism/gnome-online-accounts-nonprism/gnome-online-accounts.install new file mode 100644 index 000000000..ae4eb5fa7 --- /dev/null +++ b/nonprism/gnome-online-accounts-nonprism/gnome-online-accounts.install @@ -0,0 +1,12 @@ +post_install () { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + diff --git a/nonprism/gnome-online-accounts-nonprism/imap-smtp.patch b/nonprism/gnome-online-accounts-nonprism/imap-smtp.patch new file mode 100644 index 000000000..7213c8d1e --- /dev/null +++ b/nonprism/gnome-online-accounts-nonprism/imap-smtp.patch @@ -0,0 +1,20 @@ +From 034da0871ad78629f9d0df618be494dbb19157e4 Mon Sep 17 00:00:00 2001 +From: Debarshi Ray <debarshir@gnome.org> +Date: Tue, 18 Jun 2013 10:35:42 +0000 +Subject: imap-smtp: Prevent error messages from expanding the dialog + +--- +diff --git a/src/goabackend/goaimapsmtpprovider.c b/src/goabackend/goaimapsmtpprovider.c +index d10a9d8..841327d 100644 +--- a/src/goabackend/goaimapsmtpprovider.c ++++ b/src/goabackend/goaimapsmtpprovider.c +@@ -669,6 +669,7 @@ create_account_details_ui (GoaProvider *provider, + + data->cluebar_label = gtk_label_new (""); + gtk_label_set_line_wrap (GTK_LABEL (data->cluebar_label), TRUE); ++ gtk_label_set_max_width_chars (GTK_LABEL (data->cluebar_label), 36); + gtk_container_add (GTK_CONTAINER (gtk_info_bar_get_content_area (GTK_INFO_BAR (data->cluebar))), + data->cluebar_label); + +-- +cgit v0.9.2 diff --git a/nonprism/gnome-online-accounts-nonprism/smtp-auth-plain.patch b/nonprism/gnome-online-accounts-nonprism/smtp-auth-plain.patch new file mode 100644 index 000000000..c6782d0f6 --- /dev/null +++ b/nonprism/gnome-online-accounts-nonprism/smtp-auth-plain.patch @@ -0,0 +1,88 @@ +From 2210bf547dc35adacbc95c0dcf4abe75a73a8368 Mon Sep 17 00:00:00 2001 +From: Debarshi Ray <debarshir@gnome.org> +Date: Tue, 18 Jun 2013 15:27:55 +0000 +Subject: smtp-auth-plain: Handle multiline SMTP greetings + +Fixes: https://bugzilla.gnome.org/702263 +--- +diff --git a/src/goabackend/goasmtpauthplain.c b/src/goabackend/goasmtpauthplain.c +index bb783bd..77324cf 100644 +--- a/src/goabackend/goasmtpauthplain.c ++++ b/src/goabackend/goasmtpauthplain.c +@@ -167,6 +167,40 @@ smtp_auth_plain_check_454 (const gchar *response, GError **error) + + /* ---------------------------------------------------------------------------------------------------- */ + ++static gboolean ++smtp_auth_plain_check_greeting (GDataInputStream *input, GCancellable *cancellable, GError **error) ++{ ++ gboolean ret; ++ gchar *response; ++ ++ response = NULL; ++ ret = FALSE; ++ ++ greeting_again: ++ response = g_data_input_stream_read_line (input, NULL, cancellable, error); ++ if (response == NULL) ++ goto out; ++ g_debug ("< %s", response); ++ if (smtp_auth_plain_check_421 (response, error)) ++ goto out; ++ if (smtp_auth_plain_check_not_220 (response, error)) ++ goto out; ++ ++ if (response[3] == '-') ++ { ++ g_clear_pointer (&response, g_free); ++ goto greeting_again; ++ } ++ ++ ret = TRUE; ++ ++ out: ++ g_free (response); ++ return ret; ++} ++ ++/* ---------------------------------------------------------------------------------------------------- */ ++ + static gchar * + smtp_auth_plain_get_domain (GoaSmtpAuthPlain *auth, + GError **error) +@@ -563,15 +597,8 @@ goa_smtp_auth_plain_run_sync (GoaMailAuth *_auth, + + if (!auth->greeting_absent) + { +- response = g_data_input_stream_read_line (input, NULL, cancellable, error); +- if (response == NULL) +- goto out; +- g_debug ("< %s", response); +- if (smtp_auth_plain_check_421 (response, error)) ++ if (!smtp_auth_plain_check_greeting (input, cancellable, error)) + goto out; +- if (smtp_auth_plain_check_not_220 (response, error)) +- goto out; +- g_clear_pointer (&response, g_free); + } + + /* Send EHLO */ +@@ -685,15 +712,8 @@ goa_smtp_auth_plain_starttls_sync (GoaMailAuth *_auth, + + /* Check the greeting */ + +- response = g_data_input_stream_read_line (input, NULL, cancellable, error); +- if (response == NULL) +- goto out; +- g_debug ("< %s", response); +- if (smtp_auth_plain_check_421 (response, error)) ++ if (!smtp_auth_plain_check_greeting (input, cancellable, error)) + goto out; +- if (smtp_auth_plain_check_not_220 (response, error)) +- goto out; +- g_clear_pointer (&response, g_free); + + /* Send EHLO */ + +-- +cgit v0.9.2 diff --git a/nonprism/kdepim-runtime-nonprism/PKGBUILD b/nonprism/kdepim-runtime-nonprism/PKGBUILD new file mode 100644 index 000000000..8bc3de90e --- /dev/null +++ b/nonprism/kdepim-runtime-nonprism/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 192541 2013-08-13 18:47:05Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> +# Maintainer (Parabola): André Silva <emulatorman@parabola.nu> + +_pkgname=kdepim-runtime +pkgname=kdepim-runtime-coherence +pkgver=4.11.0 +pkgrel=1 +pkgdesc='Extends the functionality of kdepim, without libkgapi support' +arch=('i686' 'x86_64') +url='https://projects.kde.org/projects/kde/kdepim-runtime' +license=('GPL' 'LGPL' 'FDL') +depends=('kdebase-runtime' 'libkolab' 'libkfbapi') +makedepends=('cmake' 'automoc4' 'boost') +install="${_pkgname}.install" +replaces=$_pkgname +conflicts=$_pkgname +provides=$_pkgname=$pkgver +source=("http://download.kde.org/stable/${pkgver}/src/${_pkgname}-${pkgver}.tar.xz") +sha1sums=('ec2a45baf0c2c2ccea633b599a453db52b38dc75') + +prepare() { + mkdir build +} + +build() { + cd build + cmake ../${_pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} diff --git a/nonprism/kdepim-runtime-nonprism/kdepim-runtime.install b/nonprism/kdepim-runtime-nonprism/kdepim-runtime.install new file mode 100644 index 000000000..c77e68041 --- /dev/null +++ b/nonprism/kdepim-runtime-nonprism/kdepim-runtime.install @@ -0,0 +1,13 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-mime-database usr/share/mime &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/nonprism/your-privacy/PKGBUILD b/nonprism/your-privacy/PKGBUILD new file mode 100644 index 000000000..c5bfbe5d7 --- /dev/null +++ b/nonprism/your-privacy/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Parabola Project <dev@list.parabolagnulinux.org> +pkgname=your-coherence +pkgver=$(LC_ALL=C date -u +%Y%m%d) +pkgrel=1 +pkgdesc="This package will remove support for unsafe/dangerous for privacy protocols/services." +arch=('any') +url="https://parabolagnulinux.org" +license=('GPL3') +install=${pkgname}.install +source=(${pkgname}-blacklist-${pkgver}.txt::https://projects.parabolagnulinux.org/blacklist.git/plain/${pkgname}-blacklist.txt) + +package() { + conflicts=($(cut -d: -f1,2 ${pkgname}-blacklist-${pkgver}.txt | \ + sed "s/:$//" | \ + grep -v ":" | \ + grep -v '^#' | \ + sort -u + )) + cd ${srcdir} + install -d ${pkgdir}/usr/share/doc/${pkgname} + install -m644 ${pkgname}-blacklist-${pkgver}.txt ${pkgdir}/usr/share/doc/${pkgname}/ +} + +md5sums=('5fd14982619414fea1882b351607291e') diff --git a/nonprism/your-privacy/your-coherence.install b/nonprism/your-privacy/your-coherence.install new file mode 100644 index 000000000..d5ece49d4 --- /dev/null +++ b/nonprism/your-privacy/your-coherence.install @@ -0,0 +1,30 @@ + +pre_install() { + cat <<EOM + == IMPORTANT NOTICE == + + This package will help you identify if packages that support + unsafe/dangerous for privacy protocols/services are installed on your + system at the time of its installation, as well as protecting you from + (accidentally) installing them. + + Also, if any other package that support unsafe/dangerous for privacy + protocols/services is identified, later updates will ask you for its + removal. + + Have in mind that, if you want to retain certain packages that support + unsafe/dangerous for privacy protocols/services installed on your system, + you'll have to remove your-coherence :) + + Please report any issue to the Coherence Team on the usual channels: + * https://labs.parabola.nu + * irc://freenode.net/#your-coherence + * mailto:dev@lists.parabolagnulinux.org +EOM +} + +pre_upgrade() { + pre_install +} + +# vim:set ts=2 sw=2 et: |