Re: Can't get Wordpress to install from poudriere

2018-08-20 Thread Jimmy Renner

Hi all,

Thanks Adam. I already got some quick, and almost the same, help from  
Kurt yesterday. So if someone else is as forgetful as me I forgot to  
change the path in the /usr/local/etc/pkg/repos file when I upgraded  
to 11.2 and then also created a new jail for 11.2. I changed to php72  
at the same time so I got stuck thinking it was something wrong with  
that.


Cheers, Jimmy


Citerar Adam Weinberger :


On Mon, Aug 20, 2018 at 3:22 AM Jimmy Renner  wrote:


Well, maybe it is not as simple.

I have set up poudriere to build som packages locally, right now:
graphics/pecl-imagick
graphics/php72-gd
audio/logitechmediaserver
www/owncloud
www/wordpress

In my make.conf I have set:
DEFAULT_VERSIONS+= php=72

So far, so good. Everything seems to build ok. But as soon as I try to
install anything, the wordpress from poudriere is never picked up but
the other packages are. I've obviously messed something up but I
cannot find what. I've been scratching my head for days so any
suggestions or hints would be good.


Thanks, Jimmy


Hi Jimmy,

First place I'd look is the pkg conf. Have you made any modifications
to /etc/pkg/FreeBSD.conf? Can you show us the files you have in
/usr/local/etc/pkg/?

Second place I'd look is making sure that pkg is using the generated
catalogues:  pkg update -f

# Adam


--
Adam Weinberger
ad...@adamw.org
https://www.adamw.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: svn commit: r475644 - head/databases/mantis

2018-08-20 Thread Dan Langille
> On Jul 29, 2018, at 6:51 AM, Jochen Neumeister  wrote:
> 
> Author: joneum
> Date: Sun Jul 29 10:51:37 2018
> New Revision: 475644
> URL: https://svnweb.freebsd.org/changeset/ports/475644
> 
> Log:
>  databases/mantis: Update to 2.15.0
> 
>  Changelog: 
> https://mantisbt.org/bugs/changelog_page.php?project=mantisbt&version=2.15.0
> 
>  PR:  229880
>  Submitted by:Nathan 
>  MFH: 2018Q3
>  Security:0822a4cf-9318-11e8-8d88-00e04c1ea73d
> 
> Modified:
>  head/databases/mantis/Makefile
>  head/databases/mantis/distinfo

This version fails to run for me.  The vendor directory is missing.  This is 
the error I get:

[Mon Aug 20 20:40:14.528249 2018] [:error] [pid 73365] [client redacted] PHP 
Warning:  require_once(/usr/local/www/mantis/vendor/autoload.php): failed to 
open stream: No such file or directory in /usr/local/www/mantis/core.php on 
line 71
[Mon Aug 20 20:40:14.528317 2018] [:error] [pid 73365] [client redacted] PHP 
Fatal error:  require_once(): Failed opening required 
'/usr/local/www/mantis/vendor/autoload.php' 
(include_path='/usr/local/share/pear') in /usr/local/www/mantis/core.php on 
line 71

Is this working for anyone?

There was no vendor directory in the 2.6.0 tarball.  There isn't one in the 
2.15.0 tarball either, but the code definitely references it.

Upstream inquires (https://mantisbt.org/forums/viewtopic.php?p=66190#p66190 
) indicate we should 
be using Sourceforge downloads, not GitHub

The vendor directory is present in the SF tarball at 
https://sourceforge.net/projects/mantisbt/files/mantis-stable/2.16.0/ 


I tried last night to update the port, but failed.

Ideas please?

--
Dan Langille - BSDCan / PGCon
d...@langille.org



