CVS: cvs.openbsd.org: ports

2008-07-12 Thread Brad Smith
CVSROOT:/cvs
Module name:ports
Changes by: [EMAIL PROTECTED]   2008/07/12 06:33:21

Modified files:
net/samba  : Makefile 

Log message:
Correct the permissions of the examples files.

Issue and an initial patch provided by RD Thrush rd at thrush dot com
ok mbalmer@



UPDATE: x11/gtk2-murrine-engine

2008-07-12 Thread Brad Walker
The attached patch for x11/gtk2-murrine-engine updates upstream URLs and
my maintainer email address, fixes WANTLIB and adds four new Murrina
themes. Themes MurrinaBlue and MurrinaTango go well with the Tango icon
theme and default metacity theme. MurrinaElement's a Windows XP-ish
theme. MurrinaOransun is an orange theme.

I've tested this on amd64 and i386.

Brad Walker


Index: Makefile
===
RCS file: /cvs/ports/x11/gtk2-murrine-engine/Makefile,v
retrieving revision 1.3
diff -u -d -r1.3 Makefile
--- Makefile	1 Feb 2008 21:38:27 -	1.3
+++ Makefile	12 Jul 2008 04:53:16 -
@@ -6,12 +6,12 @@
 
 VERSION=	0.53.1
 DISTNAME=	murrine-${VERSION}
-PKGNAME=	gtk2-murrine-engine-${VERSION}p0
+PKGNAME=	gtk2-murrine-engine-${VERSION}p1
 CATEGORIES=	x11
 
-HOMEPAGE=	http://cimi.netsons.org/pages/murrine.php
+HOMEPAGE=	http://cimitan.com/murrine/
 
-MAINTAINER=	Brad Walker [EMAIL PROTECTED]
+MAINTAINER=	Brad Walker [EMAIL PROTECTED]
 
 # GPLv2
 PERMIT_PACKAGE_CDROM=	Yes 
@@ -19,19 +19,22 @@
 PERMIT_DISTFILES_CDROM=	Yes
 PERMIT_DISTFILES_FTP=	Yes
 
-MASTER_SITES=	http://cimi.netsons.org/media/download_gallery/
-MASTER_SITES0=	http://cimi.netsons.org/media/download_gallery/murrine/
+MASTER_SITES=	${HOMEPAGE}files/
 DIST_SUBDIR=	${DISTNAME}
-DISTFILES=	${DISTNAME}.tar.bz2:0 \
+DISTFILES=	${DISTNAME}.tar.bz2 \
 		MurrineThemePack.tar.bz2 \
+		MurrinaBlue.tar.bz2 \
+		MurrinaElement.tar.gz \
 		MurrinaFancyCandy.tar.bz2 \
+		MurrinaOransun.tar.gz \
+		MurrinaTango.tar.bz2 \
 		MurrinaVerdeOlivo.tar.bz2 \
 		MurrinaAquaIsh.tar.bz2 \
 		MurrinaGilouche.tar.bz2 \
 		MurrinaLoveGray.tar.bz2
 
 WANTLIB=	X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
-		Xcomposite Xdamage pcre \
+		Xcomposite Xdamage pcre pixman-1 \
 		Xrender cairo expat fontconfig freetype glitz m png z \
 		atk-1.0 gmodule-2.0 gobject-2.0 glib-2.0 pango-1.0 \
 		pangoft2-1.0 pangocairo-1.0
Index: distinfo
===
RCS file: /cvs/ports/x11/gtk2-murrine-engine/distinfo,v
retrieving revision 1.2
diff -u -d -r1.2 distinfo
--- distinfo	26 Jun 2007 09:35:15 -	1.2
+++ distinfo	12 Jul 2008 04:53:16 -
@@ -1,35 +1,55 @@
 MD5 (murrine-0.53.1/MurrinaAquaIsh.tar.bz2) = 4YuxkXVu0beTQy9rx2B9tA==
+MD5 (murrine-0.53.1/MurrinaBlue.tar.bz2) = xCU0MIyNRaPJU1ceqU9QrA==
+MD5 (murrine-0.53.1/MurrinaElement.tar.gz) = AzSccbHg8rmd+Ru3W86Yxg==
 MD5 (murrine-0.53.1/MurrinaFancyCandy.tar.bz2) = Wmbz3kFUegon+SWsjY2MRg==
 MD5 (murrine-0.53.1/MurrinaGilouche.tar.bz2) = Zdjx8o+cjtFLFeyJTdC/wA==
 MD5 (murrine-0.53.1/MurrinaLoveGray.tar.bz2) = Mc6fzlEUwc/kcdxhTeU5zA==
+MD5 (murrine-0.53.1/MurrinaOransun.tar.gz) = WXIeJNW1YAjuitMQBFaN6A==
+MD5 (murrine-0.53.1/MurrinaTango.tar.bz2) = Q6aEjMip7t7f+1Fs+wK2NQ==
 MD5 (murrine-0.53.1/MurrinaVerdeOlivo.tar.bz2) = f7VdYTwxoUVanbbBIf/wuw==
 MD5 (murrine-0.53.1/MurrineThemePack.tar.bz2) = QUATwi0fs5VKXD0JSZyAsg==
 MD5 (murrine-0.53.1/murrine-0.53.1.tar.bz2) = CfAUWErlk7l5Xz9tsmAF2A==
 RMD160 (murrine-0.53.1/MurrinaAquaIsh.tar.bz2) = u/adMGH7EbhirM94fjI93MOU1co=
+RMD160 (murrine-0.53.1/MurrinaBlue.tar.bz2) = ybxT1Sr1KN0+JkYw37nIjV9aa+0=
+RMD160 (murrine-0.53.1/MurrinaElement.tar.gz) = 8iQrE20A2u9IeJfo1y6m25DyXlM=
 RMD160 (murrine-0.53.1/MurrinaFancyCandy.tar.bz2) = fSn2dPXvbyjhnRRV2keOEH2jA3Y=
 RMD160 (murrine-0.53.1/MurrinaGilouche.tar.bz2) = VNv8gfq6Qyu/BdgnNWmFM8bSM+k=
 RMD160 (murrine-0.53.1/MurrinaLoveGray.tar.bz2) = FeiwDI3M7uWpHzw/biFiuo1dZNE=
+RMD160 (murrine-0.53.1/MurrinaOransun.tar.gz) = lNZpRMKIjkEGKReTH869/uP/Jss=
+RMD160 (murrine-0.53.1/MurrinaTango.tar.bz2) = DpvWNoqgwLcOSILpj02WWIpKQsc=
 RMD160 (murrine-0.53.1/MurrinaVerdeOlivo.tar.bz2) = uUNdA0XIttZMmvfqpR7sTg3l0o8=
 RMD160 (murrine-0.53.1/MurrineThemePack.tar.bz2) = ecz8br8c9FpalyG0EcOdZLBlf64=
 RMD160 (murrine-0.53.1/murrine-0.53.1.tar.bz2) = 3XpQfufOMjuIOCz0K6t/AYgfnDk=
 SHA1 (murrine-0.53.1/MurrinaAquaIsh.tar.bz2) = v6YJlBO33hxzS5hdQHE7mX33Bgs=
+SHA1 (murrine-0.53.1/MurrinaBlue.tar.bz2) = HIExDttAfiQZT158MFQa/H60jGg=
+SHA1 (murrine-0.53.1/MurrinaElement.tar.gz) = fDIeqyTJ7kF7Djq6uqs60NTgpsM=
 SHA1 (murrine-0.53.1/MurrinaFancyCandy.tar.bz2) = a5V83BnBE/pgirg7aQ1yt34MEDM=
 SHA1 (murrine-0.53.1/MurrinaGilouche.tar.bz2) = C0cXUiqRFRHy915ZnakpKXrP4XQ=
 SHA1 (murrine-0.53.1/MurrinaLoveGray.tar.bz2) = mbnQFzhPlNFg3WmprlqgYdHF7KM=
+SHA1 (murrine-0.53.1/MurrinaOransun.tar.gz) = UbtK0kx7QbCuBuMJkoLV6AB2wJE=
+SHA1 (murrine-0.53.1/MurrinaTango.tar.bz2) = oOGoTrMFNIUCccsLmjWk/dtK58Q=
 SHA1 (murrine-0.53.1/MurrinaVerdeOlivo.tar.bz2) = JhYAJzZgc9bXePuc++a+9NgQm08=
 SHA1 (murrine-0.53.1/MurrineThemePack.tar.bz2) = Z0cuwvmZzl5x27whzb4+INWl3sw=
 SHA1 (murrine-0.53.1/murrine-0.53.1.tar.bz2) = EI4vpDwVJAb/DHvNr0hEE/171zU=
 SHA256 (murrine-0.53.1/MurrinaAquaIsh.tar.bz2) = bYRkmt9C7/kPPktUtdQKipCqayRwt20vcs/YcJSWFH4=
+SHA256 (murrine-0.53.1/MurrinaBlue.tar.bz2) = YrMa71a8VMn4RGAWsPnDCIspFvsfxbhzM4VOFQy3W/s=
+SHA256 (murrine-0.53.1/MurrinaElement.tar.gz) = 

NEW: graphics/rawstudio

2008-07-12 Thread Stuart Henderson
This is a simpler alternative to ufraw with fast workflow,
and pretty good for batches of files. It has a nice method
where you can configure 3 alternative sets of curves A/B/C
and flick between them to choose the best, also has an
fast method for basic tagging/sorting images.

Supports many cameras (internal dcraw), upstream SVN supports
more but I'd rather stick with the released code for now.

N.B. the option to export directly to a new Gimp window
works but needs D-Bus support in Gimp which was only just
enabled in the Gimp port.

Tested on i386/amd64 (where a missing malloc() prototype
in md5.c caused pointer truncation, simply fixed by adding
the correct header).



Rawstudio is an open-source program to read and manipulate RAW images
from most digital cameras.

Rawstudio will convert your RAW files into JPEG, PNG or TIF images which
you can then print or send to friends and clients.

It has a graphical user interface, so you can simply open a RAW file and
experiment with the controls to see how they effect the image. Rawstudio
has a very simple architecture which is optimized for ease of use and
therefore should be intuitive to most photographers.

The normal workflow would be that you first convert your RAW files and
then use an image editing application to further work on your images.
Rawstudio itself is a highly specialized application for processing RAW
images, not a fully featured image editing application.





rawstudio.tgz
Description: application/tar-gz


sysutils/conky - no_x11 flavor

2008-07-12 Thread Alexander Polakov
Hi all!

 What do you think about no_x11 flavor? 
 Patch attached.
-- 
Alexander Polakov | http://rootshell.be/~polachok/
--- conky/Makefile  Mon May 19 11:44:37 2008
+++ conky/Makefile.new  Sat Jul 12 19:09:10 2008
@@ -21,9 +21,17 @@
 PERMIT_DISTFILES_CDROM= Yes
 PERMIT_DISTFILES_FTP=   Yes
 
-WANTLIB=   X11 Xau Xdamage Xdmcp Xext Xfixes Xft Xrender c crypto \
-   expat fontconfig freetype kvm m ossaudio pthread ssl z
+FLAVORS=no_x11
+FLAVOR?=
+WANTLIB=   c crypto \
+   expat kvm m ossaudio pthread ssl z
 
+.if ${FLAVOR:L:Mno_x11}
+CONFIGURE_ARGS+=--disable-x11
+.else
+WANTLIB+=  X11 Xau Xdamage Xdmcp Xext Xfixes Xft Xrender \
+   fontconfig freetype
+.endif
 MODULES=   devel/gettext
 
 LIB_DEPENDS=   glib-2.0::devel/glib2 \


hw.sensors support for sysutils/gkrellm/gkrellm

2008-07-12 Thread Josh Elsasser
I have implemented support in gkrellm for reading and displaying the
hw.sensors sysctls. Only sensors for temperature, fan speed, and DC
voltage are supported due to limitations in gkrellm.

Comments, bugs, suggestions?


diff -u -rP sysutils/gkrellm/gkrellm/patches/patch-src_sensors_c 
mystuff/sysutils/gkrellm/gkrellm/patches/patch-src_sensors_c
--- sysutils/gkrellm/gkrellm/patches/patch-src_sensors_cWed Dec 31 
16:00:00 1969
+++ mystuff/sysutils/gkrellm/gkrellm/patches/patch-src_sensors_cSat Jul 
 5 17:10:32 2008
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- src/sensors.c.orig Sat Oct 20 11:04:07 2007
 src/sensors.c  Sat Jul  5 15:50:46 2008
+@@ -2759,7 +2759,7 @@ create_sensors_tab(GtkWidget *tab_vbox)
+ 
+   box = gkrellm_gtk_framed_vbox(vbox1, _(Factor), 4, FALSE, 0, 2);
+   gkrellm_gtk_spin_button(box, factor_spin_button, 1.0,
+-  -1000.0, 1000.0, 0.01, 1.0, 4, 60,
++  -1000.0, 1000.0, 0.01, 1.0, 6, 60,
+   cb_correction_modified, NULL, FALSE, NULL);
+ 
+   box = gkrellm_gtk_framed_vbox(vbox1, _(Offset), 4, FALSE, 0, 2);
diff -u -rP sysutils/gkrellm/gkrellm/patches/patch-src_sysdeps_openbsd_c 
mystuff/sysutils/gkrellm/gkrellm/patches/patch-src_sysdeps_openbsd_c
--- sysutils/gkrellm/gkrellm/patches/patch-src_sysdeps_openbsd_cSat Jul 
12 09:23:45 2008
+++ mystuff/sysutils/gkrellm/gkrellm/patches/patch-src_sysdeps_openbsd_c
Sat Jul 12 09:14:12 2008
@@ -1,6 +1,6 @@
-$OpenBSD: patch-src_sysdeps_openbsd_c,v 1.9 2008/07/01 10:17:35 ajacoutot Exp $
 src/sysdeps/openbsd.c.orig Sat Jul  7 01:54:22 2007
-+++ src/sysdeps/openbsd.c  Tue Jul  1 10:48:13 2008
+$OpenBSD: patch-src_sysdeps_openbsd_c,v 1.7 2007/10/26 22:56:57 ajacoutot Exp $
+--- src/sysdeps/openbsd.c.orig Fri Jul  6 16:54:22 2007
 src/sysdeps/openbsd.c  Sat Jul 12 09:14:03 2008
 @@ -53,41 +53,71 @@ gkrellm_sys_main_cleanup(void)
  #include sys/dkstat.h
  #include kvm.h
@@ -93,7 +93,133 @@
  /* = */
  /* Proc monitor interface */
  
-@@ -293,7 +323,7 @@ gkrellm_sys_sensors_init(void)
+@@ -259,41 +289,122 @@ gkrellm_sys_mem_init(void)
+ 
+ 
+ /* = */
+-/* Sensor monitor interface - not implemented */
++/* Sensor monitor interface */
+ 
++#include sys/param.h
++#include sys/sysctl.h
++#include sys/sensors.h
++#include errno.h
++
++static gboolean
++get_sensor(int dev, int type, int num, gfloat *val)
++{
++  int mib[5] = { CTL_HW, HW_SENSORS };
++  struct sensor sen;
++  size_t len = sizeof(sen);
++
++  mib[2] = dev;
++  mib[3] = type;
++  mib[4] = num;
++  if (sysctl(mib, 5, sen, len, NULL, 0) == -1 ||
++  (SENSOR_FINVALID|SENSOR_FUNKNOWN)  sen.flags)
++  return FALSE;
++
++  *val = (gfloat)sen.value;
++  return TRUE;
++}
++
+ gboolean
+ gkrellm_sys_sensors_get_temperature(gchar *device_name, gint id,
+   gint iodev, gint interface, gfloat *temp)
+-  {
+-  return FALSE;
+-  }
++{
++  return get_sensor(id, iodev, interface, temp);
++}
+ 
+ gboolean
+ gkrellm_sys_sensors_get_fan(gchar *device_name, gint id,
+   gint iodev, gint interface, gfloat *fan)
+-  {
+-  return FALSE;
+-  }
++{
++  return get_sensor(id, iodev, interface, fan);
++}
+ 
+ gboolean
+ gkrellm_sys_sensors_get_voltage(gchar *device_name, gint id,
+   gint iodev, gint interface, gfloat *volt)
+-  {
+-  return FALSE;
++{
++  return get_sensor(id, iodev, interface, volt);
++}
++
++static gboolean
++add_sensdev(int dev, struct sensordev *sensdev)
++{
++  static enum sensor_type stypes[] =
++  { SENSOR_TEMP, SENSOR_FANRPM, SENSOR_VOLTS_DC };
++  static gint gtypes[] =
++  { SENSOR_TEMPERATURE, SENSOR_FAN, SENSOR_VOLTAGE };
++  static gfloat fac[] = { 0.01, 1.0, 0.01 };
++  static gfloat off[] = { -273.15, 0.0, 0.0 };
++  char name[32];
++  int mib[5] = { CTL_HW, HW_SENSORS };
++  struct sensor sen;
++  size_t len = sizeof(sen);
++  int idx, num;
++  gboolean found = FALSE;
++
++  mib[2] = dev;
++  for (idx = 0; sizeof(stypes) / sizeof(stypes[0])  idx; idx++) {
++  mib[3] = stypes[idx];
++  for (num = 0; sensdev-maxnumt[stypes[idx]]  num; num++) {
++  mib[4] = num;
++  len = sizeof(sen);
++  if (sysctl(mib, 5, sen, len, NULL, 0) == -1) {
++  if (ENOENT != errno)
++  return FALSE;
++  continue;
++  }
++  if (SENSOR_FINVALID  sen.flags)
++  continue;
++  snprintf(name, sizeof(name), %s.%s%d, sensdev-xname,
++  

update: net/openvpn

2008-07-12 Thread Felix Kronlage
hi,

attached is an update of OpenVPN to 2.1rc8.
tests more than welcome.

felix
Index: Makefile
===
RCS file: /cvs/ports/net/openvpn/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile1 Apr 2008 21:50:14 -   1.17
+++ Makefile12 Jul 2008 18:20:46 -
@@ -2,7 +2,7 @@
 
 COMMENT=   easy-to-use, robust, and highly configurable VPN
 
-VERSION=   2.1_rc7
+VERSION=   2.1_rc8
 DISTNAME=  openvpn-${VERSION}
 PKGNAME=   ${DISTNAME:S/_//g}
 CATEGORIES=net security
@@ -18,7 +18,7 @@
 PERMIT_DISTFILES_FTP=  Yes
 WANTLIB=   c crypto ssl 
 
-MASTER_SITES=  ${HOMEPAGE}/release/
+MASTER_SITES=  https://secure.openvpn.net/beta/
 
 LIB_DEPENDS=   lzo::archivers/lzo
 
Index: distinfo
===
RCS file: /cvs/ports/net/openvpn/distinfo,v
retrieving revision 1.12
diff -u -r1.12 distinfo
--- distinfo1 Apr 2008 21:50:14 -   1.12
+++ distinfo12 Jul 2008 18:20:46 -
@@ -1,5 +1,5 @@
-MD5 (openvpn-2.1_rc7.tar.gz) = OMj9+qNGXXQASUaLx7Zvzw==
-RMD160 (openvpn-2.1_rc7.tar.gz) = Z+gNe/tVQEbHHJXsFdR4UEBX+QM=
-SHA1 (openvpn-2.1_rc7.tar.gz) = +fV6jvOvirUZJHhK0qq11fV5hYE=
-SHA256 (openvpn-2.1_rc7.tar.gz) = wH/LxBRlv1CMr/cNzEI4uMlemy81vse/iR9xZAJ+y/g=
-SIZE (openvpn-2.1_rc7.tar.gz) = 787379
+MD5 (openvpn-2.1_rc8.tar.gz) = BZ37biG1A2h8a0qKGwA0rA==
+RMD160 (openvpn-2.1_rc8.tar.gz) = 0eER6FxvjZMpkSFo4jfbGXayzcs=
+SHA1 (openvpn-2.1_rc8.tar.gz) = yHNQ9L16m+owzf+hEbLwgoHEB8w=
+SHA256 (openvpn-2.1_rc8.tar.gz) = DIDbAv94OyP5HyMLx2mq7Ja6tAUQaCkoOjucRwKCLtA=
+SIZE (openvpn-2.1_rc8.tar.gz) = 809545


gtk-vnc update

2008-07-12 Thread RD Thrush
The appended diff fixes some small problems, ie.
  o configure prefers gmkdir (misc/fileutils)
  o plugin install writes directly in /usr/local/ hierarchy

The diff also reflects new pkg/PLIST-{main,plugin} generated via make
plist.


Index: Makefile
===
RCS file: /pub/anoncvs/cvs/OpenBSD/ports/x11/gtk-vnc/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile26 May 2008 20:11:00 -  1.3
+++ Makefile12 Jul 2008 19:25:17 -
@@ -5,8 +5,8 @@ COMMENT-plugin= gtk-vnc browser plugin
 
 V= 0.3.6
 DISTNAME=  gtk-vnc-${V}
-PKGNAME-main=  ${DISTNAME}p0
-PKGNAME-plugin=gtk-vnc-plugin-${V}
+PKGNAME-main=  ${DISTNAME}p1
+PKGNAME-plugin=gtk-vnc-plugin-${V}p0
 
 SHARED_LIBS += gtk-vnc-1.0  0.0  # .0.1
 CATEGORIES=x11 net
Index: patches/patch-configure
===
RCS file: patches/patch-configure
diff -N patches/patch-configure
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-configure 12 Jul 2008 19:25:17 -
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- configure.orig Mon May  5 22:54:32 2008
 configure  Mon Jun 30 18:04:43 2008
+@@ -2384,7 +2384,7 @@ for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
+ do
+   IFS=$as_save_IFS
+   test -z $as_dir  as_dir=.
+-  for ac_prog in mkdir gmkdir; do
++  for ac_prog in mkdir ; do
+for ac_exec_ext in '' $ac_executable_extensions; do
+  { test -f $as_dir/$ac_prog$ac_exec_ext  $as_test_x 
$as_dir/$ac_prog$ac_exec_ext; } || continue
+  case `$as_dir/$ac_prog$ac_exec_ext --version 21` in #(
Index: patches/patch-plugin_Makefile_in
===
RCS file: 
/pub/anoncvs/cvs/OpenBSD/ports/x11/gtk-vnc/patches/patch-plugin_Makefile_in,v
retrieving revision 1.1
diff -u -p -r1.1 patch-plugin_Makefile_in
--- patches/patch-plugin_Makefile_in13 May 2008 09:48:56 -  1.1
+++ patches/patch-plugin_Makefile_in12 Jul 2008 19:25:17 -
@@ -1,12 +1,48 @@
-$OpenBSD: patch-plugin_Makefile_in,v 1.1 2008/05/13 09:48:56 ajacoutot Exp $
 plugin/Makefile.in.origSat May 10 12:17:22 2008
-+++ plugin/Makefile.in Sat May 10 12:18:01 2008
+$OpenBSD$
+--- plugin/Makefile.in.origMon May  5 22:54:31 2008
 plugin/Makefile.in Sat Jul 12 14:17:21 2008
 @@ -232,7 +232,7 @@ target_os = @target_os@
  target_vendor = @target_vendor@
  top_builddir = @top_builddir@
  top_srcdir = @top_srcdir@
 [EMAIL PROTECTED]@plugindir = $(libdir)/mozilla/plugins
[EMAIL PROTECTED]@plugindir = $(libdir)/mozilla-plugins
[EMAIL PROTECTED]@plugindir = $(PREFIX)/lib/mozilla-plugins
  @[EMAIL PROTECTED] = gtk-vnc-plugin.la
  @[EMAIL PROTECTED] = \
  @ENABLE_PLUGIN_TRUE@  gtk-vnc-plugin.c gtk-vnc-plugin.h npshell.c npunix.c
+@@ -285,12 +285,12 @@ $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+   cd $(top_builddir)  $(MAKE) $(AM_MAKEFLAGS) am--refresh
+ install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
+   @$(NORMAL_INSTALL)
+-  test -z $(plugindir) || $(MKDIR_P) $(DESTDIR)$(plugindir)
++  test -z $(plugindir) || $(MKDIR_P) $(plugindir)
+   @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+   f=$(am__strip_dir) \
+-  echo  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install 
$(pluginLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' 
'$(DESTDIR)$(plugindir)/$$f'; \
+-  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install 
$(pluginLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p 
$(DESTDIR)$(plugindir)/$$f; \
++  echo  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install 
$(pluginLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(plugindir)/$$f'; \
++  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install 
$(pluginLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(plugindir)/$$f; \
+ else :; fi; \
+   done
+ 
+@@ -298,8 +298,8 @@ uninstall-pluginLTLIBRARIES:
+   @$(NORMAL_UNINSTALL)
+   @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
+ p=$(am__strip_dir) \
+-echo  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall 
rm -f '$(DESTDIR)$(plugindir)/$$p'; \
+-$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f 
$(DESTDIR)$(plugindir)/$$p; \
++echo  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall 
rm -f '$(plugindir)/$$p'; \
++$(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f 
$(plugindir)/$$p; \
+   done
+ 
+ clean-pluginLTLIBRARIES:
+@@ -449,7 +449,7 @@ check: check-am
+ @[EMAIL PROTECTED]:
+ all-am: Makefile $(LTLIBRARIES) all-local
+ installdirs:
+-  for dir in $(DESTDIR)$(plugindir); do \
++  for dir in $(plugindir); do \
+ test -z $$dir || $(MKDIR_P) $$dir; \
+   done
+ install: install-am
Index: 

Re: sysutils/conky - no_x11 flavor

2008-07-12 Thread Stuart Henderson
On 2008/07/12 20:52, Alexander Polakov wrote:
 Hi all!
 
  What do you think about no_x11 flavor? 
  Patch attached.
 -- 
 Alexander Polakov | http://rootshell.be/~polachok/

I've tested this on amd64 and i386. If I build with no_x11 and run it,
I get this, then no further output until I hit ^C and it exits.

$ conky
Conky: /etc/conky/conky.conf: 27: no such configuration: 'alignment'
Conky: /etc/conky/conky.conf: 29: no such configuration: 'border_width'
Conky: /etc/conky/conky.conf: 31: no such configuration: 'default_color'
Conky: /etc/conky/conky.conf: 32: no such configuration: 'default_outline_color'
Conky: /etc/conky/conky.conf: 33: no such configuration: 'default_shade_color'
Conky: /etc/conky/conky.conf: 34: no such configuration: 'draw_borders'
Conky: /etc/conky/conky.conf: 35: no such configuration: 'draw_graph_borders'
Conky: /etc/conky/conky.conf: 36: no such configuration: 'draw_outline'
Conky: /etc/conky/conky.conf: 37: no such configuration: 'draw_shades'
Conky: /etc/conky/conky.conf: 38: no such configuration: 'font'
Conky: /etc/conky/conky.conf: 39: no such configuration: 'gap_x'
Conky: /etc/conky/conky.conf: 40: no such configuration: 'gap_y'
Conky: /etc/conky/conky.conf: 41: no such configuration: 'minimum_size'
Conky: /etc/conky/conky.conf: 45: no such configuration: 'own_window'
Conky: /etc/conky/conky.conf: 46: no such configuration: 'own_window_class'
Conky: /etc/conky/conky.conf: 47: no such configuration: 'own_window_type'
Conky: /etc/conky/conky.conf: 48: no such configuration: 'stippled_borders'

If I comment out those lines from conky.conf, no errors, but the same
thing: no output until I hit ^C and it exits.

Without no_x11 it works fine.



Re: sysutils/conky - no_x11 flavor

2008-07-12 Thread Alexander Polakov
You need out_to_console in configuration file to get some output.

2008/7/13, Stuart Henderson [EMAIL PROTECTED]:
 On 2008/07/12 20:52, Alexander Polakov wrote:
 Hi all!

  What do you think about no_x11 flavor?
  Patch attached.
 --
 Alexander Polakov | http://rootshell.be/~polachok/

 I've tested this on amd64 and i386. If I build with no_x11 and run it,
 I get this, then no further output until I hit ^C and it exits.

 $ conky
 Conky: /etc/conky/conky.conf: 27: no such configuration: 'alignment'
 Conky: /etc/conky/conky.conf: 29: no such configuration: 'border_width'
 Conky: /etc/conky/conky.conf: 31: no such configuration: 'default_color'
 Conky: /etc/conky/conky.conf: 32: no such configuration:
 'default_outline_color'
 Conky: /etc/conky/conky.conf: 33: no such configuration:
 'default_shade_color'
 Conky: /etc/conky/conky.conf: 34: no such configuration: 'draw_borders'
 Conky: /etc/conky/conky.conf: 35: no such configuration:
 'draw_graph_borders'
 Conky: /etc/conky/conky.conf: 36: no such configuration: 'draw_outline'
 Conky: /etc/conky/conky.conf: 37: no such configuration: 'draw_shades'
 Conky: /etc/conky/conky.conf: 38: no such configuration: 'font'
 Conky: /etc/conky/conky.conf: 39: no such configuration: 'gap_x'
 Conky: /etc/conky/conky.conf: 40: no such configuration: 'gap_y'
 Conky: /etc/conky/conky.conf: 41: no such configuration: 'minimum_size'
 Conky: /etc/conky/conky.conf: 45: no such configuration: 'own_window'
 Conky: /etc/conky/conky.conf: 46: no such configuration: 'own_window_class'
 Conky: /etc/conky/conky.conf: 47: no such configuration: 'own_window_type'
 Conky: /etc/conky/conky.conf: 48: no such configuration: 'stippled_borders'

 If I comment out those lines from conky.conf, no errors, but the same
 thing: no output until I hit ^C and it exits.

 Without no_x11 it works fine.





Re: sysutils/conky - no_x11 flavor

2008-07-12 Thread Stuart Henderson
On 2008/07/13 00:58, Alexander Polakov wrote:
 You need out_to_console in configuration file to get some output.

Hmm. I'd be happier if the sample config had the out_to_console
line commented out then, it looks like it defaults to off for
the X11 version, and on for no_x11, which will save questions
from confused porters :-)

Also README is a pre-formatted manual page which it would be
nice to install in ${PREFIX}/man/cat1/conky.0, what do you think?



Re: openobex and ftpobex

2008-07-12 Thread OUSADOU Azwaw
I have succeeded to make a listing for my obex interfaces :

bash-3.2# obexftp -u
OBEX_FindInterfaces():
OBEX_FreeInterfaces():
OBEX_FreeInterfaces():
Found 2 USB OBEX interfaces

0 (Manufacturer: Nokia Product: Nokia N72 Serial: (null) Interface 
description: SYNCML-SYNC)
1 (Manufacturer: Nokia Product: Nokia N72 Serial: (null) Interface 
description: PC Suite Services)

Use '-u interface_number' to connect
Nothing to do. Use --help for help.

I have needed a patch to the libusb then i have a problem with ugen 
endpoints :

bash-3.2# export USB_DEBUG=5
bash-3.2# obexftp -u 1 -l C:/
obexftp_open()
obexftp_connect_src()
Connecting...OBEX_FindInterfaces():
OBEX_FreeInterfaces():
usb_set_debug: Setting debugging level to 5 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_busses: Found /dev/usb4
usb_os_find_busses: Found /dev/usb5
usb_os_find_devices: Found /dev/ugen0 on /dev/usb3
usb_control_msg: 128 6 512 0 0x7f7c8c08 8 1000
usb_control_msg: 128 6 512 0 0x20fe54800 282 1000
skipped 3 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
skipped 3 class/vendor specific interface descriptors
usb_control_msg: 128 6 768 0 0x7f7c8b60 4 1000
usb_control_msg: 128 6 768 0 0x7f7c8b60 4 1000
usb_control_msg: 128 6 769 1033 0x7f7c8b60 4 1000
usb_control_msg: 128 6 769 1033 0x7f7c8b60 12 1000
usb_control_msg: 128 6 768 0 0x7f7c8b60 4 1000
usb_control_msg: 128 6 768 0 0x7f7c8b60 4 1000
usb_control_msg: 128 6 770 1033 0x7f7c8b60 4 1000
usb_control_msg: 128 6 770 1033 0x7f7c8b60 20 1000
usb_control_msg: 128 6 768 0 0x7f7c8b60 4 1000
usb_control_msg: 128 6 768 0 0x7f7c8b60 4 1000
usb_control_msg: 128 6 772 1033 0x7f7c8b60 4 1000
usb_control_msg: 128 6 772 1033 0x7f7c8b60 70 1000
usb_control_msg: 128 6 768 0 0x7f7c8b60 4 1000
usb_control_msg: 128 6 768 0 0x7f7c8b60 4 1000
usb_control_msg: 128 6 773 1033 0x7f7c8b60 4 1000
usb_control_msg: 128 6 773 1033 0x7f7c8b60 24 1000
usb_control_msg: 128 6 768 0 0x7f7c8b60 4 1000
usb_control_msg: 128 6 768 0 0x7f7c8b60 4 1000
usb_control_msg: 128 6 769 1033 0x7f7c8b60 4 1000
usb_control_msg: 128 6 769 1033 0x7f7c8b60 12 1000
usb_control_msg: 128 6 768 0 0x7f7c8b60 4 1000
usb_control_msg: 128 6 768 0 0x7f7c8b60 4 1000
usb_control_msg: 128 6 770 1033 0x7f7c8b60 4 1000
usb_control_msg: 128 6 770 1033 0x7f7c8b60 20 1000
usb_control_msg: 128 6 768 0 0x7f7c8b60 4 1000
usb_control_msg: 128 6 768 0 0x7f7c8b60 4 1000
usb_control_msg: 128 6 772 1033 0x7f7c8b60 4 1000
usb_control_msg: 128 6 772 1033 0x7f7c8b60 70 1000
usb_control_msg: 128 6 768 0 0x7f7c8b60 4 1000
usb_control_msg: 128 6 768 0 0x7f7c8b60 4 1000
usb_control_msg: 128 6 774 1033 0x7f7c8b60 4 1000
usb_control_msg: 128 6 774 1033 0x7f7c8b60 36 1000
obexftp_connect_src()
OBEX_InterfaceConnect():
usbobex_connect_request():
usbobex_connect_request(): transport mtu=65535
obexftp_connect_src() USB 1
obex_object_setrsp():
obex_object_setcmd(): 00
obex_insert_connectframe():
obex_object_addheader():
obex_object_addheader(): Fit one packet!
obex_object_addheader(): BS  header size 16
insert_byte_stream_header():
cli_sync_request()
OBEX_Request():
obex_client():
obex_client(): STATE_START
obex_object_send():
obex_object_send(): Adding 4 bytes of non-headerdata
obex_object_send(): 4
obex_object_send(): Adding non-body header
obex_object_send(): Sending package with opcode 128
obex_data_request(): len = 26 bytes
obex_transport_write():
obex_transport_write(): Endpoint 3
USB error: can't open /dev/ugen0.03 for bulk read: Device not configured
usb_bulk_write: got negative open file descriptor for endpoint 03
obex_object_send(): Send error
obex_object_delete():
free_headerq():
free_headerq():
free_headerq():
obexftp_sync()
obexftp_sync() Done success=0
failed: send UUID
error on connect(): Device not configured
Still trying to connect
obexftp_connect_src()
Connecting...OBEX_FindInterfaces():
OBEX_FreeInterfaces():
usb_set_debug: Setting debugging level to 5 (on)
usb_os_find_busses: Found /dev/usb0
usb_os_find_busses: Found /dev/usb1
usb_os_find_busses: Found /dev/usb2
usb_os_find_busses: Found /dev/usb3
usb_os_find_busses: Found /dev/usb4
usb_os_find_busses: Found /dev/usb5
usb_os_find_devices: couldn't open device /dev/ugen0.00: Device busy
obexftp_connect_src()
obexftp_connect_src() there are no valid USB interfaces
obexftp_connect_src() USB -22
failed: connect
error on connect(): Device not configured
Still trying to connect
obexftp_connect_src()
Connecting...OBEX_FindInterfaces():
OBEX_FreeInterfaces():
usb_set_debug: Setting debugging level to 5 (on)

bug in mini_sendmail

2008-07-12 Thread Jérôme Desquilbet

mini_sendmail-chroot-1.3.6p0 static mini_sendmail for chrooted apache

has a problem: it doesn't handle well To: adresses with names, like
Firstname Lastname [EMAIL PROTECTED]

For example, the following test works:

mini_sendmail [EMAIL PROTECTED] -t -v
To: [EMAIL PROTECTED]
Subject: test
^D

but this one doesn't:

bin/mini_sendmail [EMAIL PROTECTED] -t -v
To: JD [EMAIL PROTECTED]
Subject: test
^D

This bug has been already fixed in some places, but not the original 
http://www.acme.com/software/mini_sendmail/


For a fix, see for example:
https://dev.openwrt.org/cgi-bin/trac.fcgi/browser/packages/net/mini_sendmail/patches/200-fullname.patch?rev=8530

Thank you,
  Jérôme.