CVS: cvs.openbsd.org: ports

2013-08-22 Thread Landry Breuil
CVSROOT:/cvs
Module name:ports
Changes by: lan...@cvs.openbsd.org  2013/08/22 01:28:05

Modified files:
sysutils/salt/pkg: PLIST 

Log message:
Unbreak (fscking FULLPKGNAME in PLIST...) noticed by kirby@, thanks!



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2013/08/22 02:02:22

Modified files:
print/ghostscript/gnu: Makefile 
print/ghostscript/gnu/patches: patch-base_unix-gcc_mak 
print/ghostscript/gnu/pkg: PLIST 
Removed files:
print/ghostscript/gnu/patches: patch-base_devs_mak 

Log message:
Remove dependency on cups,-libs. gstoraster and friends are moving to
print/cups-filters.

ok kili@ (maintainer)



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2013/08/22 02:04:31

Modified files:
print/splix: Makefile 

Log message:
gstoraster is in cups-filters now.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2013/08/22 02:03:59

Modified files:
print/cups-filters: Makefile distinfo 
print/cups-filters/pkg: PLIST 
Removed files:
print/cups-filters/patches: patch-filter_pdf_cxx 
patch-filter_pdftoijs_cxx 
patch-filter_pdftoopvp_pdftoopvp_cxx 
patch-filter_pdftoraster_cxx 

Log message:
Update to cups-filters-1.0.36.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2013/08/22 03:14:32

Modified files:
print/ghostscript/gnu: Makefile 
print/ghostscript/gnu/patches: patch-base_unix-gcc_mak 
Added files:
print/ghostscript/gnu/patches: patch-base_devs_mak 

Log message:
While the cups raster tools (gstoraster and gstopxl) are now in cups-filters,
we still need the cups device.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2013/08/22 03:15:35

Modified files:
print/cups-filters: Makefile 

Log message:
Fix hardcoded path to gs.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2013/08/22 03:43:33

Modified files:
inputmethods/ibus-anthy: Makefile 

Log message:
missing bump



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2013/08/22 03:44:02

Modified files:
devel/poedit   : Makefile 

Log message:
missing bump



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 03:44:17

Modified files:
infrastructure/bin: portcheck 

Log message:
Assorted bugfixes:
* Allow entering pure-subdirs directories, like databases/mdbtools.
* Add missing debugging statements.
* Do not complain about FULLPKGNAME in @comment'ed lines.
* Do not fail to check pkg/ when in check_port_hier() (to be improved,
currently this means no checking for SUBST_VARS there).
* Add missing ${portref} in err calls.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread David Coppa
CVSROOT:/cvs
Module name:ports
Changes by: dco...@cvs.openbsd.org  2013/08/22 03:53:20

Modified files:
devel/cmake: Makefile cmake.port.mk 
devel/cmake/patches: patch-Source_CMakeLists_txt patch-bootstrap 

Log message:
CMake's built-in ELF parser is broken on arm:

 #0  cmELF (this=0xbfff4674, fname=0x4337438c /usr/lib/libz.so.4.1)
 at basic_ios.h:124
 124   { return _M_streambuf_state; }

Since this is a requirement for Ninja, disable both of
them if ${MACHINE_ARCH} == arm.

As a workaround, ok sthen@



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2013/08/22 04:07:04

Modified files:
lang/gfortran/patches: patch-gcc_config_gcc 
Added files:
lang/gfortran/patches: patch-gcc_config_arm_arm_md 
   patch-gcc_config_arm_openbsd_h 
   patch-gcc_config_arm_t-openbsd 

Log message:
Merge in arm backend from base.

tested by/ok sthen@



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2013/08/22 04:26:26

Modified files:
print/hplip: Makefile 

Log message:
Make the GUI depend on xsane.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 04:41:20

Modified files:
infrastructure/bin: portcheck 

Log message:
Found a way to invoke make(1) in co-processes: just redirect stdin to
/dev/null, and it'll die gracefully. Allows to get rid of some ugly nested
shells and finally give check_pkg_dir() ability to use SUBST_CMD in port
parent directories.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 04:43:15

Modified files:
infrastructure/bin: portcheck 

Log message:
Fix another err() call.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2013/08/22 04:49:25

Modified files:
print/hplip: Makefile distinfo 
print/hplip/patches: patch-Makefile_in patch-check_py 
 patch-installer_core_install_py 
print/hplip/pkg: PLIST-common PLIST-hpijs PLIST-main 

Log message:
Update to hplip-3.13.8.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 05:31:43

Modified files:
infrastructure/bin: portcheck 

Log message:
Do not complain for missing gettext dependency when translation files are
found and current FLAVOR contains static. After discussion with naddy@
about archivers/gtar.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 06:53:49

Modified files:
infrastructure/bin: portcheck 

Log message:
Stability fixes: do not abort if read from co-process failed, and declare
local variables before calling eval with them.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 07:20:17

Modified files:
infrastructure/bin: portcheck 

Log message:
Add a check that BUILD_DEPENDS and MODULES are not used in subpackaging
manner. Inspired by mail/courier-authlib.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 07:23:54

Modified files:
infrastructure/bin: portcheck 

Log message:
Do not print an extension of hypothesized app name.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 07:29:07

Modified files:
infrastructure/bin: portcheck 

Log message:
Unbreak check_pkg_dir() call in check_port_hier() again.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 07:56:16

Modified files:
infrastructure/bin: portcheck 

Log message:
Do not complain that gettext does not depend on gettext.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 08:08:12

Modified files:
infrastructure/bin: portcheck 

Log message:
Add variables sometimes referenced in port docs to SUBST_CMD invocation.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2013/08/22 09:11:52

Modified files:
print/hplip: Makefile 
print/hplip/pkg: README-common 

Log message:
Extend docs.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2013/08/22 10:21:18

Modified files:
devel/jdk/1.6  : Makefile distinfo 

Log message:
new amd64/i386 bootstraps for JDK; thanks to Christian Schulte for
a surprising clue about libfontconfig.so.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2013/08/22 10:32:22

Added files:
plan9/plan9port/patches: patch-src_lib9_dirread_c 

Log message:
unfuck after getdents addition/getdirentries removal

ok sthen@ naddy@ (sorry, forgot about it completely)



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 10:43:04

Modified files:
infrastructure/bin: portcheck 

Log message:
Add Python-specific checks:
* Each .py file (except examples, documentation and such) should have
corresponding .pyc.
* Each .pyc and .pyo should have corresponding .py file.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:ports
Changes by: na...@cvs.openbsd.org   2013/08/22 11:34:34

Modified files:
net/transmission: Makefile distinfo 
net/transmission/patches: patch-qt_qtr_pro 
net/transmission/pkg: DESCR-gtk DESCR-qt 
Added files:
net/transmission/patches: patch-qt_favicon_cc 
  patch-qt_file-tree_cc 
Removed files:
net/transmission/patches: patch-libtransmission_platform-quota_c 

Log message:
Update to 2.82 for various bug fixes.  Qt4 build fixes from zhuk@.

Overhaul MODULES/LIB_DEPENDS/RUN_DEPENDS/WANTLIB, mostly from zhuk@.

ok zhuk@



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 11:44:22

Modified files:
infrastructure/bin: portcheck 

Log message:
General usability improvements:
* Allow to run tree check (-A) from any directory.
* Notify about ports root directory only on tree check.
* Ignore more stuff for tree check, makes easier to run:
portcheck -Ap /usr/ports/openbsd-wip
* Use ignore list in has_subdirs_only(), too.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Kirill Bychkov
CVSROOT:/cvs
Module name:ports
Changes by: ki...@cvs.openbsd.org   2013/08/22 12:14:50

Modified files:
sysutils/salt  : Makefile 
sysutils/salt/pkg: PLIST README 
Added files:
sysutils/salt/patches: patch-conf_master patch-conf_minion 

Log message:
- install sample configs with sane defaults
- rework README
ok landry@



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Robert Peichaer
CVSROOT:/cvs
Module name:ports
Changes by: r...@cvs.openbsd.org2013/08/22 13:08:53

Modified files:
sysutils/ansible: Makefile distinfo 

Log message:
- Update ansible to 1.2.3 fixing two security issues
CVE-2013-4259: Ansible uses a socket with predictable filename in /tmp
CVE-2013-4260: Predictable filename used for failed results in world
writable directory
- Remove a temporary post-extract hook, that was only there because
of stray files in the 1.2.1 distfile.

ok aja@ sthen@



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2013/08/22 14:06:51

Modified files:
games/gargoyle : Makefile distinfo 
games/gargoyle/patches: patch-Jamrules patch-garglk_launchgtk_c 
patch-tads_Jamfile 
games/gargoyle/pkg: PLIST 
Added files:
games/gargoyle/patches: patch-garglk_Jamfile patch-garglk_glk_h 
Removed files:
games/gargoyle/patches: patch-terps_Jamfile 

Log message:
update to gargoyle 2011.1

patch to disable SDL sound for now; it fails during init, error: modified
chunk-pointer. this happens with the previous version of gargoyle too,
suspect this got broken in an update of one of the SDL ports at some
point as it used to work..



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 14:33:16

Modified files:
infrastructure/bin: portcheck 

Log message:
Small polish:
* Add a few documentation bits.
* Use ((++var)) instead of ((var++)), this way no need to append || true.
* Shuffle some functions in alphabetical order.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 14:43:10

Modified files:
infrastructure/bin: portcheck 

Log message:
Fix core handling. It should be ignored in update mode (-U).

Noticed by rpe@



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 14:56:14

Modified files:
infrastructure/bin: portcheck 

Log message:
Stupid typo that broke pkgpath detection.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 15:16:05

Modified files:
infrastructure/bin: portcheck 

Log message:
This var should be local.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2013/08/22 15:35:57

Modified files:
lang/jruby : Makefile distinfo 

Log message:
switch jruby to a modified jnr-posix.jar fixing post-64-bit time_t,
this is an interim fix until it's handled upstream. jar from  ok jeremy@



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 16:38:32

Modified files:
infrastructure/bin: portcheck 

Log message:
Add missing checks descriptions.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 16:37:17

Modified files:
infrastructure/bin: portcheck 

Log message:
Enable set -u by default. Joint work with rpe@, thanks!



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2013/08/22 17:03:21

Modified files:
x11/windowmaker: Makefile 
x11/windowmaker/patches: patch-src_actions_c 
x11/windowmaker/pkg: PLIST-main 
Added files:
x11/windowmaker/patches: patch-src_moveres_c 
Removed files:
x11/windowmaker/pkg: PFRAG.shared-main 

