Re: Request clear steps for updating own port

2018-05-20 Thread blubee blubeeme
On Mon, May 21, 2018, 07:49 Mateusz Piotrowski <0...@freebsd.org> wrote:

> On Mon, 21 May 2018 04:47:56 +0530
> Manish Jain  wrote:
>
> >Hi,
> >
> >I have an active port (sysutils/mkdesktop) which I maintain myself.
> >
> >A few days back, I had to upgrade the port from 1.6 to 1.7 so as to
> >reflect new names of kde4 packages.
> >
> >I seem to have completely lost memory of what I have to do to get the
> >port updated properly in FreeBSD ports. Can someone be kind enough to
> >guide me what steps are needed for updating one's own port?
> >
> >My port uses GitHub and is located at:
> >https://github.com/bourne-again/mkdesktop
> >
> >Essentially, I have an updated Makefile/distinfo which I need to get
> >merged into FreeBSD ports.
> >
> >I have updated the shar attachment for the port at the URL where the
> >port was originally submitted:
> >
> >https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221370
>
> I'd open a new issue if you wish to update your port.
>
> The title of the issue could be something like:
>
> sysutils/mkdesktop: Update to 1.7
>
> Make sure to upload the diff with the new version of your port. Shar is
> OK, I guess, but a patch is much much better.
>
> The handbook has some useful hints as well probably:
>
> https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/port-upgrading.html
>
> Good luck!
>
> Mateusz
> ___
> 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"
>
Create a diff
Go to FreeBSD bugzilla file a new bug report with diff.
Wait for a committer to merge it for you.
Profit!

Best,
Owen

>
___
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: www/joomla3 port installs from GitHub, why?

2018-05-20 Thread Dan Mahoney (Gushi)

On Sun, 20 May 2018, Per olof Ljungmark wrote:


On 05/20/18 21:15, Eugene Grosbein wrote:

21.05.2018 2:02, Per olof Ljungmark wrote:



OK, I'll try to explain a bit more.

Firstly, this port is PHP code and needs no compilation, so they are
both source files. NO_BUILD=   yes

www/wordpress is a similar port, correctly implemented in the ports
tree, if you install it from ports you will have identical result to
downloading from wordpress.org and extract it manually.

The difference as stated above, is that the FreeBSD port includes the
files for *development* of Joomla, the official download has all the
files necessay to build a website based on Joomla.

It may be that there are people using FreeBSD to develop Joomla, then of
course this port are for them, although a more proper naming would be
joomla3-devel or somesuch.


joomla-devel would kind of imply that you're installing the "devel" 
version of it, not that it includes the devel LIBS.  This seems to be a 
standard wording for ports (see locate /usr/ports/ | grep \\\-devel | grep 
pkg-descr | xargs cat )


What makes more sense to me is that the Dev files would be part of a 
non-default option -- whether that's included with the normal .tar.gz or 
requires the github copy, I can't say.


I don't know if there's a *canonical* naming that universally means this 
is what '-devel' means.


-Dan

--

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
FB:  fb.com/DanielMahoneyIV
LI:   linkedin.com/in/gushi
Site:  http://www.gushi.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 clear steps for updating own port

2018-05-20 Thread Mateusz Piotrowski
On Mon, 21 May 2018 04:47:56 +0530
Manish Jain  wrote:

>Hi,
>
>I have an active port (sysutils/mkdesktop) which I maintain myself.
>
>A few days back, I had to upgrade the port from 1.6 to 1.7 so as to
>reflect new names of kde4 packages.
>
>I seem to have completely lost memory of what I have to do to get the
>port updated properly in FreeBSD ports. Can someone be kind enough to
>guide me what steps are needed for updating one's own port?
>
>My port uses GitHub and is located at:
>https://github.com/bourne-again/mkdesktop
>
>Essentially, I have an updated Makefile/distinfo which I need to get
>merged into FreeBSD ports.
>
>I have updated the shar attachment for the port at the URL where the
>port was originally submitted:
>
>https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221370

I'd open a new issue if you wish to update your port.

The title of the issue could be something like:

sysutils/mkdesktop: Update to 1.7

Make sure to upload the diff with the new version of your port. Shar is
OK, I guess, but a patch is much much better.

The handbook has some useful hints as well probably:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/port-upgrading.html

