Re: Request to change ruby default version to 2.5

2019-04-19 Thread Walter Schwarzenfeld

After this change:

|portmaster -R -r ruby-2.5|

|
===>>> Port directory: /usr/ports/databases/ruby-bdb

    ===>>> This port is marked BROKEN
    ===>>> does not build with Ruby 2.5


    ===>>> If you are sure you can build it, remove the
       BROKEN line in the Makefile and try again.

|

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Request to change ruby default version to 2.5

2019-04-19 Thread Manfred Antar
This breaks portupgrade.
portupgrade requires ruby-bdb and it is marked broken for ruby2.5:

BROKEN_RUBY25=  yes 

so it’s back to 2.4 for me:)


> On Apr 19, 2019, at 3:53 PM, Matthias Fechner  wrote:
> 
> Am 19.04.2019 um 17:43 schrieb Steve Wills:
>> Yeah, it's fine, do it, just be sure to add an UPDATING entry similar
>> to previous entries for changing ruby default version. 
> 
> thanks, committed with 499391.
> 
> Gruß
> Matthias
> 
> -- 
> 
> "Programming today is a race between software engineers striving to
> build bigger and better idiot-proof programs, and the universe trying to
> produce bigger and better idiots. So far, the universe is winning." --
> Rich Cook
> 
> ___
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Request to change ruby default version to 2.5

2019-04-19 Thread Matthias Fechner
Am 19.04.2019 um 17:43 schrieb Steve Wills:
> Yeah, it's fine, do it, just be sure to add an UPDATING entry similar
> to previous entries for changing ruby default version. 

thanks, committed with 499391.

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Problem with portupgrade and py27-tkinter

2019-04-19 Thread Matthew D. Fuller
On Fri, Apr 19, 2019 at 04:07:20PM -0400 I heard the voice of
Robert Huff, and lo! it spake thus:
> Montgomery-Smith, Stephen writes:
>
> >  I have both py27-tkinter and py36-tkinter installed.  When I do
> >  portupgrade, it tries to upgrade py27-tkinter to py36-tkinter:
>
> Am I correct in remembering portupgrade dosen't handle flavors?

https://lists.freebsd.org/pipermail/freebsd-ports/2019-April/115971.html


-- 
Matthew Fuller (MF4839)   |  fulle...@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Problem with portupgrade and py27-tkinter

2019-04-19 Thread Robert Huff


Montgomery-Smith, Stephen writes:

>  I have both py27-tkinter and py36-tkinter installed.  When I do 
>  portupgrade, it tries to upgrade py27-tkinter to py36-tkinter:

Am I correct in remembering portupgrade dosen't handle flavors?



Respectfully,


Robert Huff
(portmaster user)
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: How to use @preexec to test for installed packages

2019-04-19 Thread Mathieu Arnold
On Fri, Apr 19, 2019 at 02:36:38PM +0200, Matthias Fechner wrote:
> Am 06.04.2019 um 20:59 schrieb Adam Weinberger:
> > Especially since www/gitea does the same thing (and probably a number
> > of others as well).
> 
> I did now a lot of tests and came to the conclusion that I will add
> these checks into the startup script of gitlab-ce.
> 
> Maybe this problem will be fixed in a future version of pkg to be able
> to use the CONFLICTS_ definition from the Makefile.

Please do not.

Let the admin decide what they want to use. 

-- 
Mathieu Arnold


signature.asc
Description: PGP signature


Problem with portupgrade and py27-tkinter

2019-04-19 Thread Montgomery-Smith, Stephen
I have both py27-tkinter and py36-tkinter installed.  When I do 
portupgrade, it tries to upgrade py27-tkinter to py36-tkinter:

portupgrade -a
[Reading data from pkg(8) ... - 1061 packages found - done]
** Detected a package name change: py27-tkinter 
(x11-toolkits/py-tkinter) -> 'py36-tkinter' (x11-toolkits/py-tkinter)
--->  Upgrading 'py27-tkinter-2.7.16_6' to 'py36-tkinter-3.6.8_6' 
(x11-toolkits/py-tkinter)
etc, etc.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Request to change ruby default version to 2.5

2019-04-19 Thread Matthias Fechner
Hi Steve,

Am 19.04.2019 um 15:06 schrieb Steve Wills:
> Yeah, there was an exp-run for it:
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233901
>
> There are only 2 things to fix now and you can mark those broken with
> 2.5 if they are not already and do it. I should have done it in
> January, but was waiting for other things such as GitLab to catch
> up/officially support it. 

I marked them broken with 2.5 and referred to this PR.
So we should be save to switch ruby default version to 2.5?

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: How to use @preexec to test for installed packages

2019-04-19 Thread Baptiste Daroussin
On Sat, Apr 06, 2019 at 03:58:48PM +0200, Matthias Fechner wrote:
> Dear all,
> 
> as pkg cannot handle CONFLICTS_INSTALL I tried now to implement this as
> a preinstall command using @preexec in pkg-plist.
> 
> The command should check if a package is installed and stop the
> installation or continue if the package is not installed.
> 
> I tried it with the following command:
> @preexec `/usr/sbin/pkg -N info -e gogs`; if [ $? -eq 0 ]; then echo
> "Gitlab cannot be installed together with gogs as both of them modify
> .ssh/authorized_keys" && exit 1; else echo "Gogs not installed,
> continue."; fi
> 
There is no reason at all to prevent gitlab to be installed along side with gogs
or even gitea because they both play with .ssh/authrized_keys.

It is up to the admin to be careful about it. As an admin I may want to be able
to install both to transition from one to another.

I can also have both on the same machine, but started with different users (I
already did that in the past with gitea and gogs and they both run fine
together.

My 2cts is admins should know what they are doing here and there is no reason to
register a conflict here. It is on purpose that pkg only check for conflicting
files, until now no cases justified yet any other case of conflict to be handled
by pkg. (If that ever happen then we will implement a conflict handling
solution).

Best regards,
Bapt


signature.asc
Description: PGP signature


Re: How to use @preexec to test for installed packages

2019-04-19 Thread Matthias Fechner
Am 06.04.2019 um 20:59 schrieb Adam Weinberger:
> Especially since www/gitea does the same thing (and probably a number
> of others as well).

I did now a lot of tests and came to the conclusion that I will add
these checks into the startup script of gitlab-ce.

Maybe this problem will be fixed in a future version of pkg to be able
to use the CONFLICTS_ definition from the Makefile.


Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Request to change ruby default version to 2.5

2019-04-19 Thread Matthias Fechner
Dear all,

regarding this PR:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237222

and confirmation from gitlab developers here:
https://gitlab.com/gitlab-org/gitlab-ce/issues/60704

www/gitlab-ce requires at least ruby 2.5.x.

Is there a possibility to change the default version for ruby in the
ports from 2.4 to 2.5?
And if yes, how should this be done?

Thanks a lot.

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


FreeBSD ports you maintain which are out of date

2019-04-19 Thread portscout
Dear port maintainer,

The portscout new distfile checker has detected that one or more of your
ports appears to be out of date. Please take the opportunity to check
each of the ports listed below, and if possible and appropriate,
submit/commit an update. If any ports have already been updated, you can
safely ignore the entry.

You will not be e-mailed again for any of the port/version combinations
below.

Full details can be found at the following URL:
http://portscout.freebsd.org/po...@freebsd.org.html


Port| Current version | New version
+-+
graphics/partio | 1.5.5   | v1.7.4
+-+


If any of the above results are invalid, please check the following page
for details on how to improve portscout's detection and selection of
distfiles on a per-port basis:

http://portscout.freebsd.org/info/portscout-portconfig.txt

Thanks.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"