Log message:
- Add upstream patch to fix java/netbeans menu problem after
resize, maximize. From Christian Schulte on ports@.

- While there: tidy Makefile, regen PLIST and merge PFRAG.shared,
don't USE_GROFF.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 17:30:23

Modified files:
infrastructure/bin: portcheck 

Log message:
Pick up .port.mk-only directories in check_port_hier(), too.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 18:43:20

Modified files:
infrastructure/bin: portcheck 

Log message:
Oops, don't print errors from ls.



CVS: cvs.openbsd.org: ports

2013-08-22 Thread Vadim Zhukov
CVSROOT:/cvs
Module name:ports
Changes by: z...@cvs.openbsd.org2013/08/22 19:26:18

Modified files:
infrastructure/bin: portcheck 

Log message:
Fix the case when default FLAVOR contains stuff from PSEUDO_FLAVORS only.



Exim problem after OpenBSD time_t 64bit change

2013-08-22 Thread Renaud Allard

Hello,

I upgraded one of my machines to OpenBSD 5.4-current containing the 
64bits time_t change. And I noticed that exim was giving a 4XX error to 
every mail because it was too busy. So I commented smtp_load_reserve in 
the configuration file and it now works just fine. So it seems this 
parameter is not interpreted correctly after the time_t change.


Best Regards



Re: Exim problem after OpenBSD time_t 64bit change

2013-08-22 Thread Landry Breuil
On Thu, Aug 22, 2013 at 10:39:54AM +0200, Renaud Allard wrote:
 Hello,
 
 I upgraded one of my machines to OpenBSD 5.4-current containing the
 64bits time_t change. And I noticed that exim was giving a 4XX error
 to every mail because it was too busy. So I commented
 smtp_load_reserve in the configuration file and it now works just
 fine. So it seems this parameter is not interpreted correctly after
 the time_t change.

LOTS of ports will have runtime issues after the time_t bump, and will
require manual fiddling to remove/purge caches, reset indexes, reindex
databases, etc...

- mutt header caches
- dovecot indexes
- etc

Landry



Re: UPDATE: sysutils/ranger-1.6.1

2013-08-22 Thread Stuart Henderson
On 2013/08/10 00:07, Kyle Merchant wrote:
 Hi ports,
 
 Below is a patch to bring ranger to the latest version.  Update includes
 a BSD-friendly setsid implementation, overhauled config files, and
 numerous other fixes and feature additions. Please note config files
 need to be updated or use the --clean switch.
 
 Tested on amd64. OKs and/or comments?

 -# libarchive (bsdtar) used as an alternative to atool; see scope.sh patch
 +# libarchive (bsdtar) used as an alternative to atool

please restore this comment; it directs people to the patch file where this is 
done.

 +share/doc/ranger/config/
 +share/doc/ranger/config/colorschemes/
 +share/doc/ranger/config/colorschemes/default.py
 +share/doc/ranger/config/colorschemes/jungle.py
 +share/doc/ranger/config/colorschemes/snow.py
 +share/doc/ranger/config/commands.py
 +share/doc/ranger/config/rc.conf
 +share/doc/ranger/config/rifle.conf
 +share/doc/ranger/config/scope.sh
 +share/doc/ranger/examples/
 +share/doc/ranger/examples/README
 +share/doc/ranger/examples/bash_automatic_cd.sh
 +share/doc/ranger/examples/bash_subshell_notice.sh
 +share/doc/ranger/examples/plugin_chmod_keybindings.py
 +share/doc/ranger/examples/plugin_file_filter.py
 +share/doc/ranger/examples/plugin_hello_world.py
 +share/doc/ranger/examples/plugin_new_macro.py
 +share/doc/ranger/examples/plugin_new_sorting_method.py
 +share/doc/ranger/examples/rifle_different_file_opener.conf
 +share/doc/ranger/examples/rifle_sxiv.sh
 +share/doc/ranger/examples/vim_file_chooser.vim
 +share/doc/ranger/tools/
 +share/doc/ranger/tools/print_colors.py
 +share/doc/ranger/tools/print_keys.py

the standard location for sample files etc. is share/examples.



update: mail/exim

2013-08-22 Thread Stuart Henderson
I've had this sitting in my tree for a while.. OK?

Index: Makefile
===
RCS file: /cvs/ports/mail/exim/Makefile,v
retrieving revision 1.93
diff -u -p -r1.93 Makefile
--- Makefile12 Jun 2013 20:36:33 -  1.93
+++ Makefile22 Aug 2013 17:09:25 -
@@ -3,8 +3,7 @@
 CATEGORIES =   mail
 COMMENT-main = flexible mail transfer agent
 COMMENT-eximon =   X11 monitor tool for Exim MTA
-VERSION =  4.77
-REVISION = 4
+VERSION =  4.80.1
 DISTNAME = exim-${VERSION}
 PKGNAME-main = exim-${VERSION}
 FULLPKGNAME-eximon =   exim-eximon-${VERSION}
Index: distinfo
===
RCS file: /cvs/ports/mail/exim/distinfo,v
retrieving revision 1.21
diff -u -p -r1.21 distinfo
--- distinfo19 Oct 2011 23:06:57 -  1.21
+++ distinfo22 Aug 2013 17:09:25 -
@@ -1,5 +1,2 @@
-MD5 (exim-4.77.tar.gz) = 3B8p9odVbw8OmPveGfmO9A==
-RMD160 (exim-4.77.tar.gz) = 6/kbDf+blCKW24umVAhj5qFROtY=
-SHA1 (exim-4.77.tar.gz) = LBumuPYntxs7WPwMxW45RZDc0dw=
-SHA256 (exim-4.77.tar.gz) = FkmActgsdNKf6eCctG+QYN4b0MtXIczAcZkK9hLumjw=
-SIZE (exim-4.77.tar.gz) = 2035914
+SHA256 (exim-4.80.1.tar.gz) = LKwFziel1bQJzlZXlXBHIz02+TltAgPSQKW3rtKpad4=
+SIZE (exim-4.80.1.tar.gz) = 2107974
Index: files/Makefile
===
RCS file: /cvs/ports/mail/exim/files/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- files/Makefile  19 Oct 2011 23:06:57 -  1.15
+++ files/Makefile  22 Aug 2013 17:09:25 -
@@ -248,11 +248,19 @@ SUPPORT_MBX=yes
 
 #--
 # See below for dynamic lookup modules.
-# LOOKUP_MODULE_DIR=/usr/lib/exim/lookups/
+#
 # If not using package management but using this anyway, then think about how
 # you perform upgrades and revert them. You should consider the benefit of
 # embedding the Exim version number into LOOKUP_MODULE_DIR, so that you can
 # maintain two concurrent sets of modules.
+# 
+# *BEWARE*: ability to modify the files in LOOKUP_MODULE_DIR is equivalent to
+# the ability to modify the Exim binary, which is often setuid root!  The Exim
+# developers only intend this functionality be used by OS software packagers
+# and we suggest that such packagings' integrity checks should be paranoid
+# about the permissions of the directory and the files within.
+
+# LOOKUP_MODULE_DIR=/usr/lib/exim/lookups/
 
 # To build a module dynamically, you'll need to define CFLAGS_DYNAMIC for
 # your platform.  Eg:
@@ -279,6 +287,10 @@ SUPPORT_MBX=yes
 # the dynamic library and not the exim binary will be linked against the
 # library.
 # NOTE: LDAP cannot be built as a module!
+#
+# If your system has pkg-config then the _INCLUDE/_LIBS setting can be
+# handled for you automatically by also defining the _PC variable to reference
+# the name of the pkg-config package, if such is available.
 
 LOOKUP_DBM=yes
 LOOKUP_LSEARCH=yes
@@ -295,6 +307,7 @@ LOOKUP_NIS=yes
 LOOKUP_PASSWD=yes
 # LOOKUP_PGSQL=yes
 # LOOKUP_SQLITE=yes
+# LOOKUP_SQLITE_PC=sqlite3
 # LOOKUP_WHOSON=yes
 
 # These two settings are obsolete; all three lookups are compiled when
@@ -329,9 +342,12 @@ LOOKUP_PASSWD=yes
 # In either case you must specify the library link info here.  If the
 # PCRE header files are not in the standard search path you must also
 # modify the INCLUDE path (above)
-# The default setting of PCRE_LIBS should work on the vast majority of
-# systems
+#
+# Use PCRE_CONFIG to query the pcre-config command (first found in $PATH)
+# to find the include files and libraries, else use PCRE_LIBS and set INCLUDE
+# too if needed.
 
+PCRE_CONFIG=yes
 PCRE_LIBS=-lpcre
 
 
@@ -342,6 +358,8 @@ PCRE_LIBS=-lpcre
 # don't need to set LOOKUP_INCLUDE if the relevant directories are already
 # specified in INCLUDE. The settings below are just examples; -lpq is for
 # PostgreSQL, -lgds is for Interbase, -lsqlite3 is for SQLite.
+#
+# You do not need to use this for any lookup information added via pkg-config.
 
 # LOOKUP_INCLUDE=-I /usr/local/ldap/include -I /usr/local/mysql/include -I 
/usr/local/pgsql/include
 # LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -lgds -lsqlite3
@@ -398,6 +416,11 @@ WITH_OLD_DEMIME=yes
 # experimental-spec.txt. Experimental means that the way these features are
 # implemented may still change. Backward compatibility is not guaranteed.
 
+# Uncomment the following line to add support for talking to dccifd.  This
+# defaults the socket path to /usr/local/dcc/var/dccifd.
+
+# EXPERIMENTAL_DCC=yes
+
 # Uncomment the following lines to add SPF support. You need to have libspf2
 # installed on your system (www.libspf2.org). Depending on where it is 
installed
 # you may have to edit the CFLAGS and LDFLAGS lines.
@@ -424,6 +447,11 @@ WITH_OLD_DEMIME=yes
 # CFLAGS  += 

Re: [NEW] net/rwhoisd

2013-08-22 Thread Andrew Klettke
Resubmitting again with new UID/GUID numbers, ones I had were reserved. 
Also patched server/security.c so that the daemon will refuse to run as 
root.


Thanks,

Andrew Klettke
Systems Admin
Optic Fusion

On 08/19/2013 01:06 PM, Andrew Klettke wrote:
Minor update; changed UID and GUID for the new users after finding the 
new ones I'd selected had already been reserved in the -current ports 
tree.


Thanks,

Andrew Klettke
Systems Admin
Optic Fusion

On 08/19/2013 11:58 AM, Andrew Klettke wrote:
Thank you very much for your input Stuart, I've addressed the issues 
you've raised and the new version is attached. Please let me know if 
there's anything else that needs attention.


Thanks,

Andrew Klettke
Systems Admin
Optic Fusion

On 08/17/2013 01:26 AM, Stuart Henderson wrote:

To get this into ports a bit more work is needed:

On 2013/08/16 16:25, Andrew Klettke wrote:

The easiest way would be to:

1. Copy the contents of the example directory into a directory that
_rwhoisd owns (I like to use /var/rwhoisd, so `cp -R
/usr/local/share/doc/rwhoisd/examples/* /var/rwhoisd/`)

2. Run the rwhois_indexer like so: `/usr/local/bin/rwhois_indexer -c
/var/rwhoisd/rwhoisd.conf -i -s txt`

- this information needs to go in a pkg/README file.


3. Make applicable changes to rwhoisd.conf ('userid: _rwhoisd' and
'use-syslog: YES' should be the only options you need to change)

- the code should be patched so that this isn't needed, particularly
the userid setting, there should be no chance of somebody running this
as root by mistake. (@newuser/@newgroup lines also need updating to a
free uid/gid, these ones are taken).


4. Run the daemon (`cd /var/rwhoisd  rwhoisd`).

There should be an rc script for this.


Then you can test it using telnet to port 4321 (just enter '10.0.0.1'
after connecting if you're using the sample data); it binds to all
inet4 interfaces.

I didn't look in detail, but does it really not have v6 support?









rwhoisd.tar.gz
Description: GNU Zip compressed data


Re: Exim problem after OpenBSD time_t 64bit change

2013-08-22 Thread Renaud Allard



On 22/08/13 19:03, Stuart Henderson wrote:

On 2013/08/22 10:39, Renaud Allard wrote:

Hello,

I upgraded one of my machines to OpenBSD 5.4-current containing the
64bits time_t change. And I noticed that exim was giving a 4XX error
to every mail because it was too busy. So I commented
smtp_load_reserve in the configuration file and it now works just
fine. So it seems this parameter is not interpreted correctly after
the time_t change.


I don't use Exim but I gave this a quick go, I can't repeat it here.
I'm on amd64 using the default /etc/exim/configure file with just the
line smtp_load_reserve = 50 added.

Which arch?

Anything in exim's logs?

Any more info if you do debug logging in exim? (-d option to run in foreground).

Was your load actually above the value you had configured anyway?



Hi Stuart,

What I got in the logs was this:
2013-08-20 01:30:04 [15177] H=mail.arnor.org [2001:41d0:8:563d::2]:24142 
I=[2001:6f8:1445::a1fa]:25 U=jf9fbw4kkqtvd008k1g5 temporarily rejected 
connection in connect ACL: Sorry, too busy. Try again later.


My smtp_load_reserve was set to 10 and the load average was about 1.2.

arch is amd64.




smime.p7s
Description: S/MIME Cryptographic Signature


new: games/speeddreams

2013-08-22 Thread Pascal Stumpf
Speed Dreams is a fork of the famous open racing car simulator
Torcs, aiming to implement exciting new features, cars, tracks and
AI opponents to make a more enjoyable game for the player, as well
as constantly improving visual and physics realism.

Quite big; works fine here with radeonkms.

ok?


speeddreams.tgz
Description: speeddreams.tgz


UPDATE: editors/texworks 0.4.5

2013-08-22 Thread Adam Jeanguenat
Attached is a patch to bring editors/texworks to 0.4.5, which was
released April 2013[1].

I made some changes per port-lib-depends-check's notices.

I sent this a while back but I regenerated the diff against -current
and retested on i386 and amd64 after the time_t switch with no obvious
issues.

   --avj

[1] http://texworks.googlecode.com/svn/tags/release-0.4.5/NEWS



Index: Makefile
===
RCS file: /home/cvsync/ports/editors/texworks/Makefile,v
retrieving revision 1.22
diff -u -p -r1.22 Makefile
--- Makefile7 Aug 2013 21:31:51 -   1.22
+++ Makefile20 Aug 2013 18:47:47 -
@@ -4,17 +4,14 @@ COMMENT-main =easy to use LaTeX and Co
 COMMENT-python =   Python scripting for TeXworks
 COMMENT-lua =  Lua scripting for TeXworks
 
-V =0.4.4
-R =1004
+V =0.4.5
+R =1281
 DISTNAME = texworks-${V}-r${R}
 
 PKGNAME-main = texworks-${V}
 PKGNAME-lua =  texworks-lua-${V}
 PKGNAME-python =   texworks-python-${V}
 
-REVISION-main =0
-REVISION-lua = 0
-
 WRKDIST =  ${WRKDIR}/texworks-${V}
 
 CATEGORIES =   editors print
@@ -37,11 +34,11 @@ WANTLIB += m poppler-qt4 pthread stdc++ 
 
 WANTLIB-lua =  ${MODLUA_WANTLIB}
 WANTLIB-lua += ICE QtCore QtGui QtXml SM X11 Xext Xi Xinerama Xrender
-WANTLIB-lua += fontconfig freetype m stdc++
+WANTLIB-lua += fontconfig freetype m pthread stdc++
 
 WANTLIB-python =  ${MODPY_WANTLIB}
 WANTLIB-python += ICE QtCore QtGui QtXml SM X11 Xext Xi Xinerama Xrender
-WANTLIB-python += fontconfig freetype m stdc++
+WANTLIB-python += fontconfig freetype m pthread stdc++
 
 MULTI_PACKAGES =   -main -lua -python
 
@@ -49,7 +46,6 @@ MASTER_SITES =https://texworks.googlec
 
 LIB_DEPENDS-main = qt4-=4.8.2:${MODQT4_LIB_DEPENDS} \
textproc/hunspell \
-   x11/dbus \
print/poppler,,-qt4
 LIB_DEPENDS-lua =  ${MODQT4_LIB_DEPENDS} \
${MODLUA_LIB_DEPENDS}
Index: distinfo
===
RCS file: /home/cvsync/ports/editors/texworks/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo16 Jul 2012 10:13:59 -  1.5
+++ distinfo20 Aug 2013 18:47:47 -
@@ -1,5 +1,2 @@
-MD5 (texworks-0.4.4-r1004.tar.gz) = 5ecM2Wcff41v95eOvLqptA==
-RMD160 (texworks-0.4.4-r1004.tar.gz) = LEbLqJITpxy9snmWv32M6U7d7Zo=
-SHA1 (texworks-0.4.4-r1004.tar.gz) = WupPSDpQPf2+6C0H9GhPY56sswA=
-SHA256 (texworks-0.4.4-r1004.tar.gz) = 
WlGGfLiN0UlsiGZLSE2bi24mfmi+yWeooLRdPHe/9bQ=
-SIZE (texworks-0.4.4-r1004.tar.gz) = 5305883
+SHA256 (texworks-0.4.5-r1281.tar.gz) = 
3TDOQX/4JBCDtolDlUibxSlmCka8tFt9gtTGo/jm4t4=
+SIZE (texworks-0.4.5-r1281.tar.gz) = 5335925



Re: lang/ghc and time_t

2013-08-22 Thread Matthias Kilian
On Sun, Aug 18, 2013 at 05:19:30PM +0200, Matthias Kilian wrote:
  + instance Storable CTimeval where
  +-  sizeOf _ = (sizeOf (undefined :: CLong)) * 2
  ++  sizeOf _ = sizeOf (undefined :: TimeT) + sizeOf (undefined :: 
  SusecondsT)
  +   alignment _ = alignment (undefined :: CLong)
 
 Is that the correct alignment?

I forgot to mention that there also are some access functions called
a little bit down the above chunk (like pokeByteOff, which is
stupidly named, because it may read more than one byte) called with
offsets like `sizeOf (undefined :: TimeT)`, assuming that there's
no gap between tv_sec and tv_usec in struct timeval. True for
OpenBSD, but, well, the upstream diff also tries to deal with cases
where tv_sec is an int (for whatever reason).

 I'd prefer to run some tests on amd64 and i386 before this goes in
 (unless someone beats me doing tests).

Someone *has* to beat me; I'm all busy with tidying up and renovating
my appartment. This may render me quasi-offline for a week or two.

Ciao,
Kili



Re: new: games/speeddreams

2013-08-22 Thread Vadim Zhukov
2013/8/23 Pascal Stumpf pascal.stu...@cubes.de:
 Speed Dreams is a fork of the famous open racing car simulator
 Torcs, aiming to implement exciting new features, cars, tracks and
 AI opponents to make a more enjoyable game for the player, as well
 as constantly improving visual and physics realism.

 Quite big; works fine here with radeonkms.

Looks nice, but some nitpicking can always be done. :)

1. Why deal with DISTNAME when you fill DISTFILES directly?
2. CFLAGS is an ugly workaround, the upstream definitely misses a few
include_directories() calls in CMakeLists.txt files.

Now attaching a new tarball with sample fixes for those nits.

--
  WBR,
  Vadim Zhukov


speeddreams_zhuk_nits.tgz
Description: GNU Zip compressed data


Re: new: games/speeddreams

2013-08-22 Thread Juan Francisco Cantero Hurtado
On Thu, Aug 22, 2013 at 10:45:18PM +0200, Pascal Stumpf wrote:
 Speed Dreams is a fork of the famous open racing car simulator
 Torcs, aiming to implement exciting new features, cars, tracks and
 AI opponents to make a more enjoyable game for the player, as well
 as constantly improving visual and physics realism.
 
 Quite big; works fine here with radeonkms.
 
 ok?

Tested on amd64 with radeon. Works (pretty slow) for me.

-- 
Juan Francisco Cantero Hurtado http://juanfra.info



UPDATE: emulators/desmume

2013-08-22 Thread Anthony J. Bentley
Hi,

Below is an update to desmume-0.9.9. Works well on i386 and amd64.

ok?


Index: Makefile
===
RCS file: /cvs/ports/emulators/desmume/Makefile,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 Makefile
--- Makefile11 Mar 2013 11:06:03 -  1.7
+++ Makefile22 Aug 2013 05:23:17 -
@@ -2,8 +2,7 @@
 
 COMMENT =  Nintendo DS emulator
 
-DISTNAME = desmume-0.9.7
-REVISION = 3
+DISTNAME = desmume-0.9.9
 
 CATEGORIES =   emulators
 
@@ -14,13 +13,12 @@ MAINTAINER =Anthony J. Bentley anthony
 # GPLv2+
 PERMIT_PACKAGE_CDROM = Yes
 
-WANTLIB += agg c m pthread stdc++ z GL GLU ICE SM X11 Xcomposite
-WANTLIB += Xcursor Xdamage Xext Xfixes Xi Xinerama Xmu Xrandr Xrender
-WANTLIB += Xt expat fontconfig freetype pixman-1 pthread-stubs
-WANTLIB += xcb xcb-render xcb-shm png xml2 gdk_pixbuf-2.0 gio-2.0
-WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 pangox-1.0 SDL
-WANTLIB += glade-2.0 atk-1.0 cairo gdk-x11-2.0 gdkglext-x11-1.0 gtk-x11-2.0
-WANTLIB += gtkglext-x11-1.0 pango-1.0 pangocairo-1.0 pangoft2-1.0 zzip
+WANTLIB += agg c m pthread stdc++ z GL GLU X11 Xcomposite
+WANTLIB += Xcursor Xdamage Xext Xfixes Xi Xinerama Xrandr Xrender
+WANTLIB += fontconfig freetype gdk_pixbuf-2.0 gio-2.0
+WANTLIB += glib-2.0 gobject-2.0 gthread-2.0 SDL
+WANTLIB += atk-1.0 cairo gdk-x11-2.0 gtk-x11-2.0
+WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 zzip
 
 MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=desmume/}
 
@@ -28,12 +26,9 @@ RUN_DEPENDS =devel/desktop-file-utils
 
 LIB_DEPENDS =  archivers/zziplib \
devel/sdl \
-   devel/libglade2 \
graphics/agg \
graphics/gdk-pixbuf2 \
-   graphics/png \
-   textproc/libxml \
-   x11/gtkglext
+   x11/gtk+2
 
 CONFIGURE_ENV +=   CPPFLAGS=-I${LOCALBASE}/include -I${X11BASE}/include \
LDFLAGS=-L${LOCALBASE}/lib -L${X11BASE}/lib
Index: distinfo
===
RCS file: /cvs/ports/emulators/desmume/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo21 Sep 2011 03:58:08 -  1.1.1.1
+++ distinfo22 Aug 2013 05:23:17 -
@@ -1,5 +1,2 @@
-MD5 (desmume-0.9.7.tar.gz) = wzRA5qAsRCSIcewu7Go3YA==
-RMD160 (desmume-0.9.7.tar.gz) = h3Ct3xrlqrmxWnDefEsFEbJFIg0=
-SHA1 (desmume-0.9.7.tar.gz) = GOAPZ10+YhdHSmu/PFVKrems7uU=
-SHA256 (desmume-0.9.7.tar.gz) = Cg9+88x2/wu8bz30fDaJZTYXB06n/8NU6foSQMUzZSM=
-SIZE (desmume-0.9.7.tar.gz) = 1142550
+SHA256 (desmume-0.9.9.tar.gz) = zSrXDN3hI266Wk/4zqg49Ct9xHDjKsk4Jj9J8SpV11Q=
+SIZE (desmume-0.9.9.tar.gz) = 4107513
Index: patches/patch-src_OGLRender_cpp
===
RCS file: patches/patch-src_OGLRender_cpp
diff -N patches/patch-src_OGLRender_cpp
--- patches/patch-src_OGLRender_cpp 21 Sep 2011 03:58:08 -  1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_OGLRender_cpp,v 1.1.1.1 2011/09/21 03:58:08 bentley Exp $
 src/OGLRender.cpp.orig Fri Jul  1 10:17:51 2011
