Re: [BRAINSTORMING] simplifying maintainer's life

2014-10-10 Thread Marcus von Appen
On, Thu Sep 04, 2014, Marcus von Appen wrote:


 Matthew Seaman matt...@freebsd.org:

  On 04/09/2014 07:00, Marcus von Appen wrote:
  - I often grep all plists to find which port could possibly provide such
 header or such library (among non-installed ports, of course).
 
  I do the same, but would argue that such a query service should belong to 
  or
  offered by a pkg search (as sort of counterpart to pkg which).
 
  We've toyed with that idea -- allowing 'pkg search' or similar to search
  on any file in any package known in the repositories.  The biggest
  problem is that including all that data in the package catalogues would
  bloat their size by a very large amount.
 
  Rather than bloating the catalogues for any use, there was a separate
  index of files.  Not sure whether that's being routinely built on the
  FreeBSD pkg cluster at the moment  -- probably not, as it was only ever
  experimental, and didn't have any generally available consumers.

 I did not mean it to be offline available, since it becomes outdated too fast.

  In many ways, I'd prefer to have this sort of functionality available as
  a web-app, thus saving users the necessity of downloading megabytes of
  data about ports / packages they would never use or care about.  Needs
  someone to step up and write that application though.

 Not necessarily a web app, but a (web) service that's e.g. run somewhere on a
 pkg builder or proxy and which can be queried by tools as well as web
 services.


I gave the pkg repo output a quick shot with about 370 random packages, which
creates a filesite.yaml of roughly 4.5 MB. Reading the file and transforming
it into a tree to get access to the file entries resulted in about 8 nodes
(a compressed variant, where nodes with only a single child are merged,
contains 78000 nodes).

370 packages are about 1 to 1.5 percent of the package amount, we currently
have. Assuming linear growth, filesite.yaml would be around 450 MB in size,
and a node tree for searching would contain around 8 million nodes.

I doubt that a reasonably fast search service could be implemented on top of
filesite.yaml alone. Storing everything in memory is not an option, since the
index tree alone would consume far more than 300 MB (assuming an optimal word
size of 20 bytes plus a bit of node and tree payload). Fragemented search over
the file would cause heavy disk I/O and no matter, how many threads will
perform the search, the disk I/O eventually will become the bottleneck.

Searching the tree would be horribly slow, since the traversal would need
either additional information in the structure (to avoid a complete BFS/DFS
for file fragments) or keeping subtrees and helper structures in memory, which
easily blows the minimum memory amount to use without a single query being
executed.

With this amount of information, Tries, DAWGs or generic DAGs would easily hit
their limit and one would need to set up an incremental search based on
seperate indices, which effectively leads to a document index and search
implementation.

My guess is that a webservice for searching the catalogue would be easier to
be implemented based on a full text search engine, such as Solr or Lucene,
since each particular entry within filesite.yaml is a specific and very small
document.

Cheers
Marcus


pgpWduVyDF31N.pgp
Description: PGP signature


Update php from 5.5 to 5.6?

2014-10-10 Thread Jakob Breivik Grimstveit
Hi there, fellows!

I'm looking at jumping from php5.5 to php5.6, but I'm wondering whether
anyone have any experience on this, and any accompanying recommendations
:-).

Need to have it working together with apache24 and mysql56

Thank you in advance!


$ pkg info | grep -ie ^php -ie ^apache -ie ^mysql | sort
apache24-2.4.10_2  Version 2.4.x of Apache web server
mysql56-client-5.6.21  Multithreaded SQL database (client)
mysql56-server-5.6.21  Multithreaded SQL database (server)
php55-5.5.17_1 PHP Scripting Language
php55-bz2-5.5.17_1 The bz2 shared extension for php
php55-ctype-5.5.17_1   The ctype shared extension for php
php55-dom-5.5.17_1 The dom shared extension for php
php55-exif-5.5.17_1The exif shared extension for php
php55-extensions-1.8   meta-port to install PHP extensions
php55-fileinfo-5.5.17_1The fileinfo shared extension for php
php55-filter-5.5.17_1  The filter shared extension for php
php55-gd-5.5.17_1  The gd shared extension for php
php55-gettext-5.5.17_1 The gettext shared extension for php
php55-hash-5.5.17_1The hash shared extension for php
php55-iconv-5.5.17_1   The iconv shared extension for php
php55-json-5.5.17_1The json shared extension for php
php55-mbstring-5.5.17_1The mbstring shared extension for php
php55-mcrypt-5.5.17_1  The mcrypt shared extension for php
php55-mysql-5.5.17_1   The mysql shared extension for php
php55-mysqli-5.5.17_1  The mysqli shared extension for php
php55-opcache-5.5.17_1 The opcache shared extension for php
php55-openssl-5.5.17_1 The openssl shared extension for php
php55-pdo-5.5.17_1 The pdo shared extension for php
php55-pdo_mysql-5.5.17_1   The pdo_mysql shared extension for php
php55-pdo_sqlite-5.5.17_1  The pdo_sqlite shared extension for php
php55-posix-5.5.17_1   The posix shared extension for php
php55-recode-5.5.17_1  The recode shared extension for php
php55-session-5.5.17_1 The session shared extension for php
php55-simplexml-5.5.17_1   The simplexml shared extension for php
php55-soap-5.5.17_1The soap shared extension for php
php55-sockets-5.5.17_1 The sockets shared extension for php
php55-sqlite3-5.5.17_1 The sqlite3 shared extension for php
php55-tokenizer-5.5.17_1   The tokenizer shared extension for php
php55-xml-5.5.17_1 The xml shared extension for php
php55-xmlreader-5.5.17_1   The xmlreader shared extension for php
php55-xmlwriter-5.5.17_1   The xmlwriter shared extension for php
php55-zlib-5.5.17_1The zlib shared extension for php

$ uname -pr
10.0-RELEASE-p9 amd64


-- 
Vyrdsamt,
Jakob Breivik Grimstveit | +47 4829 8152
http://grimstveit.no/jakob
___
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: Update php from 5.5 to 5.6?

2014-10-10 Thread Mathieu Arnold


+--On 10 octobre 2014 09:11:10 +0200 Jakob Breivik Grimstveit
ja...@grimstveit.no wrote:
| Hi there, fellows!
| 
| I'm looking at jumping from php5.5 to php5.6, but I'm wondering whether
| anyone have any experience on this, and any accompanying recommendations
| :-).
| 
| Need to have it working together with apache24 and mysql56
| 
| Thank you in advance!
| 
| 
| $ pkg info | grep -ie ^php -ie ^apache -ie ^mysql | sort

You forgot mod_php55-xxx :-)

Easiest way to do it would be to remove php55-* and mod_php55-xxx and
install their php56-* and mod_php56-xxx equivalents.

-- 
Mathieu Arnold
___
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: Update php from 5.5 to 5.6?

2014-10-10 Thread Mark Felder


On Fri, Oct 10, 2014, at 04:37, Mathieu Arnold wrote:
 
 
 +--On 10 octobre 2014 09:11:10 +0200 Jakob Breivik Grimstveit
 ja...@grimstveit.no wrote:
 | Hi there, fellows!
 | 
 | I'm looking at jumping from php5.5 to php5.6, but I'm wondering whether
 | anyone have any experience on this, and any accompanying
 recommendations
 | :-).
 | 
 | Need to have it working together with apache24 and mysql56
 | 
 | Thank you in advance!
 | 
 | 
 | $ pkg info | grep -ie ^php -ie ^apache -ie ^mysql | sort
 
 You forgot mod_php55-xxx :-)
 
 Easiest way to do it would be to remove php55-* and mod_php55-xxx and
 install their php56-* and mod_php56-xxx equivalents.
 

Just keep in mind that there isn't a PROVIDES framework yet and the
default PHP version in ports is PHP 5.4. If you try to install some PEAR
modules or web apps like www/wordpress you'll probably run into a loop
or your PHP will be forcbily be downgraded to the PHP version (5.4) that
the package was built against. If you run into this problem the sanest
solution is to prop up your own repository and build the packages you
need, setting DEFAULT_VERSIONS= php=5.6 in your make.conf.
___
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


PKG not quite ready for prime time

2014-10-10 Thread scratch65535
I'm having quite a lot of trouble converting to pkg due to there
being no obvious source of accurate documentation.   I got this
after I thought I had it solved and could install something:

11:36 Fri, 10 Oct [momcat:root]~ pkg install firefox
Updating FreeBSD repository catalogue...
pkg: Repository FreeBSD has a wrong packagesite, need to
re-create database
Fetching meta.txz: 100%   968 B   1.0k/s00:01
pkg: Error loading trusted certificates
pkg: repository FreeBSD has no meta file, using default settings
Fetching digests.txz: 100%2 MB 119.8k/s00:17
pkg: Error loading trusted certificates
pkg: Unable to update repository FreeBSD
All repositories are up-to-date.
pkg: Repository FreeBSD has a wrong packagesite, need to
re-create database
pkg: Repository FreeBSD cannot be opened. 'pkg update' required
Updating database digests format: 100%
pkg: No packages available to install matching 'firefox' have
been found in the repositories


Just for the record, could someone knowledgeable please post the
real, current list of required config files and their contents OR
a pointer to known-good+complete documentation?

Thanks!  
___
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


Bug 194290 - [MAINTAINER] sysutils/ldap-account-manager: update to 4.7.1

2014-10-10 Thread Vasiliy P. Melnik
Hi.

Please update port
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194290
___
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: PKG not quite ready for prime time

2014-10-10 Thread olli hauer
On 2014-10-10 19:13, scratch65...@att.net wrote:
 I'm having quite a lot of trouble converting to pkg due to there
 being no obvious source of accurate documentation.   I got this
 after I thought I had it solved and could install something:
 
 11:36 Fri, 10 Oct [momcat:root]~ pkg install firefox
 Updating FreeBSD repository catalogue...
 pkg: Repository FreeBSD has a wrong packagesite, need to
 re-create database
 Fetching meta.txz: 100%   968 B   1.0k/s00:01
 pkg: Error loading trusted certificates
 pkg: repository FreeBSD has no meta file, using default settings
 Fetching digests.txz: 100%2 MB 119.8k/s00:17
 pkg: Error loading trusted certificates
 pkg: Unable to update repository FreeBSD
 All repositories are up-to-date.
 pkg: Repository FreeBSD has a wrong packagesite, need to
 re-create database
 pkg: Repository FreeBSD cannot be opened. 'pkg update' required
 Updating database digests format: 100%
 pkg: No packages available to install matching 'firefox' have
 been found in the repositories
 
 
 Just for the record, could someone knowledgeable please post the
 real, current list of required config files and their contents OR
 a pointer to known-good+complete documentation?
 
 Thanks!  

Please show us the following output
$ pkg info pkg

and from next command everything from Repositories: to the end (last ~10 
lines)
$ pkg -vv

-- 
olli
___
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: PKG not quite ready for prime time

2014-10-10 Thread scratch65535

On Fri, 10 Oct 2014 19:30:18 +0200, you wrote:

On 2014-10-10 19:13, scratch65...@att.net wrote:
 I'm having quite a lot of trouble converting to pkg due to there
 being no obvious source of accurate documentation.   I got this
 after I thought I had it solved and could install something:
 
 11:36 Fri, 10 Oct [momcat:root]~ pkg install firefox
 Updating FreeBSD repository catalogue...
 pkg: Repository FreeBSD has a wrong packagesite, need to
 re-create database
 Fetching meta.txz: 100%   968 B   1.0k/s00:01
 pkg: Error loading trusted certificates
 pkg: repository FreeBSD has no meta file, using default settings
 Fetching digests.txz: 100%2 MB 119.8k/s00:17
 pkg: Error loading trusted certificates
 pkg: Unable to update repository FreeBSD
 All repositories are up-to-date.
 pkg: Repository FreeBSD has a wrong packagesite, need to
 re-create database
 pkg: Repository FreeBSD cannot be opened. 'pkg update' required
 Updating database digests format: 100%
 pkg: No packages available to install matching 'firefox' have
 been found in the repositories
 
 
 Just for the record, could someone knowledgeable please post the
 real, current list of required config files and their contents OR
 a pointer to known-good+complete documentation?
 
 Thanks!  

Please show us the following output
$ pkg info pkg


[momcat:root]~ pkg info pkg
pkg-1.3.8_3
Name   : pkg
Version: 1.3.8_3
Installed on   : Fri Oct 10 07:57:56 EDT 2014
Origin : ports-mgmt/pkg
Architecture   : freebsd:9:x86:64
Prefix : /usr/local
Categories : ports-mgmt
Licenses   : BSD2CLAUSE
Maintainer : port...@freebsd.org
WWW: http://wiki.freebsd.org/pkgng
Comment: Package manager
Shared Libs provided:
libpkg.so.3
Flat size  : 8.18MiB
Description:
Package management tool

WWW: http://wiki.freebsd.org/pkgng



and from next command everything from Repositories: to the end (last ~10 
lines)
$ pkg -vv

 
 Repositories:
  FreeBSD: { 
url :
pkg+http://pkg.freebsd.org/freebsd:8:x86:64/latest;,
enabled : yes,
mirror_type : SRV,
signature_type  : FINGERPRINTS,
fingerprints: /usr/share/keys/pkg
  }
 13:41 Fri, 10 Oct [momcat:root]~ 


___
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: PKG not quite ready for prime time

2014-10-10 Thread Bryan Drewery
On 10/10/2014 12:43 PM, scratch65...@att.net wrote:
 
 On Fri, 10 Oct 2014 19:30:18 +0200, you wrote:
 
 On 2014-10-10 19:13, scratch65...@att.net wrote:
 I'm having quite a lot of trouble converting to pkg due to there
 being no obvious source of accurate documentation.   I got this
 after I thought I had it solved and could install something:

 11:36 Fri, 10 Oct [momcat:root]~ pkg install firefox
 Updating FreeBSD repository catalogue...
 pkg: Repository FreeBSD has a wrong packagesite, need to
 re-create database
 Fetching meta.txz: 100%   968 B   1.0k/s00:01
 pkg: Error loading trusted certificates
 pkg: repository FreeBSD has no meta file, using default settings
 Fetching digests.txz: 100%2 MB 119.8k/s00:17
 pkg: Error loading trusted certificates
 pkg: Unable to update repository FreeBSD
 All repositories are up-to-date.
 pkg: Repository FreeBSD has a wrong packagesite, need to
 re-create database
 pkg: Repository FreeBSD cannot be opened. 'pkg update' required
 Updating database digests format: 100%
 pkg: No packages available to install matching 'firefox' have
 been found in the repositories


 Just for the record, could someone knowledgeable please post the
 real, current list of required config files and their contents OR
 a pointer to known-good+complete documentation?

 Thanks!  

 Please show us the following output
 $ pkg info pkg
 
 
 [momcat:root]~ pkg info pkg
 pkg-1.3.8_3
 Name   : pkg
 Version: 1.3.8_3
 Installed on   : Fri Oct 10 07:57:56 EDT 2014
 Origin : ports-mgmt/pkg
 Architecture   : freebsd:9:x86:64
 Prefix : /usr/local
 Categories : ports-mgmt
 Licenses   : BSD2CLAUSE
 Maintainer : port...@freebsd.org
 WWW: http://wiki.freebsd.org/pkgng
 Comment: Package manager
 Shared Libs provided:
   libpkg.so.3
 Flat size  : 8.18MiB
 Description:
 Package management tool
 
 WWW: http://wiki.freebsd.org/pkgng
 
 

 and from next command everything from Repositories: to the end (last ~10 
 lines)
 $ pkg -vv
 
  
  Repositories:
   FreeBSD: { 
 url :
 pkg+http://pkg.freebsd.org/freebsd:8:x86:64/latest;,
 enabled : yes,
 mirror_type : SRV,
 signature_type  : FINGERPRINTS,
 fingerprints: /usr/share/keys/pkg

Show output of this please?

find /usr/share/keys/pkg -exec sha256 {} +

   }
  13:41 Fri, 10 Oct [momcat:root]~ 
 
 
 ___
 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
 


-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: PKG not quite ready for prime time

