From nobody@FreeBSD.org  Fri Jul 19 12:37:39 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id 906A746D
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 19 Jul 2013 12:37:39 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	by mx1.freebsd.org (Postfix) with ESMTP id 837E07D1
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 19 Jul 2013 12:37:39 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6JCbdLP091396
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 19 Jul 2013 12:37:39 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6JCbdZ1091392;
	Fri, 19 Jul 2013 12:37:39 GMT
	(envelope-from nobody)
Message-Id: <201307191237.r6JCbdZ1091392@oldred.freebsd.org>
Date: Fri, 19 Jul 2013 12:37:39 GMT
From: R Skinner <rocky@herveybayaustralia.com.au>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [NEW PORT] linux-f10-hal-libs
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         180654
>Category:       ports
>Synopsis:       [NEW PORT] devel/linux-f10-hal-libs: HAL libs (Linux Fedora 10)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 19 12:40:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Thu Nov 21 04:20:00 UTC 2013
>Originator:     R Skinner
>Release:        9.1
>Organization:
>Environment:
FreeBSD laptop3.herveybayaustralia.com.au 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Currently linux apps running under the linuxulator have no access to the hald. Unfortunately this means linux apps may not function correctly under certain conditions; such as the current flash videos playing on certain sites no longer work because Adobe Flash uses hal to access DRM permissions (?!)
>How-To-Repeat:

>Fix:
This new port should resolve some of the playback issues with the linux flash at the least for the short term.

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	linux-f10-hal-libs
#	linux-f10-hal-libs/pkg-plist
#	linux-f10-hal-libs/pkg-message
#	linux-f10-hal-libs/pkg-descr
#	linux-f10-hal-libs/distinfo.i386
#	linux-f10-hal-libs/Makefile
#
echo c - linux-f10-hal-libs
mkdir -p linux-f10-hal-libs > /dev/null 2>&1
echo x - linux-f10-hal-libs/pkg-plist
sed 's/^X//' >linux-f10-hal-libs/pkg-plist << '0e912ba9f1b978e58bea17f71be750f0'
Xusr/lib/libhal.so.1
Xusr/lib/libhal.so.1.0.0
Xusr/lib/libhal-storage.so.1
Xusr/lib/libhal-storage.so.1.0.0
0e912ba9f1b978e58bea17f71be750f0
echo x - linux-f10-hal-libs/pkg-message
sed 's/^X//' >linux-f10-hal-libs/pkg-message << 'fcd64f94caee3902358e2fc917c5e822'
X###########################################################################
X
XAt a minimum you need to link your ldap.conf to /compat/linux/etc/ or set
X/compat/linux/etc/ldap.conf to suit your network environment.
X
X###########################################################################
fcd64f94caee3902358e2fc917c5e822
echo x - linux-f10-hal-libs/pkg-descr
sed 's/^X//' >linux-f10-hal-libs/pkg-descr << 'c92f0455103b0614df5acbfd6749bf6d'
XThis a port of the hal libraries for linux.
X
XThis may help with some discrepancies with linux applications that may miss hal
X- particularly the new peculiarity of adobe flashplayer and DRM (?!)
c92f0455103b0614df5acbfd6749bf6d
echo x - linux-f10-hal-libs/distinfo.i386
sed 's/^X//' >linux-f10-hal-libs/distinfo.i386 << '0f571b902e33b8f90d25769a9c3cd53d'
XSHA256 (rpm/i386/fedora/10/hal-libs-0.5.12-12.20081027git.fc10.i386.rpm) = 86f9f9d83e06e320b1c7e3fbe2b97775f9b8ccd3ee7e728272ab59d2ed85c55a
XSIZE (rpm/i386/fedora/10/hal-libs-0.5.12-12.20081027git.fc10.i386.rpm) = 67782
0f571b902e33b8f90d25769a9c3cd53d
echo x - linux-f10-hal-libs/Makefile
sed 's/^X//' >linux-f10-hal-libs/Makefile << '8bfdc5b13a39f405fba5af01b1b1557e'
X# Created by: rskinner
X
XPORTNAME=	hal-libs
XPORTVERSION=	${HAL_LIBS_VERSION}
XCATEGORIES=	devel linux
XPKGNAMEPREFIX=	linux-f10-
XDISTNAME=	${PORTNAME}-${HAL_LIBS_VERSION}-${RPMVERSION}
X
XMAINTAINER=	port_maintainer@herveybayaustralia.com.au
XCOMMENT=	HAL libs (Linux Fedora 10)
X
XLICENSE=	GPLv2
X
XHAL_LIBS_VERSION=0.5.12
X
XUSE_LINUX_RPM=	yes
XUSE_LINUX_PREFIX=yes
XLINUX_DIST_VER=	10
XRPMVERSION=	12.20081027git.fc10
XUSE_LDCONFIG=	yes
X
XLIB_DEPENDS=	linux-f10-dbus-libs:${PORTSDIR}/devel/linux-f10-dbus-libs
X
X.include <bsd.port.mk>
8bfdc5b13a39f405fba5af01b1b1557e
exit



>Release-Note:
>Audit-Trail:

From: Rod Taylor <rod.taylor@gmail.com>
To: bug-followup@FreeBSD.org, rocky@herveybayaustralia.com.au
Cc:  
Subject: Re: ports/180654: [NEW PORT] devel/linux-f10-hal-libs: HAL libs
 (Linux Fedora 10)