> 
> Modified: head/databases/mantis/Makefile
> ==
> --- head/databases/mantis/MakefileSun Jul 29 10:42:23 2018
> (r475643)
> +++ head/databases/mantis/MakefileSun Jul 29 10:51:37 2018
> (r475644)
> @@ -2,7 +2,7 @@
> # $FreeBSD$
> 
> PORTNAME= mantis
> -PORTVERSION= 2.9.0
> +PORTVERSION= 2.15.0
> CATEGORIES=   databases www
> 
> MAINTAINER=   po...@freebsd.org
> 
> Modified: head/databases/mantis/distinfo
> ==
> --- head/databases/mantis/distinfoSun Jul 29 10:42:23 2018
> (r475643)
> +++ head/databases/mantis/distinfoSun Jul 29 10:51:37 2018
> (r475644)
> @@ -1,6 +1,6 @@
> -TIMESTAMP = 1512569589
> -SHA256 
> (mantisbt-mantisbt-2.9.0-798792eebed2e699a98c4e94f4aeb4c35eba55f8_GH0.tar.gz) 
> = a6b1bbd8fa7bc7f541e77a59e9f8a6fd496b8f61f2cd0423750ad6731af93522
> -SIZE 
> (mantisbt-mantisbt-2.9.0-798792eebed2e699a98c4e94f4aeb4c35eba55f8_GH0.tar.gz) 
> = 4547294
> +TIMESTAMP = 1532858621
> +SHA256 
> (mantisbt-mantisbt-2.15.0-798792eebed2e699a98c4e94f4aeb4c35eba55f8_GH0.tar.gz)
>  = a6b1bbd8fa7bc7f541e77a59e9f8a6fd496b8f61f2cd0423750ad6731af93522
> +SIZE 
> (mantisbt-mantisbt-2.15.0-798792eebed2e699a98c4e94f4aeb4c35eba55f8_GH0.tar.gz)
>  = 4547294
> SHA256 
> (mantisbt-swagger-ui-0beaf61f94c3e6359ee0cdaf7b23ad4b365d761f_GH0.tar.gz) = 
> 5c67f724da6d2daa8931920b82f92319098badc47b57848c385a942a1420bdf4
> SIZE 
> (mantisbt-swagger-ui-0beaf61f94c3e6359ee0cdaf7b23ad4b365d761f_GH0.tar.gz) = 
> 1401641
> SHA256 (mantisbt-ADOdb-cc2c13e337f1441e3aa1e17497722c1cd98b281b_GH0.tar.gz) = 
> a9334857b2dfefb42273f5296ef89166e6d65fcca26857702bce579ba1add102
> ___
> svn-ports-h...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-ports-head
> To unsubscribe, send any mail to "svn-ports-head-unsubscr...@freebsd.org"



signature.asc
Description: Message signed with OpenPGP


Re: Can't get Wordpress to install from poudriere

2018-08-20 Thread Adam Weinberger
On Mon, Aug 20, 2018 at 3:22 AM Jimmy Renner  wrote:
>
> Well, maybe it is not as simple.
>
> I have set up poudriere to build som packages locally, right now:
> graphics/pecl-imagick
> graphics/php72-gd
> audio/logitechmediaserver
> www/owncloud
> www/wordpress
>
> In my make.conf I have set:
> DEFAULT_VERSIONS+= php=72
>
> So far, so good. Everything seems to build ok. But as soon as I try to
> install anything, the wordpress from poudriere is never picked up but
> the other packages are. I've obviously messed something up but I
> cannot find what. I've been scratching my head for days so any
> suggestions or hints would be good.
>
>
> Thanks, Jimmy

Hi Jimmy,

First place I'd look is the pkg conf. Have you made any modifications
to /etc/pkg/FreeBSD.conf? Can you show us the files you have in
/usr/local/etc/pkg/?

Second place I'd look is making sure that pkg is using the generated
catalogues:  pkg update -f

# Adam


-- 
Adam Weinberger
ad...@adamw.org
https://www.adamw.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: Wrong hint while updating p5-Net-SMTP-SSL

