CVS: cvs.openbsd.org: ports

2014-09-08 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2014/09/08 00:51:48

Added files:
net/cadaver/patches: patch-configure 

Log message:
Recognize neon 0.30.0.



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2014/09/08 01:01:14

Added files:
multimedia/gstreamer-0.10/plugins-bad/patches: 
   patch-configure_ac 

Log message:
Recognize 0.30.0.



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2014/09/08 01:01:58

Modified files:
net/neon   : Makefile distinfo 
net/neon/pkg   : PLIST 
Removed files:
net/neon/patches: patch-configure patch-src_ne_openssl_c 
  patch-src_ne_socket_c 
net/neon/pkg   : PFRAG.shared 

Log message:
Update to neon-0.30.0.



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2014/09/08 01:33:58

Modified files:
audio/xmcd/patches: patch-install_sh 

Log message:
tell the root check to fuck off



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2014/09/08 01:35:31

Modified files:
devel/libgtop2 : Makefile 
Added files:
devel/libgtop2/patches: patch-sysdeps_openbsd_glibtop_machine_h 

Log message:
unbreak with upcoming dkstat.h removal



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2014/09/08 01:40:29

Modified files:
devel/libgtop2/patches: patch-sysdeps_openbsd_cpu_c 
patch-sysdeps_openbsd_glibtop_machine_h 
patch-sysdeps_openbsd_open_c 

Log message:
these patches were committed upstream



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2014/09/08 01:44:39

Modified files:
devel/codeblocks: Makefile 

Log message:
use xargs -r because in FAKE_AS_ROOT=No mode, rights will get fixed beforehand



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2014/09/08 01:56:37

Modified files:
sysutils/salt  : Makefile 

Log message:
textproc/py-yaml and www/py-jinja2 are needed to properly compute the
egg-version because it uses the Salt module during build.
This should finally unbreak packaging.



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2014/09/08 02:06:34

Modified files:
sysutils/virt-manager: Makefile distinfo 
sysutils/virt-manager/patches: patch-setup_py 
   patch-virtcli_cliconfig_py 
sysutils/virt-manager/pkg: PLIST 
Removed files:
sysutils/virt-manager/patches: patch-virtManager_addhardware_py 
   patch-virtManager_create_py 
   patch-virtManager_createinterface_py 
   patch-virtManager_details_py 
   patch-virtManager_fsdetails_py 
   patch-virtManager_gfxdetails_py 
   patch-virtManager_manager_py 
   patch-virtManager_migrate_py 
   patch-virtManager_netlist_py 
   patch-virtManager_storagebrowse_py 
   patch-virtManager_uiutil_py 

Log message:
update to virt-manager-1.1.0



CVS: cvs.openbsd.org: ports

2014-09-08 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2014/09/08 02:23:36

Modified files:
devel/hs-MissingH: Makefile distinfo 

Log message:
Update to MissingH-1.2.1.0



CVS: cvs.openbsd.org: ports

2014-09-08 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2014/09/08 02:24:17

Modified files:
textproc/hs-HaXml: Makefile distinfo 

Log message:
Update to HaXml-1.24.1



CVS: cvs.openbsd.org: ports

2014-09-08 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2014/09/08 02:28:23

Modified files:
security/wpa_supplicant: Makefile 
Added files:
security/wpa_supplicant/patches: patch-wpa_supplicant_main_c 

Log message:
Zap Linuxisms from usage()



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2014/09/08 03:42:08

Modified files:
mail/evolution-ews: Makefile distinfo 

Log message:
Update to evolution-ews-3.12.6.



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2014/09/08 03:41:48

Modified files:
mail/evolution : Makefile distinfo 

Log message:
Update to evolution-3.12.6.



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2014/09/08 03:41:31

Modified files:
databases/evolution-data-server: Makefile distinfo 

Log message:
Update to evolution-data-server-3.12.6.



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Juan Francisco Cantero Hurtado
CVSROOT:/cvs
Module name:ports
Changes by: juan...@cvs.openbsd.org 2014/09/08 04:40:12

Modified files:
fonts/fira-fonts: Makefile distinfo 
fonts/fira-fonts/pkg: PLIST 

Log message:
Update to Fira 3.111



CVS: cvs.openbsd.org: ports

2014-09-08 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2014/09/08 05:23:37

Modified files:
databases/hs-HDBC: Makefile distinfo 

Log message:
Update to HDBC-2.4.0.0



CVS: cvs.openbsd.org: ports

2014-09-08 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2014/09/08 05:24:42

Modified files:
databases/hs-HDBC-mysql: Makefile 
databases/hs-HDBC-sqlite3: Makefile 
net/hpodder: Makefile 

Log message:
Bump following hs-HDBC's update



CVS: cvs.openbsd.org: ports

2014-09-08 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2014/09/08 05:26:09

Modified files:
databases/hs-HDBC-postgresql: Makefile distinfo 

Log message:
Update to HDBC-postgresql-2.3.2.2

Take maintainer, as per jasper's request.



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Marc Espie
CVSROOT:/cvs
Module name:ports
Changes by: es...@cvs.openbsd.org   2014/09/08 06:21:42

Modified files:
x11/gnustep/make: Makefile 
Added files:
x11/gnustep/make/patches: patch-Master_rules_make 

Log message:
remove the check for writing to /, as it breaks two ports in FAKE_AS_ROOT=No



CVS: cvs.openbsd.org: ports

2014-09-08 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2014/09/08 06:34:44

Modified files:
audio/hs-libmpd: Makefile distinfo 
x11/xmobar : Makefile 

Log message:
Update to hs-libmpd-0.8.0.5

Take maintainership from jasper



CVS: cvs.openbsd.org: ports

2014-09-08 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2014/09/08 06:41:54

Modified files:
devel/hs-convertible: Makefile distinfo 

Log message:
Update to convertible-1.1.0.0 (forgotten in my previous round)



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2014/09/08 09:43:04

Modified files:
devel/yaml-cpp/patches: patch-CMakeLists_txt 

Log message:
regen, no pkg change



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2014/09/08 10:12:11

Modified files:
comms/conserver: Makefile distinfo 
comms/conserver/patches: patch-conserver_Makefile_in 
 patch-conserver_cf_Makefile_in 
 patch-conserver_consent_c 
 patch-conserver_cutil_c 
 patch-conserver_group_c 
 patch-console_console_c 
comms/conserver/pkg: README 

Log message:
update to conserver 8.1.20, add more notes for upgrading users on how to
unbreak things following the uid change



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2014/09/08 11:02:42

Modified files:
devel/yaml-cpp : Makefile 
devel/yaml-cpp/pkg: PLIST 
Removed files:
devel/yaml-cpp/pkg: PFRAG.shared 

Log message:
yaml-cpp tweaks: add build dep on boost (yaml-cpp headers require it -
found during a failing opencoorio build), merge PFRAG.shared into PLIST.



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2014/09/08 11:04:51

Modified files:
devel/hs-atom  : Makefile 
devel/hs-base64-bytestring: Makefile 
devel/hs-blaze-builder: Makefile 
devel/hs-data-default: Makefile 
devel/hs-enumerator: Makefile 
devel/hs-hlint : Makefile 
devel/hs-largeword: Makefile 
devel/hs-monads-tf: Makefile 
devel/hs-tagged: Makefile 
devel/hs-type-level: Makefile 
security/hs-asn1-data: Makefile 
security/hs-certificate: Makefile 
security/hs-crypto-api: Makefile 
security/hs-cryptocipher: Makefile 
security/hs-tls: Makefile 
textproc/hs-attoparsec-enumerator: Makefile 
textproc/gonzui: Makefile 
audio/p5-cddb  : Makefile 
audio/p5-Audio-MPD: Makefile 
audio/p5-Audio-MPD-Common: Makefile 
devel/p5-POE   : Makefile 
devel/stm32loader: Makefile 
graphics/gfract: Makefile 
net/p5-POE-Component-IRC: Makefile 
net/p5-POE-Filter-IRCD: Makefile 
net/p5-Nmap-Scanner: Makefile 
www/p5-CGI-XMLApplication: Makefile 

Log message:
drop maintainership of ports i haven't used in a long time and have no use for 
anymore



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2014/09/08 11:44:18

Modified files:
www/mhonarc: Makefile distinfo 
Removed files:
www/mhonarc/patches: patch-lib_mhamain_pl patch-lib_readmail_pl 

Log message:
Maintainer update to MHonArc-2.6.19.



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Jeremie Courreges-Anglas
CVSROOT:/cvs
Module name:ports
Changes by: j...@cvs.openbsd.org2014/09/08 11:51:09

Modified files:
databases/tinycdb: Makefile distinfo 
databases/tinycdb/patches: patch-Makefile patch-tests_sh 
databases/tinycdb/pkg: PLIST 
Removed files:
databases/tinycdb/pkg: PFRAG.shared 

Log message:
Maintainer update to tinycdb-0.78.
- remove most of the makefile patching
- respect DEBUG=-g
- merge PFRAG.shared
Proofreading by sthen@.



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2014/09/08 12:35:20

Modified files:
net/p5-Net-INET6Glue: Makefile distinfo 

Log message:
- update p5-Net-INET6Glue to 0.603
- depend on p5-IO-Socket-IP instead of p5-IO-Socket-INET6



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2014/09/08 12:54:30

Modified files:
archivers/unrar: Makefile distinfo 
archivers/unrar/patches: patch-makefile patch-os_hpp 
 patch-rijndael_cpp patch-rijndael_hpp 
Removed files:
archivers/unrar/patches: patch-suballoc_cpp 

Log message:
update to 5.1.6; specifically tested on sparc64



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2014/09/08 13:52:22

Modified files:
infrastructure/templates: network.conf.template 

Log message:
remove a defunct site from and add a few more to MASTER_SITES_GNOME



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2014/09/08 14:01:03

Log message:
Import dwb 2014.03.07.

dwb is a lightweight web browser based on the webkit web browser engine and
the gtk toolkit. dwb is highly customizable and can be easily configured
through a web interface.
It is mostly keyboard driven, inspired by firefox's vimperator plugin.

From maintainer Henrik Friedrichsen with tweaks from me and sthen@, ok 
sthen@

Status:

Vendor Tag: hfriedrichsen
Release Tags:   landry_20140908

N ports/www/dwb/distinfo
N ports/www/dwb/Makefile
N ports/www/dwb/pkg/PLIST
N ports/www/dwb/pkg/DESCR
N ports/www/dwb/patches/patch-config_mk
N ports/www/dwb/patches/patch-dwbremote_Makefile
N ports/www/dwb/patches/patch-src_session_c
N ports/www/dwb/patches/patch-dwbem_Makefile
N ports/www/dwb/patches/patch-exar_Makefile
N ports/www/dwb/patches/patch-src_util_Makefile
N ports/www/dwb/patches/patch-src_Makefile
N ports/www/dwb/patches/patch-src_config_mk

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2014/09/08 14:01:31

Modified files:
www: Makefile 

Log message:
+dwb



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Robert Peichaer
CVSROOT:/cvs
Module name:ports
Changes by: r...@cvs.openbsd.org2014/09/08 14:08:12

Modified files:
www/p5-CGI-Lite: Makefile distinfo 

Log message:
Update p5-CGI-Lite to 2.04.

OK Abel Abraham Camarillo Ojeda (MAINTAINER) and ajacoutot@



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Robert Peichaer
CVSROOT:/cvs
Module name:ports
Changes by: r...@cvs.openbsd.org2014/09/08 14:18:34

Modified files:
textproc/markdown: Makefile distinfo 
textproc/markdown/pkg: PLIST 

Log message:
Update markdown to 2.4.1

OK ajacoutot@



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Brian Callahan
CVSROOT:/cvs
Module name:ports
Changes by: bcal...@cvs.openbsd.org 2014/09/08 14:20:52

Modified files:
graphics/birdfont: Makefile distinfo 
graphics/birdfont/pkg: PLIST 

Log message:
Update to birdfont 1.1



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:ports
Changes by: bl...@cvs.openbsd.org   2014/09/08 14:54:05

Modified files:
security/p5-IO-Socket-SSL: Makefile distinfo 

Log message:
update p5-IO-Socket-SSL 1.998



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2014/09/08 15:12:57

Modified files:
www/dwb: Makefile 

Log message:
LOCALBASE-TRUEPREFIX from aja



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2014/09/08 15:21:05

Modified files:
infrastructure/templates: network.conf.template 

Log message:
unbreak the ports tree; frantisek holop



CVS: cvs.openbsd.org: ports

2014-09-08 Thread James Turner
CVSROOT:/cvs
Module name:ports
Changes by: jtur...@cvs.openbsd.org 2014/09/08 16:28:08

Modified files:
security/spiped: Makefile distinfo 

Log message:
Update spiped to 1.4.1



CVS: cvs.openbsd.org: ports

2014-09-08 Thread James Turner
CVSROOT:/cvs
Module name:ports
Changes by: jtur...@cvs.openbsd.org 2014/09/08 16:29:04

Modified files:
mail/pop3d : Makefile distinfo 

Log message:
Update pop3d to 1.0.1



CVS: cvs.openbsd.org: ports

2014-09-08 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2014/09/08 16:36:22

Modified files:
mail/mutt  : Makefile 

Log message:
build dep on www/lynx, problem reported by frantisek holop



CVS: cvs.openbsd.org: ports

2014-09-08 Thread James Turner
CVSROOT:/cvs
Module name:ports
Changes by: jtur...@cvs.openbsd.org 2014/09/08 16:42:03

Log message:
Import ports/sysytils/login_duo. reads good to me landry@

login_duo provides two-factor authentication for Unix systems. When
integrated with sshd(8) a challenge is sent to the users cell phone
before access is granted.

Status:

Vendor Tag: jturner
Release Tags:   jturner_20140908

N ports/sysutils/login_duo/Makefile
N ports/sysutils/login_duo/distinfo
N ports/sysutils/login_duo/pkg/DESCR
N ports/sysutils/login_duo/pkg/PLIST
N ports/sysutils/login_duo/pkg/README
N ports/sysutils/login_duo/patches/patch-login_duo_login_duo_8

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2014-09-08 Thread James Turner
CVSROOT:/cvs
Module name:ports
Changes by: jtur...@cvs.openbsd.org 2014/09/08 16:43:08

Modified files:
sysutils   : Makefile 

Log message:
+login_duo



Re: Hi new openbsd user stumped with error

2014-09-08 Thread Stuart Henderson
On 2014/09/08 10:30, Jason Tubnor wrote:
 On a side note, you aren't using FTP by any chance?

ftp should work too with most mirrors, though it's usually noticably
slower with pkg_add.



