Package Details: opentracker 2018.05.26-1

Git Clone URL: (read-only, click to copy)
Package Base: opentracker
Description: A free and open torrent tracker
Upstream URL:
Licenses: beerware
Submitter: Strit
Maintainer: Strit
Last Packager: Strit
Votes: 7
Popularity: 0.021746
First Submitted: 2015-12-21 17:54
Last Updated: 2018-12-27 18:19

Dependencies (2)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2

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: