Re: NEW: misc/lcdproc (client/server displaying system information on a LCD)

2007-05-13 Thread Andreas Bihlmaier
On Fri, May 11, 2007 at 10:32:04PM -0500, Sam Fourman Jr. wrote:
 On 5/11/07, Edd Barrett [EMAIL PROTECTED] wrote:
 Hello,
 
 This port builds and installs on i386 using SUDO=sudo and systrace.
 lib-depends-check passed.
 
 I have not tried my lcd on it yet as I dont have th hardware set up.
 Maybe ill try next week.
 
 Has anyone tried this with a LCD on a Logitech G15 Keyboard?
no.
 
 if none has I may try it.

Please do and report your findings :)

 
 Sam Fourman Jr.

Regards,
ahb




NEW: education/stardict

2007-05-13 Thread Nikns Siankin

COMMENT=cross-platform and international dictionary written in gtk2

StarDict is a Cross-Platform and international dictionary written in Gtk2.
It has powerful features such as Glob-style pattern matching,
Scan selection word, Fuzzy query, etc.


http://secure.lv/~nikns/stuff/ports/stardict-2.4.8.tar



recent changes to pkg_add

2007-05-13 Thread Marc Espie
Mostly refactoring... there will be a flag day soon: the new features
of pkg_create are going to be used by bsd.port.mk, and if you don't have
a recent pkg_create, then the -current ports tree will stop producing
packages. You've been warned.

Today, I committed the first actual new feature: tools will now handle
PKG_PATH like ld does the -L option. Specifically, they will stop looking
at the PKG_PATH after the first entry that contains viable candidates.

This is the sane behavior for pkg_add -ui, because you can now specify lots
of repositories of varying age, and no longer have pkg_add -ui ask you tons
of questions because it has detected similar packages in several repositories.

For each package to update, it will only probe into the first repository 
that has likely candidates.


On the tech side, the code is looking more and more object-oriented, which
might be a bit scary for people not familiar with that style. For instance,
searching for stuff now follows a uniform style:
$search = OpenBSD::PkgSpec-new($spec);
@l = OpenBSD::PackageLocator-match($spec);

which works as well for package stems:
$search = OpenBSD::PackageName::Stem-split($pkgname);
$repo = OpenBSD::PackageRepositoryInstalled-new;
@l = $repo-match($search);

This will enable a lot of nice tricks that were very awkward before that...



NEW: textproc/gsed

2007-05-13 Thread Armin Wolfermann
Quoting the DESCR:

  GNU sed is the Free Software Foundation's version of the sed(1) editor.

  GNU sed isn't really a true text editor or text processor. Instead, it
  is used to filter text, i.e., it takes text input and performs some
  operation (or set of operations) on it and outputs the modified text.
  Sed is typically used for extracting part of a file using pattern
  matching or substituting multiple occurrences of a string within a file.

  The sed binary is prefixed with the letter g to differentiate it from
  the standard application with the same name.

Tested and in use on i386 for some time. Please test and commit.



gsed.tar.gz
Description: application/tar-gz


Add -f flags to rm and mv

2007-05-13 Thread Ray Lai
Allows me to alias rm='rm -i' and make update-patches.  While I'm
here, add -f to other mv and rm commands.

Okay?

-Ray-

Index: build/update-patches
===
RCS file: /cvs/ports/infrastructure/build/update-patches,v
retrieving revision 1.15
diff -u -r1.15 update-patches
--- build/update-patches3 Feb 2007 17:08:13 -   1.15
+++ build/update-patches3 May 2007 18:08:30 -
@@ -62,11 +62,11 @@
-I ^--- `echo $file$PATCHORIG | sed 's/[.+]//g'`  
 \
-I ^\+\+\+ `echo $file | sed 's/[.+]//g'`  $i 
$i.new 12
then
-   rm $i.new
+   rm -f $i.new
else
echo 12 Patch $i for $file updated
-   mv $i $i$PATCHORIG
-   mv $i.new $i
+   mv -f $i $i$PATCHORIG
+   mv -f $i.new $i
edit=$edit $i
fi
continue 2
Index: mk/bsd.port.mk
===
RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v
retrieving revision 1.891
diff -u -r1.891 bsd.port.mk
--- mk/bsd.port.mk  8 Apr 2007 11:26:39 -   1.891
+++ mk/bsd.port.mk  3 May 2007 18:08:31 -
@@ -1763,7 +1763,7 @@
 
 _refetch:
 .  for file cipher value in ${_PROBLEMS}
-   @rm ${DISTDIR}/${file}
+   @rm -f ${DISTDIR}/${file}
@cd ${.CURDIR}  exec ${MAKE} ${DISTDIR}/${file} \

MASTER_SITE_OVERRIDE=ftp://ftp.openbsd.org/pub/OpenBSD/distfiles/${cipher}/${value}/;
 .  endfor
@@ -2454,13 +2454,13 @@
 
 readme:
@tmpdir=`mktemp -d ${TMPDIR}/readme.XX`; \
-   trap 'rm -r $$tmpdir' 0 1 2 3 13 15; \
+   trap 'rm -rf $$tmpdir' 0 1 2 3 13 15; \
cd ${.CURDIR}  ${MAKE} TMPDIR=$$tmpdir README_NAME=${README_NAME} \
${READMES_TOP}/${PKGPATH}/${FULLPKGNAME${SUBPACKAGE}}.html
 
 readmes:
@tmpdir=`mktemp -d ${TMPDIR}/readme.XX`; \
-   trap 'rm -r $$tmpdir' 0 1 2 3 13 15; \
+   trap 'rm -rf $$tmpdir' 0 1 2 3 13 15; \
cd ${.CURDIR}  ${MAKE} TMPDIR=$$tmpdir README_NAME=${README_NAME} \
${_READMES}
 
@@ -2806,8 +2806,8 @@
 .for _CAT in ${CATEGORIES}
@linkname=${PORTSDIR}/${_CAT}/`basename ${.CURDIR}`; \
if [ -L $$linkname ]; then \
-   echo rm $$linkname; \
-   rm $$linkname; \
+   echo rm -f $$linkname; \
+   rm -f $$linkname; \
if rmdir ${PORTSDIR}/${_CAT} 2/dev/null; then \
echo rmdir ${PORTSDIR}/${_CAT}; \
fi; \
Index: mk/bsd.port.subdir.mk
===
RCS file: /cvs/ports/infrastructure/mk/bsd.port.subdir.mk,v
retrieving revision 1.83
diff -u -r1.83 bsd.port.subdir.mk
--- mk/bsd.port.subdir.mk   7 Apr 2007 09:55:13 -   1.83
+++ mk/bsd.port.subdir.mk   3 May 2007 18:08:31 -
@@ -155,7 +155,7 @@
 readmes:
@DESCRIBE_TARGET=Yes; export DESCRIBE_TARGET; ${_subdir_fragment}
@tmpdir=`mktemp -d ${TMPDIR}/readme.XX`; \
-   trap 'rm -r $$tmpdir' 0 1 2 3 13 15; \
+   trap 'rm -rf $$tmpdir' 0 1 2 3 13 15; \
cd ${.CURDIR}  ${MAKE} TMPDIR=$$tmpdir \
${READMES_TOP}/${PKGPATH}/README.html
 
@@ -177,7 +177,7 @@
-e '/%%DESCR%%/r${.CURDIR}/pkg/DESCR' -e '//d' \
-e '/%%SUBDIR%%/r${TMPDIR}/subdirs' -e '//d' \
${README}  $@
-   @rm ${TMPDIR}/subdirs
+   @rm -f ${TMPDIR}/subdirs
 
 .PHONY: all fetch package fake extract configure \
build describe distclean deinstall install update \



UPDATE: MySQL 5.0.41

2007-05-13 Thread Brad
Here is an update to MySQL 5.0.41.

Tested on amd64.


Index: Makefile
===
RCS file: /cvs/ports/databases/mysql/Makefile,v
retrieving revision 1.130
diff -u -p -r1.130 Makefile
--- Makefile2007/04/09 22:43:06 1.130
+++ Makefile2007/05/13 16:45:06
@@ -9,7 +9,7 @@ COMMENT-main=   multithreaded SQL databas
 COMMENT-server=multithreaded SQL database (server)
 COMMENT-tests= multithreaded SQL database (regression test suite)
 
