Package Details: opentracker 2016.10.02-4

Git Clone URL: https://aur.archlinux.org/opentracker.git (read-only)
Package Base: opentracker
Description: A free and open torrent tracker
Upstream URL: http://erdgeist.org/arts/software/opentracker/
Licenses: beerware
Submitter: Strit
Maintainer: Strit
Last Packager: Strit
Votes: 4
Popularity: 0.754732
First Submitted: 2015-12-21 17:54
Last Updated: 2016-12-15 11:28

Dependencies (2)

Required by (0)

Sources (2)

Latest Comments

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 */
^~~~~~~~~~
nozerocopy
make: *** [GNUmakefile:179: iob_send.o] Ошибка 1

moonman commented on 2016-12-23 06:40

Cheers

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>

pkgname=opentracker
pkgver=2016.10.02
-pkgrel=2
+pkgrel=3
pkgdesc="A free and open torrent tracker"
-arch=('x86_64' 'i686' 'armv7h' 'armv6h' 'aarch64')
+arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="http://erdgeist.org/arts/software/opentracker/"
license=('Beerware')
+backup=('etc/opentracker/opentracker.conf')
makedepends=('git' 'cvs')
-source=('git://erdgeist.org/opentracker')
-md5sums=('SKIP')
+install="$pkgname.install"
+source=('git://erdgeist.org/opentracker'
+ "opentracker.service")
+md5sums=('SKIP'
+ '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:
https://github.com/moonman/MyPKGBUILDs/tree/master/opentracker

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

@moonman
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?
https://erdgeist.org/gitweb/opentracker/tree/opentracker.conf.sample

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

@Mic92
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

@Calimero
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.

All comments