Re: pkg version - Orphanned status phpMyAdmin 4.7.9

2018-04-08 Thread Jos Chrispijn

On 8-4-2018 12:11, Matthew Seaman wrote:

[*] Assuming your system is set up to use php56, which it probably is as
that's the default.  The change to flavouring means that you should be
able to upgrade to a different version of PHP and still keep using the
default package servers rather than have to build your own.
Thanks for that - I now getting the point here. Great solution - who 
invented this or was it a long team effort of a global think tank?

Cheers,
Jos
___
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: pkg version - Orphanned status phpMyAdmin 4.7.9

2018-04-08 Thread Jos Chrispijn

Just found out the flavored ports will end the necessity of slave ports.
Imho that is a great solution, as oneport can result in many packages 
(no need to build you packages as the created port package is more 
flexible).


What I still ask myself:

- what if another program in that package releases a new version- you 
just only recompile that port including the update?

- what effect does this have on precompiled ports?

/Jos

On 8-4-2018 14:14, Jos Chrispijn wrote:

Kurt, thanks for this.
Can you tell me why this flavored mode has been introduced?
Does that mean that if I install a port that will not have this 
php-version string, it is either not used by php or is not yet ready 
to be used in flavored mode?


Best regards, Jos


On 7-4-2018 17:00, Kurt Jaeger wrote:

Hi!


Running 'pkg version', I got phpMyAdmin status "?" (orphan)

[...]

===>  Installing for phpMyAdmin-php56-4.7.9

[...]

Can you tell me how I can solve this? Thanks!
I think it happens because databases/phpmyadmin was modified to work 
with

every php version (it was 'flavored'). So the php-version is now part
of PKGNAME.

To fix it, this should work:

pkg delete phpmyadmin

pkg install phpmyadmin



___
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: pkg version - Orphanned status phpMyAdmin 4.7.9

2018-04-08 Thread Jos Chrispijn

Kurt, thanks for this.
Can you tell me why this flavored mode has been introduced?
Does that mean that if I install a port that will not have this 
php-version string, it is either not used by php or is not yet ready to 
be used in flavored mode?


Best regards, Jos


On 7-4-2018 17:00, Kurt Jaeger wrote:

Hi!


Running 'pkg version', I got phpMyAdmin status "?" (orphan)

[...]

===>  Installing for phpMyAdmin-php56-4.7.9

[...]

Can you tell me how I can solve this? Thanks!

I think it happens because databases/phpmyadmin was modified to work with
every php version (it was 'flavored'). So the php-version is now part
of PKGNAME.

To fix it, this should work:

pkg delete phpmyadmin

pkg install phpmyadmin



___
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: pkg version - Orphanned status phpMyAdmin 4.7.9

2018-04-08 Thread Jos Chrispijn


On 7-4-2018 21:55, Miroslav Lachman wrote:

To fix it, this should work:


pkg delete phpmyadmin

pkg install phpmyadmin

That did the trick, thanks for that.
I first followed up Matthew's suggestion (thanks for that too), but the 
port still got the Orphanned status.


What now happens is that all ports that were linked under their original 
port name, got the 'php56-' pre-string in their port name.

What is exactly the reason for that and where can I find more about this?

Thanks y'all for your support on this.
Jos

I can't tell if it works for phpMyAdmin too but I use "pkg upgrade -f 
category/portname" often (in similar cases)


So you can try "pkg upgrade -f databases/phpmyadmin" as the package 
name was changed but port's origin is the same, it will remove old 
version and install new flavored version.


Miroslav Lachman
___
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: pkg version - Orphanned status phpMyAdmin 4.7.9

