p5-Catalyst-Plugin-Authorization-Roles build fails on clean machine
Building this fails with dpb -c (i.e. only listed dependencies are installed) as it tries to fetch Catalyst::Plugin::Authentication from CPAN. I'm not sure why this is as a suitable version is already installed. $ echo /var/db/pkg/p5-Catalyst-Plugin-Auth* /var/db/pkg/p5-Catalyst-Plugin-Authentication-0.10007 +++ Thu Jun 3 02:39:48 BST 2010 ===> Checking files for p5-Catalyst-Plugin-Authorization-Roles-0.07 `/usr/ports/distfiles/Catalyst-Plugin-Authorization-Roles-0.07.tar.gz' is up to date. >> (SHA256) Catalyst-Plugin-Authorization-Roles-0.07.tar.gz: OK ===> Extracting for p5-Catalyst-Plugin-Authorization-Roles-0.07 ===> Patching for p5-Catalyst-Plugin-Authorization-Roles-0.07 ===> Configuring for p5-Catalyst-Plugin-Authorization-Roles-0.07 *** Module::AutoInstall version 1.03 *** Checking for Perl dependencies... [Core Features] - Test::More ...loaded. (0.92) - Test::Exception ...loaded. (0.27) - Catalyst::Runtime...loaded. (5.80013 >= 5.7) - Catalyst::Plugin::Authentication ...missing. (would need 0.10003) - Set::Object ...loaded. (1.26 >= 1.14) - UNIVERSAL::isa ...loaded. (1.03 >= 0.05) ==> Auto-install the 1 mandatory module(s) from CPAN? [y] y mkdir /.cpan: Permission denied at /usr/libdata/perl5/CPAN/HandleConfig.pm line 554 *** Error code 13 Stop in /usr/ports/security/p5-Catalyst-Plugin-Authorization-Roles (line 2242 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/security/p5-Catalyst-Plugin-Authorization-Roles (line 2040 of /usr/ports/infrastructure/mk/bsd.port.mk). --- Thu Jun 3 02:39:49 BST 2010 Any clues?
new, req comments: net/aircontrol
$ cat pkg/DESCR AirControl is a powerful and intuitive web based server network management application which allows operators to centrally manage entire networks of Ubiquiti wireless network devices. ... This software can be downloaded freely, but may not be redistributed. It's also only useful with a certain manufacturer's wireless devices. However it's a lot easier to 'make install' and follow the instructions than work from a tarball. So on that basis, any objections in principle to importing it with the requisite PERMIT_*? Also of course any comments on the port itself would be welcome. Thanks. aircontrol.tgz Description: application/tar-gz
[NEW] databases/p5-Search-Xapian
# pkg_info p5-Search-Xapian Information for inst:p5-Search-Xapian-1.0.17.0 Comment: perl bindings for the xapian search library Description: Search::Xapian is a Perl interface to the Xapian C++ search library. Xapian is a highly adaptable toolkit which allows developers to easily add advanced indexing and search facilities to their own applications. It supports the Probabilistic Information Retrieval model and also supports a rich set of boolean query operators. Maintainer: The OpenBSD ports mailing-list p5-Search-Xapian.tar.gz Description: GNU Zip compressed data
Re: mplayer survey
On Wed, Jun 02, 2010 at 07:03:15PM +0100, Edd Barrett wrote: > Ok, > > The DVD issue: > cd0(umass0:1:0): Check Condition (error 0x70) on opcode 0x28 > SENSE KEY: Illegal Request > ASC/ASCQ: Read Of Scrambled Sector Without Authentication > > Only happens with certain DVDs. For me both 'Shaun of the Dead' and 'Hot Fuzz' > do this and refuse to play, however 'The Big Lebowski' works fine (all great > films by the way). > > I think we should ask some src hackers who know about how DVDs work what is > going on. I'd imagine the code being worked there is src/sys/scsi/cd.c:dvd_auth() ... -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
(WIP) xapian-ruby
Hello, I'm trying to create a port for xapian-ruby which is needed to build other stuff. This is my first try so don't get mad, anyway I've got into troubles... checking for library containing zlibVersion... -lz checking for uuid/uuid.h... no configure: error: uuid/uuid.h not found - required for chert and flint (you may need to install the uuid-dev, libuuid-devel or e2fsprogs-devel package) rake aborted! /data/objdir/ports/xapian-ruby/fake-i386/usr/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.1/Rakefile:6:in `system!' (See full trace by running task with --trace) Gem files will remain installed in /data/objdir/ports/xapian-ruby/fake-i386/usr/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.1 for inspection. Results logged to /data/objdir/ports/xapian-ruby/fake-i386/usr/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.1/gem_make.out *** Error code 1 Stop in /data/myports/databases/xapian-ruby (line 82 of /usr/ports/lang/ruby/ruby.port.mk). *** Error code 1 Stop in /data/myports/databases/xapian-ruby (line 2335 of /usr/ports/infrastructure/mk/bsd.port.mk). al/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.1/Rakefile # pkg_info -L uuid | grep uuid.h /usr/local/include/uuid.h How to modify Rakefile so it could find uuid.h? # cat /data/objdir/ports/xapian-ruby/fake-i386/usr/local/lib/ruby/gems/1.8/gems/xapian-full-1.1.3.1/Rakefil> require 'rbconfig' c = Config::CONFIG def system!(cmd) puts cmd system(cmd) or raise end ver = '1.1.3' core = "xapian-core-#{ver}" bindings = "xapian-bindings-#{ver}" xapian_config = "#{Dir.pwd}/#{core}/xapian-config" task :default do [core,bindings].each do |x| system! "tar -xzvf #{x}.tar.gz" end Dir.chdir core do system! "./configure" system! "make clean all" end Dir.chdir bindings do ENV['RUBY'] ||= "#{c['bindir']}/#{c['RUBY_INSTALL_NAME']}" ENV['XAPIAN_CONFIG'] = xapian_config system! "./configure --with-ruby" system! "make clean all" end system! "mkdir -p lib" system! "cp #{bindings}/ruby/.libs/_xapian.so lib" system! "cp #{bindings}/ruby/xapian.rb lib" end Thanks for tip. jirib
awesome 3.4.5 (Was Re: UPDATE: x11/awesome)
Hi, awesome 3.4.5 was released on 10th May 2010. Among other things, they added manual pages in german, spanish and french. Don't know why, but asciidoc fails with these, with the following error: [ 61%] Generating manpages/es/man1/awesome.1.xml cd /usr/ports/pobj/awesome-3.4.5/awesome-3.4.5/manpages/es/man1 && /usr/local/bin/asciidoc -d manpage -b docbook -o /usr/ports/pobj/awesome-3.4.5/awesome-3.4.5/manpages/es/man1/awesome.1.xml - < /usr/ports/pobj/awesome-3.4.5/awesome-3.4.5/manpages/awesome.1.es.txt ERROR: : line 5: first section must be named NAME ERROR: : line 10: second section must be named SYNOPSIS *** Error code 1 Stop in /usr/ports/pobj/awesome-3.4.5/awesome-3.4.5 (line 243 of CMakeFiles/man.dir/build.make). *** Error code 1 Can anyone with more experience shred me some light? Btw, this is the diff with non-english manpages removed: Index: Makefile === RCS file: /cvs/ports/x11/awesome/Makefile,v retrieving revision 1.13 diff -u -p -r1.13 Makefile --- Makefile2 Jun 2010 15:07:50 - 1.13 +++ Makefile2 Jun 2010 20:49:57 - @@ -2,7 +2,7 @@ COMMENT= fast, small, dynamic and awesome window manager -DISTNAME= awesome-3.4.4 +DISTNAME= awesome-3.4.5 EXTRACT_SUFX= .tar.bz2 CATEGORIES=x11 Index: distinfo === RCS file: /cvs/ports/x11/awesome/distinfo,v retrieving revision 1.8 diff -u -p -r1.8 distinfo --- distinfo2 Jun 2010 15:07:50 - 1.8 +++ distinfo2 Jun 2010 20:49:57 - @@ -1,5 +1,5 @@ -MD5 (awesome-3.4.4.tar.bz2) = jCU3rYmNf1ig87qS5qVhoQ== -RMD160 (awesome-3.4.4.tar.bz2) = f/V6J+9ps1EE3Sx1Oq9lFm4Qh6A= -SHA1 (awesome-3.4.4.tar.bz2) = kjNVsuNDIMQmX7pJBqW5I4abiKY= -SHA256 (awesome-3.4.4.tar.bz2) = H+Q0bZHrYGRWKT9b1yOc5muMXCIyhIYA//ryZPO2mfM= -SIZE (awesome-3.4.4.tar.bz2) = 271404 +MD5 (awesome-3.4.5.tar.bz2) = ffXOyC1pv3LTjIr4EWUS6Q== +RMD160 (awesome-3.4.5.tar.bz2) = DRgFQkmXP56vJDwmYfMA+I1FQps= +SHA1 (awesome-3.4.5.tar.bz2) = sGm8HLhl2hQEmZwPOqT8b/nheeQ= +SHA256 (awesome-3.4.5.tar.bz2) = 1XeoGJvVoHyBHwX5tawD2VtQFuRO2rxBtkJFt2qwIl4= +SIZE (awesome-3.4.5.tar.bz2) = 738222 Index: patches/patch-CMakeLists_txt === RCS file: /cvs/ports/x11/awesome/patches/patch-CMakeLists_txt,v retrieving revision 1.1 diff -u -p -r1.1 patch-CMakeLists_txt --- patches/patch-CMakeLists_txt2 Jun 2010 15:07:50 - 1.1 +++ patches/patch-CMakeLists_txt2 Jun 2010 20:49:57 - @@ -1,12 +1,129 @@ $OpenBSD: patch-CMakeLists_txt,v 1.1 2010/06/02 15:07:50 dcoppa Exp $ CMakeLists.txt.origMon May 10 10:46:04 2010 -+++ CMakeLists.txt Mon May 10 10:46:23 2010 -@@ -185,7 +185,7 @@ if(GENERATE_MANPAGES) - DEPENDS ${txtfile} - VERBATIM) - add_custom_command( --COMMAND ${XMLTO_EXECUTABLE} man ${xmlfile} +--- CMakeLists.txt.origMon May 10 14:39:57 2010 CMakeLists.txt Wed Jun 2 22:40:50 2010 +@@ -88,7 +88,6 @@ set(AWE_MAN_SRCS + ${SOURCE_DIR}/manpages/awsetbg.1.txt + ${SOURCE_DIR}/manpages/awesome-client.1.txt + ${SOURCE_DIR}/manpages/awesomerc.5.txt) +-set(AWE_MAN_LANGS es fr de) + + add_executable(${PROJECT_AWE_NAME} + ${AWE_SRCS} +@@ -172,68 +171,45 @@ if(GENERATE_MANPAGES) + if(NOT BUILD_DIR STREQUAL SOURCE_DIR) + file(MAKE_DIRECTORY ${BUILD_DIR}/manpages) + endif() ++foreach(txtfile ${AWE_MAN_SRCS}) ++string(REGEX REPLACE ".txt\$" ".xml" xmlfile ${txtfile}) ++string(REPLACE ${SOURCE_DIR} ++ ${BUILD_DIR} xmlfile ${xmlfile}) ++string(REGEX REPLACE ".xml\$" ".gz" gzfile ${xmlfile}) ++string(REGEX REPLACE ".gz\$" "" manfile ${gzfile}) + +-# add the default translation to the list of languages +-set(AWE_MAN_LANGS default ${AWE_MAN_LANGS}) ++add_custom_command( ++COMMAND ${ASCIIDOC_EXECUTABLE} -d manpage -b docbook -o ${xmlfile} - < ${txtfile} ++WORKING_DIRECTORY ${BUILD_DIR}/manpages ++OUTPUT ${xmlfile} ++DEPENDS ${txtfile} ++VERBATIM) ++add_custom_command( +COMMAND ${XMLTO_EXECUTABLE} --skip-validation man ${xmlfile} - OUTPUT ${manfile} - WORKING_DIRECTORY ${BUILD_DIR}/manpages - DEPENDS ${xmlfile}) ++OUTPUT ${manfile} ++WORKING_DIRECTORY ${BUILD_DIR}/manpages ++DEPENDS ${xmlfile}) + +-foreach(lang ${AWE_MAN_LANGS}) +- +-foreach(txtfile ${AWE_MAN_SRCS}) +-# figure the base name of the file (ie "awesome.1") +-GET_FILENAME_COMPONENT(tmpname ${txtfile} NAME) +-string(REGEX REPLACE ".txt\$" "" basename ${tmpname}) +- +-# figure the relative path of the file +-GET_FILENAME_COMPONENT(tmppath ${txtfile} PA
Re: mplayer survey
> Well I'm on i386, so GCC3. However mplayer is forever whining about stack > alignment (i think via ffmpeg)? That is expected when building with gcc3. Just ignore it. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Re: mplayer survey
On Wed, Jun 02, 2010 at 07:03:15PM +0100, Edd Barrett wrote: > Ok, > > The DVD issue: > cd0(umass0:1:0): Check Condition (error 0x70) on opcode 0x28 > SENSE KEY: Illegal Request > ASC/ASCQ: Read Of Scrambled Sector Without Authentication > > Only happens with certain DVDs. For me both 'Shaun of the Dead' and 'Hot Fuzz' > do this and refuse to play, however 'The Big Lebowski' works fine (all great > films by the way). Isn't this just "copy protection" at work? Yes, copy protection that prevents you from playing a DVD on your computer is stupid. Joachim
Ganaste Barra y Cena Libre
Si cumplis a�os en Junio�o Julio te Ganaste Sin cargo  Canilla libre de Cerveza +�Pizza libre (5 variedades artesanales) � Ademas te regalamos consumiciones sin cargo para vos y Listas Free para todos tus amigos � � Solo respondiendo este mail con tu numero de telefono  Para obtener todos estos obsequios y muchos mas  LLamanos� a los siguientes telefonos� 1138071413� o� 43311473� de 11hs� a 19hs � Tambien te podes comunicar por email: barraycenali...@mail.ru � Atencion las consultas por email �son validas solo si tienen� tu numero de telefono para contactarte personalmente � Te gustaria�NO PAGAR ALQUILER DE SALON� para realizar festejos de casamientos, bautismos, agasajos,eventos, graduados, despedidas, fiestas universitarias� y cumplea�os de 15?  LLamanos� a los siguientes telefonos� 1138071413� o� 43311473� de 11hs� a 19hs o email: barraycenali...@mail.ru � PROMOCION VALIDA PARA GRAN BUENOS AIRES Y CIUDAD DE BUENOS AIRES
CEO,CFO, Director contact lists of your industry
Hi, We understand hunting for network marketing prospects leaves you exhausted, discouraged and worn out. We build and manage Specific Target industry lists such as ERP CRM Users, Manufacturing, Pharma etc. These are compiled from various resources, verified with 100% delivery guaranty. These lists can be downsized to any of the following : Top Titles such as CEO, Director of Sales, VP Business development, etc Multiple contacts from each company or Each contact from multiple companies Revenue / Employee size, Industry/ SIC Codes etc The list includes complete contact information like First and Last Name, Company Name, URL, Title, Physical Address, Phone, Fax Number, Industry, Revenue and most importantly with verified Email Addresses.(Delivered in Std file formats) Get any sample file of your interest Regards Christina Mckay Business Development Manager 512-904-8229 christina.mc...@mailsid.com Contact us for more info on Website/ Case study/ Sample/ Testimonials/ Contact Appending etc USA|UK|Europe|Asia|Africa |Australia Master Database manually verified and updated on 27-May-2010 Currently working with Jigsaw (Salesforce.com Company) for their Database updates
Re: mplayer survey
On Wed, Jun 02, 2010 at 08:27:30PM +0200, David Coppa wrote: > On Wed, Jun 2, 2010 at 8:03 PM, Edd Barrett > > > Also can people try this update - it seems to lessen stuttering a bit. > > Just curiosity... Are you with gcc3 or gcc4? Because on my gcc4 system > I don't have this problem with stuttering. I've listened to soma.fm, > philosomatika and various local mp3 files for more than two hours > without stuttering at all. > Maybe this snapshot has some problems with gcc3. Btw, I will try this > update too asap. Well I'm on i386, so GCC3. However mplayer is forever whining about stack alignment (i think via ffmpeg)? -- Best Regards Edd Barrett http://www.theunixzoo.co.uk
Re: mplayer survey
On Wed, Jun 2, 2010 at 8:03 PM, Edd Barrett > Also can people try this update - it seems to lessen stuttering a bit. Just curiosity... Are you with gcc3 or gcc4? Because on my gcc4 system I don't have this problem with stuttering. I've listened to soma.fm, philosomatika and various local mp3 files for more than two hours without stuttering at all. Maybe this snapshot has some problems with gcc3. Btw, I will try this update too asap. ciao, david
Re: mplayer survey
Ok, The DVD issue: cd0(umass0:1:0): Check Condition (error 0x70) on opcode 0x28 SENSE KEY: Illegal Request ASC/ASCQ: Read Of Scrambled Sector Without Authentication Only happens with certain DVDs. For me both 'Shaun of the Dead' and 'Hot Fuzz' do this and refuse to play, however 'The Big Lebowski' works fine (all great films by the way). I think we should ask some src hackers who know about how DVDs work what is going on. Also can people try this update - it seems to lessen stuttering a bit. Index: Makefile === RCS file: /cvs/ports/x11/mplayer/Makefile,v retrieving revision 1.165 diff -u -p -u -r1.165 Makefile --- Makefile26 May 2010 21:29:56 - 1.165 +++ Makefile2 Jun 2010 17:55:05 - @@ -5,8 +5,8 @@ ONLY_FOR_ARCHS= amd64 i386 powerpc spar COMMENT= movie player supporting MPEG, DivX, AVI, ASF, MOV & more -V= 20100308 -V_DASHED= 2010-03-08 +V= 20100602 +V_DASHED= 2010-06-02 SUBST_VARS+= PREFIX CONFDIR Index: distinfo === RCS file: /cvs/ports/x11/mplayer/distinfo,v retrieving revision 1.33 diff -u -p -u -r1.33 distinfo --- distinfo26 May 2010 21:29:56 - 1.33 +++ distinfo2 Jun 2010 17:55:05 - @@ -1,5 +1,5 @@ -MD5 (mplayer-export-snapshot-20100308.tar.bz2) = y/60A+FbzhccShluFskeGg== -RMD160 (mplayer-export-snapshot-20100308.tar.bz2) = WCGSDqQH6Sde3of6xFvrwgjcgFE= -SHA1 (mplayer-export-snapshot-20100308.tar.bz2) = nSMSY1qcl0fo38VKZrYQyUYXI8U= -SHA256 (mplayer-export-snapshot-20100308.tar.bz2) = TOzg0vR+1cRwIPNklgFuIpiEGe1TaNULKLMRV7ZWfWc= -SIZE (mplayer-export-snapshot-20100308.tar.bz2) = 8870973 +MD5 (mplayer-export-snapshot-20100602.tar.bz2) = 23r6RtxeFxD/aP5rTRFBzA== +RMD160 (mplayer-export-snapshot-20100602.tar.bz2) = KREj+urX0/TvsSvwLIwSayVyD2k= +SHA1 (mplayer-export-snapshot-20100602.tar.bz2) = Zy1VqyA9qdgxYgq6ffkolileoF0= +SHA256 (mplayer-export-snapshot-20100602.tar.bz2) = XgWFIZhAtq8bW57DLLgRO7YceKK1uZBO1OM7UZLiPbc= +SIZE (mplayer-export-snapshot-20100602.tar.bz2) = 882 Index: files/version.h === RCS file: /cvs/ports/x11/mplayer/files/version.h,v retrieving revision 1.1 diff -u -p -u -r1.1 version.h --- files/version.h 26 May 2010 21:29:56 - 1.1 +++ files/version.h 2 Jun 2010 17:55:05 - @@ -1,2 +1,2 @@ -#define VERSION "SVN-r30866" +#define VERSION "SVN-r31303-snapshot" #define MP_TITLE "%s "VERSION" (C) 2000-2010 MPlayer Team\n" Index: patches/patch-DOCS_man_en_mplayer_1 === RCS file: /cvs/ports/x11/mplayer/patches/patch-DOCS_man_en_mplayer_1,v retrieving revision 1.3 diff -u -p -u -r1.3 patch-DOCS_man_en_mplayer_1 --- patches/patch-DOCS_man_en_mplayer_1 26 May 2010 21:29:56 - 1.3 +++ patches/patch-DOCS_man_en_mplayer_1 2 Jun 2010 17:55:05 - @@ -1,7 +1,7 @@ $OpenBSD: patch-DOCS_man_en_mplayer_1,v 1.3 2010/05/26 21:29:56 jakemsr Exp $ DOCS/man/en/mplayer.1.orig Fri Mar 5 23:13:08 2010 -+++ DOCS/man/en/mplayer.1 Mon Mar 8 14:28:41 2010 -@@ -1296,7 +1296,7 @@ May be negative. +--- DOCS/man/en/mplayer.1.orig Mon May 31 18:12:27 2010 DOCS/man/en/mplayer.1 Wed Jun 2 17:54:52 2010 +@@ -1303,7 +1303,7 @@ May be negative. . .TP .B \-cdrom\-device @@ -10,7 +10,7 @@ $OpenBSD: patch-DOCS_man_en_mplayer_1,v . .TP .B \-channels (also see \-af channels) -@@ -11474,11 +11474,11 @@ mplayer \-vo zr2 \-vf scale=352:288,zrmjpeg file.avi +@@ -11519,11 +11519,11 @@ mplayer \-vo zr2 \-vf scale=352:288,zrmjpeg file.avi .PP .B Play DTS-CD with passthrough: .nf Index: patches/patch-Makefile === RCS file: /cvs/ports/x11/mplayer/patches/patch-Makefile,v retrieving revision 1.20 diff -u -p -u -r1.20 patch-Makefile --- patches/patch-Makefile 26 May 2010 21:29:56 - 1.20 +++ patches/patch-Makefile 2 Jun 2010 17:55:05 - @@ -1,6 +1,6 @@ $OpenBSD: patch-Makefile,v 1.20 2010/05/26 21:29:56 jakemsr Exp $ Makefile.orig Fri Mar 5 23:13:08 2010 -+++ Makefile Mon Mar 8 21:24:09 2010 +--- Makefile.orig Sun May 30 10:47:53 2010 Makefile Wed Jun 2 17:54:53 2010 @@ -28,6 +28,7 @@ include config.mak SRCS_AUDIO_INPUT-$(ALSA1X) += stream/ai_alsa1x.c SRCS_AUDIO_INPUT-$(ALSA9)+= stream/ai_alsa.c @@ -9,15 +9,15 @@ $OpenBSD: patch-Makefile,v 1.20 2010/05/ SRCS_COMMON-$(AUDIO_INPUT) += $(SRCS_AUDIO_INPUT-yes) SRCS_COMMON-$(BITMAP_FONT) += libvo/font_load.c SRCS_COMMON-$(CDDA) += stream/stream_cdda.c \ -@@ -627,6 +628,7 @@ SRCS_MPLAYER-$(S3FB) += libvo/vo_s3fb.c - SRCS_MPLAYER-$(SDL)
Re: N.B. mysql -current snapshot packages
On Wed, 2 Jun 2010, Stuart Henderson wrote: On 2010/06/02 16:23, Antti Harri wrote: On Wed, 2 Jun 2010, Stuart Henderson wrote: Apply or update, then rebuild libc (cd /usr/src/lib/libc && make obj && make && sudo make install). No need to rebuild mysql. Because the fault was in libc I would assume that reboot is required too? You might want to do that to ensure everything that uses libc is using the rebuilt one, but mysql runs ok without that. OK. btw, this problem is only likely to affect anything doing strnlen(foo, -1). Yep that was my concern, mysql alone would be simple to restart. I would like to thank all who participated in fixing this. -- Antti Harri
Re: N.B. mysql -current snapshot packages
On 2010/06/02 16:23, Antti Harri wrote: > On Wed, 2 Jun 2010, Stuart Henderson wrote: > > >Apply or update, then rebuild libc (cd /usr/src/lib/libc && make obj && > >make && sudo make install). No need to rebuild mysql. > > Because the fault was in libc I would assume that reboot is required too? You might want to do that to ensure everything that uses libc is using the rebuilt one, but mysql runs ok without that. btw, this problem is only likely to affect anything doing strnlen(foo, -1).
Re: N.B. mysql -current snapshot packages
On Wed, 2 Jun 2010, Stuart Henderson wrote: Apply or update, then rebuild libc (cd /usr/src/lib/libc && make obj && make && sudo make install). No need to rebuild mysql. Because the fault was in libc I would assume that reboot is required too? -- Antti Harri
N.B. mysql -current snapshot packages
On 2010-06-01, Antti Harri wrote: > On Tue, 1 Jun 2010, Antti Harri wrote: > >> I just updated to 5.1.47 from .45 and now mysqldump is segfaulting, >> mysql_upgrade ran fine but it didn't help: > > I would like to warn other users, that update totally broke mysql > here, I'm getting this also: > > General error: 1548 Cannot load from mysql.. The table is probably > corrupted > This affects mysql built against libc.so.54.0 ONLY (i.e. latest -current package snapshots) - older packages are unaffected. /usr/src/lib/libc/string/strnlen.c r1.3 (just committed) fixes this. Diff below in case this hasn't hit your anoncvs mirror yet. Apply or update, then rebuild libc (cd /usr/src/lib/libc && make obj && make && sudo make install). No need to rebuild mysql. - PatchSet 184 Date: 2010/06/02 13:58:12 Author: millert Branch: HEAD Tag: (none) Log: Avoid using and end pointer since strnlen(string, -1) is legal and would otherwise result in overflowing the end pointer and cause strnlen() to return 0. OK sthen@ Members: strnlen.c:1.2->1.3 Index: src/lib/libc/string/strnlen.c diff -u src/lib/libc/string/strnlen.c:1.2 src/lib/libc/string/strnlen.c:1.3 --- src/lib/libc/string/strnlen.c:1.2 Fri May 21 00:57:45 2010 +++ src/lib/libc/string/strnlen.c Wed Jun 2 06:58:12 2010 @@ -1,4 +1,4 @@ -/* $OpenBSD: strnlen.c,v 1.2 2010/05/21 06:57:45 chl Exp $ */ +/* $OpenBSD: strnlen.c,v 1.3 2010/06/02 12:58:12 millert Exp $ */ /* * Copyright (c) 2010 Todd C. Miller @@ -23,10 +23,9 @@ size_t strnlen(const char *str, size_t maxlen) { - const char *cp, *ep; + const char *cp; - ep = str + maxlen; - for (cp = str; cp < ep && *cp != '\0'; cp++) + for (cp = str; maxlen != 0 && *cp != '\0'; cp++, maxlen--) ; return (size_t)(cp - str);
Re: mplayer survey
On Wed, Jun 2, 2010 at 3:21 AM, Edd Barrett wrote: > b) Stuttering sound after some time of playing some file/stream. Very > annoying. > The old version of mplayer did not do this for me. Can you try if adding "-afm ffmpeg" to mplayer cmdline solves this problem? ciao, david
x11/gnustep/make update to latest release
Hi, attached the update to gnustep-make latest release 2.4.0. Sebastian ? gnustep-make.patch Index: Makefile === RCS file: /cvs/ports/x11/gnustep/make/Makefile,v retrieving revision 1.16 diff -u -r1.16 Makefile --- Makefile 6 Oct 2009 19:21:28 - 1.16 +++ Makefile 2 Jun 2010 10:42:26 - @@ -6,7 +6,7 @@ COMMENT= GNUstep makefile package -DISTNAME= gnustep-make-2.2.0 +DISTNAME= gnustep-make-2.4.0 CATEGORIES= devel x11/gnustep HOMEPAGE= http://www.gnustep.org/ Index: distinfo === RCS file: /cvs/ports/x11/gnustep/make/distinfo,v retrieving revision 1.7 diff -u -r1.7 distinfo --- distinfo 6 Oct 2009 19:21:28 - 1.7 +++ distinfo 2 Jun 2010 10:42:26 - @@ -1,5 +1,5 @@ -MD5 (gnustep/gnustep-make-2.2.0.tar.gz) = PS0G0zE0MvyC5rCcSft/ig== -RMD160 (gnustep/gnustep-make-2.2.0.tar.gz) = bAIEMvvOnwGLAdhZNeUjW4dP2I4= -SHA1 (gnustep/gnustep-make-2.2.0.tar.gz) = NWVLqwpldghOSG4GLn5CYDAmUJ0= -SHA256 (gnustep/gnustep-make-2.2.0.tar.gz) = qFtkgd73wkCBN0JX0kOp2BuJY6RusQ5r5dH+eNBCMQw= -SIZE (gnustep/gnustep-make-2.2.0.tar.gz) = 498724 +MD5 (gnustep/gnustep-make-2.4.0.tar.gz) = vCE45iVmZeVbAPsP+sdm8Q== +RMD160 (gnustep/gnustep-make-2.4.0.tar.gz) = bx3YEDnJk15B63mIkjw7PGUH44M= +SHA1 (gnustep/gnustep-make-2.4.0.tar.gz) = r9oUGGOUxlsIcdupP5LcllsvxyQ= +SHA256 (gnustep/gnustep-make-2.4.0.tar.gz) = itbJ0OUy4L9w/cJavmCvvUEDsW3EezJGRqFHy6xsbvk= +SIZE (gnustep/gnustep-make-2.4.0.tar.gz) = 521818 Index: pkg/PLIST === RCS file: /cvs/ports/x11/gnustep/make/pkg/PLIST,v retrieving revision 1.4 diff -u -r1.4 PLIST --- pkg/PLIST 23 Dec 2008 15:25:04 - 1.4 +++ pkg/PLIST 2 Jun 2010 10:42:26 - @@ -54,7 +54,6 @@ share/GNUstep/Makefiles/Instance/test-tool.make share/GNUstep/Makefiles/Instance/tool.make share/GNUstep/Makefiles/Master/ -share/GNUstep/Makefiles/Master/aggregate.make share/GNUstep/Makefiles/Master/application.make share/GNUstep/Makefiles/Master/bundle.make share/GNUstep/Makefiles/Master/clibrary.make @@ -69,9 +68,11 @@ share/GNUstep/Makefiles/Master/nsis.make share/GNUstep/Makefiles/Master/objc.make share/GNUstep/Makefiles/Master/palette.make +share/GNUstep/Makefiles/Master/parallel-subdirectories.make share/GNUstep/Makefiles/Master/resource-set.make share/GNUstep/Makefiles/Master/rpm.make share/GNUstep/Makefiles/Master/rules.make +share/GNUstep/Makefiles/Master/serial-subdirectories.make share/GNUstep/Makefiles/Master/service.make share/GNUstep/Makefiles/Master/source-distribution.make share/GNUstep/Makefiles/Master/subproject.make @@ -120,10 +121,12 @@ share/GNUstep/Makefiles/objc.make share/GNUstep/Makefiles/os.sh share/GNUstep/Makefiles/palette.make +share/GNUstep/Makefiles/parallel-subdirectories.make share/GNUstep/Makefiles/print_unique_pathlist.sh share/GNUstep/Makefiles/relative_path.sh share/GNUstep/Makefiles/resource-set.make share/GNUstep/Makefiles/rules.make +share/GNUstep/Makefiles/serial-subdirectories.make share/GNUstep/Makefiles/service.make share/GNUstep/Makefiles/spec-rules.template share/GNUstep/Makefiles/strip_makefiles.sh
patch to build devel/glib2 on gcc2 architectures (at least tested on sparc)
Hi, appended patch is needed to build devel/glib2 on sparc, due to gcc2. Sebastian ? sparc-glib2-patch Index: patches/patch-gio_tests_memory-output-stream_c === RCS file: patches/patch-gio_tests_memory-output-stream_c diff -N patches/patch-gio_tests_memory-output-stream_c 0a1,31 > --- gio/tests/memory-output-stream.c.orig Wed Jun 2 09:11:00 2010 > +++ gio/tests/memory-output-stream.c Wed Jun 2 09:12:51 2010 > @@ -92,6 +92,10 @@ >GDataOutputStream *o; >int i; >GError *error = NULL; > + gsize data_size_fun; > + gsize data_size_prop; > + gpointer data_fun; > + gpointer data_prop; > >g_test_bug ("605733"); > > @@ -107,13 +111,13 @@ >g_assert_no_error (error); > } > > - gsize data_size_fun = g_memory_output_stream_get_data_size > (G_MEMORY_OUTPUT_STREAM (mo)); > - gsize data_size_prop; > + data_size_fun = g_memory_output_stream_get_data_size > (G_MEMORY_OUTPUT_STREAM (mo)); > + data_size_prop; >g_object_get (mo, "data-size", &data_size_prop, NULL); >g_assert_cmpint (data_size_fun, ==, data_size_prop); > > - gpointer data_fun = g_memory_output_stream_get_data > (G_MEMORY_OUTPUT_STREAM (mo)); > - gpointer data_prop; > + data_fun = g_memory_output_stream_get_data (G_MEMORY_OUTPUT_STREAM (mo)); > + data_prop; >g_object_get (mo, "data", &data_prop, NULL); >g_assert_cmphex (data_fun, ==, data_prop); >
Re: mplayer survey
On Wed, Jun 02, 2010 at 02:21:01AM +0100, Edd Barrett wrote: > Hi, > > (potentially interested parties in CC.) > > Since the last snapshot containing mplayer-20100308 I have noticed: > > a) DVD's don't play on my thinkpad using the external CD drive. I am not sure > if > this ever worked - its the first time. > erf, I can no longer verify which version it was but with a relatively recent snapshot i watched a dvd weeks ago. > I notice this in dmesg at this time: > cd0(umass0:1:0): Check Condition (error 0x70) on opcode 0x28 > SENSE KEY: Illegal Request > ASC/ASCQ: Read Of Scrambled Sector Without Authentication > > Now I know mplayer had its own DVD decrypter, but has this changed? Anyone > know. Either way I have installed: > > libdvd-0.3p2descramble scrambled DVDs using ACSS > libdvdcss-1.2.9 descramble scrambled DVDs > libdvdnav-4.1.3v0 DVD read/navigation library > libdvdread-0.9.7p1 accessing DVD files > > b) Stuttering sound after some time of playing some file/stream. Very > annoying. > The old version of mplayer did not do this for me. > > Has anyone experienced either of these issues, or is it a hardware > specific bug? > I have experienced this while playing a mp3 two or three days ago, I have switched to mpg123 to make sure it wasn't related to the file itself and it worked perfect. didn't fill a bug report because i was unsure my bastard system was at cause > Maybe I need to work on another update - perhaps we just checked out at a bad > time. > > I just looked at the mplayer www page, they are thinking of... releasing?! > http://www.mplayerhq.hu/design7/news.html > > Thanks for enduring my nonsensical rantings. > > -- > Best Regards > Edd Barrett > > http://www.theunixzoo.co.uk > -- Gilles Chehade freelance developer/sysadmin/consultant http://www.poolp.org