2014-10-10 Thread olli hauer
On 2014-10-10 19:43, scratch65...@att.net wrote:
 
 On Fri, 10 Oct 2014 19:30:18 +0200, you wrote:
 
 On 2014-10-10 19:13, scratch65...@att.net wrote:
 I'm having quite a lot of trouble converting to pkg due to there
 being no obvious source of accurate documentation.   I got this
 after I thought I had it solved and could install something:

 11:36 Fri, 10 Oct [momcat:root]~ pkg install firefox
 Updating FreeBSD repository catalogue...
 pkg: Repository FreeBSD has a wrong packagesite, need to
 re-create database
 Fetching meta.txz: 100%   968 B   1.0k/s00:01
 pkg: Error loading trusted certificates
 pkg: repository FreeBSD has no meta file, using default settings
 Fetching digests.txz: 100%2 MB 119.8k/s00:17
 pkg: Error loading trusted certificates
 pkg: Unable to update repository FreeBSD
 All repositories are up-to-date.
 pkg: Repository FreeBSD has a wrong packagesite, need to
 re-create database
 pkg: Repository FreeBSD cannot be opened. 'pkg update' required
 Updating database digests format: 100%
 pkg: No packages available to install matching 'firefox' have
 been found in the repositories


 Just for the record, could someone knowledgeable please post the
 real, current list of required config files and their contents OR
 a pointer to known-good+complete documentation?

 Thanks!  

 Please show us the following output
 $ pkg info pkg
 
 
 [momcat:root]~ pkg info pkg
 pkg-1.3.8_3
 Name   : pkg
 Version: 1.3.8_3
 Installed on   : Fri Oct 10 07:57:56 EDT 2014
 Origin : ports-mgmt/pkg
 Architecture   : freebsd:9:x86:64
 Prefix : /usr/local
 Categories : ports-mgmt
 Licenses   : BSD2CLAUSE
 Maintainer : port...@freebsd.org
 WWW: http://wiki.freebsd.org/pkgng
 Comment: Package manager
 Shared Libs provided:
   libpkg.so.3
 Flat size  : 8.18MiB
 Description:
 Package management tool
 
 WWW: http://wiki.freebsd.org/pkgng
 
 

 and from next command everything from Repositories: to the end (last ~10 
 lines)
 $ pkg -vv
 
  
  Repositories:
   FreeBSD: { 
 url :
 pkg+http://pkg.freebsd.org/freebsd:8:x86:64/latest;,
 enabled : yes,
 mirror_type : SRV,
 signature_type  : FINGERPRINTS,
 fingerprints: /usr/share/keys/pkg
   }
  13:41 Fri, 10 Oct [momcat:root]~ 
 

There is a architecture mismatch, your pkg claims to be a 9.x package and your 
repo wants to install 8.x packages.
I suspect this is a upgraded system that has maunualy changes in the repo file.

Locate the file /etc/pkg/FreeBSD.conf and make sure it looks like the 
following lines (the variable ${ABI} instead freebsd:8:x86:64)
(it is possible a correct copy exists in /usr/src/etc/pkg/FreeBSD.conf)

FreeBSD: {
  url: pkg+http://pkg.FreeBSD.org/${ABI}/latest;,
  mirror_type: srv,
  signature_type: fingerprints,
  fingerprints: /usr/share/keys/pkg,
  enabled: yes
}


after fixing the repo run
$ pkg update -f


-- 
olli
___
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: PKG not quite ready for prime time

2014-10-10 Thread scratch65535
On Fri, 10 Oct 2014 12:57:42 -0500, Brian Drewery wrote:

find /usr/share/keys/pkg -exec sha256 {} +

No such file
___
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: PKG not quite ready for prime time

2014-10-10 Thread Auld Besom
On Fri, 10 Oct 2014 20:02:19 +0200, you wrote:

On 2014-10-10 19:43, scratch65...@att.net wrote:
 
 On Fri, 10 Oct 2014 19:30:18 +0200, you wrote:
 
 On 2014-10-10 19:13, scratch65...@att.net wrote:
 I'm having quite a lot of trouble converting to pkg due to there
 being no obvious source of accurate documentation.   I got this
 after I thought I had it solved and could install something:

 11:36 Fri, 10 Oct [momcat:root]~ pkg install firefox
 Updating FreeBSD repository catalogue...
 pkg: Repository FreeBSD has a wrong packagesite, need to
 re-create database
 Fetching meta.txz: 100%   968 B   1.0k/s00:01
 pkg: Error loading trusted certificates
 pkg: repository FreeBSD has no meta file, using default settings
 Fetching digests.txz: 100%2 MB 119.8k/s00:17
 pkg: Error loading trusted certificates
 pkg: Unable to update repository FreeBSD
 All repositories are up-to-date.
 pkg: Repository FreeBSD has a wrong packagesite, need to
 re-create database
 pkg: Repository FreeBSD cannot be opened. 'pkg update' required
 Updating database digests format: 100%
 pkg: No packages available to install matching 'firefox' have
 been found in the repositories


 Just for the record, could someone knowledgeable please post the
 real, current list of required config files and their contents OR
 a pointer to known-good+complete documentation?

 Thanks!  

 Please show us the following output
 $ pkg info pkg
 
 
 [momcat:root]~ pkg info pkg
 pkg-1.3.8_3
 Name   : pkg
 Version: 1.3.8_3
 Installed on   : Fri Oct 10 07:57:56 EDT 2014
 Origin : ports-mgmt/pkg
 Architecture   : freebsd:9:x86:64
 Prefix : /usr/local
 Categories : ports-mgmt
 Licenses   : BSD2CLAUSE
 Maintainer : port...@freebsd.org
 WWW: http://wiki.freebsd.org/pkgng
 Comment: Package manager
 Shared Libs provided:
  libpkg.so.3
 Flat size  : 8.18MiB
 Description:
 Package management tool
 
 WWW: http://wiki.freebsd.org/pkgng
 
 

 and from next command everything from Repositories: to the end (last ~10 
 lines)
 $ pkg -vv
 
  
  Repositories:
   FreeBSD: { 
 url :
 pkg+http://pkg.freebsd.org/freebsd:8:x86:64/latest;,
 enabled : yes,
 mirror_type : SRV,
 signature_type  : FINGERPRINTS,
 fingerprints: /usr/share/keys/pkg
   }
  13:41 Fri, 10 Oct [momcat:root]~ 
 

There is a architecture mismatch, your pkg claims to be a 9.x package and your 
repo wants to install 8.x packages.
I suspect this is a upgraded system that has maunualy changes in the repo file.

Locate the file /etc/pkg/FreeBSD.conf and make sure it looks like the 
following lines (the variable ${ABI} instead freebsd:8:x86:64)
(it is possible a correct copy exists in /usr/src/etc/pkg/FreeBSD.conf)

FreeBSD: {
  url: pkg+http://pkg.FreeBSD.org/${ABI}/latest;,
  mirror_type: srv,
  signature_type: fingerprints,
  fingerprints: /usr/share/keys/pkg,
  enabled: yes
}


after fixing the repo run
$ pkg update -f


I had it as ${ABI} to begin with, but had no luck that way either
(see below).  Then I changed it, unaware that that first 8 was
the version, or even that there are o/s version-dependent
versions of pkg.

14:25 Fri, 10 Oct [momcat:root]/etc/pkg cat FreeBSD.conf 
FreeBSD: {
 url: pkg+http://pkg.freebsd.org/${ABI}/latest;,
 enabled: true,
 signature_type: fingerprints,
 fingerprints: /usr/share/keys/pkg,
 mirror_type: srv
 }
 14:25 Fri, 10 Oct [momcat:root]/etc/pkg pkg update -f
Updating FreeBSD repository catalogue...
pkg: Repository FreeBSD has a wrong packagesite, need to
re-create database
Fetching meta.txz: 100%   968 B   1.0k/s00:01
pkg: Error loading trusted certificates
pkg: repository FreeBSD has no meta file, using default settings
Fetching digests.txz: 100%2 MB 119.8k/s00:17
pkg: Error loading trusted certificates
pkg: Unable to update repository FreeBSD
 14:25 Fri, 10 Oct [momcat:root]/etc/pkg 
___
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: Bug 194290 - [MAINTAINER] sysutils/ldap-account-manager: update to 4.7.1

2014-10-10 Thread Kurt Jaeger
Hi!

 Please update port
 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194290

Done.

-- 
p...@opsec.eu+49 171 3101372 6 years to go !
___
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: PKG not quite ready for prime time

2014-10-10 Thread Mark Felder
On Fri, Oct 10, 2014, at 13:29, Auld Besom wrote:
 
 I had it as ${ABI} to begin with, but had no luck that way either
 (see below).  Then I changed it, unaware that that first 8 was
 the version, or even that there are o/s version-dependent
 versions of pkg.
 
