Bug 184797 - net/openldap24-sasl-client isn't recognized as openldap24-client
Summary: net/openldap24-sasl-client isn't recognized as openldap24-client
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-16 10:20 UTC by Pavel Timofeev
Modified: 2014-02-02 17:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Timofeev 2013-12-16 10:20:00 UTC
Some of ports that want the net/openldap24-client port as dependency don't understand that it's already installed under the openldap24-sasl-client name.

It happens only on 10.0.
I tried on 9.2 - no problem.

Examples of ports:
net/php5-ldap
www/squid33 with sasl and ldap options selected.
net-mgmt/zabbix2-server with ldap option enabled.

How-To-Repeat: It's related only to 10.0!

Try to install net/openldap24-sasl-client.
After that try to install net/php5-ldap.
See what happens.


root@timbsd:~ # uname -a
FreeBSD timbsd 10.0-RC1 FreeBSD 10.0-RC1 #0 r259124: Mon Dec  9 13:50:29 MSK 2013     mox@timbsd:/usr/obj/usr/src/sys/GENERIC  amd64

root@timbsd:~ # pkg info -x openldap
openldap-sasl-client-2.4.38

root@timbsd:~ # portmaster /usr/ports/net/php5-ldap
...
===>>> The following actions will be taken if you choose to proceed:
        Install net/php5-ldap
        Install net/openldap24-client

===>>> Proceed? y/n [y]
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-12-18 02:07:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->delphij

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Pavel Timofeev 2014-01-27 07:37:33 UTC
Hi!
Is there any idea? Maybe I'm doing something wrong?
Comment 3 Xin LI 2014-01-28 02:16:52 UTC
Hi,

Sorry for the delay.