Good luck!

Mateusz
___
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 clear steps for updating own port

2018-05-20 Thread Manish Jain

Hi,

I have an active port (sysutils/mkdesktop) which I maintain myself.

A few days back, I had to upgrade the port from 1.6 to 1.7 so as to 
reflect new names of kde4 packages.


I seem to have completely lost memory of what I have to do to get the 
port updated properly in FreeBSD ports. Can someone be kind enough to 
guide me what steps are needed for updating one's own port?


My port uses GitHub and is located at:
https://github.com/bourne-again/mkdesktop

Essentially, I have an updated Makefile/distinfo which I need to get 
merged into FreeBSD ports.


I have updated the shar attachment for the port at the URL where the 
port was originally submitted:


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221370

But it has been a few days since the shar attachment was updated, and 
fetch continues to get the outdated versions of files for the port.


Is there anything else I should be doing to get the updated version of 
the port synced into FreeBSD mainstream ?


Thanks for any help.
Manish Jain
___
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: Can not build dns/unbound and dns/nsd from latest ports with poudriere

2018-05-20 Thread Lev Serebryakov
Hello Antoine,

Sunday, May 20, 2018, 11:23:05 PM, you wrote:

> Can you verify that:
> file -b -L --mime-type /usr/local/lib/libevent.so
 This is in 'testport' shell:

root@12x64-gw-default:~ # file -b -L --mime-type /usr/local/lib/libexpat.so
application/x-pie-executable
root@12x64-gw-default:~ #


-- 
Best regards,
 Levmailto:l...@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: Can not build dns/unbound and dns/nsd from latest ports with poudriere

