summaryrefslogtreecommitdiffstats
path: root/unmaintained/jabberd14
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-06-12 12:26:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-06-12 12:27:59 +0000
commitdca0ad5e0ff29400f0752010544dcf758b4bba4f (patch)
tree0a3ee62e38abeeaa12885253fec2e34d8c760563 /unmaintained/jabberd14
parent440b268ffe8bdc281286fea2d618820c08630f45 (diff)
downloadaports-dca0ad5e0ff29400f0752010544dcf758b4bba4f.tar.bz2
aports-dca0ad5e0ff29400f0752010544dcf758b4bba4f.tar.xz
rename unstable to unmaintained
stuff thats unmaintained could go here
Diffstat (limited to 'unmaintained/jabberd14')
-rw-r--r--unmaintained/jabberd14/APKBUILD32
-rw-r--r--unmaintained/jabberd14/jabberd14.initd29
2 files changed, 61 insertions, 0 deletions
diff --git a/unmaintained/jabberd14/APKBUILD b/unmaintained/jabberd14/APKBUILD
new file mode 100644
index 000000000..a9b7f7f50
--- /dev/null
+++ b/unmaintained/jabberd14/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+pkgname=jabberd14
+pkgver=1.6.1.1
+pkgrel=2
+pkgdesc="Jabber server or XMPP"
+url="http://jabberd.org/"
+license="GPL"
+depends=
+makedepends="automake pkgconfig gnutls-dev libidn-dev libtool
+ popt-dev pth-dev expat-dev libgcrypt-dev"
+install=
+subpackages="$pkgname-doc $pkgname-dev"
+source="http://download.jabberd.org/jabberd14/$pkgname-$pkgver.tar.gz
+ jabberd14.initd"
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ export CXX=${CXX_UC:-g++-uc}
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make -j1 || return 1
+ make -j1 DESTDIR="$pkgdir" install
+
+ install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+
+}
+
+md5sums="597c7ee14518ba22b1cee883b4737d87 jabberd14-1.6.1.1.tar.gz
+aa6ec7b00e05aedcc1db49da0029242b jabberd14.initd"
diff --git a/unmaintained/jabberd14/jabberd14.initd b/unmaintained/jabberd14/jabberd14.initd
new file mode 100644
index 000000000..6c1b7126f
--- /dev/null
+++ b/unmaintained/jabberd14/jabberd14.initd
@@ -0,0 +1,29 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/net-im/jabberd/files/jabberd-1.6.1.1.init,v 1.1 2008/06/18 12:24:56 nelchael Exp $
+
+depend() {
+ need net
+ after firewall
+ provide jabber-server
+
+}
+
+start() {
+
+ ebegin "Starting Jabber Server"
+ start-stop-daemon --start \
+ -c jabber:jabber \
+ -x /usr/bin/jabberd -- -B -c /etc/jabber/jabberd.xml
+ eend $?
+
+}
+
+stop() {
+
+ ebegin "Stopping Jabber Server"
+ start-stop-daemon --stop -x /usr/bin/jabberd
+ eend $?
+
+}