diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-18 09:52:49 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-18 09:57:43 +0000 |
commit | 25c135ef625a7d880edeeb873bde387a6be2606f (patch) | |
tree | ca5b4561b971edca6c6889c3a46dfd20cb879f74 /main/quassel | |
parent | e888242a9984db08939949dac162728b4c11d12c (diff) | |
download | aports-25c135ef625a7d880edeeb873bde387a6be2606f.tar.bz2 aports-25c135ef625a7d880edeeb873bde387a6be2606f.tar.xz |
community/quassel: moved from main
Diffstat (limited to 'main/quassel')
-rw-r--r-- | main/quassel/APKBUILD | 82 | ||||
-rw-r--r-- | main/quassel/quassel-core.pre-install | 7 | ||||
-rw-r--r-- | main/quassel/quasselcore.confd | 22 | ||||
-rw-r--r-- | main/quassel/quasselcore.initd | 63 |
4 files changed, 0 insertions, 174 deletions
diff --git a/main/quassel/APKBUILD b/main/quassel/APKBUILD deleted file mode 100644 index 5abb91f9c2..0000000000 --- a/main/quassel/APKBUILD +++ /dev/null @@ -1,82 +0,0 @@ -# Maintainer: Yves Schumann <yves@eisfair.org> - -pkgname=quassel -pkgver=0.12.2 -pkgrel=1 -url="http://www.quassel-irc.org/" -pkgdesc="Distributed IRC client - metapackage" -arch="all" -license="GPL" -install="quassel-core.pre-install" -depends="quassel-common" -makedepends="qt-dev cmake dbus-dev openssl-dev paxmark" -subpackages="$pkgname-common $pkgname-core $pkgname-client" -source="http://www.quassel-irc.org/pub/quassel-$pkgver.tar.bz2 - quasselcore.confd - quasselcore.initd" - -build() { - cd "$srcdir" - mkdir build - - cd build - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr/ \ - -DWITH_KDE=0 \ - -DCMAKE_BUILD_TYPE="Release" \ - -DWITH_OPENSSL=ON \ - -DWANT_CORE=ON \ - -DWANT_MONO=ON \ - -DWANT_QTCLIENT=ON \ - -DWITH_DBUS=OFF \ - -DWITH_OXYGEN=OFF \ - -DWITH_PHONON=OFF \ - -DWITH_WEBKIT=OFF \ - ../quassel-$pkgver/ || return 1 - make -} - -package() { - cd "$srcdir"/build - make DESTDIR="$pkgdir" install/fast || return 1 - paxmark -m "$pkgdir"/usr/bin/quasselcore || return 1 -} - -common() { - pkgdesc="Quassel common/shared files" - arch="noarch" - mkdir -p "$subpkgdir"/usr/share - mv "$pkgdir"/usr/share/icons \ - "$subpkgdir"/usr/share -} - -core() { - pkgdesc="Core component of distributed IRC client" - depends="$pkgname-common" - mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/quasselcore "$subpkgdir"/usr/bin/ || return 1 - install -Dm0644 "$srcdir"/quasselcore.confd \ - "$subpkgdir"/etc/conf.d/quasselcore || return 1 - install -Dm0755 ${srcdir}/quasselcore.initd \ - "$subpkgdir"/etc/init.d/quasselcore || return 1 -} - -client() { - pkgdesc="Quassel client" - depends="$pkgname-common" - mkdir -p "$subpkgdir"/usr/bin \ - "$subpkgdir"/usr/share/ - mv "$pkgdir"/usr/bin/quasselclient "$subpkgdir"/usr/bin/ || return 1 - mv "$pkgdir"/usr/share/pixmaps \ - "$pkgdir"/usr/share/applications \ - "$subpkgdir"/usr/share/ -} -md5sums="f5473a9c5927a0e8cb3a204ced887aa8 quassel-0.12.2.tar.bz2 -b196216514a44fd596a664a53e05d93e quasselcore.confd -4829d210877966aebc5893fbdefead14 quasselcore.initd" -sha256sums="6bd6f79ecb88fb857bea7e89c767a3bd0f413ff01bae9298dd2e563478947897 quassel-0.12.2.tar.bz2 -16cfaf919268ee3c3281fc4ad0dfc128b1c98f5edfc5cc522addd512f36d293c quasselcore.confd -942c41b3159728bbcf759d0e57bf20cf383ceb99455077bece8c1ae86bfb999c quasselcore.initd" -sha512sums="0c907982af0ba11af6ba5d075850149dc4d4df0c759a736dfaccdc01778958bd9b0137515c2d78a72a1b5aef6600cea47505de6ee905d83a51cf4e67d132911d quassel-0.12.2.tar.bz2 -e03df342f47945f948106883a7757262ab7a8a7d21f0b4dd01cfcc95e836c2e00f2e0177a353b4f7a4b6f80ffa970be06d49aa9a42cad1f3834382267e5a0d7f quasselcore.confd -a7181ea28d821e39c005aaaaeed821f815371f76c2e98bd5935013bb9a0ba0ab6fce9c202bab6be3eaa7895773150fc5832ea3ce9050dbea73d6db514f51da6a quasselcore.initd" diff --git a/main/quassel/quassel-core.pre-install b/main/quassel/quassel-core.pre-install deleted file mode 100644 index bbfc977182..0000000000 --- a/main/quassel/quassel-core.pre-install +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -adduser -S -D -h /var/lib/quassel -s /sbin/nologin -g quassel quassel 2>/dev/null -addgroup -S quassel 2>/dev/null -addgroup quassel quassel - -exit 0 diff --git a/main/quassel/quasselcore.confd b/main/quassel/quasselcore.confd deleted file mode 100644 index c687337775..0000000000 --- a/main/quassel/quasselcore.confd +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/files/quasselcore.conf,v 1.5 2010/11/04 14:22:44 scarabeus Exp $ - -# Loglevel Debug|Info|Warning|Error. Default is: Info -# The logfile is located at /var/log/quassel.log. -#LOGLEVEL="Info" - -# The address(es) quasselcore will listen on. Default is 0.0.0.0 -#LISTEN="0.0.0.0" - -# The port quasselcore will listen at. Default is: 4242 -#PORT="4242" - -# User we want our daemon to run under. -#USER="quassel" - -# Directory we store all quasselcore content. -#CONFIGDIR="/var/lib/quassel" - -# File quasselcore will log all its events into. -#LOGFILE="/var/log/quassel.log"
\ No newline at end of file diff --git a/main/quassel/quasselcore.initd b/main/quassel/quasselcore.initd deleted file mode 100644 index 8a0ccbb778..0000000000 --- a/main/quassel/quasselcore.initd +++ /dev/null @@ -1,63 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/files/quasselcore.init,v 1.8 2011/08/19 11:43:49 scarabeus Exp $ - -depend() { - need localmount net - after bootmisc postgres -} - -CORE="$(which quasselcore)" -PID="/run/quassel.pid" -LOGFILE=${LOGFILE:-"/var/log/quassel.log"} -CONFIGDIR=${CONFIGDIR:-"/var/lib/quassel"} -QUASSEL_USER=${QUASSEL_USER:-"quassel"} - -checkconfig() { - # set defaults - LOGLEVEL=${LOGLEVEL:-"Info"} - - # check config folder - if [ ! -d "${CONFIGDIR}" ]; then - mkdir "${CONFIGDIR}" || return 1 - fi - # permissions always changed just to avoid runtime issues - chown -R "${QUASSEL_USER}":"${QUASSEL_USER}" "${CONFIGDIR}" || return 1 - - # check log file - if [ ! -e "${LOGFILE}" ]; then - touch "${LOGFILE}" || return 1 - fi - # permissions always changed just to avoid runtime issues - chown "${QUASSEL_USER}":"${QUASSEL_USER}" "${LOGFILE}" || return 1 -} - -start() { - checkconfig || return 1 - - ebegin "Starting Quassel Core" - - if [ -n "${RC_UNAME}" ]; then - # running on baselayout-2/openrc - start-stop-daemon --start --user "${QUASSEL_USER}" --background --make-pidfile \ - --pidfile "${PID}" \ - --exec "${CORE}" -- --logfile="${LOGFILE}" --loglevel="${LOGLEVEL}" \ - ${LISTEN:+--listen="${LISTEN}"} ${PORT:+--port="${PORT}"} \ - --configdir="${CONFIGDIR}" - else - # running on baselayout-1 - start-stop-daemon --start --chuid "${QUASSEL_USER}" --background --make-pidfile \ - --pidfile "${PID}" --env HOME="${CONFIGDIR}" \ - --exec "${CORE}" -- --logfile="${LOGFILE}" --loglevel="${LOGLEVEL}" \ - ${LISTEN:+--listen="${LISTEN}"} ${PORT:+--port="${PORT}"} \ - --configdir="${CONFIGDIR}" - fi - eend $? -} - -stop() { - ebegin "Stopping Quassel Core" - start-stop-daemon --stop --pidfile "${PID}" --exec "${CORE}" - eend $? -} |