-+++ src/OGLRender.cpp  Fri Jul  1 10:18:09 2011
-@@ -76,7 +76,7 @@ static void ENDGL() {
- #include shaders.h
- #include texcache.h
- 
--static ALIGN(16) u8  GPU_screen3D [256*192*4];
-+static DMALIGN(16) u8  GPU_screen3D   [256*192*4];
- 
- static const unsigned short map3d_cull[4] = {GL_FRONT_AND_BACK, GL_FRONT, 
GL_BACK, 0};
- static const int texEnv[4] = { GL_MODULATE, GL_DECAL, GL_MODULATE, 
GL_MODULATE };
Index: patches/patch-src_gfx3d_cpp
===
RCS file: patches/patch-src_gfx3d_cpp
diff -N patches/patch-src_gfx3d_cpp
--- patches/patch-src_gfx3d_cpp 21 Sep 2011 03:58:08 -  1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,12 +0,0 @@
-$OpenBSD: patch-src_gfx3d_cpp,v 1.1.1.1 2011/09/21 03:58:08 bentley Exp $
 src/gfx3d.cpp.orig Fri Jul  1 10:17:51 2011
-+++ src/gfx3d.cpp  Fri Jul  1 10:18:05 2011
-@@ -606,7 +606,7 @@ static void SetVertex()
-   s16coord[2]
-   };
- 
--  ALIGN(16) s32 coordTransformed[4] = { coord[0], coord[1], coord[2], 
(112) };
-+  DMALIGN(16) s32 coordTransformed[4] = { coord[0], coord[1], coord[2], 
(112) };
- 
-   if (texCoordinateTransform == 3)
-   {
Index: patches/patch-src_types_h
===
RCS file: patches/patch-src_types_h
diff -N patches/patch-src_types_h
--- patches/patch-src_types_h   21 Sep 2011 03:58:08 -  1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,26 +0,0 @@
-$OpenBSD: patch-src_types_h,v 1.1.1.1 2011/09/21 03:58:08 bentley Exp $
 src/types.h.orig   Fri Jul  1 10:17:51 2011
-+++ src/types.hFri Jul  1 10:18:24 2011
-@@ -90,17 +90,17 @@
- 
- 
- #if defined(_MSC_VER) || 

UPDATE: games/openttd

2013-08-22 Thread Anthony J. Bentley
Hi,

Below is a minor update to openttd-1.3.2. Works well on i386/amd64.

While here, use https for the master sites that support it.

ok?


Index: Makefile
===
RCS file: /cvs/ports/games/openttd/Makefile,v
retrieving revision 1.32
diff -u -p -u -p -r1.32 Makefile
--- Makefile25 Jun 2013 22:41:41 -  1.32
+++ Makefile14 Aug 2013 01:05:00 -
@@ -2,7 +2,7 @@
 
 COMMENT=   open source clone of the game Transport Tycoon Deluxe
 
-V =1.3.1
+V =1.3.2
 DISTNAME = openttd-${V}
 EXTRACT_SUFX=  -source.tar.gz
 GFX_V= 0.4.7
@@ -24,12 +24,12 @@ MAINTAINER =Anthony J. Bentley anthony
 PERMIT_PACKAGE_CDROM=  Yes
 
 WANTLIB += SDL c fontconfig freetype icudata icui18n icuuc
-WANTLIB += lzma lzo2 m png pthread stdc++ z
+WANTLIB += icule iculx lzma lzo2 m png pthread stdc++ z
 
 MASTER_SITES=  http://binaries.openttd.org/releases/${V}/
-MASTER_SITES0= 
http://bundles.openttdcoop.org/opengfx/releases/${GFX_V}/
-MASTER_SITES1= 
http://bundles.openttdcoop.org/opensfx/releases/${SFX_V}/
-MASTER_SITES2= 
http://bundles.openttdcoop.org/openmsx/releases/${MSX_V}/
+MASTER_SITES0= 
https://bundles.openttdcoop.org/opengfx/releases/${GFX_V}/
+MASTER_SITES1= 
https://bundles.openttdcoop.org/opensfx/releases/${SFX_V}/
+MASTER_SITES2= 
https://bundles.openttdcoop.org/openmsx/releases/${MSX_V}/
 
 LIB_DEPENDS=   archivers/lzo2 \
devel/sdl \
Index: distinfo
===
RCS file: /cvs/ports/games/openttd/distinfo,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 distinfo
--- distinfo25 Jun 2013 22:41:41 -  1.16
+++ distinfo14 Aug 2013 01:05:00 -
@@ -1,8 +1,8 @@
 SHA256 (openttd/opengfx-0.4.7.zip) = 
EAMsaD+YtNN4wGURGKSFiubT8KUFkwLcP5a/v83GckE=
 SHA256 (openttd/openmsx-0.3.1.zip) = 
kuKTronxOtZ59DGF6D+4H7jK1H/mP0rz09n5VRMEYPU=
 SHA256 (openttd/opensfx-0.2.3.zip) = 
NXR0WsDBOLrlO1aXJZHbjXeK2fr/1R3q43pIpWPnFmI=
-SHA256 (openttd/openttd-1.3.1-source.tar.gz) = 
54VT4r4m/5iFG4fbgLfD8KReSWhnLnLc6ntYIhz5WWY=
+SHA256 (openttd/openttd-1.3.2-source.tar.gz) = 
nHAEBtN1Ap9PCSNsQU2qvaq6bnmS3rcwDbd0KzymQbk=
 SIZE (openttd/opengfx-0.4.7.zip) = 3471843
 SIZE (openttd/openmsx-0.3.1.zip) = 136981
 SIZE (openttd/opensfx-0.2.3.zip) = 11144025
-SIZE (openttd/openttd-1.3.1-source.tar.gz) = 9546727
+SIZE (openttd/openttd-1.3.2-source.tar.gz) = 9614867
Index: pkg/PLIST
===
RCS file: /cvs/ports/games/openttd/pkg/PLIST,v
retrieving revision 1.17
diff -u -p -u -p -r1.17 PLIST
--- pkg/PLIST   25 Jun 2013 22:41:41 -  1.17
+++ pkg/PLIST   14 Aug 2013 01:05:00 -
@@ -154,6 +154,7 @@ share/openttd/lang/slovenian.lng
 share/openttd/lang/spanish.lng
 share/openttd/lang/swedish.lng
 share/openttd/lang/tamil.lng
+share/openttd/lang/thai.lng
 share/openttd/lang/traditional_chinese.lng
 share/openttd/lang/turkish.lng
 share/openttd/lang/ukrainian.lng



Remove emulators/{ines,mastergear,vgb}

2013-08-22 Thread Anthony J. Bentley
I would like to delete ines, mastergear, and vgb from the ports tree. They
were imported over 12 years ago, have not been updated since, are i386-only,
and have several better replacements in-tree (including Mednafen, which
emulates all three systems). If anyone really does want a 12-year-old emulator,
which I doubt, they can just run the distfile directly with Linux emulation.

ok?