Package Details: taskd-git 1.2.0-1

Git Clone URL: (read-only, click to copy)
Package Base: taskd-git
Description: A lightweight secure server providing multi-user, multi-client access to task data
Upstream URL:
Licenses: MIT
Provides: taskd
Submitter: philpirj
Maintainer: alexei
Last Packager: alexei
Votes: 4
Popularity: 0.012136
First Submitted: 2013-08-25 20:58 (UTC)
Last Updated: 2018-08-12 00:14 (UTC)

Latest Comments

1 2 Next › Last »

alexei commented on 2018-08-03 03:09 (UTC)

@x25e0: fixed URLs, thanks. @bbaserdem: copyright test fixed upstream.

x25e0 commented on 2018-02-22 20:44 (UTC)

The package doesn't build because the repositories have moved, changing the source and the git submodules seems to be a slightly evil temporary fix.

# Maintainer: Pablo Couto <pablo at 0x221e dot net>
# Contributor: Alan Young <harleypig at gmail dot com>
# Contributor: Phil Pirozhkov <pirjsuka at gmail dot com>
# This PKGBUILD is based on the one written by Alan Young <harleypig at gmail
# dot com> (

pkgdesc="A lightweight secure server providing multi-user, multi-client
 access to task data"




arch=('i686' 'x86_64' 'armv6h' 'armv7h')
depends=('libutil-linux' 'gnutls')
makedepends=('git' 'cmake')

pkgver() {
    cd "${pkgname}"
    git describe --long origin/$_branch | sed 's/^s//;s/\([^-]*-g\)/r\1/;s/-/./g'

prepare() {
    cd ${srcdir}/${pkgname}
    sed -i '' ./.gitmodules
    sed -i '' ./.git/config
    git submodule init
    git config submodule.libshared.url src/libshared
    git submodule update

build() {
    cd "${srcdir}/${pkgname}"

    cmake_opts="${cmake_opts} -Wno-devs"
    cmake_opts="${cmake_opts} -DCMAKE_INSTALL_PREFIX=/usr"

    cmake $cmake_opts .

check() {
    cd "${srcdir}/${pkgname}"
    make test
    cd test

package() {
    cd "${srcdir}/${pkgname}"

    make DESTDIR="${pkgdir}" install

    install -Dm644 LICENSE \
    install -Dm644 ../taskd.conf \
    install -Dm644 ../taskd.notes \
    install -Dm755 pki/ \
    install -Dm755 pki/generate.client \
    install -Dm755 pki/generate.crl \
    install -Dm755 pki/generate \
    install -Dm755 pki/generate.server \
    install -Dm644 pki/vars \
    install -Dm644 pki/README \

    # TODO: Install a modified .service where logging is fixed,
    #       until upstream fixes issue TD-136
    #install -Dm644 scripts/systemd/taskd.service \
    #        "${pkgdir}/usr/lib/systemd/system/taskd.service"
    install -Dm644 ${srcdir}/taskd.service \

bbaserdem commented on 2018-02-06 00:24 (UTC)

Build fails due to copyright page not updated to 2018;

not ok 1 - version.t: Copyright is current

FAIL: AssertionError on file /tmp/trizen/taskd-git/src/taskd-git/test/version.t line 67 in test_version: 'self.assertRegexpMatches(out.decode("utf8"), expected)':
Regexp didn't match: 'Copyright \(C\) \d{4} - 2018' not found in u"
\x1b[1mtaskd 1.2.0\x1b[0m fa9b4ba built for Linux
Copyright (C) 2010 - 2017 G\xf6teborg Bit Factory.

It's a ridiculous upstream problem.

alexei commented on 2017-09-24 23:20 (UTC)

@Zebradil: switched URL, thx. @lvsv: patched, thx. @ackthet: got that from upstream .service. @redfish: incorporated.

Zebradil commented on 2017-04-09 19:31 (UTC)

Source URL changed:

lvsv commented on 2016-06-26 23:00 (UTC) (edited on 2016-06-26 23:01 (UTC) by lvsv)

if you get something like this: CMake Error: Cannot determine link language for tar get "libshared" Just add in PKGBUILD prepare() { cd "${srcdir}/${pkgname}" git submodule init git config submodule.mysubmodule.url src/libshared git submodule update } And if you have problems with tests (as i had), change makedepeneds makedepends=('git' 'cmake' 'python' 'python2') and add export in check() export LANG="en_US.UTF8"

redfish commented on 2016-05-27 14:45 (UTC) (edited on 2016-05-27 14:52 (UTC) by redfish)

Currently, the version string generated by pkgver() is wrong. It confuses yaourt into thinking that package is out of date, because the version in .SRCINFO compares unfavorably. Here's a simple fix, please apply it: _branch=1.2.0 source=(...#branch=1.2.0) ... pkgver() { cd $pkgname git describe --long origin/$_branch | sed 's/^s//;s/\([^-]*-g\)/r\1/;s/-/./g' } UPDATE: Also, in taskd.install please do not delete users and groups, this is against policy, because it creates orphan files on the filesystem. Also, do not enable, nor start, nor stop the systemd service in .install - that is up to the user (also, the 'preset' command generates a warning). Basically, remove pre_remove(), post_remove() and the systemctl command from post_install(). Minor: consider adding 'armv7h' to the list. It builds and works on ARM.

ackthet commented on 2016-04-04 12:59 (UTC)

Could you please modify the systemd unit file to use the extra security precautions found in the unit file here:

philpirj commented on 2014-04-11 06:39 (UTC)

@harleypig Probably you should take over, I'm not using this on my own

harleypig commented on 2014-04-10 16:29 (UTC)

I have a pkgbuild for taskd-git that seems to work for me. It creates a user and group and adds the various systemd stuff. Feel free to incorporate whatever you want from it. In any case, I'm new to making packages (excepting perl packages) and would be interested in any feedback on how to improve it.