You are not logged in.

#1 2014-06-18 16:39:23

hifi25nl
Member
Registered: 2011-05-07
Posts: 263

Remove init.d debian script for AUR package

I would like to make a new package for HQplayer network audio daemon.
I have made this PKGBUILD (where init.d is removed from debian package and a new systemd service is added).
Is this correct?

pkgname=hqplayer-network-audio-daemon
_debpkgver=2.0.5
pkgver=$_debpkgver
pkgrel=1
pkgdesc="Signalyst Network Audio Daemon"
arch=('x86_64')
url="http://www.signalyst.com/"
license=('Proprietary')
depends=('alsa-lib')
source=("http://www2.signalyst.com/bins/naa/debian_wheezy/networkaudiod_2.0.5-20_i386.deb" 'networkaudio@.service')
sha256sums=('369bc3379b11fb05813567d47278f8f24711bb5240269ec725c8f17adecf1a21' '083a3080512283cf43930ad54749cee14a21bed5fc1596e63cce4482e1aeed96')

package() {
 cd "$srcdir"
  bsdtar xf data.tar.gz -C "$pkgdir"
  install -Dm644 "networkaudio@.service" \
    "$pkgdir/usr/lib/systemd/system/networkaudio@.service"
rm -r "$pkgdir/etc/init.d"
}

Offline

#2 2014-06-18 16:53:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,585
Website

Re: Remove init.d debian script for AUR package

I was going to recommend to build it from source - but I see the authors have not made the source code available.

That got me looking at the license which is not currently correct.  Please see the wiki page on PKGBUILD licenses

As for your actual question - personally I'd rather not install such an opaque binary from an unknown source, so I can't test it.  But does it work?  If so, what more is needed?

Last edited by Trilby (2014-06-18 16:54:29)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2014-06-19 08:10:45

hifi25nl
Member
Registered: 2011-05-07
Posts: 263

Re: Remove init.d debian script for AUR package

Sorry but it is not an "opaque binary from an unknown source": network audio daemon is made by Jussi Laako, a very well known expert in audio digital conversion, known on the net by "miska" (see the posts at computeraudiophile.com for example).

And yes, it is working very well. HQplayer play an audio file in one computer and  network audio daemon reproduce it in another.  There is a version of HQplayer for linux that will work for 30 minutes without buying the licence.

I will make a package also of HQplayer as soon as possible, since the network daemon will not work without it

For the licence I guess that I could change to 'unknown'

Here is a copy of debian control file:

Package: networkaudiod
Version: 2.0.5-20
Architecture: i386
Maintainer: Jussi Laako <jussi.laako@signalyst.com>
Installed-Size: 319
Pre-Depends: debconf
Depends: libasound2 (>= 1.0.16), libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.1.1), debconf (>= 0.5) | debconf-2.0
Priority: extra
Homepage: http://www.signalyst.com/consumer.html
Description: Signalyst Network Audio Daemon
 Signalyst Network Audio Daemon is a light weight server for asynchronous
 network audio stream playback. It is an implementation of Signalyst
 Network Audio Adapter protocol.

Last edited by hifi25nl (2014-06-19 08:11:26)

Offline

#4 2014-06-19 11:12:50

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,585
Website

Re: Remove init.d debian script for AUR package

hifi25nl wrote:

Sorry but it is not an "opaque binary from an unknown source"

I mean't no offense - but I stand by my statement.  It is distributed as a binary only and no source code is made available anywhere - thus opaque binary.  It is from a source I've never heard of.  I may just be ignorant, but I have no idea who that author and/or website is.  So it is unknown to me.  My original point was only that I was not willing to test this on my machine as I will not execute code on my machine under these conditions.  Claiming that this author is known to you is fine - but it doesn't change anything for me.

hifi25nl wrote:

For the licence I guess that I could change to 'unknown'

No.  You should folllow the instructions in the link I provided above.  It is not unknown.  There is a license file in the tarball.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB