Re: [HEADSUP] current switched by default to pkgng

From: Vincent Hoffman <vince_at_unsane.co.uk>
Date: Wed, 10 Oct 2012 23:20:34 +0100
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_at_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
_at__at_ -47,7 +47,7 _at__at_
 #=============== Begin functions we always want to have ===============
[root_at_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_at_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
_at__at_ -47,7 +47,7 _at__at_
 #=============== Begin functions we always want to have ===============
[root_at_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_at_ostracod /usr/ports/ports-mgmt/portmaster]#


Vince
Received on Wed Oct 10 2012 - 20:20:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:31 UTC