CVS: cvs.openbsd.org: ports

2012-02-03 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2012/02/03 01:44:51

Modified files:
lang/php/5.3   : Makefile distinfo 
Removed files:
lang/php/5.3/patches: patch-main_php_variables_c 

Log message:
Update to PHP 5.3.10, rolling in yesterday's security fix and also
fixing a memory leak.  OK robert@



Re: CVS: cvs.openbsd.org: ports

2012-02-03 Thread Stuart Henderson
On 2012/02/03 00:49, Antoine Jacoutot wrote:
 CVSROOT:  /cvs
 Module name:  ports
 Changes by:   ajacou...@cvs.openbsd.org   2012/02/03 00:49:41
 
 Modified files:
   www/phpldapadmin: Tag: OPENBSD_5_0 Makefile 
 Added files:
   www/phpldapadmin/patches: Tag: OPENBSD_5_0 
 patch-lib_QueryRender_php 
 
 Log message:
 Add a patch from upstream to fix:
 phpLDAPadmin base Cross-Site Scripting Vulnerability
 http://secunia.com/advisories/47852/
 
 ok sthen@
 

CVE-2012-0834 was just allocated for this, in case anyone cares



CVS: cvs.openbsd.org: ports

2012-02-03 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2012/02/03 03:14:12

Modified files:
www/drupal6/core: Makefile distinfo 
www/drupal6/core/pkg: PLIST 

Log message:
xss agregator dos in 6.22
okay sthen@



CVS: cvs.openbsd.org: ports

2012-02-03 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2012/02/03 04:48:52

Modified files:
audio/ncmpcpp  : Makefile 
audio/ncmpcpp/patches: patch-src_tag_editor_cpp 

Log message:



Re: CVS: cvs.openbsd.org: ports

2012-02-03 Thread David Coppa
On Fri, Feb 3, 2012 at 12:48 PM, David Coppa dco...@cvs.openbsd.org wrote:
 CVSROOT:/cvs
 Module name:ports
 Changes by: dco...@cvs.openbsd.org  2012/02/03 04:48:52

 Modified files:
audio/ncmpcpp  : Makefile
audio/ncmpcpp/patches: patch-src_tag_editor_cpp

 Log message:


Ops.

The commit message is:

fix segfault if LocateSong is used in tag editor
(upstream git commit 70e9ebe7a309229825d157a8dd567cd4b4774a45)

ok ajacoutot@

Sorry,
David



CVS: cvs.openbsd.org: ports

2012-02-03 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2012/02/03 10:01:17

Modified files:
lang/gcc/4.6   : Makefile 

Log message:
Mark gcc 4.6 as BROKEN-sparc64, gengtype loops infinitely.
ok espie@ sthen@



CVS: cvs.openbsd.org: ports

2012-02-03 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2012/02/03 11:23:14

Modified files:
graphics/png   : Makefile 
Added files:
graphics/png/patches: patch-pngerror_c patch-pngpriv_h 

Log message:
Fix for CVE-2011-3464
(libpng png_formatted_warning() Off-by-One Vulnerability)

patch came from upstream git:
(http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng/libpng;a=commit;h=
00c6a9a62c1825617c35c03ceb408114fffeca32)

OK sthen@



Re: CVS: cvs.openbsd.org: ports

2012-02-03 Thread Gleydson Soares
On Fri, Feb 3, 2012 at 4:23 PM, Gleydson Soares gsoa...@cvs.openbsd.org
wrote:
 CVSROOT:/cvs
 Module name:ports
 Changes by: gsoa...@cvs.openbsd.org 2012/02/03 11:23:14

 Modified files:
graphics/png   : Makefile
 Added files:
graphics/png/patches: patch-pngerror_c patch-pngpriv_h

 Log message:
 Fix for CVE-2011-3464
 (libpng png_formatted_warning() Off-by-One Vulnerability)

 patch came from upstream git:

(http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng/libpng;a=commit;h=
 00c6a9a62c1825617c35c03ceb408114fffeca32)

 OK sthen@


also OK with naddy@



CVS: cvs.openbsd.org: ports

2012-02-03 Thread Gleydson Soares
CVSROOT:/cvs
Module name:ports
Changes by: gsoa...@cvs.openbsd.org 2012/02/03 15:29:09

Modified files:
graphics/png   : Tag: OPENBSD_5_0 Makefile 
Added files:
graphics/png/patches: Tag: OPENBSD_5_0 patch-pngerror_c 
  patch-pngpriv_h 

Log message:
Fix for CVE-2011-3464
(libpng png_formatted_warning() Off-by-One Vulnerability)

patch came from upstream git:
(http://libpng.git.sourceforge.net/git/gitweb.cgi?p=libpng/libpng;a=commit;h=
00c6a9a62c1825617c35c03ceb408114fffeca32)

OK sthen@



audio/ncmpcpp: fix segfault

2012-02-03 Thread David Coppa

Fix segfault if LocateSong is used in tag editor.

ok?

Index: Makefile
===
RCS file: /cvs/ports/audio/ncmpcpp/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile30 Dec 2011 10:10:16 -  1.8
+++ Makefile3 Feb 2012 10:35:26 -
@@ -4,7 +4,7 @@ COMMENT =   ncurses mpd client inspired b
 
 DISTNAME = ncmpcpp-0.5.8
 
-REVISION = 1
+REVISION = 2
 
 EXTRACT_SUFX = .tar.bz2
 
Index: patches/patch-src_tag_editor_cpp
===
RCS file: /cvs/ports/audio/ncmpcpp/patches/patch-src_tag_editor_cpp,v
retrieving revision 1.1
diff -u -p -r1.1 patch-src_tag_editor_cpp
--- patches/patch-src_tag_editor_cpp29 Nov 2011 12:07:18 -  1.1
+++ patches/patch-src_tag_editor_cpp3 Feb 2012 10:35:26 -
@@ -1,5 +1,8 @@
 $OpenBSD: patch-src_tag_editor_cpp,v 1.1 2011/11/29 12:07:18 dcoppa Exp $
 
+fix segfault if LocateSong is used in tag editor
+(upstream git commit 70e9ebe7a309229825d157a8dd567cd4b4774a45)
+
 fix going to right column when filename is highlighted in middle
 one (upstream git commit 8e3b0620f0f7f00af76405c1ac5001dd8eb5885b)
 
@@ -7,8 +10,25 @@ fix going to wrong directory in tag edit
 (upstream git commit 78cd46b7568e92bbecaa358bae21f3079ecf11ae)
 
 --- src/tag_editor.cpp.origTue Oct 11 21:27:41 2011
-+++ src/tag_editor.cpp Tue Nov 29 12:26:46 2011
-@@ -809,7 +809,7 @@ void TagEditor::NextColumn()
 src/tag_editor.cpp Fri Feb  3 11:24:39 2012