Date: Mon, 4 Nov 2013 19:05:16 -0500

 --047d7bb03c4692f99704ea62c9c5
 Content-Type: text/plain; charset=UTF-8
 
 Port works as described (allows Flash to access DRM protected content).
 
 To install, I had to comment out the following line:
 
 LIB_DEPENDS=    linux-f10-dbus-libs:${PORTSDIR}/devel/linux-f10-dbus-libs
 
 Due to the this error:
 
 ===>   linux-f10-hal-libs-0.5.12 depends on shared library:
 linux-f10-dbus-libs - not found
 ===>    Verifying install for linux-f10-dbus-libs in
 /usr/ports/devel/linux-f10-dbus-libs
 ===>   Returning to build of linux-f10-hal-libs-0.5.12
 Error: shared library "linux-f10-dbus-libs" does not exist
 
 --047d7bb03c4692f99704ea62c9c5--

From: Rod Taylor <rod.taylor@gmail.com>
To: R Skinner <rocky@herveybayaustralia.com.au>
Cc: bug-followup@freebsd.org
Subject: Re: ports/180654: [NEW PORT] devel/linux-f10-hal-libs: HAL libs
 (Linux Fedora 10)
Date: Wed, 6 Nov 2013 18:48:29 -0500

 --047d7b3a840044036204ea8ac93f
 Content-Type: text/plain; charset=UTF-8
 
 Sorry, I'm not a committer or knowledgeable in how ports work. I stumbled
 on this ticket when looking for a solution to using Amazon Instant Video on
 a FreeBSD desktop.
 
 Just reported back what I found out in the hopes a committer would pick it
 up.
 
 --047d7b3a840044036204ea8ac93f--

From: R Skinner <rocky@herveybayaustralia.com.au>
To: Rod Taylor <rod.taylor@gmail.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/180654: [NEW PORT] devel/linux-f10-hal-libs: HAL libs (Linux
 Fedora 10)
Date: Thu, 07 Nov 2013 09:42:00 +1000

 This is a multi-part message in MIME format.
 --------------050502080403040406070707
 Content-Type: text/plain; charset=UTF-8; format=flowed
 Content-Transfer-Encoding: 7bit
 
 On 11/05/13 10:05, Rod Taylor wrote:
 > Port works as described (allows Flash to access DRM protected content).
 >
 > To install, I had to comment out the following line:
 >
 > LIB_DEPENDS= linux-f10-dbus-libs:${PORTSDIR}/devel/linux-f10-dbus-libs
 >
 > Due to the this error:
 >
 > ===> linux-f10-hal-libs-0.5.12 depends on shared library: 
 > linux-f10-dbus-libs - not found
 > ===>    Verifying install for linux-f10-dbus-libs in 
 > /usr/ports/devel/linux-f10-dbus-libs
 > ===>   Returning to build of linux-f10-hal-libs-0.5.12
 > Error: shared library "linux-f10-dbus-libs" does not exist
 >
 Can you explain why that doesn't work? It does actually need the dbus as 
 that's how the drm gets in to the hal database, and linux-f10-dbus-libs 
 exists in devel, so I'm actually a little mystified as to the whys of 
 the issue. Unless thats not what LIB_DEPENDS is for?
 
 I'll run some more tests in the meantime - I was in a real hurry at the 
 time when I posted this so now I can give it a real debug.
 
 --------------050502080403040406070707--

From: R Skinner <rocky@herveybayaustralia.com.au>
To: Rod Taylor <rod.taylor@gmail.com>
Cc: bug-followup@freebsd.org
Subject: Re: ports/180654: [NEW PORT] devel/linux-f10-hal-libs: HAL libs (Linux
 Fedora 10)
Date: Thu, 07 Nov 2013 10:53:56 +1000

 This is a multi-part message in MIME format.
 --------------040707090000020707070504
 Content-Type: text/plain; charset=UTF-8; format=flowed
 Content-Transfer-Encoding: 7bit
 
 On 11/07/13 09:48, Rod Taylor wrote:
 > Sorry, I'm not a committer or knowledgeable in how ports work. I 
 > stumbled on this ticket when looking for a solution to using Amazon 
 > Instant Video on a FreeBSD desktop.
 >
 > Just reported back what I found out in the hopes a committer would 
 > pick it up.
 Hey thats no problem. Hopefully I can test it against a newer tree and 
 fix any bugs in the port - if you have any more details it would help :)
 
 --------------040707090000020707070504--

From: Chess Griffin <chess@chessgriffin.com>
To: rocky@herveybayaustralia.com.au, bug-followup@freebsd.org
Cc:  
Subject: Re: ports/180654: [NEW PORT] devel/linux-f10-hal-libs: HAL libs
 (Linux Fedora 10)
Date: Wed, 20 Nov 2013 23:07:03 -0500

 I am also very interested in this port.  It doesn't seem to fetch the 
 distfiles, though, when I run 'make fetch' or when I build it in my 
 poudriere instance.
 
 
 ===========================================================================
 =======================<phase: fetch-depends  
  >============================
 ===========================================================================
 =======================<phase: fetch          
  >============================
 ===>  License GPLv2 accepted by the user
 => hal-libs-0.5.12-12.20081027git.fc10.src.rpm is not in 
 /usr/ports/myports/linux-f10-hal-libs/distinfo.i386.
 => Either /usr/ports/myports/linux-f10-hal-libs/distinfo.i386 is out of 
 date, or
 => hal-libs-0.5.12-12.20081027git.fc10.src.rpm is spelled incorrectly.
 *** [do-fetch] Error code 1
 
 Stop in /usr/ports/myports/linux-f10-hal-libs.
 ===>  Cleaning for linux-f10-hal-libs-0.5.12
 build of /usr/ports/myports/linux-f10-hal-libs ended at Wed Nov 20 
 23:05:17 EST 2013
 build time: 00:00:08
 
 
 -- 
 Chess Griffin
>Unformatted:
