private ports and pkgs versioning

2016-10-17 Thread Julian Elischer
Is there a standard way of naming a pkg that is locally compiled 
(maybe with a different set of options, or a local patch) so that it 
doesn't get confused with generic ports that are from freeBSD.org?


I want to use mostly standard pkgs but need to compile a few myself 
(this can't be an uncommon requirement).


How can I name my variant pkgs so the the pkg program (and ports) can 
still know that it is a satisfactory supplier of prerequisite components?


e.g.  if a pkg wants a specific rev of libxml2 how much does it use of 
the name libxml2-2.9.2_2 ?


Can (should) I add stuff after the '_'?  If I do will it still 
recognise my pkg file and if I do are there any rules regarding *WHAT* 
I can put there.


lastly is there somewhere I should be looking to read all this 
information rather than pestering the mailing list?


What I'd like to have is my own depot with something like:

===

libsmi-0.4.8_1.txz
libxcb-1.11.1.txz
libxml2-2.9.2_2-mumble.3.txz
lsof-4.88,8.txz
lsof-4.90.b,8.txz
m4-1.4.17_1,1.txz

===

where 'mumble.3' is a locally defined addition, but all the rest of 
the pkgs are straight from pkg.freebsd.org, (or at least compile in 
default form).


This "kind-of" works, but the rules of play are not defined anyhere I 
have read, so I don't know if it's going to suddenly fail one day.


Also it's be really nice if there were a variable I could set to 
"mumble.3" so that I don't have to do a manual rename, because between 
the time that the package is made and it is renamed there is a 
'misnamed' package sitting around acting as a potential source of 
confusion.


thanks,


Julian





___
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: cached package size mismatch, again

2016-10-17 Thread Rostislav Krasny
On Mon, Oct 17, 2016 at 7:17 PM, Baptiste Daroussin  wrote:
> On Mon, Oct 17, 2016 at 06:11:45PM +0300, Rostislav Krasny wrote:
>> On Mon, Oct 17, 2016 at 5:55 PM, Rostislav Krasny  
>> wrote:
>> > Hi,
>> >
>> > I've a fresh FreeBSD 11.0 installed. When I try to install x11/kde4 by
>> > pkg(8) it fails to install the very first dependency package:
>> >
>> > Fetching ktux-4.14.3.txz: 100%  117 KiB 119.7kB/s00:01
>> > pkg: cached package ktux-4.14.3: size mismatch, fetching from remote
>> > Fetching ktux-4.14.3.txz: 100%  117 KiB 119.7kB/s00:01
>> > pkg: cached package ktux-4.14.3: size mismatch, cannot continue
>> >
>> > I found such a problem was already reported in this mailing list and
>> > even fixed two years ago:
>> > https://lists.freebsd.org/pipermail/freebsd-ports/2014-August/094447.html
>> >
>> > Unfortunately It happens again in FreeBSD 11.0.
>> >
>> > I didn't try "pkg update -f" yet and I don't have ports installed.
>> > During the FreeBSD installation I also installed the local copy of the
>> > Handbook. This procedure lead to the pkg(8) to be installed and also
>> > installed the handbook package. Don't know if this information could
>> > help you to understand the issue, though.
>>
>> The "pkg update -f" helped. But obviously there is some bug in the pkg(8).
>
> The bug is not in pkg, there is a race in the sync mechanism on the mirrors.
>
> The window is very small, but the situation is you fetched the db from an old
> metadata but only new packages are available at this time. and running pkg
> update -f forces the fix.
>
> There is some work ongoing to reduce this window to something close to 0, but
> not yet good enough to be included in the release.

Thank you for the explanation. Hope this race condition will be resolved soon.
___
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"


update math/matio

2016-10-17 Thread Steve Kargl
Built, test by cd work/matio-1.5.8 gmake check, and installed on
FreeBSD 12.0-CURRENT r306998: Mon Oct 10 11:17:59 PDT 2016 amd64


Index: Makefile
===
--- Makefile(revision 423677)
+++ Makefile(working copy)
@@ -2,8 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=  matio
-PORTVERSION=   1.5.2
-PORTREVISION=  6
+PORTVERSION=   1.5.8
+#PORTREVISION= 6
 CATEGORIES=math
 MASTER_SITES=  SF
 
Index: distinfo
===
--- distinfo(revision 423677)
+++ distinfo(working copy)
@@ -1,2 +1,3 @@
-SHA256 (matio-1.5.2.tar.gz) = 
db02d0fb3373c3d766a606309b17e64a5d8da55610e921a9f1a0ec171e911d45
-SIZE (matio-1.5.2.tar.gz) = 8179926
+TIMESTAMP = 1476744078
+SHA256 (matio-1.5.8.tar.gz) = 
6e49353d1d9d5127696f2e67b46cf9a1dc639663283c9bc4ce5280489c03e1f0
+SIZE (matio-1.5.8.tar.gz) = 8533752
Index: pkg-plist
===
--- pkg-plist   (revision 423677)
+++ pkg-plist   (working copy)
@@ -3,8 +3,8 @@
 include/matio_pubconf.h
 lib/libmatio.a
 lib/libmatio.so
-lib/libmatio.so.2
-lib/libmatio.so.2.0.2
+lib/libmatio.so.4
+lib/libmatio.so.4.1.1
 libdata/pkgconfig/matio.pc
 man/man3/Mat_Close.3.gz
 man/man3/Mat_CreateVer.3.gz


-- 
Steve
___
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: Alternatives to rsync

2016-10-17 Thread Greg 'groggy' Lehey
On Monday, 17 October 2016 at  6:51:05 -0700, Freddie Cash wrote:
> On Oct 17, 2016 1:21 AM, "Lars Engels"  wrote:
>>
>> rsync 2 has a different algorithm for checking if a file changed. The
>> new one is much faster.
>
> Rsync 2 also spent a long time building a list of changes files first,
> before transferring any data.
>
> Rsync 3 starts building the file list, then starts transferring data while
> it continues to build the file list. This drops the total time spent by a
> large factor. Our backup times dropped by about an hour per server
> switching from 2 to 3.
>
> Something else to consider when looking at resurrecting version 2.

I can see no good reason to use rsync 2 in favour of 3.  But reko is
concerned by the GPL number, not rsync number.

The other thing to consider is whether rsync 2 is faster than the
other alternative software.  I suspect that it is.

Greg
--
Sent from my desktop computer.
Finger g...@freebsd.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA


signature.asc
Description: PGP signature


Please commit the Tor 0.2.8.8 update

2016-10-17 Thread Yuri

It is considered to be a security update.


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


Thanks!

Yuri

___
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: Checking port option descriptions

2016-10-17 Thread scratch65535
[Default] On Mon, 19 Sep 2016 10:13:56 +0100, Matthew Seaman
 wrote:

>Well, how about phpmyadmin as a for-instance?  There are about eight PHP
>modules which phpmyadmin will automagically adapt to the presence or
>absence of at runtime and turn on or off corresponding bits of its user
>interface.  So, for example, if you have pecl-pdflib installed it will
>give you options to generate a PDF diagram of your database schema.
>
>These are all options in the port, and they are on by default, because
>why wouldn't you want the full functionality of phpmyadmin enabled?

You picked an interesting example!  I'm more in agreement with
Miroslav's thinking:  the default should be bare-bones with
well-described options such that each person can mix-and-match to
suit their own situation.  As a not-quite-trivial example I'm
going to have to reinstall php 7 because the options chosen for
the default package are almost exactly wrong for my needs.  

With mariadb I use the command line interface, never having been
able to get phpmyadmin to run out of the box.  But if I had, I
still wouldn't care about getting a map of the database since -at
least in my experience!- it's necessary to have the layout
sketched out pretty much completely long before doing the
creating of the tables.  Having phpmyadmin generating a pretty
chart (if that's what it does) might be nice as decoration for
the wall to impress the unwitting, but if it's anything more than
decoration, the person whose wall it's on is probably in trouble.
___
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: cached package size mismatch, again

2016-10-17 Thread Baptiste Daroussin
On Mon, Oct 17, 2016 at 06:11:45PM +0300, Rostislav Krasny wrote:
> On Mon, Oct 17, 2016 at 5:55 PM, Rostislav Krasny  wrote:
> > Hi,
> >
> > I've a fresh FreeBSD 11.0 installed. When I try to install x11/kde4 by
> > pkg(8) it fails to install the very first dependency package:
> >
> > Fetching ktux-4.14.3.txz: 100%  117 KiB 119.7kB/s00:01
> > pkg: cached package ktux-4.14.3: size mismatch, fetching from remote
> > Fetching ktux-4.14.3.txz: 100%  117 KiB 119.7kB/s00:01
> > pkg: cached package ktux-4.14.3: size mismatch, cannot continue
> >
> > I found such a problem was already reported in this mailing list and
> > even fixed two years ago:
> > https://lists.freebsd.org/pipermail/freebsd-ports/2014-August/094447.html
> >
> > Unfortunately It happens again in FreeBSD 11.0.
> >
> > I didn't try "pkg update -f" yet and I don't have ports installed.
> > During the FreeBSD installation I also installed the local copy of the
> > Handbook. This procedure lead to the pkg(8) to be installed and also
> > installed the handbook package. Don't know if this information could
> > help you to understand the issue, though.
> 
> The "pkg update -f" helped. But obviously there is some bug in the pkg(8).

The bug is not in pkg, there is a race in the sync mechanism on the mirrors.

The window is very small, but the situation is you fetched the db from an old
metadata but only new packages are available at this time. and running pkg
update -f forces the fix.

There is some work ongoing to reduce this window to something close to 0, but
not yet good enough to be included in the release.

Best regards
Bapt


signature.asc
Description: PGP signature


Re: pkg: cached package size mismatch, again

2016-10-17 Thread Luciano Mannucci
On Mon, 17 Oct 2016 18:11:45 +0300
Rostislav Krasny  wrote:

> On Mon, Oct 17, 2016 at 5:55 PM, Rostislav Krasny  wrote:
> > Hi,
> >
> > I've a fresh FreeBSD 11.0 installed. When I try to install x11/kde4 by
> > pkg(8) it fails to install the very first dependency package:
> >
> > Fetching ktux-4.14.3.txz: 100%  117 KiB 119.7kB/s00:01
> > pkg: cached package ktux-4.14.3: size mismatch, fetching from remote
> > Fetching ktux-4.14.3.txz: 100%  117 KiB 119.7kB/s00:01
> > pkg: cached package ktux-4.14.3: size mismatch, cannot continue
...
> The "pkg update -f" helped. But obviously there is some bug in the pkg(8).
Not so sure...
I had the very same problem with a 10.3 machine las week, and it was
a faulty DDR ram.

Once changed, the problem magically disappeared.

Memtest might be your friend.

Cheers,

Luciano.
-- 
 /"\ /Via A. Salaino, 7 - 20144 Milano (Italy)
 \ /  ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
  X   AGAINST HTML MAIL/  E-MAIL: posthams...@sublink.sublink.org
 / \  AND POSTINGS/   WWW: http://www.lesassaie.IT/
___
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"


poudriere: failed update via svn

2016-10-17 Thread Jochen Neumeister
Hi,

i would like to update all jails from poudriere. The both FreeBSD 12
Jails are created via svn.

# poudriere jail -u -j 12amd64
[00:00:00] >> Upgrading using svn
[00:00:00] >> Updating the sources from svn.../lib/libc.so.7:
version FBSD_1.5 required by /usr/local/lib/libapr-1.so.0 not found
[00:00:00] >> Error:  fail

# uname -a
FreeBSD builder.miwibox.org 12.0-CURRENT FreeBSD 12.0-CURRENT #4
r306440: Mon Oct 17 06:23:20 UTC 2016
r...@builder.miwibox.org:/usr/obj/usr/src/sys/MIWIBOX  amd64

Someone a tip for this problem?

Regards
Jochen
___
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: cached package size mismatch, again

2016-10-17 Thread Rostislav Krasny
On Mon, Oct 17, 2016 at 5:55 PM, Rostislav Krasny  wrote:
> Hi,
>
> I've a fresh FreeBSD 11.0 installed. When I try to install x11/kde4 by
> pkg(8) it fails to install the very first dependency package:
>
> Fetching ktux-4.14.3.txz: 100%  117 KiB 119.7kB/s00:01
> pkg: cached package ktux-4.14.3: size mismatch, fetching from remote
> Fetching ktux-4.14.3.txz: 100%  117 KiB 119.7kB/s00:01
> pkg: cached package ktux-4.14.3: size mismatch, cannot continue
>
> I found such a problem was already reported in this mailing list and
> even fixed two years ago:
> https://lists.freebsd.org/pipermail/freebsd-ports/2014-August/094447.html
>
> Unfortunately It happens again in FreeBSD 11.0.
>
> I didn't try "pkg update -f" yet and I don't have ports installed.
> During the FreeBSD installation I also installed the local copy of the
> Handbook. This procedure lead to the pkg(8) to be installed and also
> installed the handbook package. Don't know if this information could
> help you to understand the issue, though.

The "pkg update -f" helped. But obviously there is some bug in the pkg(8).
___
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: cached package size mismatch, again

2016-10-17 Thread Rostislav Krasny
Hi,

I've a fresh FreeBSD 11.0 installed. When I try to install x11/kde4 by
pkg(8) it fails to install the very first dependency package:

Fetching ktux-4.14.3.txz: 100%  117 KiB 119.7kB/s00:01
pkg: cached package ktux-4.14.3: size mismatch, fetching from remote
Fetching ktux-4.14.3.txz: 100%  117 KiB 119.7kB/s00:01
pkg: cached package ktux-4.14.3: size mismatch, cannot continue

I found such a problem was already reported in this mailing list and
even fixed two years ago:
https://lists.freebsd.org/pipermail/freebsd-ports/2014-August/094447.html

Unfortunately It happens again in FreeBSD 11.0.

I didn't try "pkg update -f" yet and I don't have ports installed.
During the FreeBSD installation I also installed the local copy of the
Handbook. This procedure lead to the pkg(8) to be installed and also
installed the handbook package. Don't know if this information could
help you to understand the issue, though.
___
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: wireshark 2.2.x build fail

2016-10-17 Thread Joe Marcus Clarke

On 10/16/16 18:56, Michael Butler wrote:

On 10/16/16 11:36, Joe Marcus Clarke wrote:


Seems like the easy fix would be to incorporate the fix for this bug,
and then disable SSE4.2 in a CFLAGS override.  The better fix would be
to have clang do the same as GCC so that the test build would fail on
those platforms that don't support SSE4.2.


Personally, I feel that this whole approach is wrong. To have CONFIGURE
set a flag asking for instructions not supported by the host for the
whole project when only one module has a run-time check for them is
depending on undefined behavior. This is plainly poor engineering.

It so happens that GCC does the expected thing but there is no guarantee
that any other compiler can or should.

In CLANG's case, it found an opportunity to use an SSE-4.2 instruction
in compiling LEMON and assumed it could use it as CONFIGURE told it
explicitly that it could. "fixing" every compiler out there to be
GCC-compatible is not an acceptable or desirable work-around.

The option should only be set for the module prepared for and capable of
handling the absence of the extended instructions,


Sure.  I think the better case is to do a runtime check of a binary 
built with this instruction set versus just a compiler check.  Seems 
like the compiler check is what WS is settling on, though.


Will any stub executable built with these instructions fail, or is there 
a specific call that needs to be made to test this?  I imagine the latter.


Joe


--
Joe Marcus Clarke
FreeBSD GNOME Team  ::  gn...@freebsd.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
___
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: Alternatives to rsync

2016-10-17 Thread Freddie Cash
On Oct 17, 2016 1:21 AM, "Lars Engels"  wrote:
>
> On Mon, Oct 17, 2016 at 09:46:31AM +1100, Greg 'groggy' Lehey wrote:
> > On Friday, 14 October 2016 at  8:01:51 +0300, reko.turja--- via
freebsd-ports wrote:
> > >
> > > Greg, I've actually put some thought in making a local port of
> > > rsync2. I've done some research on it and it seems to be fairly
> > > usable and security patched still.
> >
> > Even simpler, use the old version of the current rsync port.  Check
> > out with svn, which (svn log) can also tell you when the last rsync 2
> > version was.
>
> rsync 2 has a different algorithm for checking if a file changed. The
> new one is much faster.

Rsync 2 also spent a long time building a list of changes files first,
before transferring any data.

Rsync 3 starts building the file list, then starts transferring data while
it continues to build the file list. This drops the total time spent by a
large factor. Our backup times dropped by about an hour per server
switching from 2 to 3.

Something else to consider when looking at resurrecting version 2.
___
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: FreeBSD Port: artifactory-4.12.0.1

2016-10-17 Thread Michael Lewis
Hi,

Please ignore below, I believe this was an issue with passwd file. Don’t 
believe it was an issue with the port. 

Regards,
Mike

> On 17 Oct 2016, at 11:38, Michael Lewis  wrote:
> 
> Hi,
> 
> I’ve tried to install the artifactory 4.12.0.1 port onto my machine 
>  
> 11.0-RELEASE-p1 FreeBSD 
> 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016 
> r...@releng2.nyi.freebsd.org 
> :/usr/obj/usr/src/sys/GENERIC  amd64
> 
> The install seems to run through without error, but when I tried a simple 
> test:
> 
> 
> www:/usr/ports/devel/artifactory # curl http://localhost:8081/artifactory 
> 
> 
> I got the error:
> 
> Apache Tomcat/8.0.32 - Error 
> reportH1 
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
>  H2 
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
>  H3 
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
>  BODY 
> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B 
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P 
> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
>  {color : black;}A.name {color : black;}.line {height: 1px; background-color: 
> #525D76; border: none;} HTTP Status 404 - 
> /artifactorytype Status 
> reportmessage /artifactorydescription 
> The requested resource is not available. class="line">Apache 
> Tomcat/8.0.32root@www:/usr/ports/devel/artifactory
> 
> I can see that the port has installed:
> 
> /var/artifactory # ls -ltr
> total 24
> drwxr-xr-x  3 artifactory  artifactory  512 Oct 17 10:21 logs
> drwxr-xr-x  6 artifactory  artifactory  512 Oct 17 10:21 tomcat
> drwxr-xr-x  5 artifactory  artifactory  512 Oct 17 10:21 data
> drwxr-xr-x  2 artifactory  artifactory  512 Oct 17 10:21 backup
> drwxr-xr-x  2 artifactory  artifactory  512 Oct 17 10:21 support
> drwxr-xr-x  4 artifactory  artifactory  512 Oct 17 10:21 etc
> 
> 
> I get see the following in the logs directory:
> 
> root@www:/var/artifactory/logs # ls -ltr
> 
> total 12
> drwxr-xr-x  2 artifactory  artifactory   512 Oct 17 10:20 catalina
> -rw-r--r--  1 root artifactory  6690 Oct 17 10:22 boot.log
> 
> With an errors:
> 
> org.artifactory.common.ArtifactoryHome - Warning: Directory 
> '/usr/local/artifactory/data/tmp' is not writable!
> SEVERE: One or more listeners failed to start. Full details will be found in 
> the appropriate container log file
> 
> For the first error, I checked the permissions:
> 
> drwxr-xr-x  4 1008  artifactory  512 Oct 17 09:36 tmp
> -rw-r--r--  1 1008  artifactory  836 Oct 17 09:36 artifactory.properties
> drwxr-xr-x  3 1008  artifactory  512 Oct 17 09:37 filestore
> -rw-r--r--  1 1008  artifactory0 Oct 17 09:37 .deleteForSecurityMarker
> -rw-r--r--  1 1008  artifactory0 Oct 17 09:55 .lock
> drwxr-xr-x  5 1008  artifactory  512 Oct 17 09:55 derby
> 
> And I can saw incorrect user ownership.So, I manually updated the ownership:
> 
> 
> /usr/local/artifactory/# chown -fR artifactory *
> 
> I saw more log files:
> 
> drwxr-xr-x  2 artifactory  artifactory512 Oct 17 10:20 catalina
> -rw-r--r--  1 artifactory  artifactory  0 Oct 17 10:26 access.log
> -rw-r--r--  1 artifactory  artifactory  0 Oct 17 10:26 import.export.log
> -rw-r--r--  1 artifactory  artifactory  0 Oct 17 10:26 
> traffic.1476700012819.log
> -rw-r--r--  1 artifactory  artifactory  0 Oct 17 10:26 request.log
> -rw-r--r--  1 artifactory  artifactory  0 Oct 17 10:26 request_trace.log
> -rw-r--r--  1 artifactory  artifactory806 Oct 17 10:27 derby.log
> -rw-r--r--  1 artifactory  artifactory  41082 Oct 17 10:27 boot.log
> -rw-r--r--  1 artifactory  artifactory  31358 Oct 17 10:27 artifactory.log
> 
> But nothing in the catalina directory after a service restart.
> 
> The end of the boot.log is now:
> 
> ###
> ### Artifactory successfully started (9.597 seconds)###
> ###
> 
> Running this, shows the redirect:
> 
> www:/var/artifactory/logs # curl http://localhost:8081 
> 
> 
> 
>   
> 
> 
> 
> 
> 
> But when I try to access the artifactory URL:
> 
> www:/var/artifactory/logs # curl http://localhost:8081/artifactory/ 
> 
> www:/var/artifactory/logs # 
> 
> I don’t see any log output. I’d be grateful if you had any ideas on what may 
> be wrong with my install?
> 
> 
> Regards,
> Mike Lewis
> 
> 
> 
> 
> 

___
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 Port: artifactory-4.12.0.1

2016-10-17 Thread Michael Lewis
Hi,

I’ve tried to install the artifactory 4.12.0.1 port onto my machine 
 
11.0-RELEASE-p1 FreeBSD 
11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016 
r...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

The install seems to run through without error, but when I tried a simple test:


www:/usr/ports/devel/artifactory # curl http://localhost:8081/artifactory

I got the error:

Apache Tomcat/8.0.32 - Error 
reportH1 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
 H2 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
 H3 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
 BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} 
B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P 
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
 {color : black;}A.name {color : black;}.line {height: 1px; background-color: 
#525D76; border: none;} HTTP Status 404 - 
/artifactorytype Status 
reportmessage /artifactorydescription The 
requested resource is not available.Apache 
Tomcat/8.0.32root@www:/usr/ports/devel/artifactory

I can see that the port has installed:

/var/artifactory # ls -ltr
total 24
drwxr-xr-x  3 artifactory  artifactory  512 Oct 17 10:21 logs
drwxr-xr-x  6 artifactory  artifactory  512 Oct 17 10:21 tomcat
drwxr-xr-x  5 artifactory  artifactory  512 Oct 17 10:21 data
drwxr-xr-x  2 artifactory  artifactory  512 Oct 17 10:21 backup
drwxr-xr-x  2 artifactory  artifactory  512 Oct 17 10:21 support
drwxr-xr-x  4 artifactory  artifactory  512 Oct 17 10:21 etc


I get see the following in the logs directory:

root@www:/var/artifactory/logs # ls -ltr

total 12
drwxr-xr-x  2 artifactory  artifactory   512 Oct 17 10:20 catalina
-rw-r--r--  1 root artifactory  6690 Oct 17 10:22 boot.log

With an errors:

org.artifactory.common.ArtifactoryHome - Warning: Directory 
'/usr/local/artifactory/data/tmp' is not writable!
SEVERE: One or more listeners failed to start. Full details will be found in 
the appropriate container log file

For the first error, I checked the permissions:

drwxr-xr-x  4 1008  artifactory  512 Oct 17 09:36 tmp
-rw-r--r--  1 1008  artifactory  836 Oct 17 09:36 artifactory.properties
drwxr-xr-x  3 1008  artifactory  512 Oct 17 09:37 filestore
-rw-r--r--  1 1008  artifactory0 Oct 17 09:37 .deleteForSecurityMarker
-rw-r--r--  1 1008  artifactory0 Oct 17 09:55 .lock
drwxr-xr-x  5 1008  artifactory  512 Oct 17 09:55 derby

And I can saw incorrect user ownership.So, I manually updated the ownership:


/usr/local/artifactory/# chown -fR artifactory *

I saw more log files:

drwxr-xr-x  2 artifactory  artifactory512 Oct 17 10:20 catalina
-rw-r--r--  1 artifactory  artifactory  0 Oct 17 10:26 access.log
-rw-r--r--  1 artifactory  artifactory  0 Oct 17 10:26 import.export.log
-rw-r--r--  1 artifactory  artifactory  0 Oct 17 10:26 
traffic.1476700012819.log
-rw-r--r--  1 artifactory  artifactory  0 Oct 17 10:26 request.log
-rw-r--r--  1 artifactory  artifactory  0 Oct 17 10:26 request_trace.log
-rw-r--r--  1 artifactory  artifactory806 Oct 17 10:27 derby.log
-rw-r--r--  1 artifactory  artifactory  41082 Oct 17 10:27 boot.log
-rw-r--r--  1 artifactory  artifactory  31358 Oct 17 10:27 artifactory.log

But nothing in the catalina directory after a service restart.

The end of the boot.log is now:

###
### Artifactory successfully started (9.597 seconds)###
###

Running this, shows the redirect:

www:/var/artifactory/logs # curl http://localhost:8081








But when I try to access the artifactory URL:

www:/var/artifactory/logs # curl http://localhost:8081/artifactory/
www:/var/artifactory/logs # 

I don’t see any log output. I’d be grateful if you had any ideas on what may be 
wrong with my install?


Regards,
Mike Lewis





___
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

2016-10-17 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
+-+
games/connectagram  | 1.2.3   | 1.2.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"


Re: harder and harder to avoid pkg

2016-10-17 Thread Torsten Zuehlsdorff

On 16.10.2016 05:16, Alfred Perlstein wrote:

Has anyone actually looked/asked how other OS's solve this problem?


Yes, for various linux distributions. This provided me with so many 
reasons to stay and work with the ports-tree.



I too found "xxx-dev" vs "xxx-lib" annoying until I realized how clean
it actually is.


You need to be more clear with that. Most distributions already fail 
with the "normal" names of modules. You need to install php-xml to get 
UTF8 and also you directly get DOM, which has nothing to do with it. 
Also simpleXML is installed with it, which is a lightweight replacement 
for DOM and the other XML functions so you do not use more than one of 
it - but of course everything is installed.
php-dev? Yes, it is definitely needed to get the PostgreSQL module for 
PHP. But for MySQL there is php-mysql.


In FreeBSD? php-xml, php-simplexml, php-dom, php-pg, php-mysql.

I'm working as a developer and as an administrator. As administrator it 
is fairly easy to get a list of modules and software to install and have 
packages named like the software.


I've created a sheet of translations for our linux-admins. "If developer 
wants this $software you need to install $something-different".



We should definitely be surveying the landscape before rolling our own
NIH solution.


We do. And the ports-tree offers features missing in most others 
distributions. pkg audit for example. Or a consistent placement of the 
files and configurations.


Greetings,
Torsten
___
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: Alternatives to rsync

2016-10-17 Thread Lars Engels
On Mon, Oct 17, 2016 at 09:46:31AM +1100, Greg 'groggy' Lehey wrote:
> On Friday, 14 October 2016 at  8:01:51 +0300, reko.turja--- via freebsd-ports 
> wrote:
> >
> > Greg, I've actually put some thought in making a local port of
> > rsync2. I've done some research on it and it seems to be fairly
> > usable and security patched still.
> 
> Even simpler, use the old version of the current rsync port.  Check
> out with svn, which (svn log) can also tell you when the last rsync 2
> version was.

rsync 2 has a different algorithm for checking if a file changed. The
new one is much faster.


pgp1PMubTZN7A.pgp
Description: PGP signature