Package Details: libupnp18 1.8.3-5

Git Clone URL: https://aur.archlinux.org/libupnp18.git (read-only)
Package Base: libupnp18
Description: A separate installation of libupnp 1.8 branch
Upstream URL: http://pupnp.sourceforge.net/
Licenses: BSD
Submitter: GAZDOWN
Maintainer: GAZDOWN
Last Packager: GAZDOWN
Votes: 3
Popularity: 1.027297
First Submitted: 2018-05-08 10:56
Last Updated: 2019-01-24 11:24

Latest Comments

cousinm commented on 2019-02-14 06:56

Hi,

This package doesn't compile on 32 bits system: libupnp itself is compiled with large file support, but the "sample" produced during the compilation phase uses the default compilation flags, which makes it fail.

The solution is to add

CFLAGS+=' -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE'

in the PKGBUILD. Without this, there are some weird surprises with programs such as gerbera. Here's mine: https://github.com/gerbera/gerbera/issues/425, but the cause is this https://github.com/gerbera/gerbera/issues/105.

Regards

GAZDOWN commented on 2019-01-23 20:10

@francoism90 You have a good point. The reason I decided to put this into the PKGBUILD is that when there will be libupnp updated to 1.8 in the official repositories, there will be no need for this one. Thus, it feels reasonable to me to cause the conflict in packages rather than having two installations of the same version of the same library and potentially cause issues.

francoism90 commented on 2019-01-23 19:04

@GAZDOWN this is a bit weird conflicts=('libupnp>=1.8'), does it really conflict incl. version 1.8>= or does it provide libupnp? In that case it should be provides=('libupnp').

This will also easy management for other packages as they can simple use 'libupnp>=1.8.4' as dep.

GAZDOWN commented on 2019-01-22 17:14

Thx, my bad, I already removed it.

francoism90 commented on 2019-01-22 13:37

==> Checking runtime dependencies...
==> Missing dependencies:
  -> libupnp<=1.8
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

Are you sure this correct?

GAZDOWN commented on 2019-01-22 12:43

I added the requested --enable-reuseaddr build flag as well as I updated the version to 1.8.4.

sulaweyo commented on 2019-01-17 17:35

Would it be possible/feasable to add the compile flag '--enable-reuseaddr' ?
gerbera uses libupnp18 and without that flag a restart of the service results into binding another port. In https://github.com/gerbera/gerbera/issues/71 the "fix" mentioned was to build libupnp with this flag. I did that and indeed the issue is instantly gone. Not sure if it causes issues for others though

GAZDOWN commented on 2018-05-12 17:49

@CommodoreCrunch: thx, fixed.

CommodoreCrunch commented on 2018-05-11 19:15

Thank you for this package! Unfortunately I got a checksum failure on the .install file.

It doesn't actually need to be in sources, anyway. You can just add a line that says install="${pkgname}.install" and remove it from the sources and sha256sums.