-VERSION=   5.0.37
+VERSION=   5.0.41
 DISTNAME=  mysql-${VERSION}
 PKGNAME-main=  mysql-client-${VERSION}
 PKGNAME-server=mysql-server-${VERSION}
Index: distinfo
===
RCS file: /cvs/ports/databases/mysql/distinfo,v
retrieving revision 1.29
diff -u -p -r1.29 distinfo
--- distinfo2007/04/09 22:43:06 1.29
+++ distinfo2007/05/13 16:45:06
@@ -1,5 +1,5 @@
-MD5 (mysql-5.0.37.tar.gz) = Ju12+stYverkDIMQ4zfd4g==
-RMD160 (mysql-5.0.37.tar.gz) = Ey04hqgfzsm+UM3I2XyGiSj1Qk8=
-SHA1 (mysql-5.0.37.tar.gz) = fJV9QzcVbH+YsGF/1aY/OoOKm8Q=
-SHA256 (mysql-5.0.37.tar.gz) = mdQF3WiPmbg3nsE3MUOtJZ53vhTSJ3H4WwBY21Ayhcg=
-SIZE (mysql-5.0.37.tar.gz) = 23239518
+MD5 (mysql-5.0.41.tar.gz) = tFzWyJ4138HNvhofeCrvvw==
+RMD160 (mysql-5.0.41.tar.gz) = V/K1rGKIFKvSsZomPNLJDj4gWT0=
+SHA1 (mysql-5.0.41.tar.gz) = zCoRnJ4HFz/ObXj8h9lsYQLuqzY=
+SHA256 (mysql-5.0.41.tar.gz) = CMJyRsqbnPaVZ66mO4/XrvM3aeNp+azxY2Y0CX3Ed3U=
+SIZE (mysql-5.0.41.tar.gz) = 24083795
Index: patches/patch-configure_in
===
RCS file: /cvs/ports/databases/mysql/patches/patch-configure_in,v
retrieving revision 1.21
diff -u -p -r1.21 patch-configure_in
--- patches/patch-configure_in  2007/04/09 22:43:06 1.21
+++ patches/patch-configure_in  2007/05/13 16:45:06
@@ -1,6 +1,6 @@
 $OpenBSD: patch-configure_in,v 1.21 2007/04/09 22:43:06 ckuethe Exp $
 configure.in.orig  Mon Mar  5 20:21:13 2007
-+++ configure.in   Sat Mar 31 19:00:36 2007
+--- configure.in.orig  Wed May  2 16:39:58 2007
 configure.in   Sun May 13 03:33:40 2007
 @@ -465,44 +465,7 @@ AC_SUBST(ICHECK)
  AC_PATH_PROG(PS, ps, ps)
  AC_MSG_CHECKING(how to check if pid exists)
@@ -47,7 +47,7 @@ $OpenBSD: patch-configure_in,v 1.21 2007
  AC_SUBST(FIND_PROC)
  AC_MSG_RESULT($FIND_PROC)
  