+@@ -39,6 +39,7 @@
+ #include song_info.h
+ #include playlist.h
+ 
++using Global::myScreen;
+ using Global::MainHeight;
+ using Global::MainStartY;
+ 
+@@ -185,8 +186,6 @@ std::basic_stringmy_char_t TagEditor::Title()
+ 
+ void TagEditor::SwitchTo()
+ {
+-  using Global::myScreen;
+-  
+   if (myScreen == this)
+   return;
+   
+@@ -809,7 +808,7 @@ void TagEditor::NextColumn()
w = TagTypes;
TagTypes-HighlightColor(Config.active_column_color);
}
@@ -17,7 +37,17 @@ fix going to wrong directory in tag edit
{
TagTypes-HighlightColor(Config.main_highlight_color);
w-Refresh();
-@@ -872,7 +872,11 @@ void TagEditor::LocateSong(const MPD::Song s)
+@@ -854,6 +853,9 @@ void TagEditor::PrevColumn()
+ 
+ void TagEditor::LocateSong(const MPD::Song s)
+ {
++  if (myScreen == this)
++  return;
++
+   if (s.GetDirectory().empty())
+   return;
+   
+@@ -872,7 +874,11 @@ void TagEditor::LocateSong(const MPD::Song s)
if (itsBrowsedDir != s.GetDirectory())
{
itsBrowsedDir = s.GetDirectory();



Re: [wip] Firefox/Thunderbird 10.0 / Seamonkey 2.7

2012-02-03 Thread Christian Weisgerber
Landry Breuil lan...@rhaalovely.net wrote:

 ESR isn't really targeted to the average joe user, so unless there is a
 real need and someone proves me he deploys OpenBSD desktops using
 firefox in large organizations such as universities and other schools,
 county or city governments and businesses and that he sign up for the
 Enterprise Working Group mailing list..

Yes, the OpenBSD port and packages are supplied to a large user
community.  I doubt that I can get any kind of end user support
from Mozilla.org for my problems with Firefox on OpenBSD.  ESR
sounds like it is *exactly* targeted at a project like us.

-- 
Christian naddy Weisgerber  na...@mips.inka.de



Re: [UPDATE] www/liferea 1.8.0

2012-02-03 Thread Juan Francisco Cantero Hurtado

On Wed, 01 Feb 2012 23:41:00 +0100, viq v...@viq.ath.cx wrote:


Yes, I know we're in lock, but someone may find it interesting, as this
version claims support of Google Reader and TinyTinyRSS. That I didn't
try, but normal operation works well for me from what I tried.

Apply with -E as patches were removed.


Tested on i386. OK.


--
Juan Francisco Cantero Hurtado http://juanfra.info



py-gtk2 fails to compile on loongson

2012-02-03 Thread Bryan Irvine
I'm trying to compile py-gtk2 on a lemote yeeloong and it keeps
failing at the linker.

Any tips on how to get around this?

The lines leading up to the errors are as follows:

cc -shared -fPIC -DPIC -o .libs/_gtk.so -pthread
-I/usr/local/include/pycairo -I/usr/local/include/cairo
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include/pixman-1 -I/usr/X11R6/include
-I/usr/X11R6/include/freetype2 -I/usr/include/dev/pci/drm
-I/usr/local/include/libpng -I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/pango-1.0
-I/usr/local/include/gio-unix-2.0/ -I/usr/X11R6/include
-I/usr/local/include/cairo -I/usr/local/include/atk-1.0
-I/usr/X11R6/include/pixman-1 -I/usr/include/dev/pci/drm
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include/freetype2 -O2 -pipe -Wall -fno-strict-aliasing
-std=c9x .libs/_gtk_la-gtk-types.o .libs/_gtk_la-gtkmodule.o
.libs/_gtk_la-gtkobject-support.o .libs/_gtk_la-pygtkcellrenderer.o
.libs/_gtk_la-pygtktreemodel.o .libs/_gtk_la-gtk.o .libs/_gtk_la-gdk.o
-L.libs -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lXinerama -lXi
-lXrandr -lXcursor -lXcomposite -latk-1.0 -lcairo -lpixman-1 -lGL
-lXxf86vm -lXext -lXdamage -lXfixes -ldrm -lpng -lxcb-shm
-lpthread-stubs -lXau -lXdmcp -lxcb-render -lXrender -lxcb
-lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lX11 -lpango-1.0 -lm
-lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lpcre -lintl
-liconv -lfontconfig -lexpat -lfreetype -lz
-Wl,-retain-symbols-file,./.libs/_gtk.exp
.libs/_gtk_la-gtk.o(.text+0x68): In function
`_wrap_gtk_text_attributes__get_bg_stipple':
: relocation truncated to fit: R_MIPS_GOT_DISP _PyGObject_API
.libs/_gtk_la-gtk.o(.text+0xa8): In function
`_wrap_gtk_text_attributes__get_fg_stipple':
: relocation truncated to fit: R_MIPS_GOT_DISP _PyGObject_API
.libs/_gtk_la-gtk.o(.text+0x190): In function
`_wrap_gtk_orientable_get_orientation':
: relocation truncated to fit: R_MIPS_CALL16 gtk_orientable_get_type
.libs/_gtk_la-gtk.o(.text+0x1a4): In function
`_wrap_gtk_orientable_get_orientation':
: relocation truncated to fit: R_MIPS_CALL16 g_type_check_instance_cast
.libs/_gtk_la-gtk.o(.text+0x1b4): In function
`_wrap_gtk_orientable_get_orientation':
: relocation truncated to fit: R_MIPS_CALL16 gtk_orientable_get_orientation
.libs/_gtk_la-gtk.o(.text+0x1c4): In function
`_wrap_gtk_orientable_get_orientation':
: relocation truncated to fit: R_MIPS_CALL16 gtk_orientation_get_type
.libs/_gtk_la-gtk.o(.text+0x1d0): In function
`_wrap_gtk_orientable_get_orientation':
: relocation truncated to fit: R_MIPS_GOT_DISP _PyGObject_API
.libs/_gtk_la-gtk.o(.text+0x238): In function
`_wrap_gtk_orientable_set_orientation':
: relocation truncated to fit: R_MIPS_CALL16 _PyArg_ParseTupleAndKeywords_SizeT
.libs/_gtk_la-gtk.o(.text+0x264): In function
`_wrap_gtk_orientable_set_orientation':
: relocation truncated to fit: R_MIPS_CALL16 gtk_orientation_get_type
.libs/_gtk_la-gtk.o(.text+0x270): In function
`_wrap_gtk_orientable_set_orientation':
: relocation truncated to fit: R_MIPS_GOT_DISP _PyGObject_API
.libs/_gtk_la-gtk.o(.text+0x294): In function
`_wrap_gtk_orientable_set_orientation':
: additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
Error while executing cc -shared -fPIC -DPIC -o .libs/_gtk.so -pthread
-I/usr/local/include/pycairo -I/usr/local/include/cairo
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include/pixman-1 -I/usr/X11R6/include
-I/usr/X11R6/include/freetype2 -I/usr/include/dev/pci/drm
-I/usr/local/include/libpng -I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/pango-1.0
-I/usr/local/include/gio-unix-2.0/ -I/usr/X11R6/include
-I/usr/local/include/cairo -I/usr/local/include/atk-1.0
-I/usr/X11R6/include/pixman-1 -I/usr/include/dev/pci/drm
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include/freetype2 -O2 -pipe -Wall -fno-strict-aliasing
-std=c9x .libs/_gtk_la-gtk-types.o .libs/_gtk_la-gtkmodule.o
.libs/_gtk_la-gtkobject-support.o .libs/_gtk_la-pygtkcellrenderer.o
.libs/_gtk_la-pygtktreemodel.o .libs/_gtk_la-gtk.o .libs/_gtk_la-gdk.o
-L.libs -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lXinerama -lXi
-lXrandr -lXcursor -lXcomposite -latk-1.0 -lcairo -lpixman-1 -lGL
-lXxf86vm -lXext -lXdamage -lXfixes -ldrm -lpng -lxcb-shm
-lpthread-stubs -lXau -lXdmcp -lxcb-render -lXrender -lxcb
-lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lX11 -lpango-1.0 -lm
-lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lpcre -lintl
-liconv -lfontconfig -lexpat -lfreetype -lz
-Wl,-retain-symbols-file,./.libs/_gtk.exp
*** Error code 1

Stop in /home/ports/pobj/py-gtk2-2.24.0/pygtk-2.24.0/gtk (line 572 of Makefile).
*** Error code 1

Stop in /home/ports/pobj/py-gtk2-2.24.0/pygtk-2.24.0 (line 728 of Makefile).
***