diff options
Diffstat (limited to 'net-im/gg-transport')
-rw-r--r-- | net-im/gg-transport/Manifest | 8 | ||||
-rw-r--r-- | net-im/gg-transport/files/jggtrans-2.2.4 | 19 | ||||
-rw-r--r-- | net-im/gg-transport/gg-transport-2.2.4-r1.ebuild | 47 | ||||
-rw-r--r-- | net-im/gg-transport/gg-transport-2.2.6.ebuild | 50 | ||||
-rw-r--r-- | net-im/gg-transport/metadata.xml | 12 |
5 files changed, 136 insertions, 0 deletions
diff --git a/net-im/gg-transport/Manifest b/net-im/gg-transport/Manifest new file mode 100644 index 000000000000..0382c94c7126 --- /dev/null +++ b/net-im/gg-transport/Manifest @@ -0,0 +1,8 @@ +AUX jggtrans-2.2.4 481 SHA256 37fa393aec653588f561a4acd0afb0bbcdb923185f2179f2ea5ec4e75844fc99 SHA512 a560de48a612ed1df9e2bb83452cc769cd6b19b2e5ca66f7420107d8fa2344a957e1d3094a16dec7328d6ef3cb2b1f8f6689cc28be0c0f6e4bdc46141107de23 WHIRLPOOL 9b94dafba1f367171fcf94b37b81d62baf079133a287919971281d175bc1f476d98876314fbb2c905c6d8224c9ef6a67de272b6f6aa6e3567166813d0ffae6bc +DIST jggtrans-2.2.4.tar.gz 796625 SHA256 678db2bef8e867889715663188f6ac785c7bf6e1bd0840a000f0a76b28892830 SHA512 5487504bc307001bc6bce927cd32e46b126148423aac8fc59944af59c67c5fba68bce001b5321d80a5392758ea88d445f2b68133636afe1f218a4fb696e319bd WHIRLPOOL 5cf18cade4e0e9a6489e42a4cfebcabf54f218f68d8a22312f7bf9dbba475d1b62bc6dc81fa0d9f61d5021e2f5084f399961f40db8948599462a28ccc4f53808 +DIST jggtrans-2.2.6.tar.gz 883775 SHA256 b3e0a56aa2e1e61a182b62bfcffaf585328ebd23b81651990c821d733ac9cde1 SHA512 9fa6beb03427dc29db6b1aa5707486b857d3f850ed4efc9f2a627cbec4a9e40c91a9092b42a4a338976659f6ebfa0ca6f69e194e51bc51744a7665494fc210e7 WHIRLPOOL e1511af1d355921d202d60442d7b2e130706e1de32d9a4fcdcbaf627c8ffce83bd14e5caa6214db44fc3387f9c96b788391d3f3754acd4dd10db822f9fc6c147 +EBUILD gg-transport-2.2.4-r1.ebuild 1170 SHA256 db86423f667f742ebdd7fc6e6ce8599a35c7fd7fb9edf8d27c4b4cf3c9910482 SHA512 6e8e451412716c5e6c07c9ce68a7513c2a13dc2dd15a6558db097063f1eaf46ded197954a8fff8539cfa475a911a377d9bb9533a5c83ac3a66e37c9a21cedc97 WHIRLPOOL ca0dbe833b0de814e7f5965ffe5593ee2b7a910504352e6627b1859ed2469856f71c388097f2ab8e3dd099cc413ed09bb27a9d8fb15d6ee794bf1b1b33ccd78f +EBUILD gg-transport-2.2.6.ebuild 1198 SHA256 730fab1b1645d26f77b80d5c62a560111f649ef9101dc7737bd6e6a3beb0db85 SHA512 d5159eae44806a1e2bf48a381c2466bc2e49b3a9ff85f7095fa138ec2bfec8fa501df8e8fe1444c463e45c2d9c8d20ba901fb8b370d49759de925626cabf5931 WHIRLPOOL 3668090dd1c04397b355ea5f6b436652d16a82f487762ee2abdf7a75436fade2b92935c7440958bd77e4dd538b8c240ad00239c74c8768de075e6e2804c0d1d3 +MISC ChangeLog 3569 SHA256 b6adf4cfe6c86988dfa1a66a09156e1f14233a838ad89d199b4714505819b2a4 SHA512 b152ba45de2b1c920ac1c7ce1d9bbcae76a1dc57a5791a6cab88862d20971403b5aec9e53f90476fe101c494986b37b3fcc1b360f8f2c761eda59ac6d6f8c612 WHIRLPOOL 9601bc21cf2824279459510526fe9ecfc5df794b10a466d6040456efe4db5cb0c6022f3fbc7280a2e57a5ee2b992f47417c455adff1efb1ab808fdf421768375 +MISC ChangeLog-2015 3735 SHA256 11289510408a203301ca2caceb5b552554bf561b6f646d5d256a15d84ac7d549 SHA512 6d457f53e72531955f1b541a91af8a39879c5ee00d5b471b0c8dd25661cad99b08b4594c20b47ca423e8d779435f3b6253cbb269e3335461abdcd6a2057beded WHIRLPOOL 4d59c929197c88960cf82cfb5ae644c7a56051dda705136fb4aa1e720e28f3887c052a5fe9638e692c3b68e2d658dd2f757cbd07a31309adc05568235c343024 +MISC metadata.xml 419 SHA256 c86d5ba0a8e3ad770cd6b7a7795023a113e56ac111b93d37003355f6079e2582 SHA512 ccd10d0be489555d379a71b089295753208d6097643d5b153eb9376951dc800f084b63b4d2801dd00b0be0d1d816d6388815dff2d6294c422bdedc94972bcddb WHIRLPOOL 9744201dd8ae6bf7469b5be283aa44eee809b154f1c3301c360628b0d80ee550ad1086f37cff74e853c2e399f25952a34582b7a2ec89632ac69799ff3cc609ff diff --git a/net-im/gg-transport/files/jggtrans-2.2.4 b/net-im/gg-transport/files/jggtrans-2.2.4 new file mode 100644 index 000000000000..35713d52cfec --- /dev/null +++ b/net-im/gg-transport/files/jggtrans-2.2.4 @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + after net jabber-server +} + +start() { + ebegin "Starting Jabber GG Transport" + start-stop-daemon --start --user jabber --group jabber --exec /usr/sbin/jggtrans -- -u jabber -g jabber /etc/jabber/jggtrans.xml + eend $? +} + +stop() { + ebegin "Stopping Jabber GG Transport" + start-stop-daemon --stop --pidfile /var/run/jabber/jggtrans.pid + eend $? +} diff --git a/net-im/gg-transport/gg-transport-2.2.4-r1.ebuild b/net-im/gg-transport/gg-transport-2.2.4-r1.ebuild new file mode 100644 index 000000000000..b32bdcc0f32c --- /dev/null +++ b/net-im/gg-transport/gg-transport-2.2.4-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Gadu-Gadu transport for Jabber" +HOMEPAGE="https://github.com/Jajcus/jggtrans" +SRC_URI="mirror://github/Jajcus/jggtrans/jggtrans-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=net-im/jabber-base-0.01 + >=dev-libs/glib-2.6.4 + net-dns/libidn + >=net-libs/libgadu-1.9.0_rc3 + dev-libs/expat" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/jggtrans-${PV}" + +src_install() { + emake DESTDIR="${D}" install + + keepdir /var/spool/jabber/gg + keepdir /var/run/jabber + keepdir /var/log/jabber + fowners jabber:jabber /var/spool/jabber/gg + fowners jabber:jabber /var/run/jabber + fowners jabber:jabber /var/log/jabber + + newinitd "${FILESDIR}/jggtrans-${PV}" jggtrans + + insinto /etc/jabber + doins jggtrans.xml + + sed -i \ + -e 's,/var/lib/jabber/spool/gg.localhost/,/var/spool/jabber/gg/,' \ + -e 's,/var/lib/jabber/ggtrans.pid,/var/run/jabber/jggtrans.pid,' \ + -e 's,/tmp/ggtrans.log,/var/log/jabber/jggtrans.log,' \ + "${D}/etc/jabber/jggtrans.xml" || die "sed failed" + + dodoc AUTHORS ChangeLog README README.Pl NEWS +} diff --git a/net-im/gg-transport/gg-transport-2.2.6.ebuild b/net-im/gg-transport/gg-transport-2.2.6.ebuild new file mode 100644 index 000000000000..99cf02c8ee1a --- /dev/null +++ b/net-im/gg-transport/gg-transport-2.2.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Gadu-Gadu transport for Jabber" +HOMEPAGE="https://github.com/Jajcus/jggtrans" +SRC_URI="https://github.com/Jajcus/jggtrans/releases/download/v${PV}/jggtrans-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + >=net-im/jabber-base-0.01 + >=dev-libs/glib-2.6.4:2 + net-dns/libidn + >=net-libs/libgadu-1.9.0_rc3 + dev-libs/expat" +DEPEND="${RDEPEND} + >=sys-devel/gettext-0.18.3 + virtual/pkgconfig +" + +S="${WORKDIR}/jggtrans-${PV}" + +src_install() { + emake DESTDIR="${D}" install + + keepdir /var/spool/jabber/gg + keepdir /var/run/jabber + keepdir /var/log/jabber + fowners jabber:jabber /var/spool/jabber/gg + fowners jabber:jabber /var/run/jabber + fowners jabber:jabber /var/log/jabber + + newinitd "${FILESDIR}/jggtrans-2.2.4" jggtrans + + insinto /etc/jabber + doins jggtrans.xml + + sed -i \ + -e 's,/var/lib/jabber/spool/gg.localhost/,/var/spool/jabber/gg/,' \ + -e 's,/var/lib/jabber/ggtrans.pid,/var/run/jabber/jggtrans.pid,' \ + -e 's,/tmp/ggtrans.log,/var/log/jabber/jggtrans.log,' \ + "${D}/etc/jabber/jggtrans.xml" || die "sed failed" + + einstalldocs +} diff --git a/net-im/gg-transport/metadata.xml b/net-im/gg-transport/metadata.xml new file mode 100644 index 000000000000..163724893272 --- /dev/null +++ b/net-im/gg-transport/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <longdescription> + Gadu-Gadu is a IM network vary famous in Poland, this package will + enable your jabber server to talk to that network. + </longdescription> + <upstream> + <remote-id type="github">Jajcus/jggtrans</remote-id> + </upstream> +</pkgmetadata> |