[Bug 192347] [maintainer update] multimedia/universal-media-server: Update to 4.0.1 + FIXES

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 3 14:32:49 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192347

--- Comment #6 from dreamcat4 at gmail.com ---
(In reply to John Marino from comment #5)
> how is this change correct?
> %%PORTDOCS%%@dirrmtry %%DOCSDIR%%
> 
> You'd better be able to remove that directory without question, so dirrmtry
> is wrong if it's not being shared with another port (which is rare)

I'm not sure I agree. The original entry is auto-generated. In other
directories (which are not docs stuff), they don't remove without question. If
the user has modified of put something of their own files there. So how is docs
directory different? Also: that only matters IF the contents of the directory
has been added to somehow. But the files put in there are static and we would
not expect the directory to be non-empty. I just don't get it.

> DISTFILES=	UMS-${DISTVERSION}.tgz
> 
> That's equivalent.  You could have also defined USES+= tar:tgz though and
> gotten rid of the extract suffix

Yes it is. It also adds an extra line / variable to the port Makefile for no
apparent reason whatsoever.

> this stuff:
> @exec mkdir -p %%UMS_PROFILE_PATH%%
> 
> is wrong.  it could be 8 levels deep since it's a variable.  You only
> attempt to remove one level.  But you've defined it unconditionally as

Ah OK then.

> /var/run/${PORTNAME} so what purpose does having it as a PLIST_SUB have?  I
> don't see one.

Used by rc.d script (like I mentioned just in my previous comment).

> I haven't see the rc script, maybe all it needs is
> "var/run/universal-media-server" hardcoded to it.  That actually sounds like
> an oversight that needs fixing.  Most of the other stuff I don't see as
> mistakes.

Yeah maybe. But there were no guideline for that in Porter's Handbook (that I
could see)> And as the variable that is set in Makefile is currently set to be
"/var/run/..." then functionally there is was no error at the time this change
was introduced.

> - Again, redports < poudriere.  You can pass in redports and fail poudriere.
> - that implies you already ran make stage-qa which is good.  That's the
> check that's missing from redports

In the Porters handbook it says to run "make stage" and not "make stage-qa". So
now I know that is possible, I can just run manually and don't need Poudriere
at all (thank god). OUTPUT BELOW:

ums4 universal-media-server/ root~# make stage-qa
====> Running Q/A tests (stage-qa)
ums4 universal-media-server/ root~# echo $?
0
ums4 universal-media-server/ root~# head Makefile 
# Created by: Dreamcat4 <dreamcat4 at gmail.com>
# $FreeBSD: head/multimedia/universal-media-server/Makefile 361621 2014-07-12
15:22:00Z pi $

PORTNAME=    universal-media-server
DISTVERSION=    4.0.1
CATEGORIES=    multimedia
MASTER_SITES=    SF/unimediaserver/Official%20Releases/Linux
DISTFILES=    UMS-${DISTVERSION}.tgz

MAINTAINER=    dreamcat4 at gmail.com


Again, I say, "works fine". But heh. Now you guys have broke the rc.d script
you expect me to fix it? Reality check.

I worked very hard creating this port. Most of the minor and utterly
inconsequential changes you guys have made on top of that were fine. No harm
done. But not this last one. It had problems and you should realise that the
patch I offered now at least functionally fixes things for now. So they can be
re-done right the next time. Whatever.

If you want to fix 'your way' because you think my ways wasn't good enough to
begin with then by all means please go ahead. But further than that you will
just loose my future contributions to FreeBSD project. I just don't have time
for such pettiness / arguing for no benefit to end users. It's not going to
improve their lives, in terms of the functionality of the software itself.

You guys have a right to protect your platform, but I just don't see that
happening here.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list