Re: [update] dunst-1.3.1
if (settings.startup_notification) { notification *n = notification_create(); Index: patches/patch-src_menu_c === RCS file: /cvs/ports/x11/dunst/patches/patch-src_menu_c,v retrieving revision 1.1 diff -u -p -r1.1 patch-src_menu_c --- patches/patch-src_menu_c31 Aug 2017 20:57:00 - 1.1 +++ patches/patch-src_menu_c9 Feb 2018 16:54:29 - @@ -11,7 +11,7 @@ Index: src/menu.c - "\\b(https?://|ftps?://|news://|mailto:|file://|www\\.)" -"[-[:alnum:]_\\@;/?:&=%$.+!*\x27,~#]*" - "(\\([-[:alnum:]_\\@;/?:&=%$.+!*\x27,~#]*\\)|[-[:alnum:]_\\@;/?:&=%$+*~])+"; -+ char *regex = "[[:<:]](https?://|ftps?://|news://|mailto:|file://|www\\.)[0-9a-zA-Z_/.@]+[a-zA-Z/]"; ++char *regex = "[[:<:]](https?://|ftps?://|news://|mailto:|file://|www\\.)[0-9a-zA-Z_/.@]+[a-zA-Z/]"; int ret = regcomp(, regex, REG_EXTENDED | REG_ICASE); if (ret != 0) { fputs("failed to compile regex", stderr); Index: patches/patch-src_notification_c === RCS file: patches/patch-src_notification_c diff -N patches/patch-src_notification_c --- patches/patch-src_notification_c 31 Aug 2017 20:57:00 - 1.1 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,13 +0,0 @@ -$OpenBSD: patch-src_notification_c,v 1.1 2017/08/31 20:57:00 sthen Exp $ - -Index: src/notification.c src/notification.c.orig -+++ src/notification.c -@@ -5,6 +5,7 @@ - - #include - #include -+#include - #include - #include - #include Index: pkg/PLIST === RCS file: /cvs/ports/x11/dunst/pkg/PLIST,v retrieving revision 1.2 diff -u -p -r1.2 PLIST --- pkg/PLIST 31 Aug 2017 20:57:01 - 1.2 +++ pkg/PLIST 9 Feb 2018 16:54:29 - @@ -1,8 +1,5 @@ @comment $OpenBSD: PLIST,v 1.2 2017/08/31 20:57:01 sthen Exp $ @bin bin/dunst -@comment lib/systemd/ -@comment lib/systemd/user/ -@comment lib/systemd/user/dunst.service @man man/man1/dunst.1 share/dbus-1/services/org.knopwob.dunst.service share/examples/dunst/ Anyone? I'd like to commit this update. Someone raised concerns about the new `prot_exec' promise: This can probably be improved with further work but right now I think it's more important to have a working port; afterall having it pledged is still better than no pledge at all. Sorry for the late reply. I am the one who raised concerns about the `prot_exec' promise. I confirm that with or without icon configuration, I do not have any issues anymore. Thanks & Regards, Thierry
Re: [FIX] x11/dunst - pledge promises
Hi Timo, on 17 Dec 17 at 03:14:53 PM +, Timo Myyrä <timo.my...@bittivirhe.fi> wrote: Hmm, It indeed seems that the setting causing this is icon_position in the config file. When its not off, the icons are enabled and the dlopen occurs. What do you think about following patch, it adds prot_exec to pledge promises when icon_position != off. Timo I made a few tests with icon_position={left,right,off} and so far so good. Thank you for your time. Regards, Thierry
Re: PHP: clean Makefile.inc of 5.x specifics
You may wish to add the following to your diff for /cvs/ports/lang/php/Makefile.inc: - remove '--enable-zend-multibyte' (This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0) - rename '--enable-fastcgi' to '--enable-cgi' (As of PHP 5.3.0 this argument no longer exists and is enabled by --enable-cgi instead) (taken from https://secure.php.net/manual/en/configure.about.php ) Le 14-11-2017 19:54, Martijn van Duren a écrit : Hello ports@, As requested by sthen@ I will cut up my big patch into smaller pieces. This is the first part of that undertaking. I will send in 1 at the time since a lot intermingles with Makefile.inc and I don't want stacking patches to cause trouble. If someone objects to a certain patch I'll just drop it till it's the right time to discuss it, so to not keep the things that can move along. OK for the patch below? martijn@ Index: Makefile.inc === RCS file: /cvs/ports/lang/php/Makefile.inc,v retrieving revision 1.97 diff -u -p -r1.97 Makefile.inc --- Makefile.inc14 Nov 2017 11:57:25 - 1.97 +++ Makefile.inc14 Nov 2017 18:02:26 - @@ -71,12 +71,8 @@ CONFIGURE_ARGS+= --enable-shared \ --with-pdo-sqlite \ --enable-sqlite-utf8 \ --with-sqlite3 \ - --program-suffix=-${PV} - -# readline is broken in PHP-5.3 -.if ${PV} != 5.3 -CONFIGURE_ARGS += --with-readline -.endif + --program-suffix=-${PV} \ + --with-readline
Re: [FIX] x11/dunst - pledge promises
On 14 October 2017 at 19:14 GMT, Theo Buehler wrote: On Sat, Oct 14, 2017 at 02:29:41PM -0400, Thierry wrote: Hi, Since revision 1.1 dunst stopped working and produced coredumps related to "syscsall 197 'protexec'". The latter indicated that pledge(2) detected an unauthorized system call not defined in the promises list. Below is a proposed fix which is running fine under OpenBSD 6.2 GENERIC.MP#0 amd64 It pledges too early. I was unable to reproduce your problem, but I ran into another pledge issue with dunst trying to open a socket. I only tested this very briefly, but this patch seems to work for me. Please test this with various setups. Applying your diffs trigger a corddump with the same message, namely: /bsd: dunst(12359): syscall 197 "protexec" Regards, Thierry
[FIX] x11/dunst - pledge promises
Hi, Since revision 1.1 dunst stopped working and produced coredumps related to "syscsall 197 'protexec'". The latter indicated that pledge(2) detected an unauthorized system call not defined in the promises list. Below is a proposed fix which is running fine under OpenBSD 6.2 GENERIC.MP#0 amd64 Regards, Thierry Index: patches/patch-src_dunst_c === RCS file: /cvs/ports/x11/dunst/patches/patch-src_dunst_c,v retrieving revision 1.1 diff -u -p -r1.1 patch-src_dunst_c --- patches/patch-src_dunst_c 31 Aug 2017 20:57:00 - 1.1 +++ patches/patch-src_dunst_c 14 Oct 2017 18:23:57 - @@ -18,7 +18,7 @@ Index: src/dunst.c x_setup(); + -+if (pledge("stdio rpath proc exec", NULL) == -1) ++if (pledge("stdio rpath proc exec prot_exec", NULL) == -1) +err(1, "pledge"); if (settings.startup_notification) {
new x11/i3blocks
All, I've ported i3blocks[1] for OpenBSD and FreeBSD. I had to fork the project in github since they were a lot of changes required to make it happend (kqueue(2) and signal(3) mainly). I've also ported common scripts for OpenBSD and FreeBSD. Feedbacks are always appreciated. Regards, Thierry [1] https://github.com/tghelew/i3blocks/tree/1.5 i3blocks.tar.gz Description: i3blocks
Re: Update: lang/php
Updated version below. The original diff included a typo ('--with-readline' was not correctly appended to the preceeding CONFIGURE_ARGS). Thanks to Markus Lude for the feedback. Index: Makefile.inc === RCS file: /cvs/ports/lang/php/Makefile.inc,v retrieving revision 1.64 diff -u -p -r1.64 Makefile.inc --- Makefile.inc3 Apr 2015 12:21:20 - 1.64 +++ Makefile.inc16 Jun 2015 08:10:23 - @@ -48,9 +48,6 @@ MODULES_SUBDIR= lib/php-${PV}/modules MODULES_DIR= ${LOCALBASE}/${MODULES_SUBDIR} FLAVORS= ap2 -.if ${PV} == 5.3 -FLAVORS+= no_suhosin -.endif FLAVOR?= PATCHORIG= .orig.port @@ -76,12 +73,8 @@ CONFIGURE_ARGS+= --enable-shared \ --with-pdo-sqlite \ --enable-sqlite-utf8 \ --with-sqlite3 \ - --program-suffix=-${PV} - -# readline is broken in PHP-5.3 -.if ${PV} != 5.3 -CONFIGURE_ARGS += --with-readline -.endif + --program-suffix=-${PV} \ + --with-readline .if ${FLAVOR:Map2} CONFIGURE_ARGS+= --with-apxs2=${LOCALBASE}/sbin/apxs2 @@ -112,8 +105,7 @@ CONFIGURE_ARGS+=--with-openssl \ --enable-sysvshm \ --enable-mbstring \ --enable-exif \ - --enable-zend-multibyte \ - --enable-fastcgi + --enable-cgi TEST_TARGET= test TEST_FLAGS=NO_INTERACTION=1 On 15-06-2015 20:09, Thierry M wrote : A few update proposals to Makefile.inc, now that php 5.3 has been unhooked. In particular, the following 2 configure option changes are from http://php.net/manual/en/configure.about.php : - remove '--enable-zend-multibyte' (This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0) - rename '--enable-fastcgi' to '--enable-cgi' (As of PHP 5.3.0 this argument no longer exists and is enabled by --enable-cgi instead) ...
Update: lang/php
A few update proposals to Makefile.inc, now that php 5.3 has been unhooked. In particular, the following 2 configure option changes are from http://php.net/manual/en/configure.about.php : - remove '--enable-zend-multibyte' (This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0) - rename '--enable-fastcgi' to '--enable-cgi' (As of PHP 5.3.0 this argument no longer exists and is enabled by --enable-cgi instead) Index: Makefile.inc === RCS file: /cvs/ports/lang/php/Makefile.inc,v retrieving revision 1.64 diff -u -p -r1.64 Makefile.inc --- Makefile.inc3 Apr 2015 12:21:20 - 1.64 +++ Makefile.inc15 Jun 2015 17:13:46 - @@ -48,9 +48,6 @@ MODULES_SUBDIR= lib/php-${PV}/modules MODULES_DIR= ${LOCALBASE}/${MODULES_SUBDIR} FLAVORS= ap2 -.if ${PV} == 5.3 -FLAVORS+= no_suhosin -.endif FLAVOR?= PATCHORIG= .orig.port @@ -77,11 +74,7 @@ CONFIGURE_ARGS+= --enable-shared \ --enable-sqlite-utf8 \ --with-sqlite3 \ --program-suffix=-${PV} - -# readline is broken in PHP-5.3 -.if ${PV} != 5.3 -CONFIGURE_ARGS += --with-readline -.endif + --with-readline .if ${FLAVOR:Map2} CONFIGURE_ARGS+= --with-apxs2=${LOCALBASE}/sbin/apxs2 @@ -112,8 +105,7 @@ CONFIGURE_ARGS+=--with-openssl \ --enable-sysvshm \ --enable-mbstring \ --enable-exif \ - --enable-zend-multibyte \ - --enable-fastcgi + --enable-cgi TEST_TARGET= test TEST_FLAGS=NO_INTERACTION=1
Re: tendra
On 2010-04-09 14:37, Anil Madhavapeddy wrote: On 9 Apr 2010, at 13:34, Jasper Lievisse Adriaanse wrote: On Fri, Apr 09, 2010 at 02:22:26AM -0400, Ted Unangst wrote: time to die? seems fine to me. anil, thierry? yes, this port is past its time. -anil Yep, no news from them for a long time, sadly.
Information sp�ciale pour vos appels d'offres.
Bonjour , Vous êtes impliqué dans des réponses à appels doffres, publics ou privés? Quelques lignes qui peuvent vous faire gagner beaucoup Vidéo, 7 mn pour quelques astuces : http://www.salondesentrepreneurs.com/thierry-craye-1098.html (Interview TV au salon des entrepreneurs 2008) Livre, le seul en France qui aide à maximiser vos chances de gagner vos réponses : http://www.optivente.com/index.php?page=presse Testez votre approche A.O. en 5 minutes : http://www.optivente.com/index.php?page=quizappelsoffres Formation en 1 ou 2 jours, les dates prochaines : http://www.optivente.com/mediacg/inscription_formation_appels_offres.pdf Diagnostic, pour challenger vos outils actuels et obtenir les recommandations principales sur vos outils à bâtir: http://www.optivente.com/index.php?page=ao_diagnostic Exemple doutils pour gagner plus de réponses: http://www.optivente.com/index.php?page=ao_outils Des aides financières pour de la formation du conseil ? http://www.optivente.com/index.php?page=lesfinancements Nhésitez pas à nous contacter pour toute aide, en particulier si votre contexte est complexe. Quoi quil en soit bonne continuation dans vos activités de vente. Cordialement Thierry CRAYE Gérant Optivente: Conseil et formation en développement commercial. [EMAIL PROTECTED] 01 46 89 07 32 NB : Vous recevez ce mail, car sauf erreur de notre part vous êtes impliqué dans des activités commerciales. Si ce mail ne vous concerne pas, veuillez nous excuser. Si vous ne souhaitez plus recevoir de linformation sur les outils daides à la vente : [EMAIL PROTECTED]
Port of Kepler project luaexpat binding
Hi There, I created a port for the small expat binding to the lua programming language from the kepler project (www.keplerproject.org/luaexpat) I would like to know if I can submit it to ports and if so how to progress further. Cheers Thierry