Re: mytop / DBD::MySQL use-after-free [Re: Attempt #2 at switching to MariaDB]

2014-09-08 Thread Giovanni Bechis
On 09/05/14 14:52, Giovanni Bechis wrote:
 On 08/22/14 23:46, Stuart Henderson wrote:
 On 2014/08/22 22:06, Stuart Henderson wrote:
 On 2014/08/19 17:15, Brad Smith wrote:
 Here is a diff to make attempt #2 at switching to MariaDB.

 Going through the various Makefile's I noticed bmf had a typo
 with its WANTLIB entry for MySQL.

 It seems that files moved between -server (on mysql) and -client (on 
 mariadb),

 /usr/local/bin/msql2mysql (mysql-server-5.1.73p0v0 and 
 mariadb-client-10.0.13)
 /usr/local/bin/mysql_find_rows (mysql-server-5.1.73p0v0 and 
 mariadb-client-10.0.13)
 /usr/local/bin/mysql_waitpid (mysql-server-5.1.73p0v0 and 
 mariadb-client-10.0.13)
 /usr/local/bin/mysqlaccess (mysql-server-5.1.73p0v0 and 
 mariadb-client-10.0.13)
 /usr/local/man/cat1/msql2mysql.0 (mysql-server-5.1.73p0v0 and 
 mariadb-client-10.0.13)
 /usr/local/man/cat1/mysql_find_rows.0 (mysql-server-5.1.73p0v0 and 
 mariadb-client-10.0.13)
 /usr/local/man/cat1/mysql_waitpid.0 (mysql-server-5.1.73p0v0 and 
 mariadb-client-10.0.13)
 /usr/local/man/cat1/mysqlaccess.0 (mysql-server-5.1.73p0v0 and 
 mariadb-client-10.0.13)

 untested but perhaps adding @conflict mysql-server-* to 
 mariadb/pkg/PLIST-main
 will let this update automatically..


 Not specific to mariadb (similar things happen with the standalone mytop)
 but noticed this while testing:

 This diff backported from upstream github repo 
 (https://github.com/CaptTofu/DBD-mysql) seems to fix it.
 ok ? Comments ?
 
upstream github repo is stuck at 4.020, I am trying to work on a better patch.
I do not know if it is ok to commit that in the meantime.
 Cheers
  Giovanni



Re: NEW: editors/le

2014-09-08 Thread Nicholas Marriott
Hmm yes I need to check it is definitely right for screen then I'll commit it

 Original message 
From: Brian Callahan bcal...@devio.us 
Date: 07/09/2014  21:23  (GMT+00:00) 
To: Nicholas Marriott nicholas.marri...@gmail.com,Ivan Rambius Ivanov 
rambiusparkisan...@gmail.com 
Cc: Vadim Zhukov persg...@gmail.com,ports@openbsd.org 
Subject: Re: NEW: editors/le 
 

On 08/26/14 17:22, Brian Callahan wrote:

 On 08/25/14 04:41, Nicholas Marriott wrote:
 It looks like le is a rare application that believes kbs from terminfo
 which in TERM=screen is ^H but in tmux (and in screen) the actual key
 defaults to ^?.

 We could probably fix our terminfo entry (it looks like some Linuxes
 have done this):

 This works for me. Not sure if an ok from me on this is meaningful, 
 though.


Any consensus or movement on this?

 ~Brian


 Index: share/termtypes//termtypes.master
 ===
 RCS file: /cvs/src/share/termtypes/termtypes.master,v
 retrieving revision 1.49
 diff -u -p -r1.49 termtypes.master
 --- share/termtypes//termtypes.master    7 Apr 2014 09:58:25 -    
 1.49
 +++ share/termtypes//termtypes.master    25 Aug 2014 08:35:31 -
 @@ -5734,7 +5734,7 @@ screen|VT 100/ANSI X3.64 virtual termina
   cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
   dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0,
   flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@,
 -    il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcbt=\E[Z,
 +    il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=\177, kcbt=\E[Z,
   kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
   kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~,
   kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS,



 On Sat, Aug 23, 2014 at 02:31:20AM -0400, Ivan Rambius Ivanov wrote:
 Hello,

 On Fri, Aug 22, 2014 at 11:15 AM, Brian Callahan bcal...@devio.us 
 wrote:
 On 08/22/14 10:25, Vadim Zhukov wrote:
 2014-08-22 18:05 GMT+04:00 Brian Callahan bcal...@devio.us:
 On 08/22/14 10:00, Vadim Zhukov wrote:
 1. For MAINTAINER line, please, get rid of quotes. Ivan Ivanov
 em...@domain.com is enough.
 (Trying to not joke about name. Trying hard, ever)
 I changed the MAINTAINER line.

 2. Backspace key doesn't work for me correctly: in editing 
 mode, it
 acts like Delete key, and in calculator it does nothing.

 Hmm... backspace key works in both editing mode and calculator 
 mode just
 fine (amd64). I don't have a i386 to test (that's what you're using,
 right
 Vadim?)
 Yes. I've did more tests, it looks like the problem arises under tmux
 only (thus adding nicm@ to a conversation). Not sure what should be
 blamed then. Probably worths a note in DESCR or README, though. But I
 don't insist.

 Not sure either, but I was able to reproduce backspace not working 
 in tmux
 on amd64 as well.

 I was able to reproduce the issue about backspace in tmux as well. I
 will contact le's developer about it.


 Regards
 Rambius

 -- 
 Tangra Mega Rock: http://www.radiotangra.com
 le 
 COMMENT =    text editor inspired by Norton Commander
 DISTNAME =    le-1.15.0
 CATEGORIES =    editors

 HOMEPAGE =    http://lav.yar.ru/programs.html
 MAINTAINER =    Ivan Ivanov rambiusparkisan...@gmail.com

 # GPLv3+
 PERMIT_PACKAGE_CDROM =    Yes

 WANTLIB += c m ncursesw stdc++

 MASTER_SITES =    http://lav.yar.ru/download/le/

 MODULES =    converters/libiconv

 CONFIGURE_STYLE =    gnu

 .include bsd.port.mk
 SIZE (le-1.15.0.tar.gz) = 844748
 44 its features: various operations with stream and rectangular 
 blocks,
 search and replace with full regular expressions, text formatting,
 undelete/uninsert, hex editing, tunable key sequences, tunable colors,
 tunable syntax highlighting, mouse support via ncurses. Can use mmap to
 edit very large files or even devices.
 @bin bin/le
 @comment lib/charset.alias
 @man man/man1/le.1
 share/le/
 share/le/colors-black
 share/le/colors-blue
 share/le/colors-defbg
 share/le/colors-green
 share/le/colors-white
 share/le/help
 share/le/keymap-emacs
 share/le/le.hlp
 share/le/mainmenu
 share/le/mainmenu-ru
 share/le/syntax
 share/le/syntax.d/
 share/le/syntax.d/ada
 share/le/syntax.d/as
 share/le/syntax.d/awk
 share/le/syntax.d/c++-comment
 share/le/syntax.d/c-comment
 share/le/syntax.d/c-literal
 share/le/syntax.d/cpp
 share/le/syntax.d/eiffel
 share/le/syntax.d/fvwm2
 share/le/syntax.d/gema
 share/le/syntax.d/golang
 share/le/syntax.d/haskell
 share/le/syntax.d/html
 share/le/syntax.d/java
 share/le/syntax.d/javascript
 share/le/syntax.d/logrotate-conf
 share/le/syntax.d/lout
 share/le/syntax.d/make-file
 share/le/syntax.d/metafont
 share/le/syntax.d/named-conf
 share/le/syntax.d/ocaml
 share/le/syntax.d/pascal
 share/le/syntax.d/perl
 share/le/syntax.d/php
 share/le/syntax.d/python
 share/le/syntax.d/sather
 share/le/syntax.d/shell
 share/le/syntax.d/snmp-mib
 share/le/syntax.d/sql
 share/le/syntax.d/tcl
 share/le/syntax.d/tex
 share/le/syntax.d/texinfo
 

umask issues with FAKE_AS_ROOT=No

2014-09-08 Thread Marc Espie
This is a necessary piece to turn things on.
Basically, the check  makes sure that after the possible SUDO barrier,
the resulting umask is 022, as it should.  Well, if there's no sudo,
the original umask carries over, so let's insist on having umask 022 
beforehand in the actual install cases during the fake stage...

(remember that umask is a shell internal, so this will incur about 0
performance loss)


Index: bsd.port.mk
===
RCS file: /build/data/openbsd/cvs/ports/infrastructure/mk/bsd.port.mk,v
retrieving revision 1.1280
diff -u -p -r1.1280 bsd.port.mk
--- bsd.port.mk 5 Sep 2014 14:45:02 -   1.1280
+++ bsd.port.mk 8 Sep 2014 07:51:43 -
@@ -2819,7 +2819,7 @@ _hook-post-install::
 
 ${_FAKE_COOKIE}: ${_BUILD_COOKIE}
@${ECHO_MSG} ===  Faking installation for ${FULLPKGNAME}${_MASTER}
-   @if [ x`${_FAKESUDO} /bin/sh -c umask` != x022 ]; then \
+   @if [ x`umask 022;${_FAKESUDO} /bin/sh -c umask` != x022 ]; then \
echo 2 Error: your umask is \`${_FAKESUDO} /bin/sh -c 
umask`\.; \
exit 1; \
fi
@@ -2851,7 +2851,7 @@ ${_FAKE_COOKIE}: ${_BUILD_COOKIE}
@${_SUDOMAKESYS} do-install ${FAKE_SETUP}
 .else
 # What FAKE normally does:
-   @cd ${WRKBUILD}  exec ${_FAKESUDO} ${_SYSTRACE_CMD} \
+   @cd ${WRKBUILD}  umask 022  exec ${_FAKESUDO} ${_SYSTRACE_CMD} \
${SETENV} ${MAKE_ENV} ${FAKE_SETUP} \
${MAKE_PROGRAM} ${ALL_FAKE_FLAGS} -f ${MAKE_FILE} ${FAKE_TARGET}
 # End of FAKE.
Index: pkgpath.mk
===
RCS file: /build/data/openbsd/cvs/ports/infrastructure/mk/pkgpath.mk,v
retrieving revision 1.57
diff -u -p -r1.57 pkgpath.mk
--- pkgpath.mk  10 Aug 2014 08:59:48 -  1.57
+++ pkgpath.mk  8 Sep 2014 07:51:43 -
@@ -123,7 +123,7 @@ _cache_fragment = \
 _MAKE = cd ${.CURDIR}  PKGPATH=${PKGPATH} exec ${MAKE}
 _SUDOMAKE = cd ${.CURDIR}  PKGPATH=${PKGPATH} exec ${SUDO} ${MAKE}
 _MAKESYS = cd ${.CURDIR}  PKGPATH=${PKGPATH} exec ${_SYSTRACE_CMD} ${MAKE}
-_SUDOMAKESYS = cd ${.CURDIR}  PKGPATH=${PKGPATH} exec ${_FAKESUDO} 
${_SYSTRACE_CMD} ${MAKE}
+_SUDOMAKESYS = cd ${.CURDIR}  umask 022  PKGPATH=${PKGPATH} exec 
${_FAKESUDO} ${_SYSTRACE_CMD} ${MAKE}
 
 REPORT_PROBLEM_LOGFILE ?=
 .if !empty(REPORT_PROBLEM_LOGFILE)



Re: NEW: www/dwb

2014-09-08 Thread Landry Breuil
On Wed, Sep 03, 2014 at 11:07:35PM +0200, Henrik Friedrichsen wrote:
 Hey!
 
 dwb is a lightweight web browser based on the webkit web browser engine and
 the gtk toolkit. dwb is highly customizable and can be easily configured
 through a web interface. It intends to be mostly keyboard driven, inspired
 by firefox's vimperator plugin.
 
 Following up on the work of Dmitrij Czarkoff, who submitted a port for this
 on May 31st 2013,
 here is another attempt at porting dwb.
 
 Back then someone replied that the port crashed (which it did for me, as
 well), but with a patch in
 session.c this should be fixed.

Can you make sure this is properly reported/pushed upstream ?

As for the port itself, you cant hardcode /usr/X11R6 in patches, you
need to use ${X11BASE} and pass it via MAKE_ENV or MAKE_FLAGS.. DESCR
could use a bit of reformatting to properly fit the last line.
Other than that it looks good to me!

Landry



Re: UPDATE: www/netsurf

2014-09-08 Thread Landry Breuil
On Thu, Sep 04, 2014 at 08:36:12AM -0400, Brian Callahan wrote:
 The preferences menuhas alot of things like
 preferencesMainTabtitle
 
 I'm guessing that's because of the removal of patch-gtk_res_options_gtk2_ui
 
 I don't think it's a terribly bad thing though since the information isn't
 indiscernible.

yeah, this is a bit annoying and iirc we already looked into it without
a proper solution besides patching ... will give it a spin on powerpc.

landry



Re: UPDATE: www/netsurf

2014-09-08 Thread Anthony J. Bentley
Landry Breuil writes:
 On Thu, Sep 04, 2014 at 08:36:12AM -0400, Brian Callahan wrote:
  The preferences menuhas alot of things like
  preferencesMainTabtitle
  
  I'm guessing that's because of the removal of patch-gtk_res_options_gtk2_ui
  
  I don't think it's a terribly bad thing though since the information isn't
  indiscernible.
 
 yeah, this is a bit annoying and iirc we already looked into it without
 a proper solution besides patching ... will give it a spin on powerpc.

$ wc -l /usr/ports/www/netsurf/browser/patches/patch-gtk_res_options_gtk2_ui
1078 /usr/ports/www/netsurf/browser/patches/patch-gtk_res_options_gtk2_ui

Sadly that's not really maintainable. And the patch doesn't apply with
this release either.

http://bugs.netsurf-browser.org/mantis/view.php?id=2045

2014-09-06 04:48 kyllikki bentley`: #2045 is relatively simple. The gtk
library uses symbols from gettext specificaly gettext(), dgettext(),
dcgettext() when NetSurf links to GTK we provide our own implementation
in gtk/gettext.[ch] at no point do we ever ask for linkikage of the
gettext library

Antoine says our linking of gettext with GTK is correct, so I guess we
just have to tell the linker to prefer NetSurf's gettext symbols instead?
What's the way to do that?

-- 
Anthony J. Bentley



Re: REMOVE: py-pylons

2014-09-08 Thread Jasper Lievisse Adriaanse
On Fri, Sep 05, 2014 at 03:48:19PM +0200, frantisek holop wrote:
 i propose to remove py-pylons.
 the projects has transformed into pyramid
 and the port that is in the tree
 is in web development terms a century old.

I'm fine that, but please adjust the audio/fookebox for pyramid, or propose a
replacement for fookebox.

 -F
 -- 
 honesty: fear of being caught.
 



Re: UPDATE: www/netsurf

2014-09-08 Thread Stuart Henderson
On 2014/09/08 02:34, Anthony J. Bentley wrote:
 Landry Breuil writes:
  On Thu, Sep 04, 2014 at 08:36:12AM -0400, Brian Callahan wrote:
   The preferences menuhas alot of things like
   preferencesMainTabtitle
   
   I'm guessing that's because of the removal of 
   patch-gtk_res_options_gtk2_ui
   
   I don't think it's a terribly bad thing though since the information isn't
   indiscernible.
  
  yeah, this is a bit annoying and iirc we already looked into it without
  a proper solution besides patching ... will give it a spin on powerpc.
 
 $ wc -l /usr/ports/www/netsurf/browser/patches/patch-gtk_res_options_gtk2_ui
 1078 /usr/ports/www/netsurf/browser/patches/patch-gtk_res_options_gtk2_ui
 
 Sadly that's not really maintainable. And the patch doesn't apply with
 this release either.
 
 http://bugs.netsurf-browser.org/mantis/view.php?id=2045
 
 2014-09-06 04:48 kyllikki bentley`: #2045 is relatively simple. The gtk
 library uses symbols from gettext specificaly gettext(), dgettext(),
 dcgettext() when NetSurf links to GTK we provide our own implementation
 in gtk/gettext.[ch] at no point do we ever ask for linkikage of the
 gettext library
 
 Antoine says our linking of gettext with GTK is correct, so I guess we
 just have to tell the linker to prefer NetSurf's gettext symbols instead?
 What's the way to do that?
 
 -- 
 Anthony J. Bentley
 

So this problem is caused by NetSurf doing internationalisation support
in a different way than is done in most other software. They are trying to
override the *gettext() functions which are used by gtk with their own
version.

On Linux (and AIUI Solaris), gettext / dgettext / dcgettext usually come
from libc where they are weak symbols, and libintl is not used. In this case
they are overridden by the symbols provided by netsurf.

With libintl that we're using, these symbols are not weak so the library
versions take priority over the same-named functions in netsurf, and of
course the library versions work in the normal way rather than the special
way that NetSurf's use.

There are some suggestions for getting around this in
http://stackoverflow.com/questions/617554/override-a-function-call-in-c -
and you may be able to do something with wrapper functions and the --wrap
linker flag, though I think this is going to be fairly messy and quite
likely not something that can go upstream (seems that --wrap is specific
to the GNU linker).

Otherwise I wonder if it's possible to convert the resources/FatMessages
file to a standard .mo and install that, so that the normal gettext
library can use it.



UPDATE games/lgeneral

2014-09-08 Thread Kirill Bychkov
Hi!
This patch updates lgeneral to recent version, adds license marker, removes
maintainer (his mail bounces).
Tested on amd64. Builds and starts on macppc.
OK to commit?

Index: Makefile
===
RCS file: /cvs/ports/games/lgeneral/Makefile,v
retrieving revision 1.15
diff -u -p -u -p -r1.15 Makefile
--- Makefile11 Mar 2013 11:07:39 -  1.15
+++ Makefile8 Sep 2014 10:44:00 -
@@ -2,29 +2,31 @@

 COMMENT=   turn-based strategy engine

-DISTNAME=  lgeneral-0.5.0
-REVISION = 0
+DISTNAME=  lgeneral-1.2.3
 CATEGORIES=games x11

-HOMEPAGE=  http://lgeneral.sourceforge.net/
-
-MAINTAINER=Peter Valchev pvalc...@openbsd.org
+HOMEPAGE=  http://lgames.sourceforge.net/index.php?project=LGeneral

+# GPLv2
 PERMIT_PACKAGE_CDROM=   Yes
-WANTLIB=   X11 Xext c m pthread pthread-stubs usbhid xcb \
-   SDL SDL_mixer
+
+WANTLIB += SDL SDL_mixer c m pthread

 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=lgeneral/}

+MODULES=   devel/gettext
 LIB_DEPENDS=   devel/sdl \
devel/sdl-mixer
+RUN_DEPENDS=   devel/desktop-file-utils

-
-AUTOCONF_VERSION=2.13
+AUTOCONF_VERSION=2.61
 CONFIGURE_STYLE= autoconf
+CONFIGURE_ENV+=LDFLAGS=-L${LOCALBASE}/lib \
+   CPPFLAGS=-I${LOCALBASE}/include

 post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lgeneral
-   ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/lgeneral
+   ${INSTALL_DATA} ${WRKSRC}/README.lgeneral ${PREFIX}/share/doc/lgeneral
+   ${INSTALL_DATA} ${WRKSRC}/README.lgc-pg ${PREFIX}/share/doc/lgeneral

 .include bsd.port.mk
Index: distinfo
===
RCS file: /cvs/ports/games/lgeneral/distinfo,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 distinfo
--- distinfo5 Apr 2007 15:38:11 -   1.3
+++ distinfo8 Sep 2014 10:44:00 -
@@ -1,5 +1,2 @@
-MD5 (lgeneral-0.5.0.tar.gz) = 8pRymZm4BXD1K1Tqohp/7Q==
-RMD160 (lgeneral-0.5.0.tar.gz) = thpmOJ//WEF93wfscYTEy1nDqzQ=
-SHA1 (lgeneral-0.5.0.tar.gz) = PfTlgid/xy/Rq7uXOEVHK2I0JUo=
-SHA256 (lgeneral-0.5.0.tar.gz) = NrvzWw+LzwSjZrj+26zABinRYyxsv6K5TJNF3CJp5FU=
-SIZE (lgeneral-0.5.0.tar.gz) = 580837
+SHA256 (lgeneral-1.2.3.tar.gz) = VdF7sXPJVscFuUvIpjmdUxGz7ILJ8YIal/6exF2g2aE=
+SIZE (lgeneral-1.2.3.tar.gz) = 1630400
Index: patches/patch-Makefile_in
===
RCS file: patches/patch-Makefile_in
diff -N patches/patch-Makefile_in
--- /dev/null   1 Jan 1970 00:00:00 -
+++ patches/patch-Makefile_in   8 Sep 2014 10:44:00 -
@@ -0,0 +1,21 @@
+$OpenBSD$
+--- Makefile.in.orig   Mon Jul 14 15:28:13 2014
 Makefile.inMon Jul 14 15:28:48 2014
+@@ -253,7 +253,7 @@ lgeneral-redit
+
+ desktopdir = $(datadir)/applications
+ desktop_DATA = lgeneral.desktop
+-icondir = $(datadir)/icons
++icondir = $(datadir)/pixmaps
+ icon_DATA = lgeneral48.png
+ AUTOMAKE_OPTIONS = foreign
+ all: config.h
+@@ -730,7 +730,7 @@ uninstall-info: uninstall-info-recursive
+ # the right way to handle it? At least it works... as long as $datadir
+ # does not contain plus signs. :-)
+ lgeneral.desktop:
+-  @sed -e s+Icon=+Icon=$(datadir)/icons/lgeneral48.png+ \
++  @sed -e s+Icon=+Icon=lgeneral48+ \
+lgeneral.desktop.in  lgeneral.desktop
+
+ package-translations:
Index: patches/patch-configure_in
===
RCS file: /cvs/ports/games/lgeneral/patches/patch-configure_in,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-configure_in
--- patches/patch-configure_in  26 May 2002 01:07:57 -  1.2
+++ patches/patch-configure_in  8 Sep 2014 10:44:00 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-configure_in,v 1.2 2002/05/26 01:07:57 brad Exp $
 configure.in.orig  Fri Aug  3 15:45:21 2001
-+++ configure.in   Sat May 25 19:59:07 2002
-@@ -50,6 +50,8 @@ mixer_flag=-lSDL_mixer
+--- configure.in.orig  Fri Apr 20 22:49:25 2012
 configure.in   Sun Jul 13 23:05:17 2014
+@@ -123,6 +123,8 @@ mixer_flag=-lSDL_mixer
  AC_ARG_ENABLE( sound,
  [  --disable-sound Disables sound], sound_flag=; mixer_flag=)

@@ -10,12 +10,3 @@ $OpenBSD: patch-configure_in,v 1.2 2002/
  dnl check if SDL_mixer's installed
  dnl if not: clear sound_flag and mixer_flag
  AC_CHECK_LIB(SDL_mixer, main,
-@@ -60,7 +62,7 @@ AC_SUBST(sound_flag)
- AC_SUBST(mixer_flag)
-
- dnl installation path
--inst_dir=$datadir/games/lgeneral
-+inst_dir=$datadir/lgeneral
- inst_flag=-DSRC_DIR=\\\$inst_dir\\\
-
- AC_ARG_ENABLE( install,
Index: pkg/PLIST
===
RCS file: /cvs/ports/games/lgeneral/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 PLIST
--- pkg/PLIST   15 Sep 2004 00:46:09 -  1.2
+++ pkg/PLIST   8 Sep 2014 10:44:00 -
@@ -1,100 +1,93 @@
 @comment $OpenBSD: PLIST,v 1.2 2004/09/15 00:46:09 espie Exp $
-bin/lgeneral

Re: security/zkt broken after BIND removal

2014-09-08 Thread Jakob Schlyter
On 29 aug 2014, at 14:11, Christian Weisgerber na...@mips.inka.de wrote:

 security/zkt doesn't build any longer after the BIND removal.

please mark as BROKEN for now. Anyone have a BIND 9.10 port in stock?

jakob



Re: security/zkt broken after BIND removal

2014-09-08 Thread Jérémie Courrèges-Anglas
Jakob Schlyter ja...@openbsd.org writes:

 On 29 aug 2014, at 14:11, Christian Weisgerber na...@mips.inka.de wrote:

 security/zkt doesn't build any longer after the BIND removal.

 please mark as BROKEN for now. Anyone have a BIND 9.10 port in stock?

Fixed already.  See net/isc-bind.

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: NEW: www/dwb

2014-09-08 Thread Henrik Friedrichsen
On Mon, Sep 08, 2014 at 10:01:42AM +0200, Landry Breuil wrote:
 Can you make sure this is properly reported/pushed upstream ?
Already is.

 As for the port itself, you cant hardcode /usr/X11R6 in patches, you
 need to use ${X11BASE} and pass it via MAKE_ENV or MAKE_FLAGS.. DESCR
 could use a bit of reformatting to properly fit the last line.
 Other than that it looks good to me!

Done, thanks!

Updated version attached.


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


Re: NEW: www/dwb

2014-09-08 Thread Henrik Friedrichsen

On 2014-09-08 15:52, Henrik Friedrichsen wrote:

Updated version attached.


Now with less *.orig

dwb_rev_clean.tar.gz
Description: GNU Zip compressed data


Re: NEW: www/dwb

2014-09-08 Thread Landry Breuil
On Mon, Sep 08, 2014 at 03:56:11PM +0200, Henrik Friedrichsen wrote:
 On 2014-09-08 15:52, Henrik Friedrichsen wrote:
 Updated version attached.
 
 Now with less *.orig

Oh, and similarly, you cant hardcode usr/local in MAKE_FLAGS for PREFIX
and MANPATH - you need ${LOCALBASE}. With that minor nit fixed (and the
dozens of extra tabs in the makefile removed :), ok for
me to anyone who wants to import it.

Landry



Re: NEW: www/dwb

2014-09-08 Thread Henrik Friedrichsen
On Mon, Sep 08, 2014 at 04:58:44PM +0200, Landry Breuil wrote:
 With that minor nit fixed (and the
 dozens of extra tabs in the makefile removed :), ok for
 me to anyone who wants to import it.

Heh, okay. One more try ;)


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


Re: UPDATE: www/netsurf

2014-09-08 Thread Landry Breuil
On Mon, Sep 08, 2014 at 10:06:44AM +0200, Landry Breuil wrote:
 On Thu, Sep 04, 2014 at 08:36:12AM -0400, Brian Callahan wrote:
  The preferences menuhas alot of things like
  preferencesMainTabtitle
  
  I'm guessing that's because of the removal of patch-gtk_res_options_gtk2_ui
  
  I don't think it's a terribly bad thing though since the information isn't
  indiscernible.
 
 yeah, this is a bit annoying and iirc we already looked into it without
 a proper solution besides patching ... will give it a spin on powerpc.

Works fine on powerpc, okay for me.

Landry



UPDATE: Tcl/Tk 8.5.15 - 8.5.16

2014-09-08 Thread Stuart Cassoff
Index: Makefile
===
RCS file: /cvs/ports/lang/tcl/8.5/Makefile,v
retrieving revision 1.31
diff -u -p -u -p -r1.31 Makefile
--- Makefile11 Jan 2014 12:56:41 -  1.31
+++ Makefile8 Sep 2014 15:33:56 -
@@ -2,10 +2,9 @@

 COMMENT =  Tool Command Language

-DISTNAME = tcl8.5.15
-PKGNAME =  tcl-8.5.15
-REVISION = 2
-SHARED_LIBS =  tcl85 1.5
+DISTNAME = tcl8.5.16
+PKGNAME =  tcl-8.5.16
+SHARED_LIBS =  tcl85 1.6
 CATEGORIES =   lang lang/tcl
 HOMEPAGE = http://www.tcl.tk/
 MAINTAINER =   Stuart Cassoff s...@users.sourceforge.net
@@ -66,8 +65,8 @@ TESTHOME =${WRKDIR}/testhome
 # Use TESTFLAGS to control the Tcl tests
 TESTFLAGS =

-# XXX Until Tcl bug 2911139 is fixed; bug is in test, not in Tcl.
-TESTFLAGS += -skip http-4.14
+# XXX Skip tests that are incompatible with OpenBSD. Tcl bug 2911139.
+TESTFLAGS += -skip 'fCmd-9.4.b http-4.14 socket-14.14'

 pre-test:
mkdir -p ${TESTHOME}
Index: distinfo
===
RCS file: /cvs/ports/lang/tcl/8.5/distinfo,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 distinfo
--- distinfo20 Sep 2013 10:09:08 -  1.13
+++ distinfo8 Sep 2014 15:33:56 -
@@ -1,2 +1,2 @@
-SHA256 (tcl8.5.15-src.tar.gz) = 8k6q5GF5XmsJv1TH6fON7wJYktpV8mAIwWQTz92iiE4=
-SIZE (tcl8.5.15-src.tar.gz) = 4536117
+SHA256 (tcl8.5.16-src.tar.gz) = omy9sEN9BeWgDJk1cHN+cfpsyQhOGRdNcUCXtcuqwbE=
+SIZE (tcl8.5.16-src.tar.gz) = 4545982
Index: patches/patch-unix_Makefile_in
===
RCS file: /cvs/ports/lang/tcl/8.5/patches/patch-unix_Makefile_in,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 patch-unix_Makefile_in
--- patches/patch-unix_Makefile_in  20 Sep 2013 10:09:08 -  1.12
+++ patches/patch-unix_Makefile_in  8 Sep 2014 15:33:56 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-unix_Makefile_in,v 1.12 2013/09/20 10:09:08 stu Exp $
 unix/Makefile.in.orig  Fri Nov  9 10:14:39 2012
-+++ unix/Makefile.in   Wed Nov 14 07:50:42 2012
-@@ -558,6 +558,10 @@ ${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
+--- unix/Makefile.in.orig  Wed Jul 23 09:03:24 2014
 unix/Makefile.in   Sun Aug 17 15:22:06 2014
+@@ -565,6 +565,10 @@ ${STUB_LIB_FILE}: ${STUB_LIB_OBJS}
rm -f $@
@MAKE_STUB_LIB@

@@ -12,15 +12,24 @@ $OpenBSD: patch-unix_Makefile_in,v 1.12
  # Make target which outputs the list of the .o contained in the Tcl lib useful
  # to build a single big shared library containing Tcl and other extensions.
  # Used for the Tcl Plugin.  -- dl
-@@ -719,7 +723,6 @@ install-binaries: binaries
+@@ -726,7 +730,6 @@ install-binaries: binaries
done;
@echo Installing $(LIB_FILE) to $(DLL_INSTALL_DIR)/
@@INSTALL_LIB@
--  @chmod 555 $(DLL_INSTALL_DIR)/$(LIB_FILE)
+-  @chmod 555 $(DLL_INSTALL_DIR)/$(LIB_FILE)
@echo Installing ${TCL_EXE} as 
$(BIN_INSTALL_DIR)/tclsh$(VERSION)@EXEEXT@
-   @$(INSTALL_PROGRAM) ${TCL_EXE} 
$(BIN_INSTALL_DIR)/tclsh$(VERSION)@EXEEXT@
+   @$(INSTALL_PROGRAM) ${TCL_EXE} 
$(BIN_INSTALL_DIR)/tclsh$(VERSION)@EXEEXT@
@echo Installing tclConfig.sh to $(CONFIG_INSTALL_DIR)/
-@@ -739,7 +742,7 @@ install-libraries: libraries $(INSTALL_TZDATA) install
+@@ -738,7 +741,7 @@ install-binaries: binaries
+   @EXTRA_INSTALL_BINARIES@
+   @echo Installing pkg-config file to $(LIB_INSTALL_DIR)/pkgconfig/
+   @mkdir -p $(LIB_INSTALL_DIR)/pkgconfig
+-  @$(INSTALL_DATA) tcl.pc $(LIB_INSTALL_DIR)/pkgconfig/tcl.pc
++  @$(INSTALL_DATA) tcl.pc $(LIB_INSTALL_DIR)/pkgconfig/tcl85.pc
+
+ install-libraries: libraries $(INSTALL_TZDATA) install-msgs
+   @for i in $(INCLUDE_INSTALL_DIR) $(SCRIPT_INSTALL_DIR); \
+@@ -749,7 +752,7 @@ install-libraries: libraries $(INSTALL_TZDATA) install
else true; \
fi; \
done;
@@ -29,12 +38,12 @@ $OpenBSD: patch-unix_Makefile_in,v 1.12
do \
if [ ! -d $(SCRIPT_INSTALL_DIR)/$$i ] ; then \
echo Making directory $(SCRIPT_INSTALL_DIR)/$$i; \
-@@ -767,21 +770,21 @@ install-libraries: libraries $(INSTALL_TZDATA) install
+@@ -777,21 +780,21 @@ install-libraries: libraries $(INSTALL_TZDATA) install
$(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR)/http1.0; \
done;
-   @echo Installing package http 2.7.12 as a Tcl Module;
--  @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl 
$(SCRIPT_INSTALL_DIR)/../tcl8/8.4/http-2.7.12.tm;
-+  @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl 
$(SCRIPT_INSTALL_DIR)/modules/8.5/http-2.7.12.tm;
+   @echo Installing package http 2.7.13 as a Tcl Module;
+-  @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl 
$(SCRIPT_INSTALL_DIR)/../tcl8/8.4/http-2.7.13.tm;
++  @$(INSTALL_DATA) $(TOP_DIR)/library/http/http.tcl 

Re: NEW: www/dwb

2014-09-08 Thread Vadim Zhukov
2014-09-08 19:59 GMT+04:00 Henrik Friedrichsen hen...@diff.cc:
 On Mon, Sep 08, 2014 at 04:58:44PM +0200, Landry Breuil wrote:
 With that minor nit fixed (and the
 dozens of extra tabs in the makefile removed :), ok for
 me to anyone who wants to import it.

 Heh, okay. One more try ;)

From compile output:

1) Hidden/broken dependency? See the devel/libexecinfo port for details.
stdin:1:22: error: execinfo.h: No such file or directory

2) Needs patching (32-bit archs won't be happy otherwise):
util.c:37: warning: format '%lu' expects type 'long unsigned int', but
argument 3 has type 'time_t'
dwbem.c:856: warning: format '%lu' expects type 'long unsigned int',
but argument 4 has type 'time_t'

3) It looks like pick up a real issue here. But I didn't dig deep,
maybe, it's guaranteed that there won't be more than 512 bytes of
data... Please check.

/usr/obj/p/dwb-2014.03.07/dwb-2014.03.07/src/util/mktlds-header.c:174:
warning: strcat() is almost always misused, please use strlcat()

Also, please clean up the DESCR: capitalize gtk, shrink the web
browser based on the webkit web browser engine phrase and so on.

--
  WBR,
  Vadim Zhukov



Re: [UPDATE] www/mhonarc 2.6.18

2014-09-08 Thread Christian Rueger

On 09/07/14 22:45, Jérémie Courrèges-Anglas wrote:

Christian Rueger cr+li...@rueger-net.de writes:


Hi,

small bug fix release and update MASTER_SITES.
tested on amd64


Small bugfix, or security update that may warrant a backport? :)


no, small bugfix

https://savannah.nongnu.org/bugs/index.php?go_report=Applygroup=mhonarcreport_id=105fix_release=2.6.19



Re: NEW: www/dwb

2014-09-08 Thread Henrik Friedrichsen
On Mon, Sep 08, 2014 at 08:14:00PM +0400, Vadim Zhukov wrote:
 From compile output:
 
 1) Hidden/broken dependency? See the devel/libexecinfo port for details.
 stdin:1:22: error: execinfo.h: No such file or directory
Well, no. It is not a mandatory dependency, but only required for
printing backtraces on crashes.
 2) Needs patching (32-bit archs won't be happy otherwise):
 util.c:37: warning: format '%lu' expects type 'long unsigned int', but
 argument 3 has type 'time_t'
 dwbem.c:856: warning: format '%lu' expects type 'long unsigned int',
 but argument 4 has type 'time_t'
Done.

 3) It looks like pick up a real issue here. But I didn't dig deep,
 maybe, it's guaranteed that there won't be more than 512 bytes of
 data... Please check.
I didn't bother to check, but it can't hurt to simply replace it
with the safer alternative. Done.

 Also, please clean up the DESCR: capitalize gtk, shrink the web
 browser based on the webkit web browser engine phrase and so on.
Is this better?

dwb is a lightweight web browser using webkit and the GTK toolkit.
It is highly customizable and can be easily configured through a web
interface.
The user interface is mostly keyboard driven,
inspired by firefox's vimperator plugin.


Updated port attached.


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


Re: [UPDATE] database/tinycdb 0.78

2014-09-08 Thread Christian Rueger

On 09/07/14 22:13, Jérémie Courrèges-Anglas wrote:

j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes:


Christian Rueger cr+li...@rueger-net.de writes:


Hi


Hi,


new release with a few minor fixes:
- fix handling of files 4Gb
- fix handling of files 2Gb on 32bit platforms (compile with
_FILE_OFFSET_BITS=64)


(note that OpenBSD doesn't care about _FILE_OFFSET_BITS)


- fix file size limit test
- fix compiler warnings (missing #include)
- 


Some nits/issues I noticed:
- is it really needed to bump the library minor?  No function/symbol was
   added, and if you noticed a change in the size of public structures /
   function arguments, this should be a *major* bump.
- no need in patch-Makefile for stuff that we can override from the port
   Makefile; patch-Makefile is still here to get rid of SONAME though
- respect DEBUG=-g (LDFLAGS)
- move stuff from FAKE_FLAGS to MAKE_FLAGS in case prefix/sysconfdir
   gets used at build time in a future update; right now it doesn't
   matter, as we don't build nss_cdb
- merge PFRAG.shared into PLIST

Updated diff below, tests pass on sparc64/powerpc.


And... actually strip %%SHARED%% from the PLIST, thanks sthen@ :)


thanks, all right
remove LIBcdb_VERSION from MAKE_FLAGS
rest ok and tested an amd64



diff -uNprx CVS /usr/ports/www/mhonarc/Makefile /usr/ports/mystuff/www/mhonarc/Makefile
--- /usr/ports/www/mhonarc/Makefile	Sun Jun 22 18:37:08 2014
+++ /usr/ports/mystuff/www/mhonarc/Makefile	Fri Aug 22 21:01:04 2014
@@ -2,16 +2,14 @@
 
 COMMENT=		highly customizable e-mail to HTML converter
 
-DISTNAME=		MHonArc-2.6.18
+DISTNAME=		MHonArc-2.6.19
 PKGNAME=		${DISTNAME:L}
-REVISION=		0
 CATEGORIES=		www mail
 
 HOMEPAGE=		http://www.mhonarc.org/
 
 MASTER_SITES=		http://www.mhonarc.org/release/MHonArc/tar/ \
-			http://www.nacs.uci.edu/indiv/ehood/tar/ \
-			ftp://ftp.plig.org/pub/CPAN/authors/id/EHOOD/
+			http://mhonarc.domainunion.de/release/MHonArc/tar/
 
 MAINTAINER=		Christian Rueger cr+open...@rueger-net.de
 
diff -uNprx CVS /usr/ports/www/mhonarc/distinfo /usr/ports/mystuff/www/mhonarc/distinfo
--- /usr/ports/www/mhonarc/distinfo	Thu Jan 13 10:53:50 2011
+++ /usr/ports/mystuff/www/mhonarc/distinfo	Fri Aug 22 20:49:04 2014
@@ -1,5 +1,2 @@
-MD5 (MHonArc-2.6.18.tar.gz) = tl5Y/W00mZST9z772Ns8Rw==
-RMD160 (MHonArc-2.6.18.tar.gz) = 9fcnf5n49it4+b0EpXnwdd7NkbQ=
-SHA1 (MHonArc-2.6.18.tar.gz) = xfuzYJxABFY2YsIBUtW5Axf8Us8=
-SHA256 (MHonArc-2.6.18.tar.gz) = QnWdM3wT/4fbwLwId032cVZAX7/BDpYvZApl7poRrvY=
-SIZE (MHonArc-2.6.18.tar.gz) = 1984873
+SHA256 (MHonArc-2.6.19.tar.gz) = +L8odObqN4MLDVFV+5ms94gAWHffdXPxJ2NE6Ufag1I=
+SIZE (MHonArc-2.6.19.tar.gz) = 1992055
diff -uNprx CVS /usr/ports/www/mhonarc/patches/patch-lib_mhamain_pl /usr/ports/mystuff/www/mhonarc/patches/patch-lib_mhamain_pl
--- /usr/ports/www/mhonarc/patches/patch-lib_mhamain_pl	Mon May  7 22:13:50 2012
+++ /usr/ports/mystuff/www/mhonarc/patches/patch-lib_mhamain_pl	Thu Jan  1 01:00:00 1970
@@ -1,13 +0,0 @@
-$OpenBSD: patch-lib_mhamain_pl,v 1.1 2012/05/07 20:13:50 pascal Exp $
-defined(%hash) is deprecated
 lib/mhamain.pl.orig	Mon May  7 12:00:36 2012
-+++ lib/mhamain.pl	Mon May  7 12:01:44 2012
-@@ -1561,7 +1561,7 @@ sub signal_catch {
- ##	Create Index2MsgId if not defined
- ##
- sub defineIndex2MsgId {
--if (!defined(%Index2MsgId)) {
-+if (!%Index2MsgId) {
- 	foreach (keys %MsgId) {
- 	$Index2MsgId{$MsgId{$_}} = $_;
- 	}
diff -uNprx CVS /usr/ports/www/mhonarc/patches/patch-lib_readmail_pl /usr/ports/mystuff/www/mhonarc/patches/patch-lib_readmail_pl
--- /usr/ports/www/mhonarc/patches/patch-lib_readmail_pl	Mon May  7 22:13:50 2012
+++ /usr/ports/mystuff/www/mhonarc/patches/patch-lib_readmail_pl	Thu Jan  1 01:00:00 1970
@@ -1,76 +0,0 @@
-$OpenBSD: patch-lib_readmail_pl,v 1.1 2012/05/07 20:13:50 pascal Exp $
-defined(%hash) is deprecated
 lib/readmail.pl.orig	Mon May  7 12:02:06 2012
-+++ lib/readmail.pl	Mon May  7 12:04:04 2012
-@@ -117,9 +117,9 @@ $DecodeHeader	= 0;
- ##  set to true.
- 
- %MIMEDecoders			= ()
--unless defined(%MIMEDecoders);
-+unless %MIMEDecoders;
- %MIMEDecodersSrc		= ()
--unless defined(%MIMEDecodersSrc);
-+unless %MIMEDecodersSrc;
- 
- ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- ##  %MIMECharSetConverters is the associative array for storing functions
-@@ -153,9 +153,9 @@ $DecodeHeader	= 0;
- ##  string.
- 
- %MIMECharSetConverters			= ()
--unless defined(%MIMECharSetConverters);
-+unless %MIMECharSetConverters;
- %MIMECharSetConvertersSrc		= ()
--unless defined(%MIMECharSetConvertersSrc);
-+unless %MIMECharSetConvertersSrc;
- 
- ## - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- ##  %MIMEFilters is the associative array for storing functions that
-@@ -180,9 +180,9 @@ $DecodeHeader	= 0;
- ##  that all functions are defined before invoking MAILread_body.
- 
- %MIMEFilters	= ()
--unless defined(%MIMEFilters);
-+unless %MIMEFilters;
- %MIMEFiltersSrc	= ()
--

Re: [UPDATE] database/tinycdb 0.78

2014-09-08 Thread Christian Rueger

On 09/08/14 19:21, Christian Rueger wrote:

On 09/07/14 22:13, Jérémie Courrèges-Anglas wrote:

j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes:


Christian Rueger cr+li...@rueger-net.de writes:


Hi


Hi,


new release with a few minor fixes:
- fix handling of files 4Gb
- fix handling of files 2Gb on 32bit platforms (compile with
_FILE_OFFSET_BITS=64)


(note that OpenBSD doesn't care about _FILE_OFFSET_BITS)


- fix file size limit test
- fix compiler warnings (missing #include)
- 


Some nits/issues I noticed:
- is it really needed to bump the library minor?  No function/symbol was
   added, and if you noticed a change in the size of public structures /
   function arguments, this should be a *major* bump.
- no need in patch-Makefile for stuff that we can override from the port
   Makefile; patch-Makefile is still here to get rid of SONAME though
- respect DEBUG=-g (LDFLAGS)
- move stuff from FAKE_FLAGS to MAKE_FLAGS in case prefix/sysconfdir
   gets used at build time in a future update; right now it doesn't
   matter, as we don't build nss_cdb
- merge PFRAG.shared into PLIST

Updated diff below, tests pass on sparc64/powerpc.


And... actually strip %%SHARED%% from the PLIST, thanks sthen@ :)


thanks, all right
remove LIBcdb_VERSION from MAKE_FLAGS
rest ok and tested an amd64


wrong patch :)



Index: Makefile
===
RCS file: /home/cvs/openbsd/ports/databases/tinycdb/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile	11 Mar 2013 02:52:09 -	1.3
+++ Makefile	8 Sep 2014 17:03:20 -
@@ -2,10 +2,7 @@
 
 COMMENT =	creating and reading constant databases
 
-V =		0.77
-REVISION =	0
-DISTNAME =	tinycdb_$V
-PKGNAME =	tinycdb-$V
+DISTNAME =	tinycdb-0.78
 CATEGORIES =	databases
 SHARED_LIBS =	cdb	0.0
 
@@ -19,19 +16,22 @@ PERMIT_PACKAGE_CDROM =		Yes
 
 WANTLIB =	c
 
-WRKDIST =	${WRKDIR}/tinycdb-$V
-MAKE_FLAGS +=	sysconfdir=${SYSCONFDIR} LIBcdb_VERSION=${LIBcdb_VERSION}
-FAKE_FLAGS +=	${MAKE_FLAGS} prefix=${PREFIX}
+MAKE_FLAGS =	CC=${CC} CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS} \
+		SHAREDLIB=libcdb.so.${LIBcdb_VERSION} \
+		prefix=${PREFIX} sysconfdir=${SYSCONFDIR}
 
 .include bsd.port.arch.mk
 
 .if ${PROPERTIES:Mno_shared}
-TEST_TARGET =	tests
+TEST_TARGET =		tests
 .else
 MAKE_FLAGS +=		INSTALLPROG=cdb-shared
 ALL_TARGET =		all shared
 INSTALL_TARGET =	install install-sharedlib
-TEST_TARGET =	tests-shared
+TEST_TARGET =		tests-shared
 .endif
+
+post-install:
+	rm -f ${PREFIX}/lib/libcdb.so
 
 .include bsd.port.mk
Index: distinfo
===
RCS file: /home/cvs/openbsd/ports/databases/tinycdb/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo	18 May 2012 20:59:13 -	1.1.1.1
+++ distinfo	8 Sep 2014 17:01:56 -
@@ -1,5 +1,2 @@
-MD5 (tinycdb_0.77.tar.gz) = wA5fuWwwNWrDtnsqtdVkGw==
-RMD160 (tinycdb_0.77.tar.gz) = gDWB67hMxNt6vhaz+1uXjAVlJVM=
-SHA1 (tinycdb_0.77.tar.gz) = KHOl9hTpJeKEzXGnIWoNEDQK7Jw=
-SHA256 (tinycdb_0.77.tar.gz) = grw8zwr+0JeEcqBwzkUGZnuANeZdDcJDiOM4WNOba8Y=
-SIZE (tinycdb_0.77.tar.gz) = 37728
+SHA256 (tinycdb-0.78.tar.gz) = UGePQy2K2o1p9yjsEcMUDhUYE6eEfPMKYthvOnIO1jw=
+SIZE (tinycdb-0.78.tar.gz) = 36754
Index: patches/patch-Makefile
===
RCS file: /home/cvs/openbsd/ports/databases/tinycdb/patches/patch-Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-Makefile
--- patches/patch-Makefile	18 May 2012 20:59:13 -	1.1.1.1
+++ patches/patch-Makefile	8 Sep 2014 17:01:56 -
@@ -1,64 +1,12 @@
 $OpenBSD: patch-Makefile,v 1.1.1.1 2012/05/18 20:59:13 sthen Exp $
 Makefile.orig	Sat Jan 31 18:12:21 2009
-+++ Makefile	Sun Apr 19 15:49:39 2009
-@@ -7,19 +7,19 @@
- 
- VERSION = 0.77
- 
--prefix=/usr/local
-+prefix?=/usr/local
- exec_prefix=$(prefix)
- bindir=$(exec_prefix)/bin
- libdir=$(exec_prefix)/lib
- syslibdir=$(libdir)
--sysconfdir=/etc
-+sysconfdir?=/etc
- includedir=$(prefix)/include
- mandir=$(prefix)/man
- NSSCDB_DIR = $(sysconfdir)
- DESTDIR=
- 
--CC = cc
--CFLAGS = -O
-+CC?= cc
-+CFLAGS?= -O
- 
- AR = ar
- ARFLAGS = rv
-@@ -29,7 +29,7 @@ NSS_CDB = libnss_cdb.so.2
- LIBBASE = libcdb
- LIB = $(LIBBASE).a
- PICLIB = $(LIBBASE)_pic.a
--SHAREDLIB = $(LIBBASE).so.1
-+SHAREDLIB = $(LIBBASE).so.${LIBcdb_VERSION}
- SOLIB = $(LIBBASE).so
- CDB_USELIB = $(LIB)
- NSS_USELIB = $(PICLIB)
-@@ -85,7 +85,7 @@ $(SHAREDLIB): $(LIB_OBJS_PIC) $(LIBMAP)
+--- Makefile.orig	Fri May 11 16:17:47 2012
 Makefile	Sun Sep  7 21:29:46 2014
+@@ -87,7 +87,7 @@ $(SHAREDLIB): $(LIB_OBJS_PIC) $(LIBMAP)
  	-rm -f $(SOLIB)
  	ln -s $@ $(SOLIB)
- 	$(CC) $(CFLAGS) $(CFLAGS_SHARED) -o $@ \
--	 $(CFLAGS_SONAME)$(SHAREDLIB) $(CFLAGS_VSCRIPT)$(LIBMAP) \
-+	 $(CFLAGS_VSCRIPT)$(LIBMAP) \
+ 	$(LD) $(LDFLAGS) $(LDFLAGS_SHARED) -o $@ \
+-	 $(LDFLAGS_SONAME)$(SHAREDLIB) $(LDFLAGS_VSCRIPT)$(LIBMAP) \
++	 $(LDFLAGS_VSCRIPT)$(LIBMAP) \
  	 $(LIB_OBJS_PIC)
  
  cdb: cdb.o 

Re: [UPDATE] database/tinycdb 0.78

2014-09-08 Thread Jérémie Courrèges-Anglas

Thanks a lot.  Committed, along with www/mhonarc.
-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: NEW: www/dwb

2014-09-08 Thread Stuart Henderson

On 2014/09/08 19:05, Henrik Friedrichsen wrote:
 On Mon, Sep 08, 2014 at 08:14:00PM +0400, Vadim Zhukov wrote:
  From compile output:
  
  1) Hidden/broken dependency? See the devel/libexecinfo port for details.
  stdin:1:22: error: execinfo.h: No such file or directory
 Well, no. It is not a mandatory dependency, but only required for
 printing backtraces on crashes.

Chances are it won't actually work directly on OpenBSD anyway without
forcing it to link against the backtrace lib, but many ports have autoconf
probes for the headers.

Problem occurs if autoconf picks it up when probing for available
files, if you don't list it as a dependency or prevent autoconf from
picking it up, then DPB builds will likely fail on occasion as they
install and uninstall the libexecinfo package behind dwb's back.

In general: anything which configure scripts might pick up should
either be listed as a dependency, or explicitly disabled.

  3) It looks like pick up a real issue here. But I didn't dig deep,
  maybe, it's guaranteed that there won't be more than 512 bytes of
  data... Please check.
 I didn't bother to check, but it can't hurt to simply replace it
 with the safer alternative. Done.

from strlcat manual,

If the return value is = dstsize, the output string has been truncated.
It is the caller's responsibility to handle this.




Re: NEW: www/dwb

2014-09-08 Thread Henrik Friedrichsen


On 09/08/2014 08:32 PM, Stuart Henderson wrote:

In general: anything which configure scripts might pick up should
either be listed as a dependency, or explicitly disabled.
This port does not use autoconf. The error message mentioned is printed 
by the script which detects whether libexecinfo is present in order to 
turn on/off a preprocessor switch which disables the relevant code. Is 
this still problematic?



from strlcat manual,

If the return value is = dstsize, the output string has been truncated.
It is the caller's responsibility to handle this.

Fair point. The source code in question processes TLD strings which are 
converted to a C

array during compilcation.

With no line longer than 98 characters (and that even includes comments
which are not processed by this function), it is unlikely that these TLD 
strings will be longer than 511 bytes,

even with Punycode.

I realize that this is not ideal, but it should be sufficient in this case.



Re: NEW: www/dwb

2014-09-08 Thread Landry Breuil
On Mon, Sep 08, 2014 at 09:01:52PM +0200, Henrik Friedrichsen wrote:
 
 On 09/08/2014 08:32 PM, Stuart Henderson wrote:
 In general: anything which configure scripts might pick up should
 either be listed as a dependency, or explicitly disabled.
 This port does not use autoconf. The error message mentioned is printed by
 the script which detects whether libexecinfo is present in order to turn
 on/off a preprocessor switch which disables the relevant code. Is this still
 problematic?

Yes, it's problematic because we need predictable builds that dont
depend on the random presence of some dependencies - thus, either we
need to say we depend on libexecinfo and mark LIB_DEPENDS as such, or
explicitely disable it to ensure it's not picked up if randomly found at
build time depending on the environment on the builder.

Landry



Re: NEW: www/dwb

2014-09-08 Thread Stuart Henderson
On 2014/09/08 21:08, Landry Breuil wrote:
 On Mon, Sep 08, 2014 at 09:01:52PM +0200, Henrik Friedrichsen wrote:
  
  On 09/08/2014 08:32 PM, Stuart Henderson wrote:
  In general: anything which configure scripts might pick up should
  either be listed as a dependency, or explicitly disabled.
  This port does not use autoconf. The error message mentioned is printed by
  the script which detects whether libexecinfo is present in order to turn
  on/off a preprocessor switch which disables the relevant code. Is this still
  problematic?
 
 Yes, it's problematic because we need predictable builds that dont
 depend on the random presence of some dependencies - thus, either we
 need to say we depend on libexecinfo and mark LIB_DEPENDS as such

Using libexecinfo would need more than LIB_DEPENDS, need patching the
build infra to add -lexecinfo where appropriate too. Probably easier to
just disable for now.

Updated tgz attached. Fixes:

- standard port Makefile ordering / clean WANTLIB
- fix license marker (gplv3 or newer - GPLv3+)
- don't hide compiler command lines
- don't force -O2 -g -pipe

this version is ok with me.



dwb.tgz
Description: application/tar-gz


Re: NEW: www/dwb

2014-09-08 Thread Henrik Friedrichsen


On 09/08/2014 09:29 PM, Stuart Henderson wrote:

Updated tgz attached. Fixes:

- standard port Makefile ordering / clean WANTLIB
- fix license marker (gplv3 or newer - GPLv3+)
- don't hide compiler command lines
- don't force -O2 -g -pipe

this version is ok with me.


Looks good.



Re: NEW: www/dwb

2014-09-08 Thread Landry Breuil
On Mon, Sep 08, 2014 at 09:37:03PM +0200, Henrik Friedrichsen wrote:
 
 On 09/08/2014 09:29 PM, Stuart Henderson wrote:
 Updated tgz attached. Fixes:
 
 - standard port Makefile ordering / clean WANTLIB
 - fix license marker (gplv3 or newer - GPLv3+)
 - don't hide compiler command lines
 - don't force -O2 -g -pipe
 
 this version is ok with me.
 
 Looks good.

Imported, thanks!



Re: UPDATE 4/4 for p5-Mojo: converters/p5-Net-IDN-Encode - CLEAN

2014-09-08 Thread Remi Locherer
On Wed, Sep 03, 2014 at 06:22:37PM +0200, Mark Patruck wrote:
 Now with a clean patch...
 
 Update 'converters/p5-Net-IDN-Encode' to latest possible version
 2.005. I'm not really sure about this, as 2.005 is the latest
 version which works with base Module::Build 0.42.

This builds and installs fine on my system. make test succeeds 100%.

My system:
kern.version=OpenBSD 5.6-current (GENERIC.MP) #364: Thu Sep  4 02:57:22 MDT 2014
t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

 
 Index: Makefile
 ===
 RCS file: /cvs/ports/converters/p5-Net-IDN-Encode/Makefile,v
 retrieving revision 1.10
 diff -u -p -r1.10 Makefile
 --- Makefile  14 Jun 2014 23:23:12 -  1.10
 +++ Makefile  3 Sep 2014 06:27:30 -
 @@ -4,9 +4,8 @@ SHARED_ONLY=  Yes
  
  COMMENT= Internationalizing Domain Names in Applications
  
 -DISTNAME=Net-IDN-Encode-1.102
 +DISTNAME=Net-IDN-Encode-2.005
  CATEGORIES=  net converters
 -REVISION=0
  
  # perl
  PERMIT_PACKAGE_CDROM =   Yes
 Index: distinfo
 ===
 RCS file: /cvs/ports/converters/p5-Net-IDN-Encode/distinfo,v
 retrieving revision 1.2
 diff -u -p -r1.2 distinfo
 --- distinfo  2 Feb 2013 17:29:14 -   1.2
 +++ distinfo  3 Sep 2014 06:27:30 -
 @@ -1,2 +1,2 @@
 -SHA256 (Net-IDN-Encode-1.102.tar.gz) = 
 PdGgTrJyUx3O94KobvT9oNwxG/1tBsrCzbi9cZlZ2Z8=
 -SIZE (Net-IDN-Encode-1.102.tar.gz) = 23874
 +SHA256 (Net-IDN-Encode-2.005.tar.gz) = 
 jSz+fgWiLRlGkzCT3Gxk+Tz4RZdmTfFw1Xk/JFEMRAA=
 +SIZE (Net-IDN-Encode-2.005.tar.gz) = 167961
 Index: pkg/PLIST
 ===
 RCS file: /cvs/ports/converters/p5-Net-IDN-Encode/pkg/PLIST,v
 retrieving revision 1.2
 diff -u -p -r1.2 PLIST
 --- pkg/PLIST 14 Jun 2014 23:23:12 -  1.2
 +++ pkg/PLIST 3 Sep 2014 06:27:30 -
 @@ -1,13 +1,18 @@
  @comment $OpenBSD: PLIST,v 1.2 2014/06/14 23:23:12 sthen Exp $
 -@pkgpath converters/p5-IDNA-Punycode
  @conflict converters/p5-IDNA-Punycode-*
 +@pkgpath converters/p5-IDNA-Punycode
  ${P5ARCH}/
  ${P5ARCH}/Net/
  ${P5ARCH}/Net/IDN/
  ${P5ARCH}/Net/IDN/Encode.pm
 +${P5ARCH}/Net/IDN/Overview.pod
  ${P5ARCH}/Net/IDN/Punycode/
  ${P5ARCH}/Net/IDN/Punycode.pm
  ${P5ARCH}/Net/IDN/Punycode/PP.pm
 +${P5ARCH}/Net/IDN/Standards.pod
 +${P5ARCH}/Net/IDN/UTS46/
 +${P5ARCH}/Net/IDN/UTS46.pm
 +${P5ARCH}/Net/IDN/UTS46/_Mapping.pm
  ${P5ARCH}/auto/
  ${P5ARCH}/auto/Net/
  ${P5ARCH}/auto/Net/IDN/
 @@ -15,5 +20,9 @@ ${P5ARCH}/auto/Net/IDN/Punycode/
  @comment ${P5ARCH}/auto/Net/IDN/Punycode/Punycode.bs
  ${P5ARCH}/auto/Net/IDN/Punycode/Punycode.so
  @man man/man3p/Net::IDN::Encode.3p
 +@man man/man3p/Net::IDN::Overview.3p
  @man man/man3p/Net::IDN::Punycode.3p
  @man man/man3p/Net::IDN::Punycode::PP.3p
 +@man man/man3p/Net::IDN::Standards.3p
 +@man man/man3p/Net::IDN::UTS46.3p
 +@man man/man3p/Net::IDN::UTS46::_Mapping.3p
  
 
 -- 
 Mark Patruck ( mark at wrapped.cx )
 GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51
 
 http://www.wrapped.cx
 



Re: NEW: www/dwb

2014-09-08 Thread Antoine Jacoutot
On Mon, Sep 08, 2014 at 10:01:55PM +0200, Landry Breuil wrote:
 On Mon, Sep 08, 2014 at 09:37:03PM +0200, Henrik Friedrichsen wrote:
  
  On 09/08/2014 09:29 PM, Stuart Henderson wrote:
  Updated tgz attached. Fixes:
  
  - standard port Makefile ordering / clean WANTLIB
  - fix license marker (gplv3 or newer - GPLv3+)
  - don't hide compiler command lines
  - don't force -O2 -g -pipe
  
  this version is ok with me.
  
  Looks good.
 
 Imported, thanks!

PREFIX=${LOCALBASE} \
MANDIR=${LOCALBASE}/man \

That should be PREFIX|TRUEPREFIX

-- 
Antoine



network.conf.template

2014-09-08 Thread frantisek holop
help! nothing works!
:)


Index: network.conf.template
===
RCS file: /cvs/ports/infrastructure/templates/network.conf.template,v
retrieving revision 1.192
diff -u -p -r1.192 network.conf.template
--- network.conf.template   8 Sep 2014 19:52:22 -   1.192
+++ network.conf.template   8 Sep 2014 21:16:00 -
@@ -122,7 +122,7 @@ MASTER_SITE_SOURCEFORGE_JP+=\
 
 MASTER_SITE_GNOME+=\
http://ftp.acc.umu.se/pub/GNOME/ \
-   http://ftp1.nluug.nl/windowing/gnome/
+   http://ftp1.nluug.nl/windowing/gnome/ \
http://ftp.belnet.be/ftp.gnome.org/ \
http://ftp.df.lth.se/pub/gnome/ \
http://ftp.gnome.org/pub/GNOME/ \

-f
-- 
you have 2 choices for dinner -- take it or leave it.



Nut 2.7.2p2 on OpenBSD 5.6 with APC USB UPS

2014-09-08 Thread Stan Gammons
I have an APC 1500 USB UPS that was working correctly on OpenBSD 5.5 
stable, but when I did a fresh install of the 09-04-2014 snapshot of 
OpenBSD 5.6 the UPS no longer reports when it goes on battery.


I changed the owner to _ups:wheel for /dev/ugen0.* and /dev/usb3.

# ls -l /dev/usb*
crw-rw  1 root  wheel   61,   0 Sep  8 20:32 /dev/usb0
crw-rw  1 root  wheel   61,   1 Sep  8 20:32 /dev/usb1
crw-rw  1 root  wheel   61,   2 Sep  8 20:32 /dev/usb2
crw-rw  1 _ups  wheel   61,   3 Sep  8 20:32 /dev/usb3
crw-rw  1 root  wheel   61,   4 Sep  8 20:32 /dev/usb4
crw-rw  1 root  wheel   61,   5 Sep  8 20:32 /dev/usb5
crw-rw  1 root  wheel   61,   6 Sep  8 20:32 /dev/usb6
crw-rw  1 root  wheel   61,   7 Sep  8 20:32 /dev/usb7

# ls -l /dev/ugen0.*
crw-rw  1 _ups  wheel   63,   0 Sep  8 20:32 /dev/ugen0.00
crw-rw  1 _ups  wheel   63,   1 Sep  8 20:32 /dev/ugen0.01
crw-rw  1 _ups  wheel   63,   2 Sep  8 20:32 /dev/ugen0.02
crw-rw  1 _ups  wheel   63,   3 Sep  8 20:32 /dev/ugen0.03
crw-rw  1 _ups  wheel   63,   4 Sep  8 20:32 /dev/ugen0.04
crw-rw  1 _ups  wheel   63,   5 Sep  8 20:32 /dev/ugen0.05
crw-rw  1 _ups  wheel   63,   6 Sep  8 20:32 /dev/ugen0.06
crw-rw  1 _ups  wheel   63,   7 Sep  8 20:32 /dev/ugen0.07
crw-rw  1 _ups  wheel   63,   8 Sep  8 20:32 /dev/ugen0.08
crw-rw  1 _ups  wheel   63,   9 Sep  8 20:32 /dev/ugen0.09
crw-rw  1 _ups  wheel   63,  10 Sep  8 20:32 /dev/ugen0.10
crw-rw  1 _ups  wheel   63,  11 Sep  8 20:32 /dev/ugen0.11
crw-rw  1 _ups  wheel   63,  12 Sep  8 20:32 /dev/ugen0.12
crw-rw  1 _ups  wheel   63,  13 Sep  8 20:32 /dev/ugen0.13
crw-rw  1 _ups  wheel   63,  14 Sep  8 20:32 /dev/ugen0.14
crw-rw  1 _ups  wheel   63,  15 Sep  8 20:32 /dev/ugen0.15


It appears as thought the UPS is communicating, but the status doesn't 
change for whatever reason when I pull the AC cord.  Here's the dmesg



# dmesg
OpenBSD 5.6-current (GENERIC.MP) #364: Thu Sep  4 02:57:22 MDT 2014
t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4141809664 (3949MB)
avail mem = 4022829056 (3836MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (52 entries)
bios0: vendor Award Software International, Inc. version FK date 
08/31/2010

bios0: Gigabyte Technology Co., Ltd. GA-MA74GM-S2
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT HPET MCFG APIC
acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) 
USB5(S3) USB6(S3) SBAZ(S4) P2P_(S5) PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) 
PCE6(S4) PCE7(S4) PCE8(S4) [...]

acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) II X2 250 Processor, 3021.33 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully 
associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully 
associative

cpu0: AMD erratum 721 detected and fixed
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 201MHz
cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) II X2 250 Processor, 3020.92 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully 
associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully 
associative

cpu1: AMD erratum 721 detected and fixed
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 3 (P2P_)
acpiprt2 at acpi0: bus -1 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus -1 (PCE4)
acpiprt5 at acpi0: bus -1 (PCE5)
acpiprt6 at acpi0: bus 2 (PCE6)
acpiprt7 at acpi0: bus -1 (PCE7)
acpiprt8 at acpi0: bus -1 (PCE8)
acpiprt9 at acpi0: bus 1 (AGP_)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpibtn0 at acpi0: PWRB
cpu0: 3021 MHz: speeds: 3000 2300 1800 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 ATI RS740 Host rev 0x00
ppb0 at pci0 dev 1 function 0 ATI