2018-05-20 Thread Larry Rosenman
On Sun, May 20, 2018 at 10:23:05PM +0200, Antoine Brodin wrote:
> On Sun, May 20, 2018 at 9:55 PM, Larry Rosenman  wrote:
> > On Sun, May 20, 2018 at 10:27:33PM +0300, Lev Serebryakov wrote:
> >> Hello Ports,
> >>
> >>  I have poudriere -CURRENT jail with full fresh ports tree. And build of
> >>  both `dns/unbound' and `dns/nsd' fails with very strange error:
> >>
> >> ===
> >> ===
> >> ===
> >> ===>   nsd-4.1.21 depends on shared library: libevent.so - not found
> >> ===>   Installing existing package /packages/All/libevent-2.1.8_1.txz
> >> [12x64-gw-default-job-01] Installing libevent-2.1.8_1...
> >> [12x64-gw-default-job-01] Extracting libevent-2.1.8_1: .. done
> >> ===>   nsd-4.1.21 depends on shared library: libevent.so - not found
> >> *** Error code 1
> >>
> >>  and
> >>
> >> ===
> >> ===
> >> ===>   unbound-1.7.1 depends on shared library: libexpat.so - not found
> >> ===>   Installing existing package /packages/All/expat-2.2.5.txz
> >> [12x64-gw-default-job-02] Installing expat-2.2.5...
> >> [12x64-gw-default-job-02] Extracting expat-2.2.5: .. done
> >> ===>   unbound-1.7.1 depends on shared library: libexpat.so - not found
> >> *** Error code 1
> >>
> >>  Other 30+ ports I need had been built Ok!
> >>
> >>  This jail is very trimmed-of to simulate NanoBSD environment, but both
> >>  libevent-2.1.8_1 and expat-2.2.5 had been built without problems, too.
> >
> > I'm seeing this same behavior for ~300 ports since an upgrade from
> > r81 to r333924.
> >
> > http://home.lerctr.org:/build.html?mastername=live-host-ports=2018-05-20_10h16m46s
> >
> > I've pinged bdrew...@freebsd.org about it.
> 
> Can you verify that:
> 
> file -b -L --mime-type /usr/local/lib/libevent.so
> or
> file -b -L --mime-type /usr/local/lib/libexpat.so
> returns application/x-sharedlib?
> 
> If not, this may be a regression in libmagic..
> 
borg.lerctr.org /home/ler $ ls 
/usr/local/poudriere/data/packages/live-host-ports/All/*expat*
/usr/local/poudriere/data/packages/live-host-ports/All/expat-2.2.5.txz
/usr/local/poudriere/data/packages/live-host-ports/All/linux-c7-expat-2.1.0_2.txz
borg.lerctr.org /home/ler $ sudo pkg install -f -r poudriere expat
Updating poudriere repository catalogue...
poudriere repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be REINSTALLED:
expat-2.2.5 [poudriere]

Number of packages to be reinstalled: 1

Proceed with this action? [y/N]: y
[1/1] Reinstalling expat-2.2.5...
[1/1] Extracting expat-2.2.5: 100%
borg.lerctr.org /home/ler $ ls -l /usr/local/lib/libexpat*
-rw-r--r--  1 root  wheel  345162 May 20 09:55 /usr/local/lib/libexpat.a
lrwxr-xr-x  1 root  wheel  17 May 20 09:55 /usr/local/lib/libexpat.so -> 
libexpat.so.1.6.7
lrwxr-xr-x  1 root  wheel  17 May 20 09:55 /usr/local/lib/libexpat.so.1 -> 
libexpat.so.1.6.7
-rwxr-xr-x  1 root  wheel  173824 May 20 09:55 /usr/local/lib/libexpat.so.1.6.7
borg.lerctr.org /home/ler $ file -b -L --mime-type /usr/local/lib/libexpat.so
application/x-pie-executable
borg.lerctr.org /home/ler $
> Antoine

-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106


signature.asc
Description: PGP signature


Re: Can not build dns/unbound and dns/nsd from latest ports with poudriere

2018-05-20 Thread Antoine Brodin
On Sun, May 20, 2018 at 9:55 PM, Larry Rosenman  wrote:
> On Sun, May 20, 2018 at 10:27:33PM +0300, Lev Serebryakov wrote:
>> Hello Ports,
>>
>>  I have poudriere -CURRENT jail with full fresh ports tree. And build of
>>  both `dns/unbound' and `dns/nsd' fails with very strange error:
>>
>> ===
>> ===
>> ===
>> ===>   nsd-4.1.21 depends on shared library: libevent.so - not found
>> ===>   Installing existing package /packages/All/libevent-2.1.8_1.txz
>> [12x64-gw-default-job-01] Installing libevent-2.1.8_1...
>> [12x64-gw-default-job-01] Extracting libevent-2.1.8_1: .. done
>> ===>   nsd-4.1.21 depends on shared library: libevent.so - not found
>> *** Error code 1
>>
>>  and
>>
>> ===
>> ===
>> ===>   unbound-1.7.1 depends on shared library: libexpat.so - not found
>> ===>   Installing existing package /packages/All/expat-2.2.5.txz
>> [12x64-gw-default-job-02] Installing expat-2.2.5...
>> [12x64-gw-default-job-02] Extracting expat-2.2.5: .. done
>> ===>   unbound-1.7.1 depends on shared library: libexpat.so - not found
>> *** Error code 1
>>
>>  Other 30+ ports I need had been built Ok!
>>
>>  This jail is very trimmed-of to simulate NanoBSD environment, but both
>>  libevent-2.1.8_1 and expat-2.2.5 had been built without problems, too.
>
> I'm seeing this same behavior for ~300 ports since an upgrade from
> r81 to r333924.
>
> http://home.lerctr.org:/build.html?mastername=live-host-ports=2018-05-20_10h16m46s
>
> I've pinged bdrew...@freebsd.org about it.

Can you verify that:

file -b -L --mime-type /usr/local/lib/libevent.so
or
file -b -L --mime-type /usr/local/lib/libexpat.so
returns application/x-sharedlib?

If not, this may be a regression in libmagic..

Antoine
___
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: Can not build dns/unbound and dns/nsd from latest ports with poudriere

2018-05-20 Thread Larry Rosenman
On Sun, May 20, 2018 at 10:27:33PM +0300, Lev Serebryakov wrote:
> Hello Ports,
> 
>  I have poudriere -CURRENT jail with full fresh ports tree. And build of
>  both `dns/unbound' and `dns/nsd' fails with very strange error:
> 
> ===
> ===
> ===
> ===>   nsd-4.1.21 depends on shared library: libevent.so - not found
> ===>   Installing existing package /packages/All/libevent-2.1.8_1.txz
> [12x64-gw-default-job-01] Installing libevent-2.1.8_1...
> [12x64-gw-default-job-01] Extracting libevent-2.1.8_1: .. done
> ===>   nsd-4.1.21 depends on shared library: libevent.so - not found
> *** Error code 1
> 
>  and
> 
> ===
> ===
> ===>   unbound-1.7.1 depends on shared library: libexpat.so - not found
> ===>   Installing existing package /packages/All/expat-2.2.5.txz
> [12x64-gw-default-job-02] Installing expat-2.2.5...
> [12x64-gw-default-job-02] Extracting expat-2.2.5: .. done
> ===>   unbound-1.7.1 depends on shared library: libexpat.so - not found
> *** Error code 1
> 
>  Other 30+ ports I need had been built Ok!
> 
>  This jail is very trimmed-of to simulate NanoBSD environment, but both
>  libevent-2.1.8_1 and expat-2.2.5 had been built without problems, too.

I'm seeing this same behavior for ~300 ports since an upgrade from
r81 to r333924. 

http://home.lerctr.org:/build.html?mastername=live-host-ports=2018-05-20_10h16m46s

I've pinged bdrew...@freebsd.org about it.
-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106


signature.asc
Description: PGP signature


Re: www/joomla3 port installs from GitHub, why?

2018-05-20 Thread Per olof Ljungmark
On 05/20/18 21:15, Eugene Grosbein wrote:
> 21.05.2018 2:02, Per olof Ljungmark wrote:
> 
>>> I may look into changing it, but if you generate a patch, I'll look at it. 
>>
>> Easiest way to understand what I mean is to compare the official download at
>> https://downloads.joomla.org/cms/joomla3/3-8-7/Joomla_3-8-7-Stable-Full_Package.zip?format=zip
>> (42MB unzipped)
>>
>> with the distfile from ports
>> joomla-joomla-cms-3.8.7_GH0.tar.gz (71MB unpacked)
>>
>> I never worked with the ports system so patching it for me would be too
>> much. However, if you do not have the time I may know someone here that
>> could do it.
>>
>> Again, I think the port in its current state is designed for people who
>> develop Joomla, not using it as a CMS like me.
> 
> One should not compare official end-user package with source downloads
> because the port is supposed to build software from source and not install 
> pre-built packages.
> 
> However, you can legitimately compare official end-user packages with our 
> package
> produced by the port, if you wish.
> 

OK, I'll try to explain a bit more.

Firstly, this port is PHP code and needs no compilation, so they are
both source files. NO_BUILD=   yes

www/wordpress is a similar port, correctly implemented in the ports
tree, if you install it from ports you will have identical result to
downloading from wordpress.org and extract it manually.

The difference as stated above, is that the FreeBSD port includes the
files for *development* of Joomla, the official download has all the
files necessay to build a website based on Joomla.

It may be that there are people using FreeBSD to develop Joomla, then of
course this port are for them, although a more proper naming would be
joomla3-devel or somesuch.

It may also be that all the extra cruft (almost 30MB) the port installs
is a security problem that users are unaware of.

If Larry just inherited the port it may be a good idea to ask the former
maintainer about the design.

Cheers,

//per
___
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 not build dns/unbound and dns/nsd from latest ports with poudriere

2018-05-20 Thread Lev Serebryakov
Hello Ports,

 I have poudriere -CURRENT jail with full fresh ports tree. And build of
 both `dns/unbound' and `dns/nsd' fails with very strange error:

===
===
===
===>   nsd-4.1.21 depends on shared library: libevent.so - not found
===>   Installing existing package /packages/All/libevent-2.1.8_1.txz
[12x64-gw-default-job-01] Installing libevent-2.1.8_1...
[12x64-gw-default-job-01] Extracting libevent-2.1.8_1: .. done
===>   nsd-4.1.21 depends on shared library: libevent.so - not found
*** Error code 1

 and

===
===
===>   unbound-1.7.1 depends on shared library: libexpat.so - not found
===>   Installing existing package /packages/All/expat-2.2.5.txz
[12x64-gw-default-job-02] Installing expat-2.2.5...
[12x64-gw-default-job-02] Extracting expat-2.2.5: .. done
===>   unbound-1.7.1 depends on shared library: libexpat.so - not found
*** Error code 1

 Other 30+ ports I need had been built Ok!

 This jail is very trimmed-of to simulate NanoBSD environment, but both
 libevent-2.1.8_1 and expat-2.2.5 had been built without problems, too.

-- 
Best regards,
 Lev  mailto:l...@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: www/joomla3 port installs from GitHub, why?

2018-05-20 Thread Eugene Grosbein
21.05.2018 2:02, Per olof Ljungmark wrote:

>> I may look into changing it, but if you generate a patch, I'll look at it. 
> 
> Easiest way to understand what I mean is to compare the official download at
> https://downloads.joomla.org/cms/joomla3/3-8-7/Joomla_3-8-7-Stable-Full_Package.zip?format=zip
> (42MB unzipped)
> 
> with the distfile from ports
> joomla-joomla-cms-3.8.7_GH0.tar.gz (71MB unpacked)
> 
> I never worked with the ports system so patching it for me would be too
> much. However, if you do not have the time I may know someone here that
> could do it.
> 
> Again, I think the port in its current state is designed for people who
> develop Joomla, not using it as a CMS like me.

One should not compare official end-user package with source downloads
because the port is supposed to build software from source and not install 
pre-built packages.

However, you can legitimately compare official end-user packages with our 
package
produced by the port, if you wish.

___
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: www/joomla3 port installs from GitHub, why?

2018-05-20 Thread Per olof Ljungmark
Thank you for replying,

On 05/20/18 19:39, Larry Rosenman wrote:
> Because that is the way I inherited it.  
> 
> I may look into changing it, but if you generate a patch, I'll look at it. 
> 
> 

Easiest way to understand what I mean is to compare the official download at
https://downloads.joomla.org/cms/joomla3/3-8-7/Joomla_3-8-7-Stable-Full_Package.zip?format=zip
(42MB unzipped)

with the distfile from ports
joomla-joomla-cms-3.8.7_GH0.tar.gz (71MB unpacked)

I never worked with the ports system so patching it for me would be too
much. However, if you do not have the time I may know someone here that
could do it.

Again, I think the port in its current state is designed for people who
develop Joomla, not using it as a CMS like me.

Thanks,

//per
___
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: www/joomla3 port installs from GitHub, why?

2018-05-20 Thread Larry Rosenman
Because that is the way I inherited it.  

I may look into changing it, but if you generate a patch, I'll look at it. 


-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 214-642-9640 E-Mail: l...@lerctr.org
US Mail: 5708 Sabbia Drive, Round Rock, TX 78665-2106

On 5/20/18, 12:38 PM, "Eugene Grosbein"  wrote:

20.05.2018 18:52, Per olof Ljungmark wrote:

> I am curious as to why the www/joomla3 port installs from GitHub, looks
> like the port is better for Joomla code development than to run a CMS.
> 
> There are LOTS of files in the port install that is not needed to run
> Joomla.
> 
> I thought the recommended way is to fetch the latest version from
> joomla.org:
> 
> 
https://downloads.joomla.org/cms/joomla3/3-8-7/Joomla_3-8-7-Stable-Full_Package.zip?format=zip
> 
> 
> Can someone please enlighten me here?

You should ask port maintainer l...@freebsd.org (CC'd).





___
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: www/joomla3 port installs from GitHub, why?

2018-05-20 Thread Eugene Grosbein
20.05.2018 18:52, Per olof Ljungmark wrote:

> I am curious as to why the www/joomla3 port installs from GitHub, looks
> like the port is better for Joomla code development than to run a CMS.
> 
> There are LOTS of files in the port install that is not needed to run
> Joomla.
> 
> I thought the recommended way is to fetch the latest version from
> joomla.org:
> 
> https://downloads.joomla.org/cms/joomla3/3-8-7/Joomla_3-8-7-Stable-Full_Package.zip?format=zip
> 
> 
> Can someone please enlighten me here?

You should ask port maintainer l...@freebsd.org (CC'd).


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


www/joomla3 port installs from GitHub, why?

2018-05-20 Thread Per olof Ljungmark
I am curious as to why the www/joomla3 port installs from GitHub, looks
like the port is better for Joomla code development than to run a CMS.

There are LOTS of files in the port install that is not needed to run
Joomla.

I thought the recommended way is to fetch the latest version from
joomla.org:

https://downloads.joomla.org/cms/joomla3/3-8-7/Joomla_3-8-7-Stable-Full_Package.zip?format=zip


Can someone please enlighten me here?

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"