Package Details: opentracker-git r583.6c60309-1

Package Base: opentracker-git
Description: Opentracker is a open and free bittorrent tracker project. It aims for minimal resource usage and is intended to run at your wlan router.
Upstream URL: http://erdgeist.org/arts/software/opentracker/
Category: network
Licenses: custom
Submitter: TheCreeper
Maintainer: TheCreeper
Last Packager: TheCreeper
Votes: 17
First Submitted: 2013-06-01 23:56
Last Updated: 2014-10-09 20:15

Dependencies (6)

Required by (0)

Sources

Latest Comments

Comment by ub1quit33

2015-03-25 21:25

My secondary issue was a product of not cleaning the source code before attempting to re-build opentracker. This is not a packaging issue. Simply applying the patch provided in my first comment to this PKGBUILD should result in a successful build (as of today at least)

Comment by ub1quit33

2015-03-17 17:09

The CC environment variable was not being read due to incorrect syntax. The patch below fixes that particular issue, but has merely exposed a new build failure. The new failure and the edits to the PKGBUILD are included below.

/usr/lib/libowfat.a(io_sendfile.o): In function `io_sendfile':
(.text+0x5a): warning: sendfile is not portable
/opt/diet/lib-x86_64/libc.a(sprintf.o): In function `sprintf':
(.text+0x83): warning: warning: Avoid *sprintf; use *snprintf. It is more secure.
opentracker.debug.o: In function `drop_privileges':
/usr/local/src/opentracker-git/opentracker-git/src/opentracker-git/opentracker.c:535: warning: warning: you used setegid without including <unistd.h>
/usr/local/src/opentracker-git/opentracker-git/src/opentracker-git/opentracker.c:535: warning: warning: you used setegid without including <unistd.h>
/opt/diet/lib-x86_64/libc.a(vsnprintf.o): In function `vsnprintf':
(.text+0x8d): warning: warning: the printf functions add several kilobytes of bloat.
/opt/diet/lib-x86_64/libc.a(stderr.o): In function `__fflush_stderr':
(.text+0x8): warning: warning: your code uses stdio (7+k bloat).
opentracker.debug.o: In function `scan_ip6_port':
/usr/local/src/opentracker-git/opentracker-git/src/opentracker-git/opentracker.c:354: undefined reference to `__ctype_b_loc'
opentracker.debug.o: In function `set_config_option':
/usr/local/src/opentracker-git/opentracker-git/src/opentracker-git/opentracker.c:347: undefined reference to `__ctype_b_loc'
/usr/local/src/opentracker-git/opentracker-git/src/opentracker-git/opentracker.c:351: undefined reference to `__strdup'
opentracker.debug.o: In function `parse_configfile':
/usr/local/src/opentracker-git/opentracker-git/src/opentracker-git/opentracker.c:389: undefined reference to `__ctype_b_loc'
collect2: error: ld returned 1 exit status
Makefile:71: recipe for target 'opentracker.debug' failed



--- PKGBUILD.orig 2014-10-09 13:15:38.000000000 -0700
+++ PKGBUILD 2015-03-17 10:04:27.006056301 -0700
@@ -85,8 +85,6 @@

make LIBOWFAT_HEADERS="/usr/include" \
LIBOWFAT_LIBRARY="/usr/lib" \
- #LIBOWFAT_HEADERS="../libowfat" \
- #LIBOWFAT_LIBRARY="../libowfat" \
FEATURES="-DWANT_SYSLOGS -DDEBUG_HTTPERROR" \
CC="/opt/diet/bin/diet gcc"
}

Comment by ub1quit33

2015-03-17 15:31

This package currently fails to build. Is this possibly related to the recent changes made to meet PKGBUILD compliance?

/usr/lib/libowfat.a(byte_zero.o):(.note+0x10): undefined reference to `__you_tried_to_link_a_dietlibc_object_against_glibc'
/usr/lib/libowfat.a(byte_diff.o):(.note+0x10): undefined reference to `__you_tried_to_link_a_dietlibc_object_against_glibc'
/usr/lib/libowfat.a(scan_uint.o):(.note+0x10): undefined reference to `__you_tried_to_link_a_dietlibc_object_against_glibc'
/usr/lib/libowfat.a(scan_ushort.o):(.note+0x10): undefined reference to `__you_tried_to_link_a_dietlibc_object_against_glibc'
/usr/lib/libowfat.a(scan_ulonglong.o):(.note+0x10): undefined reference to `__you_tried_to_link_a_dietlibc_object_against_glibc'
/usr/lib/libowfat.a(scan_fromhex.o):(.note+0x10): more undefined references to `__you_tried_to_link_a_dietlibc_object_against_glibc' follow
collect2: error: ld returned 1 exit status
Makefile:68: recipe for target 'opentracker' failed