-@@ -833,7 +796,8 @@ AC_ARG_WITH(libwrap,
+@@ -835,7 +798,8 @@ AC_ARG_WITH(libwrap,
  AC_CHECK_HEADER(tcpd.h,
LIBS=-lwrap $LIBS
AC_MSG_CHECKING(for TCP wrappers library -lwrap)
@@ -57,7 +57,7 @@ $OpenBSD: patch-configure_in,v 1.21 2007
  int allow_severity = 0;
  int deny_severity  = 0;
  
-@@ -1601,7 +1565,7 @@ then
+@@ -1603,7 +1567,7 @@ then
AC_CHECK_LIB(c_r,strtok_r)
case $with_osf32_threads---$target_os in
  # Don't keep -lc_r in LIBS; -pthread handles it magically
@@ -66,7 +66,7 @@ $OpenBSD: patch-configure_in,v 1.21 2007
  
esac
AC_CHECK_FUNCS(strtok_r pthread_init)
-@@ -1649,29 +1613,6 @@ case $SYSTEM_TYPE in
+@@ -1651,29 +1615,6 @@ case $SYSTEM_TYPE in
  AC_SYS_RESTARTABLE_SYSCALLS
  ;;
  esac
Index: patches/patch-mysql-test_Makefile_in
===
RCS file: /cvs/ports/databases/mysql/patches/patch-mysql-test_Makefile_in,v
retrieving revision 1.13
diff -u -p -r1.13 patch-mysql-test_Makefile_in
--- patches/patch-mysql-test_Makefile_in2007/01/25 07:41:48 1.13
+++ patches/patch-mysql-test_Makefile_in2007/05/13 16:45:06
@@ -1,6 +1,6 @@
 $OpenBSD: patch-mysql-test_Makefile_in,v 1.13 2007/01/25 07:41:48 jakob Exp $
 mysql-test/Makefile.in.origTue Jan  9 07:52:50 2007
-+++ mysql-test/Makefile.in Sun Jan 14 21:29:24 2007
+--- mysql-test/Makefile.in.origWed May  2 16:42:28 2007
 mysql-test/Makefile.in Sun May 13 03:33:40 2007
 @@ -373,7 +373,7 @@ zlib_dir = @zlib_dir@
  @[EMAIL PROTECTED] = ndb
  @[EMAIL PROTECTED] = \\
@@ -9,4 +9,4 @@ $OpenBSD: patch-mysql-test_Makefile_in,v
 +benchdir_root = $(datadir)
  testdir = $(benchdir_root)/mysql-test
  EXTRA_SCRIPTS = mysql-test-run-shell.sh install_test_db.sh valgrind.supp 
$(PRESCRIPTS)
- EXTRA_DIST = $(EXTRA_SCRIPTS)
+ EXTRA_DIST = $(EXTRA_SCRIPTS) suite
Index: patches/patch-scripts_Makefile_in
===
RCS file: /cvs/ports/databases/mysql/patches/patch-scripts_Makefile_in,v
retrieving revision 1.7
diff -u -p -r1.7 patch-scripts_Makefile_in
--- patches/patch-scripts_Makefile_in   2007/04/09 22:43:06 1.7
+++ patches/patch-scripts_Makefile_in   2007/05/13 16:45:06
@@ -1,7 +1,7 @@
 $OpenBSD: patch-scripts_Makefile_in,v 1.7 2007/04/09 22:43:06 ckuethe Exp $
 scripts/Makefile.in.orig   Mon Mar  5 20:23:19 2007
-+++ scripts/Makefile.inSat Mar 31 19:01:17 2007
-@@ -655,6 +655,7 @@ mysqlbug: ${top_builddir}/config.status mysqlbug.sh
+--- scripts/Makefile.in.orig   Wed May  2 16:43:17 2007
 

Re: NEW: misc/lcdproc (client/server displaying system information on a LCD)

2007-05-13 Thread Edd Barrett

Hi,

Although this port is marked i386 only the build works just fine on
sparc64 (i comments the i386 only line). During make package however,
some (arch specific?) files dont exist, so this has potential to work
on other arches if the PLIST was tweaked?

--
Best Regards

Edd

---
http://students.dec.bournemouth.ac.uk/ebarrett/



Re: [new] claws-mail-vcalendar and claws-mail-notification

2007-05-13 Thread Landry Breuil
On Wed, May 09, 2007 at 11:18:53PM +0200, Landry Breuil wrote:
 Hello ports@,
 
 two plugins for the lightweight MUA Claws-mail :
 
 http://ports.gcu.info/doku.php/openbsd/mail/claws-mail-vcalendar
 Adds groupware functionnality, webcal subscriptions, ics import/export.
 
 http://ports.gcu.info/doku.php/openbsd/mail/claws-mail-notification
 Adds various new message notification methods : popup, banner, command.
 
 not really sure of gtk/glib in LIB_DEPENDS, maybe in WANTLIB ? 
 and is it normal to still have the need of textproc/expat ?
 the one bundled in -current isn't enough at the moment ?
 
 works here @i386, feedback and testing welcome !

No one's interested ? i tested them against 2.9.2, still works fine.

Landry



UPDATE: xchm-1.13

2007-05-13 Thread Martynas Venckus
Trivial, but useful mainly bugfix update to xchm-1.13.

 * 1.11:
 + now xCHM can parse binary TOC trees, if available.
 + now xCHM can retrieve data from the binary index, if
 available.
 + fixed random printout font size problem.
 + fixed Win32 logo loading problem.
 + added a progress bar for CHM loading.
 + fixed TOC tree append bug.
 + added Save link as.. item to the context-sensitive
 right-click menu.
 + fixed special HTML characters in TOC/index links bug.
 + fixed relative links in TOC/index bug.
 + fixed TOC sync with the currently loaded page bug. 
 
 * 1.12:
 + actually using the binary index code.
 + fixed the search results links.
 + fixed lost Unicode character translation for the TOC and  
 index entries.
 + updated Polish translation.
 + fixed index display for non ASCII encodings.
 + CHM localization bugfixes.
 
 * 1.13: 
 + fixed CHMLIB link in the splash page.
 + fixed special character languages index for wxGTK 2.6.

Index: Makefile
===
RCS file: /cvs/ports/x11/xchm/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile25 Nov 2006 16:41:33 -  1.3
+++ Makefile13 May 2007 19:22:16 -
@@ -2,7 +2,7 @@
 
 COMMENT=   display chm files
 
-DISTNAME=  xchm-1.10
+DISTNAME=  xchm-1.13
 CATEGORIES=devel textproc x11
 
 HOMEPAGE=  http://xchm.sourceforge.net/
@@ -22,5 +22,7 @@
 
 CONFIGURE_STYLE=gnu
 CONFIGURE_ENV= LDFLAGS=-L${LOCALBASE}/lib -L${X11BASE}/lib
+
+NO_REGRESS=Yes
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/x11/xchm/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo5 Apr 2007 17:36:26 -   1.4
+++ distinfo13 May 2007 19:22:16 -
@@ -1,5 +1,5 @@
-MD5 (xchm-1.10.tar.gz) = 301C47sRGHE59EdbicSrlg==
-RMD160 (xchm-1.10.tar.gz) = t/VWxHVcsapQl+SGXgdASvi0wgM=
-SHA1 (xchm-1.10.tar.gz) = vJyLNHyHf0mDyCVze6Pnp9q2sSU=
-SHA256 (xchm-1.10.tar.gz) = 2+2e1N9RX0A1yMiB/3IgPLwe9pdkDuuHYme+RpNDpSQ=
-SIZE (xchm-1.10.tar.gz) = 371871
+MD5 (xchm-1.13.tar.gz) = tETjbW8cez13LRmG6pkp3A==
+RMD160 (xchm-1.13.tar.gz) = B6wpYu5dqKSs7aWP7NRXhQenHtk=
+SHA1 (xchm-1.13.tar.gz) = 8GL1hMn9ABB+KNljQtSOo2svL0k=
+SHA256 (xchm-1.13.tar.gz) = JBntS9Mij14rLcbfNBIwuQ+zNNrNCWff8eT9iNI9OmQ=
+SIZE (xchm-1.13.tar.gz) = 390882



Re: NEW: misc/lcdproc (client/server displaying system information on a LCD)

2007-05-13 Thread K K

When I last tried an install of LCDproc on OpenBSD with a
serial-interfaced CrystalFontz back in 2005, I had to add additional
serial port ioctls in CFontz.c to make it work.  I submitted diffs
back to the LCDproc developers.

There were also some minor output/formatting issues with the OS status
screens, these would be independent of the LCD driver.


I'll give this latest port a try and see if it drives my CrystalFontz
correctly now.

Kevin



Re: Add -f flags to rm and mv

2007-05-13 Thread Christian Weisgerber
Ray Lai [EMAIL PROTECTED] wrote:

 Allows me to alias rm='rm -i' and make update-patches.  While I'm
 here, add -f to other mv and rm commands.
 
 Okay?

No.  Something is very wrong here.  Why do your interactive shell
aliases propagate to random shells?

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]