Pkg itself is compiled, not interpreted like Yum which is Python, so it
does matter. And you of course want to ensure you're installing packages
built for FreeBSD 9 on your FreeBSD 9 server.

The next error you're seeing is this:

 pkg: Error loading trusted certificates

This is due to your missing certificates in /usr/share/keys/pkg which
are required due to your repository having:

 signature_type: fingerprints,
 fingerprints: /usr/share/keys/pkg,

You could remove those lines to work around that, but you are lowering
the security of your system as you cannot verify the integrity of your
packages anymore. The fix is to populate your /usr/share/keys/pkg. I do
not know why it did not come populated after your upgrade, but that's a
discussion for another day. Let's get your keys:

# mkdir -p /usr/share/keys/pkg/trusted /usr/share/keys/pkg/revoked
# fetch -o /usr/share/keys/pkg/trusted/pkg.freebsd.org.2013102301
https://svnweb.freebsd.org/base/head/share/keys/pkg/trusted/pkg.freebsd.org.2013102301?revision=260605view=co;
# chown root:wheel
/usr/share/keys/pkg/trusted/pkg.freebsd.org.2013102301
# chmod 644 /usr/share/keys/pkg/trusted/pkg.freebsd.org.2013102301


If you have problems with fetch because of the https you might have to
use --no-verify-peers but at least compare the certificate and/or ensure
the contents of the key match what's in the repository
___
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: PKG not quite ready for prime time

2014-10-10 Thread Bryan Drewery
On 10/10/2014 1:12 PM, scratch65...@att.net wrote:
 On Fri, 10 Oct 2014 12:57:42 -0500, Brian Drewery wrote:
 
 find /usr/share/keys/pkg -exec sha256 {} +
 
 No such file

That's your problem. You are missing the signature fingerprints to
compare against. As such Pkg is refusing to do anything to prevent MITM
attacks.

You are missing this:
https://www.freebsd.org/security/advisories/FreeBSD-EN-14:03.pkg.asc

freebsd-update can provide it.


-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: PKG not quite ready for prime time

2014-10-10 Thread Mark Felder


On Fri, Oct 10, 2014, at 14:47, Bryan Drewery wrote:
 On 10/10/2014 1:12 PM, scratch65...@att.net wrote:
  On Fri, 10 Oct 2014 12:57:42 -0500, Brian Drewery wrote:
  
  find /usr/share/keys/pkg -exec sha256 {} +
  
  No such file
 
 That's your problem. You are missing the signature fingerprints to
 compare against. As such Pkg is refusing to do anything to prevent MITM
 attacks.
 
 You are missing this:
 https://www.freebsd.org/security/advisories/FreeBSD-EN-14:03.pkg.asc
 
 freebsd-update can provide it.
 
 

Ahh, good point. This is better advice. Even if your system was
supposedly fully up to date freebsd-update would detect this is missing
and repair it as it was part of an SA. This is better advice than my
manual creation method :-)
___
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: PKG not quite ready for prime time

2014-10-10 Thread Royce Williams
On Fri, Oct 10, 2014 at 11:55 AM, Mark Felder f...@freebsd.org wrote:


 On Fri, Oct 10, 2014, at 14:47, Bryan Drewery wrote:
 On 10/10/2014 1:12 PM, scratch65...@att.net wrote:
  On Fri, 10 Oct 2014 12:57:42 -0500, Brian Drewery wrote:
 
  find /usr/share/keys/pkg -exec sha256 {} +
 
  No such file

 That's your problem. You are missing the signature fingerprints to
 compare against. As such Pkg is refusing to do anything to prevent MITM
 attacks.

 You are missing this:
 https://www.freebsd.org/security/advisories/FreeBSD-EN-14:03.pkg.asc

 freebsd-update can provide it.

 Ahh, good point. This is better advice. Even if your system was
 supposedly fully up to date freebsd-update would detect this is missing
 and repair it as it was part of an SA. This is better advice than my
 manual creation method :-)

I'm glad that Mark managed to get an answer to this question.

But could pkg be adapted to help uninitiated users to discover this
for themselves on the spot?

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


Bash and pkgng

