From owner-svn-ports-head@FreeBSD.ORG Wed Aug 13 19:10:47 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 178486E9; Wed, 13 Aug 2014 19:10:47 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DE135211B; Wed, 13 Aug 2014 19:10:46 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7DJAkGU087775; Wed, 13 Aug 2014 19:10:46 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7DJAkb5087773; Wed, 13 Aug 2014 19:10:46 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201408131910.s7DJAkb5087773@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Wed, 13 Aug 2014 19:10:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364801 - head/sysutils/hal X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2014 19:10:47 -0000 Author: marino Date: Wed Aug 13 19:10:46 2014 New Revision: 364801 URL: http://svnweb.freebsd.org/changeset/ports/364801 QAT: https://qat.redports.org/buildarchive/r364801/ Log: sysutils/hal: Adjust pkg-plist so it passes stage-qa and leftover checks Hal was not passing poudriere testport or poudriere bulk -t runs due to failing the stage-qa tests and later a leftover check with /var/lib/PolicyKit/user-haldaemon.auths. The reported error is actually not wrong, but rather an inadequacy in the check-plist logic. However, hald is a dependency for a lot of ports and it keeps breaking bulk -t runs, so I switched "@unexec rm -rf" to "@unexec rmdir" to that it would build cleanly in poudriere (gnome@ had fair warning!). If the check-plist logic is improved in the future, this can be changed back to the better "rm -rf" command then. While here, stop trying to remove directories that PolicyKit installed because this will always fail. This clears up stage-qa warnings. PR: 191223 Submitted by: marino Approved by: maintainer timeout (2 months, 2 pings) Modified: head/sysutils/hal/Makefile head/sysutils/hal/pkg-plist Modified: head/sysutils/hal/Makefile ============================================================================== --- head/sysutils/hal/Makefile Wed Aug 13 19:03:05 2014 (r364800) +++ head/sysutils/hal/Makefile Wed Aug 13 19:10:46 2014 (r364801) @@ -4,7 +4,7 @@ PORTNAME= hal DISTVERSION= 0.5.14 -PORTREVISION= 26 +PORTREVISION= 27 CATEGORIES= sysutils MASTER_SITES= http://hal.freedesktop.org/releases/ Modified: head/sysutils/hal/pkg-plist ============================================================================== --- head/sysutils/hal/pkg-plist Wed Aug 13 19:03:05 2014 (r364800) +++ head/sysutils/hal/pkg-plist Wed Aug 13 19:10:46 2014 (r364801) @@ -124,8 +124,6 @@ share/PolicyKit/policy/org.freedesktop.h @dirrm %%DATADIR%%/dist @dirrm %%DATADIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrmtry share/PolicyKit/policy -@dirrmtry share/PolicyKit @dirrm libexec/hal/scripts/freebsd @dirrm libexec/hal/scripts @dirrm libexec/hal @@ -135,10 +133,10 @@ share/PolicyKit/policy/org.freedesktop.h @dirrm etc/hal/fdi/information @dirrm etc/hal/fdi @dirrm etc/hal +@unexec rm -f /var/lib/PolicyKit/user-haldaemon.auths 2>/dev/null || true @unexec rm -f /var/run/hald/hald.pid 2>/dev/null || true -@unexec rm -rf /var/run/hald/hald-local 2>/dev/null || true -@unexec rm -rf /var/run/hald/hald-runner 2>/dev/null || true +@unexec rmdir /var/run/hald/hald-local 2>/dev/null || true +@unexec rmdir /var/run/hald/hald-runner 2>/dev/null || true @unexec rmdir /var/run/hald 2>/dev/null || true @unexec rmdir /var/cache/hald 2>/dev/null || true @unexec rmdir /var/lib/hal 2>/dev/null || true -@unexec rmdir /var/lib 2>/dev/null || true