2018-08-20 Thread Herbert J. Skuhra
On Mon, Aug 20, 2018 at 11:53:07AM +0200, free...@doom-labs.net wrote:
> Ahoi!
> 
> If you try upgrading mentioned port you get:
> ---8<--
> 
> ===>>> p5-Net-SMTP-SSL-1.04
> 
> ===>>> The mail/p5-Net-SMTP-SSL port has been deleted: Has expired:
> Deprecated by upstream, use Net::SMTP instead
> ===>>> Aborting update
> ---8<---
> 
> I guess this should be either NET:SMTPS or (even better) mail/p5-Net-SMTPS

Why?

https://perldoc.perl.org/5.24.0/Net/SMTP.html
https://perldoc.perl.org/5.26.0/Net/SMTP.html

Description:

This module implements a client interface to the SMTP and ESMTP
protocol, enabling a perl5 application to talk to SMTP servers. This
documentation assumes that you are familiar with the concepts of the
SMTP protocol described in RFC2821. With IO::Socket::SSL installed it
also provides support for implicit and explicit TLS encryption, i.e.
SMTPS or SMTP+STARTTLS.

-- 
Herbert
___
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: workflow question: how do you maintain the port in sync with upstream?

2018-08-20 Thread Mathieu Arnold
On Sun, Aug 19, 2018 at 02:02:42AM -0300, Helen Koike wrote:
> 
> 
> On 08/14/2018 01:09 PM, blubee blubeeme wrote:
> > 
> > 
> > On Tue, Aug 14, 2018 at 11:33 PM Mathieu Arnold  > > wrote:
> > 
> > On Tue, Aug 14, 2018 at 10:41:43PM +0800, blubee blubeeme wrote:
> > > This one is fairly straight forward, you can simply replace that
> > string
> > > with a regex command;
> > > This is an example of running a replace command for strings after
> > the patch
> > > phase of the build;
> > >
> > > post-patch:
> > >       @${REINPLACE_CMD} -e 's|for Linux|for FreeBSD|g'
> > ${WRKSRC}/README
> > 
> > Patching files in post-patch using sed SHOULD only be used to replace
> > dynamic content, never static content.
> 
> I am not sure I understand what dynamic content means here in the
> post-patch (as nothing was built, so no new file should be created). Is
> the replacement used by mail/lbdb wrong?
> 
> from mail/lbdb/Makefile
> post-patch:
>   ${REINPLACE_CMD} -e 's/sed/gsed/' ${WRKSRC}/m_muttalias.sh.in
> 
> is it ok if I do the same?
> It is not clear to me when I can use REINPLACE_CMD in the Makefile and
> when I should do a patch.

Patching using sed in post-patch is for cases when you need to replace a
variable "thing".  For example, changing /usr/local into ${PREFIX} or
${LOCALBASE}.  Here, for the sed -> gsed change, you should use a patch
file.

-- 
Mathieu Arnold


signature.asc
Description: PGP signature


Wrong hint while updating p5-Net-SMTP-SSL

2018-08-20 Thread freebsd

Ahoi!

If you try upgrading mentioned port you get:
---8<--

===>>> p5-Net-SMTP-SSL-1.04

===>>> The mail/p5-Net-SMTP-SSL port has been deleted: Has expired: 
Deprecated by upstream, use Net::SMTP instead

===>>> Aborting update
---8<---

I guess this should be either NET:SMTPS or (even better) 
mail/p5-Net-SMTPS 


Cheers,

Ekkehard 'Ekki' Gehm

___
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"


Can't get Wordpress to install from poudriere

2018-08-20 Thread Jimmy Renner

Well, maybe it is not as simple.

I have set up poudriere to build som packages locally, right now:
graphics/pecl-imagick
graphics/php72-gd
audio/logitechmediaserver
www/owncloud
www/wordpress

In my make.conf I have set:
DEFAULT_VERSIONS+= php=72

So far, so good. Everything seems to build ok. But as soon as I try to  
install anything, the wordpress from poudriere is never picked up but  
the other packages are. I've obviously messed something up but I  
cannot find what. I've been scratching my head for days so any  
suggestions or hints would be good.



Thanks, Jimmy


___
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"