aboutsummaryrefslogtreecommitdiffstats
path: root/main/atheme-iris
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-05-27 20:44:56 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-05-27 20:44:56 +0000
commit0869f63689d9d7fb8ac57e8deeec48756e9b24cf (patch)
tree224d43573ba6f28fd5c7a0520060ffbdebf8c24b /main/atheme-iris
parent0df46e9eb6980d595517948ffe94b6fde2089d79 (diff)
downloadaports-0869f63689d9d7fb8ac57e8deeec48756e9b24cf.tar.bz2
aports-0869f63689d9d7fb8ac57e8deeec48756e9b24cf.tar.xz
community/atheme-iris: move from main
Diffstat (limited to 'main/atheme-iris')
-rw-r--r--main/atheme-iris/APKBUILD52
-rw-r--r--main/atheme-iris/atheme-iris.confd5
-rwxr-xr-xmain/atheme-iris/atheme-iris.initd39
-rw-r--r--main/atheme-iris/atheme-iris.post-install8
-rw-r--r--main/atheme-iris/atheme-iris.pre-install6
5 files changed, 0 insertions, 110 deletions
diff --git a/main/atheme-iris/APKBUILD b/main/atheme-iris/APKBUILD
deleted file mode 100644
index a527917398..0000000000
--- a/main/atheme-iris/APKBUILD
+++ /dev/null
@@ -1,52 +0,0 @@
-# Contributor: Francesco Colista <francesco.colista@gmail.com>
-# Maintainer: Francesco Colista <francesco.colista@gmail.com>
-pkgname=atheme-iris
-pkgver=0_git20160428
-pkgrel=2
-pkgdesc="AJAX IRC client. It is a drop-in replacement for qwebirc."
-url="http://www.atheme.net/iris.html"
-arch="noarch"
-license="GPL2"
-depends="py-twisted py-simplejson py-openssl py-zope-interface"
-depends_dev=""
-makedepends="$depends_dev python2-dev"
-install="$pkgname.post-install $pkgname.pre-install"
-subpackages=""
-source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz
- $pkgname.initd
- $pkgname.confd"
-pkgusers="iris"
-pkggroups="iris"
-_builddir="$srcdir"/$pkgname-$pkgver
-giturl="git://github.com/atheme/iris.git"
-disturl="dev.alpinelinux.org:/archive/$pkgname"
-build() {
- cd "$_builddir"
- return 0
-}
-
-package() {
- cd "$_builddir"
- mkdir -p $pkgdir/etc/$pkgname
- mkdir -p $pkgdir/var/lib/$pkgname
- mkdir -p $pkgdir/var/log/$pkgname
- mkdir -p $pkgdir/etc/conf.d
- mkdir -p $pkgdir/etc/init.d
- cp "$srcdir"/$pkgname.confd $pkgdir/etc/conf.d/$pkgname
- cp "$srcdir"/$pkgname.initd $pkgdir/etc/init.d/$pkgname
- cp -r * $pkgdir/var/lib/$pkgname
- cp iris.conf.example $pkgdir/etc/$pkgname/iris.conf
- ln -s /etc/$pkgname/iris.conf $pkgdir/var/lib/$pkgname/iris.conf
- chown iris:iris $pkgdir/var/log/$pkgname
- chown -R iris:iris $pkgdir/var/lib/$pkgname
-}
-
-md5sums="013d31d74282784eda19c8c0f15fa241 atheme-iris-0_git20160428.tar.gz
-bfbcb071be8eccb3100a77414b78a462 atheme-iris.initd
-a62994955210ba7d0b8dcbd293b853c4 atheme-iris.confd"
-sha256sums="935be969e101304b38d22d54d9647809f36ac687495e3b091d2a488fb5b389fd atheme-iris-0_git20160428.tar.gz
-ee92a0029f5aaea0642dcdbe07fab47fa5fd0f71eb9bc91762b02d5fb0994886 atheme-iris.initd
-869cfcac43bcb4f27f57e9f25afab45797adcd70996296f6885e08bbdb82c6f0 atheme-iris.confd"
-sha512sums="f664ac600f7d2972625a9c172016ad37606828ea705c46b0ebfac650a8e47bebde1fbc888d82445dcde04d2debbbac85e41edf0f2243754b68f7277943841b8f atheme-iris-0_git20160428.tar.gz
-a2d3bd49764fbf30eeb3a4357b8c2afeb863b75f17be65efaa7da169c9b728f476255f25cedf8c002e1241b05e4de153b8f211961a9514ca8c1641aee776d991 atheme-iris.initd
-c8ba5df2b1174a0c694e82a8f8b595f10caed6ca03c9667c596bb004151ed66023dd75eecce1948408620bcaef270a7e097754966580085745a5bae14590a1ec atheme-iris.confd"
diff --git a/main/atheme-iris/atheme-iris.confd b/main/atheme-iris/atheme-iris.confd
deleted file mode 100644
index d7815c99dc..0000000000
--- a/main/atheme-iris/atheme-iris.confd
+++ /dev/null
@@ -1,5 +0,0 @@
-PORT="9090"
-IP="0.0.0.0"
-ARGS="-p ${PORT} -i ${IP} -s"
-#Uncomment if you want logging to file: beware of amount of logs!
-#ARGS="$ARGS -l var/log/atheme-iris/atheme-iris.log"
diff --git a/main/atheme-iris/atheme-iris.initd b/main/atheme-iris/atheme-iris.initd
deleted file mode 100755
index dd8a24dbe3..0000000000
--- a/main/atheme-iris/atheme-iris.initd
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2013 Alpine Linux
-# Distributed under the terms of the GNU General Public License v2
-
-extra_stopped_commands="compile"
-
-: ${SVCHOME:=/var/lib/$SVCNAME}
-: ${pidfile:=/var/run/${SVCNAME%%.*}/${SVCNAME#*.}.pid}
-
-depend() {
- use net
- need localmount
-}
-compile() {
- ebegin "Compiling configuration for ${SVCNAME}"
- cd ${SVCHOME}
- ./clean.py
- ./compile.py
- eend $?
-}
-
-start() {
- compile || return 1
- checkpath --directory --owner iris ${pidfile%/*}
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon --exec ${SVCHOME}/run.py \
- --pidfile $pidfile \
- --chdir $SVCHOME \
- --user iris:iris \
- --background \
- --stdout /dev/null \
- --stderr /dev/null \
- --wait 500 \
- -- \
- -P $pidfile \
- $ARGS
-
- eend $?
-}
diff --git a/main/atheme-iris/atheme-iris.post-install b/main/atheme-iris/atheme-iris.post-install
deleted file mode 100644
index 18a6f7a6e1..0000000000
--- a/main/atheme-iris/atheme-iris.post-install
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-echo "************************************************************************************************"
-echo "***** Before starting atheme-iris, you need to: *****"
-echo "***** *****"
-echo "***** 1 - Modify /etc/atheme-iris/iris.conf *****"
-echo "***** 2 - make a symlink from /etc/atheme-iris/iris.conf to /var/lib/atheme-iris/iris.conf *****"
-echo "***** 3 - Run /etc/init.d/atheme-iris setup *****"
-echo "************************************************************************************************"
diff --git a/main/atheme-iris/atheme-iris.pre-install b/main/atheme-iris/atheme-iris.pre-install
deleted file mode 100644
index aa18cf533d..0000000000
--- a/main/atheme-iris/atheme-iris.pre-install
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-addgroup -S iris 2>/dev/null
-adduser -S -D -H -h /usr/share/webapps/atheme-iris -s /sbin/nologin -G iris -g iris iris 2>/dev/null
-
-exit 0