Comment by fatalhalt

2014-10-06 19:43

Hello,

libowfat conflicts with postfix, how can one modify this PKGBUILD to statically link and compile libowfat against opentracker executable?

Comment by TheCreeper

2014-02-03 15:06

I think it meets the guidelines now. I may have missed something so please tell if I did.

Comment by vorbote

2014-02-02 18:17

Not wuite fixed yet. Please read https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines

Comment by TheCreeper

2014-02-02 15:07

Should be fixed now.

Comment by alucryd

2014-02-01 15:43

As mentioned below, this PKGBUILD is _wrong_. Please rewrite it using VCS in source array and check git instead of dling a master tarball, and use libowfat from AUR.

Comment by moebius_eye

2013-08-16 01:24

Your package is wrong in a number of ways.

1)
libowfat is available via aur.
You should simply add it as a dependency.
If it wasn't, it isn't a good idea to compile it along with your package.
If you're going to go into the trouble of creating a script to compile a dependency,
it might as well be available to others as another PKGBUILD.

2)
Packages named like "package-git" should use the git repositories!

Also, I added architecture "i686", I think it's safe to say that this can be compiled
on any architecture that can compile the dependencies., though.

Comment by kritztopf

2013-05-25 10:05

Here is an updated version of the PKGBUILD which utilizes a package function and adds dietlibc to makedepends:

http://ix.io/5MX

Comment by abique

2012-10-07 08:23

Maybe hefur will do the job for you: https://aur.archlinux.org/packages.php?ID=60283

Comment by powerswitch

2012-10-06 23:19

opentracker runs, but no network access possible...

"Can't open accesslist file: (null) (but will try to create it later, if necessary and possible).
PWD: (null)"

What did I do wrong?

Comment by mhspace

2012-09-11 13:31

I flagged packages out-of-date because it don't contains systemd .service file.
The .service can be taken here https://aur.archlinux.org/packages.php?ID=24021

Comment by bluewind

2012-07-21 14:10

export CC="/opt/diet/bin/diet gcc"

should help

Comment by FiX

2012-06-19 18:14

Cannot build.
Here is the log: http://pastebin.com/raw.php?i=GpfeaVxx

Comment by sl1pkn07

2012-04-25 13:23

oks. try remove dietlibc package and recompile libowfat (whit comment makedepends PKGBUILD). and try recompile opentracker

fix all

greetings

Comment by fauno

2012-02-10 18:48

try this one ;) https://projects.parabolagnulinux.org/abslibre.git/tree/social/libowfat

Comment by abique

2012-02-10 15:11

I could not try it as dietlibc-cvs doesn't build on x86_64

Comment by fauno

2012-02-10 15:01

abique, it works good with nobody and chrooting to /var/empty ;)

Comment by abique

2012-02-10 14:26

Maybe a user opentracker could be created ?

Anonymous comment

2012-01-30 07:17

Just FYI, it compiles fine on my main desktop, which is also running arch, so I created the package there and transferred it manually for install, but just a heads up that there must be some build dependencies that aren't listed here that reside outside of base-devel.

Anonymous comment

2012-01-30 07:13

Getting the following error from building:

http://pastebin.com/jFKEgDar

I'm using a fresh copy of Archlinux with base and base-devel packages installed, nothing more. What could I be missing?

Comment by fauno

2011-10-24 16:15

Modified your PKGBUILD a bit :)

https://projects.parabolagnulinux.org/abslibre.git/tree/social/opentracker

Comment by Pierre

2010-04-20 09:30

This pacakge builds the latest cvs snapshot. How can this be outdated? ipv6 can simply be enabled by modifying the Makefile.

Anonymous comment

2010-04-18 15:59

Same as opentracker but configured to allow any torrent. Also removed the statistics restriction to 127.0.0.1 because it is not handled properly.

Anonymous comment

2010-04-17 12:00

package too old, please update and please provide ipv6 support