Package Details: opentracker 2016.10.02-4

Git Clone URL: (read-only)
Package Base: opentracker
Description: A free and open torrent tracker
Upstream URL:
Licenses: beerware
Submitter: Strit
Maintainer: Strit
Last Packager: Strit
Votes: 5
Popularity: 0.901923
First Submitted: 2015-12-21 17:54
Last Updated: 2016-12-15 11:28

Dependencies (2)

Required by (0)

Sources (2)

Latest Comments

avignat commented on 2018-02-22 15:29

It works. I don't what was wrong. Thanks.

Strit commented on 2018-02-22 14:17

@avignat I just built this in a clean chroot without issue.

Download the tarball, unpack it, cd into the folder with the PKGBUILD and run: makepkg -sc

If that does not work, post the error.

avignat commented on 2018-02-09 09:50

I've got the following error :

:: Installing opentracker package(s)...

:: opentracker package(s) failed to install.

:: ensure package version does not mismatch between .SRCINFO and PKGBUILD

:: ensure package name has a VCS suffix if this is a devel package

Strit commented on 2017-12-05 18:37

@AracooL I just downloaded the tarball and ran makepkg -sc in it, and it built without a problem.

Maybe it's because of the russian locale?

AracooL commented on 2017-11-18 12:16

When I collect this shows, help plz

io/iob_send.c: В функции «iob_send»:
io/iob_send.c:228:11: ошибка: «nozerocopy» не описан (первое использование в этой функции)
if (nozerocopy && dozerocopy==0 && docork<0) { /* write+writev */
io/iob_send.c:228:11: замечание: сообщение о каждом неописанном идентификаторе выдается один раз в каждой функции, где он встречается
io/iob_send.c:228:25: ошибка: «dozerocopy» undeclared (first use in this function); did you mean «nozerocopy»?
if (nozerocopy && dozerocopy==0 && docork<0) { /* write+writev */
make: *** [GNUmakefile:179: iob_send.o] Ошибка 1

moonman commented on 2016-12-23 06:40


Strit commented on 2016-12-22 10:42

Thank you, I updated the pkgbuild and included the .service file as well.

moonman commented on 2016-12-14 12:57

---- PKGBUILD.old 2016-12-15 02:26:38.797595922 -0700
+++ PKGBUILD 2016-12-14 06:57:50.905582699 -0700
@@ -1,15 +1,20 @@
# Maintainer: Dan Johansen <strit83 at gmail dot com>
+# Contributor: Oleg Rakhmanov <oleg [at] archlinuxarm [dot] org>

pkgdesc="A free and open torrent tracker"
-arch=('x86_64' 'i686' 'armv7h' 'armv6h' 'aarch64')
+arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
makedepends=('git' 'cvs')
+ "opentracker.service")
+ 'a50d9ccbcf820cff15d082e9bc447bf1')

pkgver() {
cd "$srcdir/opentracker"
@@ -27,10 +32,7 @@

package() {
- install -dm755 $pkgdir/opt/$pkgname/
- install -d $pkgdir/usr/bin/
- install -m755 $srcdir/$pkgname/$pkgname $pkgdir/opt/$pkgname/$pkgname
- install -m755 $srcdir/$pkgname/$pkgname.conf.sample $pkgdir/opt/$pkgname/$pkgname.conf.sample
- ln -s "/opt/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm755 $srcdir/$pkgname/$pkgname $pkgdir/usr/bin/$pkgname
+ install -Dm755 $srcdir/$pkgname/$pkgname.conf.sample $pkgdir/etc/$pkgname/$pkgname.conf
+ install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service

All files available at:

You will probably want to add an .install file that create a user and run opentracker as that user for security. But this will do for now :) Thanks for creating the package in the first place. Cheers.

EDIT: added install file after all.

Strit commented on 2016-12-14 07:46

Good catch with the config file. Totally forgot about it.
About the /opt and /usr/bin placement, it was more of a "i don't really know where else to put it" issue.
And yes, I should get around to actually doing a .service file for it.

moonman commented on 2016-12-13 09:57

Just some friendly pointers:

No need to install to /opt and link to /usr/bin. /opt is for binary-only distributed file for the most part.
Where is the .service in the package?
Where is sample config file in the package?

There is no armv7l architecture (as far as precompiled binaries go) for ArchLinuxARM, there are arm, armv6h, armv7h, aarch64. h at the end stand for hardfloat and is not an architecture suffix.

Strit commented on 2016-10-05 10:37

Fixed. Thanks. :)

Mic92 commented on 2016-10-03 16:25

You put the wrong license here. opentracker has the beerware license.

Strit commented on 2016-07-29 08:58

Thanks. Updated it, so it works from a clean folder.
I guess the git and cvs runtime dependencies are not needed. The software does not need anything to run, I think.

Calimero commented on 2016-07-27 21:07

It probably builds when you have the PKGBUILD in a git repository (namely AUR's), but I used only the PKGBUILD in an empty directory. (what basically everyone does, you could reproduce)
==> Starting pkgver()...
fatal: Not a git repository (or any parent up to mount point /tmp)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
==> ERROR: pkgver is not allowed to be empty.

The pkgver() functions starts with a cd command, which shouldn't be commented.
But more importantly, please have a look at my earlier paste: so that this pkgver function will work, I moved the git repository to the source=() array.
Edit: oops, git and cvs should be makedepends, too.

Strit commented on 2016-07-25 08:41

This package builds fine for me.
Now I can see why it shouldn't have conflicts opentracker, but it should state that it provides it, in case another package comes along that also provides it.

Can you elaborate on how this packages failed to build for you?

Calimero commented on 2016-07-21 15:45

I noticed that the build was broken and 'opentracker' was providing 'opentracker' (not very useful), here's a fixed version of the PKGBUILD: