From owner-freebsd-questions@FreeBSD.ORG Fri Apr 25 20:03:16 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E70E41E5; Fri, 25 Apr 2014 20:03:16 +0000 (UTC) Received: from mail-oa0-x22c.google.com (mail-oa0-x22c.google.com [IPv6:2607:f8b0:4003:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 99A7B110C; Fri, 25 Apr 2014 20:03:16 +0000 (UTC) Received: by mail-oa0-f44.google.com with SMTP id n16so4764840oag.31 for ; Fri, 25 Apr 2014 13:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=CXxvJlteYaAQfpPkg3eMeyGqsIeH+v7xEF5WA++wfOY=; b=C0iiKNaVsYP6lB1C4KDCTs5bRnujwJmo9yX3QqLOl2MTZEi3Ja0FEEWczQh4+UYbdb k1+dqxVhaP9UH4flVQgCugJNVE757Lc4c4N3T+H/fn6SfpyZkUaRcYJE87yvd5TCcaUm 4+CyRwbR2MJU66kg8qZxuE0ph9qA2YkhykwiguscOJ95hEArb1HRnuEmW0a3gpsuI2Xl L7d4DrnclLQPLfKvtnCEp6ZoWxCm0MI2qFep/JB8j9/o088QzpgEskFaV5kbEuQTHpdh MFl48IqSJb+2mRG27JeyrReUFwGSkGhmssrAGHpyD7NGrsxi+Vp7t4IZJYX14NWDkSeM Sizg== MIME-Version: 1.0 X-Received: by 10.60.77.35 with SMTP id p3mr4686688oew.46.1398456195918; Fri, 25 Apr 2014 13:03:15 -0700 (PDT) Received: by 10.76.100.132 with HTTP; Fri, 25 Apr 2014 13:03:15 -0700 (PDT) In-Reply-To: References: <20140424232140.08a9acff@kalimero.tijl.coosemans.org> <20140425000339.44c933b6@kalimero.tijl.coosemans.org> <20140425142046.15efbeb7@kalimero.tijl.coosemans.org> <20140425174815.296cff33@kalimero.tijl.coosemans.org> <20140425182347.248aca18@kalimero.tijl.coosemans.org> <20140425184420.5b697ac3@kalimero.tijl.coosemans.org> <20140425185442.6849a7c6@kalimero.tijl.coosemans.org> Date: Fri, 25 Apr 2014 15:03:15 -0500 Message-ID: Subject: Re: portmaster ports update 20140416 From: Antonio Olivares To: Tijl Coosemans , Koop Mast , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2014 20:03:17 -0000 On Fri, Apr 25, 2014 at 11:58 AM, Antonio Olivares wrote: > On Fri, Apr 25, 2014 at 11:54 AM, Tijl Coosemans wrote: >> On Fri, 25 Apr 2014 11:47:07 -0500 Antonio Olivares wrote: >>> On Fri, Apr 25, 2014 at 11:44 AM, Tijl Coosemans wrote: >>>> It's strange that the patch doesn't apply at all. Did it get corrupted >>>> maybe? How did you get it to the machine? >>> >>> I downloaded it via firefox : >>> >>> $ cat colord.patch >>> Index: graphics/colord/Makefile >>> =================================================================== >>> --- graphics/colord/Makefile (revision 352018) >>> +++ graphics/colord/Makefile (working copy) >>> @@ -4,7 +4,7 @@ >>> >>> PORTNAME= colord >>> PORTVERSION= 1.0.1 >>> -PORTREVISION= 1 >>> +PORTREVISION= 2 >>> CATEGORIES= graphics >>> MASTER_SITES= http://www.freedesktop.org/software/colord/releases/ >>> >>> @@ -71,7 +71,4 @@ post-patch: >>> s|2MAN_FALSE='#'|2MAN_FALSE=|g" ${WRKSRC}/configure >>> .endif >>> >>> -post-install: >>> - @${MKDIR} ${STAGEDIR}/var/db/colord/icc >>> - >>> .include >>> Index: graphics/colord/pkg-install >>> =================================================================== >>> --- graphics/colord/pkg-install (revision 352018) >>> +++ graphics/colord/pkg-install (working copy) >>> @@ -1,11 +0,0 @@ >>> -#!/bin/sh >>> - >>> -case $2 in >>> -POST-INSTALL) >>> - /bin/mkdir -p /var/db/colord/icc >>> - /bin/chmod 0755 /var/db/colord >>> - /usr/sbin/chown colord:colord /var/db/colord >>> - /usr/sbin/chown colord:colord /var/db/colord/icc >>> - exit 0 >>> - ;; >>> -esac >>> Index: graphics/colord/pkg-plist >>> =================================================================== >>> --- graphics/colord/pkg-plist (revision 352018) >>> +++ graphics/colord/pkg-plist (working copy) >>> @@ -197,7 +197,7 @@ share/polkit-1/actions/org.freedesktop.c >>> @dirrm include/colord-1/colord-session >>> @dirrm include/colord-1/colord >>> @dirrm include/colord-1 >>> -@cwd / >>> -@dirrmtry var/db/colord/icc >>> -@dirrmtry var/db/colord >>> -@cwd >>> +@exec install -d -o colord -g colord -m 0755 /var/db/colord >>> +@exec install -d -o colord -g colord -m 0755 /var/db/colord/icc >>> +@unexec rm -d /var/db/colord/icc 2>/dev/null || : >>> +@unexec rm -d /var/db/colord 2>/dev/null || : >>> $ >> >> Hmm, there seem to be spaces where there should be tabs. I've attached >> a bzip2 compressed version now. Hopefully that gets through unchanged. >> You can uncompress it with "bunzip2 colord.patch.bz2". Then you can >> apply it same as before: >> >> # cd /usr/ports >> # patch -E < /path/to/colord.patch >> # cd graphics/colord >> # make clean >> # make install > > > Thank you very much Sir! This time success! > > > root@E-213-3W:~ # cd /usr/ports/ > root@E-213-3W:/usr/ports # patch -E < /home/olivares/Downloads/colord.patch > Hmm... Looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |Index: graphics/colord/Makefile > |=================================================================== > |--- graphics/colord/Makefile (revision 352018) > |+++ graphics/colord/Makefile (working copy) > -------------------------- > Patching file graphics/colord/Makefile using Plan A... > Hunk #1 succeeded at 4. > Hunk #2 succeeded at 71. > Hmm... The next patch looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |Index: graphics/colord/pkg-install > |=================================================================== > |--- graphics/colord/pkg-install (revision 352018) > |+++ graphics/colord/pkg-install (working copy) > -------------------------- > Patching file graphics/colord/pkg-install using Plan A... > Hunk #1 succeeded at 0. > Removing graphics/colord/pkg-install (empty after patching). > Hmm... The next patch looks like a unified diff to me... > The text leading up to this was: > -------------------------- > |Index: graphics/colord/pkg-plist > |=================================================================== > |--- graphics/colord/pkg-plist (revision 352018) > |+++ graphics/colord/pkg-plist (working copy) > -------------------------- > Patching file graphics/colord/pkg-plist using Plan A... > Hunk #1 succeeded at 197. > done > root@E-213-3W:/usr/ports # cd graphics/colord > root@E-213-3W:/usr/ports/graphics/colord # make clean > ===> Cleaning for colord-1.0.1_2 > > ... > > ====> Compressing man pages (compress-man) > ===> Correct pkg-plist sequence to create group(s) and user(s) > ===> Building package for colord-1.0.1_2 > Creating package /usr/ports/graphics/colord/work/pkg/colord-1.0.1_2.tbz > Registering depends: polkit-0.105_3 gobject-introspection-1.36.0_2 > glib-2.36.3_2 python-2.7_1,2 python2-2_2 python27-2.7.6_4 > gettext-0.18.3.1 dbus-1.8.0 libX11-1.6.2_2,1 libxcb-1.10_2 > libxml2-2.8.0_5 libiconv-1.14_3 sqlite3-3.8.4.2 libffi-3.0.13_1 > libpthread-stubs-0.3_4 pcre-8.34 lcms2-2.6_1 perl5-5.16.3_9 > gnomehier-3.0 gnome_subr-1.0 expat-2.1.0 kbproto-1.0.6 libSM-1.2.2_2,1 > libICE-1.0.8_2,1 libXau-1.0.8_2 libXdmcp-1.1.1_2 xproto-7.0.25. > Creating bzip'd tar ball in > '/usr/ports/graphics/colord/work/pkg/colord-1.0.1_2.tbz' > ===> Installing for colord-1.0.1_2 > ===> Checking if graphics/colord already installed > ===> Creating users and/or groups. > Using existing group 'colord'. > Using existing user 'colord'. > pkg_install EOL is scheduled for 2014-09-01. Please consider migrating to pkgng > http://blogs.freebsdish.org/portmgr/2014/02/03/time-to-bid-farewell-to-the-old-pkg_-tools/ > root@E-213-3W:/usr/ports/graphics/colord # > > Best Regards, > > > Antonio One more machine to update. Three out of 4 have succeeded. Thanks to all for your valuable advice and help. I could not have achieved this without you. Best Regards, Antonio