Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2012 23:20:34 +0100
From:      Vincent Hoffman <vince@unsane.co.uk>
To:        Matthew Seaman <matthew@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [HEADSUP] current switched by default to pkgng
Message-ID:  <5075F4B2.6070200@unsane.co.uk>
In-Reply-To: <5075D175.5060901@FreeBSD.org>
References:  <20121010134421.GI26497@ithaqua.etoilebsd.net> <50758134.9070701@mail.zedat.fu-berlin.de> <5075ACE3.9030509@FreeBSD.org> <5075C00F.8040600@freebsd.org> <5075D175.5060901@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/10/2012 20:50, Matthew Seaman wrote:
> On 10/10/2012 19:35, Stefan Esser wrote:
>> Am 10.10.2012 19:14, schrieb Matthew Seaman:
>>> On 10/10/2012 15:07, O. Hartmann wrote:
>>>> Is ports-mgmt/portmaster now dealing with pkgng?
>>>
>>> Not yet. bdrewery has taken over the portmaster port and pkgng
>>> related updates are expected in the near future.
>>>
>>> Until then, you still need to follow the instructions here:
>>>
>>> https://github.com/pkgng/pkgng/blob/master/FAQ.md#15
>>
>> In order to get the portmaster-pkgng patch to apply,
>> the filename in the second line must be changed:
>>
>> from ./portmaster.sh.in
>> to ./portmaster
>
> That's if you were to patch an already installed copy of portmaster.
> The patch is designed to be placed in
>
> ${PORTSDIR}/ports-mgmt/portmaster/files/
>
> so it would be applied as part of the normal process of building the
> portmaster port. In which case portmaster.sh.in is definitely the
> correct target.
Actually not so, maybe something has changed recently?
[root@ostracod /usr/ports/ports-mgmt/portmaster]# head -4
files/patch-portmaster-pkgng
--- ./portmaster.sh.in.orig     2012-10-01 09:34:15.000000000 +0100
+++ ./portmaster.sh.in  2012-10-02 18:14:34.319249588 +0100
@@ -47,7 +47,7 @@
 #=============== Begin functions we always want to have ===============
[root@ostracod /usr/ports/ports-mgmt/portmaster]# make patch
===>  License BSD accepted by the user
===>  Found saved configuration for portmaster-3.11
===>   portmaster-3.14 depends on file: /usr/local/sbin/pkg - found
===>  Extracting for portmaster-3.14
=> SHA256 Checksum OK for portmaster-portmaster-3.14-31009f6.tar.gz.
===>  Patching for portmaster-3.14
===>  Applying FreeBSD patches for portmaster-3.14
File to patch: ^C=> Patch patch-portmaster-pkgng failed to apply cleanly.

While if edited as suggested

[root@ostracod /usr/ports/ports-mgmt/portmaster]# !head
head -4 files/patch-portmaster-pkgng
--- ./portmaster.sh.in.orig     2012-10-01 09:34:15.000000000 +0100
+++ ./portmaster        2012-10-02 18:14:34.319249588 +0100
@@ -47,7 +47,7 @@
 #=============== Begin functions we always want to have ===============
[root@ostracod /usr/ports/ports-mgmt/portmaster]# make patch
===>  License BSD accepted by the user
===>  Found saved configuration for portmaster-3.11
===>   portmaster-3.14 depends on file: /usr/local/sbin/pkg - found
===>  Extracting for portmaster-3.14
=> SHA256 Checksum OK for portmaster-portmaster-3.14-31009f6.tar.gz.
===>  Patching for portmaster-3.14
===>  Applying FreeBSD patches for portmaster-3.14
[root@ostracod /usr/ports/ports-mgmt/portmaster]#


Vince






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5075F4B2.6070200>