2018-04-08 Thread Matthew Seaman
On 07/04/2018 15:40, Jos Chrispijn wrote:
> [Nub on ports]
> 
> Running 'pkg version', I got phpMyAdmin status "?" (orphan)
> 
> I first tried reinstalling the port, resulting in an error.
> -- cut --
> 
> ===>  Installing for phpMyAdmin-php56-4.7.9
> 
> ===>   Registering installation for phpMyAdmin-php56-4.7.9
> Installing phpMyAdmin-php56-4.7.9...
> pkg-static: phpMyAdmin-php56-4.7.9 conflicts with phpMyAdmin-4.7.9
> (installs files into the same place). Problematic file: /usr/local
> 
> /www/phpMyAdmin/CONTRIBUTING.md
> 
> *** Error code 70
> 
> -- cut --
> 
> Can you tell me how I can solve this? Thanks!

Unfortunately the transition from the unflavoured to the flavoured
version of phpmyadmin isn't quite as seamless as we might hope.  However
the solution is just to tell pkg to install the flavoured version of
phpmyadmin.  Other than the name change and possibly a difference in the
dependency chain, the flavoured packages are identical to the
unflavoured.  So just:

pkg install phpmyadmin-php56   [*]

It may well warn about conflicting files, but that's OK -- the
replacement files will be identical to what they are replacing.

While flavouring does allow end users a lot more flexibility in
selecting a version of PHP, in fact a better solution here would be the
proposed 'flexible dependencies' but that's not available yet.  The only
significant difference between the flavoured packages is the dependency
metadata.

Cheers,

Matthew

[*] Assuming your system is set up to use php56, which it probably is as
that's the default.  The change to flavouring means that you should be
able to upgrade to a different version of PHP and still keep using the
default package servers rather than have to build your own.



signature.asc
Description: OpenPGP digital signature


Re: pkg version - Orphanned status phpMyAdmin 4.7.9

2018-04-07 Thread Miroslav Lachman

Kurt Jaeger wrote on 2018/04/07 17:00:

Hi!


Running 'pkg version', I got phpMyAdmin status "?" (orphan)

[...]

===>  Installing for phpMyAdmin-php56-4.7.9

[...]

Can you tell me how I can solve this? Thanks!


I think it happens because databases/phpmyadmin was modified to work with
every php version (it was 'flavored'). So the php-version is now part
of PKGNAME.

To fix it, this should work:

pkg delete phpmyadmin

pkg install phpmyadmin


I can't tell if it works for phpMyAdmin too but I use "pkg upgrade -f 
category/portname" often (in similar cases)


So you can try "pkg upgrade -f databases/phpmyadmin" as the package name 
was changed but port's origin is the same, it will remove old version 
and install new flavored version.


Miroslav Lachman
___
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: pkg version - Orphanned status phpMyAdmin 4.7.9

2018-04-07 Thread Kurt Jaeger
Hi!

> Running 'pkg version', I got phpMyAdmin status "?" (orphan)
[...]
> ===>  Installing for phpMyAdmin-php56-4.7.9
[...]
> Can you tell me how I can solve this? Thanks!

I think it happens because databases/phpmyadmin was modified to work with
every php version (it was 'flavored'). So the php-version is now part
of PKGNAME.

To fix it, this should work:

pkg delete phpmyadmin

pkg install phpmyadmin

-- 
p...@opsec.eu+49 171 31013722 years to go !
___
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"


pkg version - Orphanned status phpMyAdmin 4.7.9

2018-04-07 Thread Jos Chrispijn

[Nub on ports]

Running 'pkg version', I got phpMyAdmin status "?" (orphan)

I first tried reinstalling the port, resulting in an error.
-- cut --

===>  Installing for phpMyAdmin-php56-4.7.9

===>   Registering installation for phpMyAdmin-php56-4.7.9
Installing phpMyAdmin-php56-4.7.9...
pkg-static: phpMyAdmin-php56-4.7.9 conflicts with phpMyAdmin-4.7.9 
(installs files into the same place). Problematic file: /usr/local


/www/phpMyAdmin/CONTRIBUTING.md

*** Error code 70

-- cut --

Can you tell me how I can solve this? 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"