I have submitted a pull request (
https://github.com/freebsd/pkg/pull/716 ) to pkgng but I'm not 100% sure
if the fix is correct because it have a lot of workarounds for
compatibility reasons, so please review the change before incorporating it.

The underlying problem is that pkgng implements 'pkg info -Ex'
differently than pkg_info -Ex.  In pkgng, -E is translated to -q, but in
util.c, it would not display anything as print_info() would not give any
output.

Hope this helps.

Cheers,
Comment 4 Xin LI freebsd_committer freebsd_triage 2014-01-28 02:56:48 UTC
Responsible Changed
From-To: delphij->portmgr

Assign to portmgr@ awaiting a proposed pkg(1) change.
Comment 5 dfilter service freebsd_committer freebsd_triage 2014-02-01 21:12:56 UTC
Author: bdrewery
Date: Sat Feb  1 21:12:47 2014
New Revision: 342212
URL: http://svnweb.freebsd.org/changeset/ports/342212
QAT: https://qat.redports.org/buildarchive/r342212/

Log:
  - Update pkg and pkg-devel to 1.2.6
  
    This update includes a security update for possible arbitrary code
    execution from package manifest parsing. All users are advised to
    upgrade ASAP. The base pkg(7) was never affected by this. [1]
  
  Changes:
    * Fix libyaml head-based buffer overflow [1]
    * Fix pkg info -E support for ports, which namely affected
      net/openldap* usage. [2]
    * Fix packages registering themselves as dependencies [3]
    * Bash autocompletion fixes [4]
    * autoremove: Don't try to remove locked packages
    * Support 'pkg bootstrap -f', which will force a reinstall of pkg
      on FreeBSD 10.0+
    * Fix %t timestamp formatter with %{...%} modifiers [5]
    * pkg info: Show date installed
    * Add $daily_status_security_pkgaudit_quiet to control 410.pkg-audit.in
      output verbosity level
    * Add an error when trying to update repository and none are defined [6]
    * Fix typos in manpages [7]
  
  Security:	CVE-2013-6393 [1]
  Reported by:	secteam (delphij) [1]
  PR:		ports/184797 [2]
  Reported by:	Pavel Timofeev <timp87@gmail.com> [2], many
  Submitted by:	smh@ [3]
  Submitted by:	brd@ [4]
  Submitted by:	Jamie Landeg Jones [5]
  Submitted by:	Rodrigo Osorio [6]
  Submitted by:	Michael Gehring, wblock [7]
  With hat:	portmgr
  MFH:		2014Q1

Modified:
  head/ports-mgmt/pkg-devel/Makefile
  head/ports-mgmt/pkg-devel/distinfo
  head/ports-mgmt/pkg/Makefile
  head/ports-mgmt/pkg/distinfo

Modified: head/ports-mgmt/pkg-devel/Makefile
==============================================================================
--- head/ports-mgmt/pkg-devel/Makefile	Sat Feb  1 20:53:19 2014	(r342211)
+++ head/ports-mgmt/pkg-devel/Makefile	Sat Feb  1 21:12:47 2014	(r342212)
@@ -1,10 +1,12 @@
 # $FreeBSD$
 
 PORTNAME=	pkg
-DISTVERSION=	1.2.5
+DISTVERSION=	1.2.6
 CATEGORIES=	ports-mgmt
-MASTER_SITES=	http://files.etoilebsd.net/pkg/ \
+MASTER_SITES=	\
 		http://mirror.shatow.net/freebsd/${PORTNAME}/ \
+		http://miwibox.org/distfiles/${PORTNAME}/ \
+		http://files.etoilebsd.net/pkg/ \
 		LOCAL/portmgr
 PKGNAMESUFFIX=	-devel
 

Modified: head/ports-mgmt/pkg-devel/distinfo
==============================================================================
--- head/ports-mgmt/pkg-devel/distinfo	Sat Feb  1 20:53:19 2014	(r342211)
+++ head/ports-mgmt/pkg-devel/distinfo	Sat Feb  1 21:12:47 2014	(r342212)
@@ -1,2 +1,2 @@
-SHA256 (pkg-1.2.5.tar.xz) = ea6f1c95b8fcc1a017979949fc8f06f218f4412c5ec1ddcc4858d0b751759d6c
-SIZE (pkg-1.2.5.tar.xz) = 1808040
+SHA256 (pkg-1.2.6.tar.xz) = 6c16c233986b1ff5268284c356ce870134f07f84710d61ec7033a3d729bdbbb0
+SIZE (pkg-1.2.6.tar.xz) = 1808860

Modified: head/ports-mgmt/pkg/Makefile
==============================================================================
--- head/ports-mgmt/pkg/Makefile	Sat Feb  1 20:53:19 2014	(r342211)
+++ head/ports-mgmt/pkg/Makefile	Sat Feb  1 21:12:47 2014	(r342212)
@@ -1,10 +1,12 @@
 # $FreeBSD$
 
 PORTNAME=	pkg
-DISTVERSION=	1.2.5
+DISTVERSION=	1.2.6
 CATEGORIES=	ports-mgmt
-MASTER_SITES=	http://files.etoilebsd.net/pkg/ \
+MASTER_SITES=	\
+		http://miwibox.org/distfiles/${PORTNAME}/ \
 		http://mirror.shatow.net/freebsd/${PORTNAME}/ \
+		http://files.etoilebsd.net/pkg/ \
 		LOCAL/portmgr
 
 MAINTAINER=	portmgr@FreeBSD.org

Modified: head/ports-mgmt/pkg/distinfo
==============================================================================
--- head/ports-mgmt/pkg/distinfo	Sat Feb  1 20:53:19 2014	(r342211)
+++ head/ports-mgmt/pkg/distinfo	Sat Feb  1 21:12:47 2014	(r342212)
@@ -1,2 +1,2 @@
-SHA256 (pkg-1.2.5.tar.xz) = ea6f1c95b8fcc1a017979949fc8f06f218f4412c5ec1ddcc4858d0b751759d6c
-SIZE (pkg-1.2.5.tar.xz) = 1808040
+SHA256 (pkg-1.2.6.tar.xz) = 6c16c233986b1ff5268284c356ce870134f07f84710d61ec7033a3d729bdbbb0
+SIZE (pkg-1.2.6.tar.xz) = 1808860
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Bryan Drewery freebsd_committer freebsd_triage 2014-02-01 21:13:12 UTC
State Changed
From-To: open->closed

Just committed pkg-1.2.6 which fixes -E support.
Comment 7 dfilter service freebsd_committer freebsd_triage 2014-02-02 17:30:09 UTC
Author: bdrewery
Date: Sun Feb  2 17:29:56 2014
New Revision: 342346
URL: http://svnweb.freebsd.org/changeset/ports/342346
QAT: https://qat.redports.org/buildarchive/r342346/

Log:
  MFH: r342212
  
  - Update pkg and pkg-devel to 1.2.6
  
    This update includes a security update for possible arbitrary code
    execution from package manifest parsing. All users are advised to
    upgrade ASAP. The base pkg(7) was never affected by this. [1]
  
  Changes:
    * Fix libyaml head-based buffer overflow [1]
    * Fix pkg info -E support for ports, which namely affected
      net/openldap* usage. [2]
    * Fix packages registering themselves as dependencies [3]
    * Bash autocompletion fixes [4]
    * autoremove: Don't try to remove locked packages
    * Support 'pkg bootstrap -f', which will force a reinstall of pkg
      on FreeBSD 10.0+
    * Fix %t timestamp formatter with %{...%} modifiers [5]
    * pkg info: Show date installed
    * Add $daily_status_security_pkgaudit_quiet to control 410.pkg-audit.in
      output verbosity level
    * Add an error when trying to update repository and none are defined [6]
    * Fix typos in manpages [7]
  
  Security:	CVE-2013-6393 [1]
  Reported by:	secteam (delphij) [1]
  PR:		ports/184797 [2]
  Reported by:	Pavel Timofeev <timp87@gmail.com> [2], many
  Submitted by:	smh@ [3]
  Submitted by:	brd@ [4]
  Submitted by:	Jamie Landeg Jones [5]
  Submitted by:	Rodrigo Osorio [6]
  Submitted by:	Michael Gehring, wblock [7]
  With hat:	portmgr

Modified:
  branches/2014Q1/ports-mgmt/pkg-devel/Makefile
  branches/2014Q1/ports-mgmt/pkg-devel/distinfo
  branches/2014Q1/ports-mgmt/pkg/Makefile
  branches/2014Q1/ports-mgmt/pkg/distinfo
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/ports-mgmt/pkg-devel/Makefile
==============================================================================
--- branches/2014Q1/ports-mgmt/pkg-devel/Makefile	Sun Feb  2 17:28:15 2014	(r342345)
+++ branches/2014Q1/ports-mgmt/pkg-devel/Makefile	Sun Feb  2 17:29:56 2014	(r342346)
@@ -1,10 +1,12 @@
 # $FreeBSD$
 
 PORTNAME=	pkg
-DISTVERSION=	1.2.5
+DISTVERSION=	1.2.6
 CATEGORIES=	ports-mgmt
-MASTER_SITES=	http://files.etoilebsd.net/pkg/ \
+MASTER_SITES=	\
 		http://mirror.shatow.net/freebsd/${PORTNAME}/ \
+		http://miwibox.org/distfiles/${PORTNAME}/ \
+		http://files.etoilebsd.net/pkg/ \
 		LOCAL/portmgr
 PKGNAMESUFFIX=	-devel
 

Modified: branches/2014Q1/ports-mgmt/pkg-devel/distinfo
==============================================================================
--- branches/2014Q1/ports-mgmt/pkg-devel/distinfo	Sun Feb  2 17:28:15 2014	(r342345)
+++ branches/2014Q1/ports-mgmt/pkg-devel/distinfo	Sun Feb  2 17:29:56 2014	(r342346)
@@ -1,2 +1,2 @@
-SHA256 (pkg-1.2.5.tar.xz) = ea6f1c95b8fcc1a017979949fc8f06f218f4412c5ec1ddcc4858d0b751759d6c
-SIZE (pkg-1.2.5.tar.xz) = 1808040
+SHA256 (pkg-1.2.6.tar.xz) = 6c16c233986b1ff5268284c356ce870134f07f84710d61ec7033a3d729bdbbb0
+SIZE (pkg-1.2.6.tar.xz) = 1808860

Modified: branches/2014Q1/ports-mgmt/pkg/Makefile
==============================================================================
--- branches/2014Q1/ports-mgmt/pkg/Makefile	Sun Feb  2 17:28:15 2014	(r342345)
+++ branches/2014Q1/ports-mgmt/pkg/Makefile	Sun Feb  2 17:29:56 2014	(r342346)
@@ -1,10 +1,12 @@
 # $FreeBSD$
 
 PORTNAME=	pkg
-DISTVERSION=	1.2.5
+DISTVERSION=	1.2.6
 CATEGORIES=	ports-mgmt
-MASTER_SITES=	http://files.etoilebsd.net/pkg/ \
+MASTER_SITES=	\
+		http://miwibox.org/distfiles/${PORTNAME}/ \
 		http://mirror.shatow.net/freebsd/${PORTNAME}/ \
+		http://files.etoilebsd.net/pkg/ \
 		LOCAL/portmgr
 
 MAINTAINER=	portmgr@FreeBSD.org

Modified: branches/2014Q1/ports-mgmt/pkg/distinfo
==============================================================================
--- branches/2014Q1/ports-mgmt/pkg/distinfo	Sun Feb  2 17:28:15 2014	(r342345)
+++ branches/2014Q1/ports-mgmt/pkg/distinfo	Sun Feb  2 17:29:56 2014	(r342346)
@@ -1,2 +1,2 @@
-SHA256 (pkg-1.2.5.tar.xz) = ea6f1c95b8fcc1a017979949fc8f06f218f4412c5ec1ddcc4858d0b751759d6c
-SIZE (pkg-1.2.5.tar.xz) = 1808040
+SHA256 (pkg-1.2.6.tar.xz) = 6c16c233986b1ff5268284c356ce870134f07f84710d61ec7033a3d729bdbbb0
+SIZE (pkg-1.2.6.tar.xz) = 1808860
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"