Re: Hash mismatch www/owncloud (10.0.0)

2017-05-03 Thread Kevin Lo
On Wed, May 03, 2017 at 04:48:34PM -0400, Jim Ohlstein wrote:
> 
> Helllo,

Hi Jim,

> I did a fresh install today and received a "code integrity" error in the 
> admin page. It led to this:
> 
> Technical information
> =
> The following list covers which files have failed the integrity check. 
> Please read
> the previous linked documentation to learn more about the errors and how 
> to fix
> them.
> 
> Results
> ===
> - user_external
>   - INVALID_HASH
>   - lib/smb.php
> 
> Raw output
> ==
> Array
> (
>  [user_external] => Array
>  (
>  [INVALID_HASH] => Array
>  (
>  [lib/smb.php] => Array
>  (
>  [expected] => some_hash
>  [current] => a_different_hash"
>  )
> 
>  )
> 
>  )
> 
> )
> 
> Repeated the install and got the same error.
> 
> I haven't done much testing, but the script seems to be "working".

Fixed in r440074, sorry for the breakage.

> -- 
> Jim Ohlstein

Kevin
___
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: ELF binary type "3" not known.

2017-03-20 Thread Kevin Lo
On Mon, Mar 20, 2017 at 09:11:44PM -0700, Chris H wrote:
> 
> On Mon, 20 Mar 2017 20:56:05 -0700 "Chris H"  wrote
> 
> > I'm not sure which of the two lists I'm directing
> > this to is the best/correct one. So I picked both.
> > 
> > To the point; I received this message during a big
> > build session. I was only able to catch the one from
> > x11/nvidia-driver in such a way as to actually get
> > the entire message:
> > 
> > Installing nvidia-driver-375.26_1...
> > ELF binary type "3" not known.
> > /bin/sh: /compat/linux/sbin/ldconfig: Exec format error
> > 
> > I built && installed emulators/linux_base-c7 *prior*
> > to installing this. This is on a:
> > 
> > FreeBSD 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r314700:
> > Sun Mar 5 09:01:30 PST 2017 amd64
> Sorry. Forgot to add the ports revision.
> 
> revision 435383

Did you do kldload linux64 ?

> > 
> > Should I anticipate any problems? All and all, it seems
> > to work. But are there going to be some subtle repercussions?
> > 
> > Is this a 32bit-v-64bit problem with linux_base || the nvidia
> > blob?
> > 
> > Thanks.
> > 
> > --Chris

Kevin
___
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: owncloud-9.0.1_1

2016-04-28 Thread Kevin Lo
On Wed, Apr 27, 2016 at 04:34:23PM +0200, pat...@patpro.net wrote:
> 
> Hello,

Hi Patrick,

> I'm currently trying to setup Owncloud on FreeBSD 10.2. 
> I'm using the provided files_external app to give access to SMB shares, but 
> it fails when I try to upload files.
> 
> looking at apache's logs reveal many errors:
> 
>   net: not found
>   net: not found
>   ps: illegal option -- -
>   usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
> [-J jid[,jid...]] [-M core] [-N system]
> [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
>  ps [-L]
>   net: not found
>   net: not found
>   net: not found
> 
> digging in the code shows things like:
> 
>   preg_split('/\s+/', `ps -o pid --no-heading --ppid $ppid`);
>   (from apps/files_external/3rdparty/icewind/smb/src/RawConnection.php)
> 
> which will never work on FreeBSD because it requires a GNU ps...
> 
> Similarly, in apps/files_external/3rdparty/icewind/smb/src/Server.php and 
> apps/files_external/3rdparty/icewind/smb/src/Share.php some references to 
> /proc/self/fd exist that must be changed in /dev/fd.
> 
> Is there any plan to patch linux-only commands and paths in Owncloud 
> package/port?

I added a dependency on net/pecl-smbclient and it works fine for me when 
uploading files over smb.  Please give it a spin, thanks.

> thanks,
> Patrick

Kevin
___
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: Owncloud port marked broken with PHP 7.0 and MySQL

2016-03-15 Thread Kevin Lo
On Tue, Mar 15, 2016 at 08:12:20AM -0400, Jim Ohlstein wrote:
> 
> Hello,

Hi Jim,

> On 3/15/16 7:54 AM, Kurt Jaeger wrote:
> > Hi!
> >
> >> At the risk of sounding like a broken record (did you actually READ what
> >> I wrote?) Owncloud does NOT require php-mysql, it requires
> >> php-pdo_mysql. In PHP versions before 7.0 that pulled in the
> >> corresponding php-mysql port. It is NOT a requirement (there, I said it
> >> a THIRD time).
> >
> > Can you submit a patch to the ports (maybe fixing the depends) so that
> > it builds ?
> >
> 
> It's pretty straightforward. I'm guessing other ports were pulled in by 
> this blanket search for requiring mysql extension when in fact what was 
> needed was pdo-mysql.

You're right.  Owncloud doesn't require php-mysql, I committed your fix
as r411212, thanks.

> 
> --- Makefile  (revision 411153)
> +++ Makefile  (working copy)
> @@ -2,6 +2,7 @@
> 
>   PORTNAME=   owncloud
>   PORTVERSION=9.0.0
> +PORTREVISION=1
>   CATEGORIES= www
>   MASTER_SITES=   http://download.owncloud.org/community/
> 
> @@ -40,8 +41,7 @@
>   LDAP_USE=   PHP=ldap
>   MP3INFO_BUILD_DEPENDS=  mp3info:${PORTSDIR}/audio/mp3info
>   MP3INFO_RUN_DEPENDS=${MP3INFO_BUILD_DEPENDS}
> -MYSQL_USE=   MYSQL=client PHP=mysql,pdo_mysql
> -MYSQL_VARS=  IGNORE_WITH_PHP+=70
> +MYSQL_USE=   MYSQL=client PHP=pdo_mysql
>   PGSQL_USES= pgsql
>   PGSQL_USE=  PHP=pdo_pgsql,pgsql
>   SQLITE_USE= PHP=pdo_sqlite,sqlite3
> 
> 
> Build log available at http://bit.ly/1UdfsGA.
> 
> -- 
> Jim Ohlstein
> 
> 
> "Never argue with a fool, onlookers may not be able to tell the 
> difference." - Mark Twain
> 
___
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: Owncloud port update

2013-06-12 Thread Kevin Lo

Frederic Culot wrote:



Thanks for your reply Frederic, that's great for FreeBSD owncloud
community users :)