2014-10-10 Thread Brian W.
Thanx to those who put work in to get bash working properly. Previous
builds failed with a bison error but today a pig reinstall occurred and an
install of bash 4.3.30 was also successful.

Brian

Brian
___
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: PKG not quite ready for prime time

2014-10-10 Thread Michelle Sullivan
Mark Felder wrote:
 On Fri, Oct 10, 2014, at 14:47, Bryan Drewery wrote:
   
 On 10/10/2014 1:12 PM, scratch65...@att.net wrote:
 
 On Fri, 10 Oct 2014 12:57:42 -0500, Brian Drewery wrote:

   
 find /usr/share/keys/pkg -exec sha256 {} +
 
 No such file
   
 That's your problem. You are missing the signature fingerprints to
 compare against. As such Pkg is refusing to do anything to prevent MITM
 attacks.

 You are missing this:
 https://www.freebsd.org/security/advisories/FreeBSD-EN-14:03.pkg.asc

 freebsd-update can provide it.


 

 Ahh, good point. This is better advice. Even if your system was
 supposedly fully up to date freebsd-update would detect this is missing
 and repair it as it was part of an SA. This is better advice than my
 manual creation method :-)
   

Didn't on mine, I ran into the same problem - though it wasn't a show
stopper for me as I was trying to use my own repo - which also failed
using the docs...  and nothing in the debug gave any clues or additional
information to the problem.  Fortunately, I can read/write code, so I
fixed things myself.

Michelle

(and people wonder why I hadn't switched to pkgng by Sept 1.. but it was
deemed thou shalt use it whether you like it or not)

-- 
Michelle Sullivan
http://www.mhix.org/

___
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


Drupal 7.28 = 7.31...

2014-10-10 Thread Albert Gabàs | Astabis
Dear Drupal7 port maintainer,

 

Please, update the port to the latest version that fixes security 
vulnerabilities.

 

https://www.drupal.org/drupal-7.31-release-notes

 

https://www.drupal.org/drupal-7.30-release-notes

 

https://www.drupal.org/drupal-7.29-release-notes

 

Thank you!!

--

Albert Gabàs - Astabis

Information Risk Management

 

Nacional:  +34 902 800 872 | Fax: +34 931 980 591

Barcelona: +34 931 980 181 | Madrid:  +34 911 333 071

 

___
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: Update php from 5.5 to 5.6?

2014-10-10 Thread Matthew D. Fuller
On Fri, Oct 10, 2014 at 11:37:24AM +0200 I heard the voice of
Mathieu Arnold, and lo! it spake thus:
 
 Easiest way to do it would be to remove php55-* and mod_php55-xxx
 and install their php56-* and mod_php56-xxx equivalents.

Pre-pkgng, I did it via creepy magic sed'ery in /var/db/pkg; change
the origins, then a regular portupgrade/portmaster will see the newer
versions and run with it.  Post-pkgng, we can just use pkg set to
avoid some of the creepery.

I did the 55-56 on a machine about a month ago, and came up with the
below.  It just spits out the commands, then I can eyeball to be sure
they're right and CP into a term.  Then check the 'pkg version',
should show all of them needing upgrades to 5.6.x.

-8--
#!/usr/bin/env perl
use strict;
use warnings;

# pkg query '%o' | grep php55 | $SELF

while(STDIN)
{
chomp;
my $old = $_;
(my $new = $_) =~ s/55/56/;

die Couldn't find dir $new unless -d /usr/ports/$new;

print pkg set -yo $old:$new\n;
}
-8--



-- 
Matthew Fuller (MF4839)   |  fulle...@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
   On the Internet, nobody can hear you scream.
___
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


Update of port definition for YAF

2014-10-10 Thread Chris Inacio
Hello all,

To whom do I send an updated YAF port definition? I updated the Makefile
and the distinfo file and ran a build test through poudriere.

I don't actually have the ports build installed on my VM test machine, so
while I have added a lot more options to YAF, I don't have a good way to
test that.  (If they are supposed to show up in poudriere, then those are
broken.)

I've attached the updated files here.  Do binary pkg files get generated
automatically using poudriere?  Is there anything else I should provide?

Thanks,
Chris


Makefile
Description: Binary data


distinfo
Description: Binary data
___
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