From 36bb51c8bcd1a6245a573a20b0812e5ca144734d Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Mon, 5 Dec 2016 13:45:25 -0500 Subject: [PATCH] Add gajim-plugin-omemo --- src/gajim-plugin-omemo/.SRCINFO | 19 +++++++++++++ src/gajim-plugin-omemo/PKGBUILD | 28 +++++++++++++++++++ src/python2-axolotl-curve25519-git/.SRCINFO | 19 +++++++++++++ src/python2-axolotl-curve25519-git/PKGBUILD | 31 +++++++++++++++++++++ src/python2-axolotl-git/.SRCINFO | 22 +++++++++++++++ src/python2-axolotl-git/PKGBUILD | 30 ++++++++++++++++++++ 6 files changed, 149 insertions(+) create mode 100644 src/gajim-plugin-omemo/.SRCINFO create mode 100644 src/gajim-plugin-omemo/PKGBUILD create mode 100644 src/python2-axolotl-curve25519-git/.SRCINFO create mode 100644 src/python2-axolotl-curve25519-git/PKGBUILD create mode 100644 src/python2-axolotl-git/.SRCINFO create mode 100644 src/python2-axolotl-git/PKGBUILD diff --git a/src/gajim-plugin-omemo/.SRCINFO b/src/gajim-plugin-omemo/.SRCINFO new file mode 100644 index 0000000..90068a5 --- /dev/null +++ b/src/gajim-plugin-omemo/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = gajim-plugin-omemo + pkgdesc = Gajim plugin for OMEMO Multi-End Message and Object Encryption. + pkgver = 1.0.0 + pkgrel = 2 + url = https://dev.gajim.org/gajim/gajim-plugins/wikis/OmemoGajimPlugin + arch = any + license = GPL + depends = gajim + depends = python2-qrcode + depends = python2-setuptools + depends = python2-cryptography + depends = python2-axolotl-git + provides = gajim-plugin-omemo + conflicts = gajim-plugin-omemo-git + source = https://ftp.gajim.org/plugins_0.16_zip/omemo.zip + sha512sums = 9364d9d20c12975ee2c4a6b71ce3b1a010fdfe3f93a74f926272679190c59d1391e55eaa11bfc6f4b8eee0b56affca6785dad720d51d501b43aeff8be1bc291b + +pkgname = gajim-plugin-omemo + diff --git a/src/gajim-plugin-omemo/PKGBUILD b/src/gajim-plugin-omemo/PKGBUILD new file mode 100644 index 0000000..001e4e5 --- /dev/null +++ b/src/gajim-plugin-omemo/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Tommaso Sardelli + +pkgname=gajim-plugin-omemo +_pkgname=omemo +pkgver=1.0.0 +pkgrel=2 +pkgdesc="Gajim plugin for OMEMO Multi-End Message and Object Encryption." +arch=(any) +url="https://dev.gajim.org/gajim/gajim-plugins/wikis/OmemoGajimPlugin" +license=('GPL') +depends=("gajim" "python2-qrcode" "python2-setuptools" "python2-cryptography" "python2-axolotl-git") +provides=('gajim-plugin-omemo') +conflicts=('gajim-plugin-omemo-git') +source=("https://ftp.gajim.org/plugins_0.16_zip/${_pkgname}.zip") +sha512sums=('9364d9d20c12975ee2c4a6b71ce3b1a010fdfe3f93a74f926272679190c59d1391e55eaa11bfc6f4b8eee0b56affca6785dad720d51d501b43aeff8be1bc291b') + +package() { + cd ${srcdir}/${_pkgname} + + # Remove unnecessary files + rm -r CHANGELOG COPYING setup.cfg + + # Install the plugin + install -d ${pkgdir}/usr/share/gajim/plugins/omemo + cp -r * ${pkgdir}/usr/share/gajim/plugins/omemo/ +} + +# vim:set ts=2 sw=2 et: diff --git a/src/python2-axolotl-curve25519-git/.SRCINFO b/src/python2-axolotl-curve25519-git/.SRCINFO new file mode 100644 index 0000000..9ef2d93 --- /dev/null +++ b/src/python2-axolotl-curve25519-git/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Mon Jan 4 15:23:04 UTC 2016 +pkgbase = python2-axolotl-curve25519-git + pkgdesc = Python wrapper for curve25519 library + pkgver = r14.e4a9c4d + pkgrel = 1 + url = https://github.com/tgalal/python-axolotl-curve25519 + arch = i686 + arch = x86_64 + license = GPL + makedepends = python2-setuptools + depends = python2 + provides = python2-axolotl-curve25519 + conflicts = python2-axolotl-curve25519 + source = git://github.com/tgalal/python-axolotl-curve25519 + sha512sums = SKIP + +pkgname = python2-axolotl-curve25519-git + diff --git a/src/python2-axolotl-curve25519-git/PKGBUILD b/src/python2-axolotl-curve25519-git/PKGBUILD new file mode 100644 index 0000000..b604789 --- /dev/null +++ b/src/python2-axolotl-curve25519-git/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Tommaso Sardelli +# Contributor: Philipp Joram + +pkgname='python2-axolotl-curve25519-git' +_pkgname='python-axolotl-curve25519' +pkgver=r14.e4a9c4d +pkgrel=1 +pkgdesc="Python wrapper for curve25519 library" +url="https://github.com/tgalal/${_pkgname}" +arch=('i686' 'x86_64') +license=('GPL') +depends=('python2') +makedepends=('python2-setuptools') +conflicts=('python2-axolotl-curve25519') +provides=('python2-axolotl-curve25519') +source=('git://github.com/tgalal/python-axolotl-curve25519') +sha512sums=('SKIP') + + +pkgver() { + cd "$srcdir/$_pkgname" + ( set -o pipefail + git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) +} + +package() { + cd "$srcdir/$_pkgname" + python2 setup.py install --root="$pkgdir/" +} diff --git a/src/python2-axolotl-git/.SRCINFO b/src/python2-axolotl-git/.SRCINFO new file mode 100644 index 0000000..d7d6aba --- /dev/null +++ b/src/python2-axolotl-git/.SRCINFO @@ -0,0 +1,22 @@ +# Generated by mksrcinfo v8 +# Mon Jan 4 15:25:34 UTC 2016 +pkgbase = python2-axolotl-git + pkgdesc = Python port of libaxolotl + pkgver = r39.9585d72 + pkgrel = 1 + url = https://github.com/tgalal/python-axolotl + arch = any + license = GPL + makedepends = python2-setuptools + depends = python2 + depends = python2-dateutil + depends = python2-protobuf + depends = python2-crypto + depends = python2-axolotl-curve25519-git + provides = python2-axolotl + conflicts = python2-axolotl + source = git://github.com/tgalal/python-axolotl + sha512sums = SKIP + +pkgname = python2-axolotl-git + diff --git a/src/python2-axolotl-git/PKGBUILD b/src/python2-axolotl-git/PKGBUILD new file mode 100644 index 0000000..e1be15e --- /dev/null +++ b/src/python2-axolotl-git/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Tommaso Sardelli +# Contributor: Philipp Joram + +pkgname='python2-axolotl-git' +_pkgname='python-axolotl' +pkgver=0.1.35.r0.g72f7c44 +pkgrel=1 +pkgdesc="Python port of libaxolotl" +url="https://github.com/tgalal/python-axolotl" +arch=('any') +license=('GPL') +depends=('python2' 'python2-dateutil' 'python2-protobuf' 'python2-crypto' 'python2-axolotl-curve25519-git') +makedepends=('python2-setuptools') +conflicts=('python2-axolotl') +provides=('python2-axolotl') +source=('git://github.com/tgalal/python-axolotl') +sha512sums=('SKIP') + +pkgver() { + cd "$srcdir/$_pkgname" + ( set -o pipefail + git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) +} + +package() { + cd "$srcdir/$_pkgname" + python2 setup.py install --root="$pkgdir/" +}