Re: UPDATE: sysutils/smartmontools
On Sat, Nov 10, 2007 at 12:38:15PM +0100, Antoine Jacoutot wrote: >> I'm not familiar with smartmontools, but wouldn't it make more sense to >> just make that share/doc/smartmontools/? > I fixed smartmontools to put docs on share/doc/smartmontools, added smartd.conf in $SYSCONFDIR and remove patch-os_openbsd_c which is no more needed. Giovanni Index: Makefile === RCS file: /cvs/ports/sysutils/smartmontools/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- Makefile9 Nov 2007 13:35:37 - 1.4 +++ Makefile16 Nov 2007 07:18:58 - @@ -6,6 +6,7 @@ COMMENT= control and monitor storage systems using SMART DISTNAME= smartmontools-5.37 +PKGNAME= ${DISTNAME}p0 CATEGORIES=sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=smartmontools/} @@ -16,6 +17,7 @@ USE_GMAKE= Yes SEPARATE_BUILD=concurrent CONFIGURE_STYLE= gnu +CONFIGURE_ARGS=--with-docdir=${PREFIX}/share/doc/smartmontools # GPL PERMIT_PACKAGE_CDROM= Yes Index: patches/patch-os_openbsd_c === RCS file: patches/patch-os_openbsd_c diff -N patches/patch-os_openbsd_c Index: pkg/PLIST === RCS file: /cvs/ports/sysutils/smartmontools/pkg/PLIST,v retrieving revision 1.2 diff -u -r1.2 PLIST --- pkg/PLIST 9 Nov 2007 13:35:38 - 1.2 +++ pkg/PLIST 16 Nov 2007 07:18:58 - @@ -4,19 +4,20 @@ @man man/man8/smartd.8 sbin/smartctl sbin/smartd -share/doc/smartmontools-5.37/ -share/doc/smartmontools-5.37/AUTHORS -share/doc/smartmontools-5.37/CHANGELOG -share/doc/smartmontools-5.37/COPYING -share/doc/smartmontools-5.37/INSTALL -share/doc/smartmontools-5.37/NEWS -share/doc/smartmontools-5.37/README -share/doc/smartmontools-5.37/TODO -share/doc/smartmontools-5.37/WARNINGS -share/doc/smartmontools-5.37/examplescripts/ -share/doc/smartmontools-5.37/examplescripts/Example1 -share/doc/smartmontools-5.37/examplescripts/Example2 -share/doc/smartmontools-5.37/examplescripts/Example3 -share/doc/smartmontools-5.37/examplescripts/Example4 -share/doc/smartmontools-5.37/examplescripts/README -share/doc/smartmontools-5.37/smartd.conf +share/doc/smartmontools/ +share/doc/smartmontools/AUTHORS +share/doc/smartmontools/CHANGELOG +share/doc/smartmontools/COPYING +share/doc/smartmontools/INSTALL +share/doc/smartmontools/NEWS +share/doc/smartmontools/README +share/doc/smartmontools/TODO +share/doc/smartmontools/WARNINGS +share/doc/smartmontools/examplescripts/ +share/doc/smartmontools/examplescripts/Example1 +share/doc/smartmontools/examplescripts/Example2 +share/doc/smartmontools/examplescripts/Example3 +share/doc/smartmontools/examplescripts/Example4 +share/doc/smartmontools/examplescripts/README +share/doc/smartmontools/smartd.conf [EMAIL PROTECTED] ${SYSCONFDIR}/smartd.conf
OpenBSD amd64 g++ 4.2 exception problem
No response from maintainer in a week, so I'm sending this to [EMAIL PROTECTED] I'm working on an OpenBSD port of linuxdcpp. It requires at least g++ 3.4 due to some template features not present in the default 3.3.5. I tried using g++ 4.2 from ports, and while it does compile fine, it aborts whenever an exception is thrown (on amd64). As an example of the issue: $ uname -m amd64 $ cat exception_test3.cc #include using namespace std; class B {}; int main(int argc, char** argv) { try { throw B(); } catch(const B&) { cerr << "caught a B" << endl; } } $ g++ -o t exception_test3.cc && ./t caught a B $ eg++ -o t exception_test3.cc && ./t /usr/local/lib/gcc/amd64-unknown-openbsd4.2/4.2.0/../../../libestdc++.so.7.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/local/lib/gcc/amd64-unknown-openbsd4.2/4.2.0/../../../libestdc++.so.7.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/gcc/amd64-unknown-openbsd4.2/4.2.0/../../../libestdc++.so.7.0: warning: sprintf() is often misused, please use snprintf() /usr/local/lib/gcc/amd64-unknown-openbsd4.2/4.2.0/../../../libestdc++.so.7.0: warning: strcat() is almost always misused, please use strlcat() terminate called after throwing an instance of 'B' terminate called recursively Abort trap (core dumped) Here's the same program on i386: $ uname -m i386 $ cat exception_test3.cc #include using namespace std; class B {}; int main(int argc, char** argv) { try { throw B(); } catch(const B&) { cerr << "caught a B" << endl; } } $ g++ -o t exception_test3.cc && ./t caught a B $ eg++ -o t exception_test3.cc && ./t /usr/local/lib/gcc/i386-unknown-openbsd4.2/4.2.0/../../../libestdc++.so.7.0: warning: vsprintf() is often misused, please use vsnprintf() /usr/local/lib/gcc/i386-unknown-openbsd4.2/4.2.0/../../../libestdc++.so.7.0: warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/gcc/i386-unknown-openbsd4.2/4.2.0/../../../libestdc++.so.7.0: warning: sprintf() is often misused, please use snprintf() /usr/local/lib/gcc/i386-unknown-openbsd4.2/4.2.0/../../../libestdc++.so.7.0: warning: strcat() is almost always misused, please use strlcat() caught a B The amd64 is running 4.2-release and not -current, but it's the only amd64 box I can test with. The code works on a 4.1-stable i386 box I tried it on as well, but it failed on the 4.1-stable amd64 box (before I upgraded it to 4.2). Is this a known issue with g++ on amd64? Are there any workarounds? If not, should g++ 4.2 be marked broken on amd64? Thanks for any help you can provide. Jeremy
Re: draft port of security/pwman
On 2007/11/15 14:07, Aaron S. <[EMAIL PROTECTED]> wrote: > Okan Demirmen wrote: > > > > fyi, we've a minor formating fix on DESCR, but the larger issue is that > > pwman doesn't seem to work on at least macppc and possibly other big > > endian archs. > > > > > > Unfortunately, I don't have access to none of big endian machines. > Do we add this for now? > ONLY_FOR_ARCHS= amd64 i386 Well, there are more LE than these. I'm not sure whether they take too much care about alignment issues either, though, I didn't get time to test it much yet...
Re: NEW: net/p3scan
On 2007/11/15 23:04, Soner Tari wrote: > I've checked the other options like the one you are mentioning, but > handling this in a separate shell script seems better to me (for example > it's more readable and manageable in my opinion). Also note that I took > postfix files as the basis for my p3scan-config. Therefore, if there is > no harm, I'd like to keep p3scan-config. This is the wrong way to go, the pkg_* tools can handle this, so let them. @exec is useful for cases where you can't use the normal mechanisms, it's available but it should almost never be necessary. You don't see it used very much in our ports tree. Postfix has to populate the chroot with files from the installed system, and has its own mechanism to upgrade config files between versions via /etc/postfix/post-install. This goes to make it a bit of a special case... but even so, it does use the standard @extra mechanism so that it doesn't break pkg_delete -c.
Re: NEW: net/p3scan
On Tue, 2007-11-13 at 22:35 -0500, Okan Demirmen wrote: > > > - hardcoding /usr/local in patches... > > Done. > > i think that i may have been misleading in my first reply. sthen@ gave a > much more accurate and verbose comment. you'll want to _not_ hardcode > paths, but rather substitute - see his mail for the example. Since I got your intension the first time, I fixed accordingly. > i'm confused to the purpose of files/p3scan-config - the packaging tools > will take care of all this for you. check out the different markers for > PLIST (e.g. @sample) - lots of ports use them so reference them for > examples. I've checked the other options like the one you are mentioning, but handling this in a separate shell script seems better to me (for example it's more readable and manageable in my opinion). Also note that I took postfix files as the basis for my p3scan-config. Therefore, if there is no harm, I'd like to keep p3scan-config. - Since I haven't received any other comments, please assume the ports package in my last post final (at least for now).
Re: draft port of security/pwman
On Thu 2007.11.15 at 09:33 -0500, Okan Demirmen wrote: > On Wed 2007.11.14 at 17:42 -0800, Aaron S. <[EMAIL PROTECTED]> wrote: > > Stuart Henderson wrote: > > > Hi Aaron, > > > > > > > > >> - http://www.x96.org/pwman.tar.gz > > >> > > > > > > w-pwman-0.3.8/pwman-0.3.8/src/options.c:printf("Path to GnuPG > > > [/usr/bin/gpg]: "); > > > w-pwman-0.3.8/pwman-0.3.8/src/options.c: > > > strncpy(options->gpg_path, "/usr/bin/gpg", STRING_LONG); > > > > > > these lines should be patched to default to the installed gpg rather > > > than make people type it in - in the patch, use some placeholder e.g. > > > %LOCALBASE% and then do something like this > > > > > > pre-configure: > > > @perl -pi -e s,%LOCALBASE%,${LOCALBASE}, ${WRKSRC}/src/options.c > > > > > > > > Hello Stuart, > > Thanks for your input; patched the port as suggested. > > > > - http://www.x96.org/pwman.tar.gz > > yes, i like this better too... fyi, we've a minor formating fix on DESCR, but the larger issue is that pwman doesn't seem to work on at least macppc and possibly other big endian archs.
Re: draft port of security/pwman
Okan Demirmen wrote: > > fyi, we've a minor formating fix on DESCR, but the larger issue is that > pwman doesn't seem to work on at least macppc and possibly other big > endian archs. > > Unfortunately, I don't have access to none of big endian machines. Do we add this for now? ONLY_FOR_ARCHS= amd64 i386
best insurances
Hello, Just wannted to let you know about best car insurances and best insurances on market today : www.mobile-hosting-adult.com Have a nice day !
Re: draft port of security/pwman
On Wed 2007.11.14 at 17:42 -0800, Aaron S. <[EMAIL PROTECTED]> wrote: > Stuart Henderson wrote: > > Hi Aaron, > > > > > >> - http://www.x96.org/pwman.tar.gz > >> > > > > w-pwman-0.3.8/pwman-0.3.8/src/options.c:printf("Path to GnuPG > > [/usr/bin/gpg]: "); > > w-pwman-0.3.8/pwman-0.3.8/src/options.c: > > strncpy(options->gpg_path, "/usr/bin/gpg", STRING_LONG); > > > > these lines should be patched to default to the installed gpg rather > > than make people type it in - in the patch, use some placeholder e.g. > > %LOCALBASE% and then do something like this > > > > pre-configure: > > @perl -pi -e s,%LOCALBASE%,${LOCALBASE}, ${WRKSRC}/src/options.c > > > > > Hello Stuart, > Thanks for your input; patched the port as suggested. > > - http://www.x96.org/pwman.tar.gz yes, i like this better too...
Re: New: games/lincity-ng
On Thu, Nov 15, 2007 at 03:52:37AM +0200, Antti Harri wrote: > On Wed, 14 Nov 2007, Simon Bertrang wrote: > > >In the meantime there was a new release of lincity-ng - attached is the > >updated port tarball. > > Changes looked fine again and no problems with building but still the same > crashing for me.. Empty map (Beach), residential buildings, market places, > communes and tracks to connect them. That's all I get to do before it > crashes. Builds fine too.. but i get a crash too with this message (after adding only some houses and waiting some time) : No Component specified in cell 2, 1 Landry
Re: New: games/lincity-ng
On Thu, 15 Nov 2007, Landry Breuil wrote: Builds fine too.. but i get a crash too with this message (after adding only some houses and waiting some time) : No Component specified in cell 2, 1 Yeah exactly the same bug I'm getting.. Maybe we should report this upstream instead of looking further? I'm not stopping anyone if someone wants to hack 'n patch, but at least I'm currently a bit busy :-) -- Antti Harri
Re: [UPDATE] www/liferea 1.4.6 -> 1.4.7
On Thu, Nov 15, 2007 at 10:43:06AM +0100, viq wrote: >Trivial update to 1.4.7, from changelog: > > Version 1.4.7 (Stable) > > * Fixes SF #1821179 crash with Catalan locale. > (reported by frango) > * Fixes disabled mark-all-read toolbar button when > a folder is selected. > * Fixes SF #1825113 crash when removing folders > when child feeds are in update. > * Fixes drag&drop into empty folders. This one is significant. Works fine on amd64. Thanks for update! > * Fixes handling of updated items. Now updated items > are replaced and marked again appropriately. > * Fixes problems with search folders with more than > one rule. > * Added kget download manager support SF #1824344. > > Translations > > * Updated Polish translation (Bart Kreska) > * Updated French translation (Vincent Lefevre) >-- >viq > > >Index: Makefile >=== >RCS file: /cvs/ports/www/liferea/Makefile,v >retrieving revision 1.9 >diff -u -d -r1.9 Makefile >--- Makefile 4 Nov 2007 21:03:12 - 1.9 >+++ Makefile 15 Nov 2007 09:40:10 - >@@ -4,7 +4,7 @@ > > COMMENT= simple GTK desktop news aggregator > >-DISTNAME= liferea-1.4.6 >+DISTNAME= liferea-1.4.7 > CATEGORIES= www x11 > > HOMEPAGE= http://liferea.sourceforge.net/ >Index: distinfo >=== >RCS file: /cvs/ports/www/liferea/distinfo,v >retrieving revision 1.7 >diff -u -d -r1.7 distinfo >--- distinfo 4 Nov 2007 21:03:12 - 1.7 >+++ distinfo 15 Nov 2007 09:40:10 - >@@ -1,5 +1,5 @@ >-MD5 (liferea-1.4.6.tar.gz) = 04JXzxMKQwQeX0FuEq6UxQ== >-RMD160 (liferea-1.4.6.tar.gz) = BYt1jJ3gJGGO+DV341HjFNKyyeM= >-SHA1 (liferea-1.4.6.tar.gz) = aXXbJprPgkX8r7SoAPckEX5gMEg= >-SHA256 (liferea-1.4.6.tar.gz) = yNFkMBRgkjUH6A9Rqbwtd6QvdUVtpP4wSYyvNCNiHH4= >-SIZE (liferea-1.4.6.tar.gz) = 1580078 >+MD5 (liferea-1.4.7.tar.gz) = LRmj3cbvLiGVODy81SwN0w== >+RMD160 (liferea-1.4.7.tar.gz) = W7RpyLuAXXFxYv8OASxy3LoIJWI= >+SHA1 (liferea-1.4.7.tar.gz) = XW7nPs2JAFk9dnjBxvnH9o4/qOA= >+SHA256 (liferea-1.4.7.tar.gz) = EGqL7zrBroEpE7BX6rJKAdJr7ej20kjYcHukXBn7Gn8= >+SIZE (liferea-1.4.7.tar.gz) = 1582571 >
[UPDATE] www/liferea 1.4.6 -> 1.4.7
Trivial update to 1.4.7, from changelog: Version 1.4.7 (Stable) * Fixes SF #1821179 crash with Catalan locale. (reported by frango) * Fixes disabled mark-all-read toolbar button when a folder is selected. * Fixes SF #1825113 crash when removing folders when child feeds are in update. * Fixes drag&drop into empty folders. * Fixes handling of updated items. Now updated items are replaced and marked again appropriately. * Fixes problems with search folders with more than one rule. * Added kget download manager support SF #1824344. Translations * Updated Polish translation (Bart Kreska) * Updated French translation (Vincent Lefevre) -- viq Index: Makefile === RCS file: /cvs/ports/www/liferea/Makefile,v retrieving revision 1.9 diff -u -d -r1.9 Makefile --- Makefile4 Nov 2007 21:03:12 - 1.9 +++ Makefile15 Nov 2007 09:40:10 - @@ -4,7 +4,7 @@ COMMENT= simple GTK desktop news aggregator -DISTNAME= liferea-1.4.6 +DISTNAME= liferea-1.4.7 CATEGORIES=www x11 HOMEPAGE= http://liferea.sourceforge.net/ Index: distinfo === RCS file: /cvs/ports/www/liferea/distinfo,v retrieving revision 1.7 diff -u -d -r1.7 distinfo --- distinfo4 Nov 2007 21:03:12 - 1.7 +++ distinfo15 Nov 2007 09:40:10 - @@ -1,5 +1,5 @@ -MD5 (liferea-1.4.6.tar.gz) = 04JXzxMKQwQeX0FuEq6UxQ== -RMD160 (liferea-1.4.6.tar.gz) = BYt1jJ3gJGGO+DV341HjFNKyyeM= -SHA1 (liferea-1.4.6.tar.gz) = aXXbJprPgkX8r7SoAPckEX5gMEg= -SHA256 (liferea-1.4.6.tar.gz) = yNFkMBRgkjUH6A9Rqbwtd6QvdUVtpP4wSYyvNCNiHH4= -SIZE (liferea-1.4.6.tar.gz) = 1580078 +MD5 (liferea-1.4.7.tar.gz) = LRmj3cbvLiGVODy81SwN0w== +RMD160 (liferea-1.4.7.tar.gz) = W7RpyLuAXXFxYv8OASxy3LoIJWI= +SHA1 (liferea-1.4.7.tar.gz) = XW7nPs2JAFk9dnjBxvnH9o4/qOA= +SHA256 (liferea-1.4.7.tar.gz) = EGqL7zrBroEpE7BX6rJKAdJr7ej20kjYcHukXBn7Gn8= +SIZE (liferea-1.4.7.tar.gz) = 1582571
Re: NEW: devel/mpich2
If there are problems testing this or anyone is in need of assitance (actual sources to test etc.). Let me know!
Re: ImageMagic distfile
On Wed, Nov 14, 2007 at 11:02:33AM -0500, Okan Demirmen wrote: > MASTER_SITES needs an update, as well as the whole port. are you working > on that? > Imagemagick updated to latest version, ports tested @i386. Comments ? Ok ? Giovanni Index: Makefile === RCS file: /cvs/ports/graphics/ImageMagick/Makefile,v retrieving revision 1.99 diff -u -r1.99 Makefile --- Makefile22 Oct 2007 14:23:08 - 1.99 +++ Makefile15 Nov 2007 09:06:42 - @@ -2,13 +2,13 @@ COMMENT= image processing tools -VER= 6.3.5 -DASHVER= 9 +VER= 6.3.6 +DASHVER= 10 DISTNAME= ImageMagick-${VER}-${DASHVER} PKGNAME= ImageMagick-${VER}.${DASHVER} -SHARED_LIBS= Magick++12.0\ - Magick 12.0\ - Wand12.0 +SHARED_LIBS= Magick++12.1\ + Magick 12.1\ + Wand12.1 CATEGORIES=graphics Index: distinfo === RCS file: /cvs/ports/graphics/ImageMagick/distinfo,v retrieving revision 1.14 diff -u -r1.14 distinfo --- distinfo19 Sep 2007 18:46:55 - 1.14 +++ distinfo15 Nov 2007 09:06:42 - @@ -1,5 +1,5 @@ -MD5 (ImageMagick-6.3.5-9.tar.gz) = I9hjitYr9O0NLXchT6H0ng== -RMD160 (ImageMagick-6.3.5-9.tar.gz) = X3SWeHZDk2aMIvEU07EeJkRM7sw= -SHA1 (ImageMagick-6.3.5-9.tar.gz) = u/3/XexHtpdcgLCbfPFJurPrvjQ= -SHA256 (ImageMagick-6.3.5-9.tar.gz) = 6fiLWyRpU4iThWMJFkiFIN/nrFengYPdkMs5U0rfcUs= -SIZE (ImageMagick-6.3.5-9.tar.gz) = 9310482 +MD5 (ImageMagick-6.3.6-10.tar.gz) = mycQYgC9yHnQWDNVvIBS+g== +RMD160 (ImageMagick-6.3.6-10.tar.gz) = yy5MWV5nQ+s3i6O6Tb319ttiHPE= +SHA1 (ImageMagick-6.3.6-10.tar.gz) = a+X4sSW5Cq1YxNK9hvwEIgEIsS0= +SHA256 (ImageMagick-6.3.6-10.tar.gz) = Dfj2txKR0Y3DXdCXXW3+kOsmuOq57UB3MfM48INOde8= +SIZE (ImageMagick-6.3.6-10.tar.gz) = 9100940 Index: pkg/PLIST === RCS file: /cvs/ports/graphics/ImageMagick/pkg/PLIST,v retrieving revision 1.37 diff -u -r1.37 PLIST --- pkg/PLIST 19 Sep 2007 18:46:55 - 1.37 +++ pkg/PLIST 15 Nov 2007 09:06:43 - @@ -33,6 +33,7 @@ include/magick/animate.h include/magick/annotate.h include/magick/api.h +include/magick/artifact.h include/magick/blob.h include/magick/cache-view.h include/magick/cache.h Index: Makefile === RCS file: /cvs/ports/graphics/p5-PerlMagick/Makefile,v retrieving revision 1.19 diff -u -r1.19 Makefile --- Makefile19 Sep 2007 18:52:05 - 1.19 +++ Makefile15 Nov 2007 09:07:36 - @@ -4,8 +4,8 @@ COMMENT= object-oriented Perl interface to ImageMagick -VER= 6.3.5 -DASHVER= 9 +VER= 6.3.6 +DASHVER= 10 DISTNAME= ImageMagick-${VER}-${DASHVER} PKGNAME= p5-PerlMagick-${VER}.${DASHVER} CATEGORIES=graphics devel Index: distinfo === RCS file: /cvs/ports/graphics/p5-PerlMagick/distinfo,v retrieving revision 1.14 diff -u -r1.14 distinfo --- distinfo19 Sep 2007 18:52:05 - 1.14 +++ distinfo15 Nov 2007 09:07:36 - @@ -1,5 +1,5 @@ -MD5 (ImageMagick-6.3.5-9.tar.gz) = I9hjitYr9O0NLXchT6H0ng== -RMD160 (ImageMagick-6.3.5-9.tar.gz) = X3SWeHZDk2aMIvEU07EeJkRM7sw= -SHA1 (ImageMagick-6.3.5-9.tar.gz) = u/3/XexHtpdcgLCbfPFJurPrvjQ= -SHA256 (ImageMagick-6.3.5-9.tar.gz) = 6fiLWyRpU4iThWMJFkiFIN/nrFengYPdkMs5U0rfcUs= -SIZE (ImageMagick-6.3.5-9.tar.gz) = 9310482 +MD5 (ImageMagick-6.3.6-10.tar.gz) = mycQYgC9yHnQWDNVvIBS+g== +RMD160 (ImageMagick-6.3.6-10.tar.gz) = yy5MWV5nQ+s3i6O6Tb319ttiHPE= +SHA1 (ImageMagick-6.3.6-10.tar.gz) = a+X4sSW5Cq1YxNK9hvwEIgEIsS0= +SHA256 (ImageMagick-6.3.6-10.tar.gz) = Dfj2txKR0Y3DXdCXXW3+kOsmuOq57UB3MfM48INOde8= +SIZE (ImageMagick-6.3.6-10.tar.gz) = 9100940 Index: patches/patch-PerlMagick_Makefile_PL === RCS file: /cvs/ports/graphics/p5-PerlMagick/patches/patch-PerlMagick_Makefile_PL,v retrieving revision 1.11 diff -u -r1.11 patch-PerlMagick_Makefile_PL --- patches/patch-PerlMagick_Makefile_PL19 Sep 2007 18:52:05 - 1.11 +++ patches/patch-PerlMagick_Makefile_PL15 Nov 2007 09:07:36 - @@ -1,7 +1,7 @@ $OpenBSD: patch-PerlMagick_Makefile_PL,v 1.11 2007/09/19 18:52:05 sthen Exp $ PerlMagick/Makefile.PL.origSun Sep 16 02:14:07 2007 -+++ PerlMagick/Makefile.PL Mon Sep 17 23:40:44 2007 -@@ -44,13 +44,13 @@ WriteMakefile +--- PerlMagick/Makefile.PL.origWed Nov 7 03:29:54 2007 PerlMagick/Makefile.PL Wed Nov 14 22:08:29 2007 +@@ -59,13 +59,13 @@ WriteMakefile