Well, there's nothing to be proud of here as we should have been much
more reactive considering the number of vulnerabilities that were
brought to light since last month.

I just committed your update to owncloud 5.0.7, and I also filled an
entry in vuxml to describe those vulnerabilities. Again, apologies to
our FreeBSD owncloud community users and we will try to be more
reactive next time.


Hi Frederic,

Thank you for taking care of it.  I'm sorry for not responding,
I've been so busy lately and haven't got time to update it.
Please feel free to update it if I haven't committed owncloud's PRs
in two days next time, thanks.

  
Regards,

Frederic



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


Re: FreeBSD Port: owncloud-3.0.2

2012-06-03 Thread Kevin Lo
Kugler Tobias wrote:
 Hi kevlo, 

Hi Kugler,

 Can you already foresee when owncloud 4 will be ported to freebsd? There 
 seems to be a few improvements which I am keen to use.

I'm working on it. I'll update it this week.

 Many thanks and kind regards, 
 
 pbtraveller

Kevin


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


Re: anyone else working on this? 'added independently by second party' Re: ports/165530: New port: devel/py-foolscap

2012-03-04 Thread Kevin Lo
Michael Scheidell wrote:
 nevermind.
 
 ke...@freebsd.org committed an almost identical port 14 hours ago. (I looked 
 at his Makefile and pkg-plist.  a lot better then the one in 165530)

Sorry, I was not aware of that. I just took a look at it, that port's
Makefile seems scary and it won't work.

Kevin


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


Re: source-highlight broken

2010-09-21 Thread Kevin Lo
Mikle Krutov wrote: 
 Sorry, i've thought that everything needed
 was included into config.log in first message.
 Complete make log (e.g. make 
 configure.log) in attach.

The source-hightlight port is not broken. It builds fine 
on my 8.1-stable/-current. There's also no error log on
http://pointyhat.freebsd.org/errorlogs/

Kevin


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


Re: Catch up with xz import

2010-05-19 Thread Kevin Lo
Christian Weisgerber wrote:
 (This goes to all the maintainers of ports with an archivers/xz
 dependency.)
 
 The xz utils and lzma library have been imported into base for
 9.0-CURRENT and 8.0-STABLE.  The patch below makes the dependency
 on the archivers/xz port conditional on OSVERSION.
 
 I have not bumped PORTREVISION.  (People might update the ports
 right now, but base only later, so incrementing PORTREVISION doesn't
 really help, I think.)
 
 Please check and comment.  I intend to commit this soon.
 
 
 Index: archivers/deco/Makefile
 ===
 RCS file: /home/pcvs/ports/archivers/deco/Makefile,v
 retrieving revision 1.15
 diff -u -r1.15 Makefile
 --- archivers/deco/Makefile   14 Apr 2010 06:17:26 -  1.15
 +++ archivers/deco/Makefile   19 May 2010 17:27:43 -
 @@ -20,7 +20,6 @@
   arj:${PORTSDIR}/archivers/arj \
   cabextract:${PORTSDIR}/archivers/cabextract \
   dpkg:${PORTSDIR}/archivers/dpkg \
 - lzma:${PORTSDIR}/archivers/xz \
   lzop:${PORTSDIR}/archivers/lzop \
   7z:${PORTSDIR}/archivers/p7zip \
   rpm:${PORTSDIR}/archivers/rpm \
 @@ -48,4 +47,10 @@
  .endfor
   @cd ${WRKDIR}/${PORTNAME}-archive-1.5.1/  ${CP} -pPR * ${DATADIR}
  
 -.include bsd.port.mk
 +.include bsd.port.pre.mk
 +
 +.if ${OSVERSION}  800505 || (${OSVERSION} = 90  ${OSVERSION}  
 900012)
 +RUN_DEPENDS+=lzma:${PORTSDIR}/archivers/xz
 +.endif
 +
 +.include bsd.port.post.mk

Please commit it, thanks!

Kevin


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