On 09/16/11 19:28, Mikolaj Kucharski wrote:
On Fri, Sep 16, 2011 at 10:37:41AM +0100, Mikolaj Kucharski wrote:
On Fri, Sep 16, 2011 at 08:57:10AM +0200, Alexander Hall wrote:
On 09/16/11 00:27, Mikolaj Kucharski wrote:

-@exec-update test -f ${MODAPACHE_FINAL}&&   cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update if test -f ${MODAPACHE_FINAL}; then cp -fp %D/%F 
${MODAPACHE_FINAL}; fi

Ports is not my thing, but sh scripting is. I'd suggest using

-@exec-update test -f ${MODAPACHE_FINAL}&&   cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} ||  cp -fp %D/%F ${MODAPACHE_FINAL}

instead, which apart from being smaller also has the benefit of
failing if the cp(1) fails.

Cool, I'll prepare patch for that today or tomorrow then.


Here is updated diff with exec line from halex@, thanks!

Ok?

I won't do such a commit to ports myself, but it looks good AFAICT.

/Alexander

Index: www/mod_auth_bsd/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_auth_bsd/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- www/mod_auth_bsd/Makefile   26 Sep 2010 17:45:13 -0000      1.11
+++ www/mod_auth_bsd/Makefile   16 Sep 2011 17:14:46 -0000
@@ -2,7 +2,7 @@

  COMMENT=      provides HTTP Basic authentication via bsd auth

-REVISION=      4
+REVISION=      5
  VERSION=      0.8.2
  DISTNAME=     bsdauth-${VERSION}
  PKGNAME=      mod_auth_bsd-${VERSION}
Index: www/mod_auth_bsd/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_auth_bsd/pkg/PLIST,v
retrieving revision 1.5
diff -u -r1.5 PLIST
--- www/mod_auth_bsd/pkg/PLIST  26 Jun 2007 19:19:45 -0000      1.5
+++ www/mod_auth_bsd/pkg/PLIST  16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.5 2007/06/26 19:19:45 simon Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_auth_bsd/
  share/doc/mod_auth_bsd/README
Index: www/mod_auth_kerb/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_auth_kerb/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- www/mod_auth_kerb/Makefile  2 Jun 2011 13:41:41 -0000       1.16
+++ www/mod_auth_kerb/Makefile  16 Sep 2011 17:14:46 -0000
@@ -2,7 +2,7 @@

  COMMENT=      Apache Kerberos authentication module

-REVISION=      7
+REVISION=      8
  DISTNAME=     mod_auth_kerb-5.3
  CATEGORIES=   www

Index: www/mod_auth_kerb/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_auth_kerb/pkg/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- www/mod_auth_kerb/pkg/PLIST 13 Nov 2010 07:44:33 -0000      1.3
+++ www/mod_auth_kerb/pkg/PLIST 16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.3 2010/11/13 07:44:33 ajacoutot Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/pkg-readmes/${FULLPKGNAME}
  @unexec-delete rm -f ${MODAPACHE_FINAL}
Index: www/mod_auth_ldap/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_auth_ldap/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- www/mod_auth_ldap/Makefile  16 Sep 2011 12:00:07 -0000      1.17
+++ www/mod_auth_ldap/Makefile  16 Sep 2011 17:14:46 -0000
@@ -2,7 +2,7 @@

  COMMENT=      Apache LDAP authentication module

-REVISION=      10
+REVISION=      11
  VERSION=      1.6.0
  DISTNAME=     auth_ldap-${VERSION}
  PKGNAME=      mod_auth_ldap-${VERSION}
Index: www/mod_auth_ldap/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_auth_ldap/pkg/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- www/mod_auth_ldap/pkg/PLIST 21 Jun 2007 20:25:40 -0000      1.4
+++ www/mod_auth_ldap/pkg/PLIST 16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.4 2007/06/21 20:25:40 simon Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_auth_ldap/
  share/doc/mod_auth_ldap/auth_ldap.html
Index: www/mod_auth_mysql/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_auth_mysql/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- www/mod_auth_mysql/Makefile 16 Sep 2011 12:00:07 -0000      1.19
+++ www/mod_auth_mysql/Makefile 16 Sep 2011 17:14:46 -0000
@@ -2,7 +2,7 @@

  COMMENT=      Apache MySQL authentication module

-REVISION=      7
+REVISION=      8
  VERSION=      3.2
  DISTNAME=     mod_auth_mysql-${VERSION}
  CATEGORIES=   www
Index: www/mod_auth_mysql/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_auth_mysql/pkg/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- www/mod_auth_mysql/pkg/PLIST        26 Jun 2007 19:19:46 -0000      1.4
+++ www/mod_auth_mysql/pkg/PLIST        16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.4 2007/06/26 19:19:46 simon Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_auth_mysql/
  share/doc/mod_auth_mysql/README
Index: www/mod_auth_pgsql/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_auth_pgsql/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- www/mod_auth_pgsql/Makefile 16 Sep 2011 12:00:07 -0000      1.8
+++ www/mod_auth_pgsql/Makefile 16 Sep 2011 17:14:46 -0000
@@ -2,7 +2,7 @@

  COMMENT =     Apache PostgreSQL authentication module

-REVISION=      4
+REVISION=      5
  DISTNAME =    mod_auth_pgsql-0.9.12
  CATEGORIES =  www

Index: www/mod_auth_pgsql/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_auth_pgsql/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- www/mod_auth_pgsql/pkg/PLIST        30 Jan 2009 12:50:39 -0000      1.1.1.1
+++ www/mod_auth_pgsql/pkg/PLIST        16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.1.1.1 2009/01/30 12:50:39 pea Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_auth_pgsql/
  share/doc/mod_auth_pgsql/mod_auth_pgsql.html
Index: www/mod_auth_radius/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_auth_radius/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- www/mod_auth_radius/Makefile        26 Sep 2010 17:45:13 -0000      1.21
+++ www/mod_auth_radius/Makefile        16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  # $OpenBSD: Makefile,v 1.21 2010/09/26 17:45:13 sebastia Exp $

-REVISION=      7
+REVISION=      8
  DISTNAME=     mod_auth_radius-1.5.7
  CATEGORIES=   www
  MODULES+=     apache-module
Index: www/mod_auth_radius/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_auth_radius/pkg/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- www/mod_auth_radius/pkg/PLIST       26 Jun 2007 19:19:46 -0000      1.4
+++ www/mod_auth_radius/pkg/PLIST       16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.4 2007/06/26 19:19:46 simon Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/examples/mod_auth_radius/
  share/examples/mod_auth_radius/htaccess-example
Index: www/mod_bandwidth/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_bandwidth/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- www/mod_bandwidth/Makefile  2 Apr 2011 16:56:42 -0000       1.10
+++ www/mod_bandwidth/Makefile  16 Sep 2011 17:14:46 -0000
@@ -3,7 +3,7 @@
  COMMENT=      bandwidth limiter for Apache

  V=            2.1
-REVISION=      3
+REVISION=      4
  DISTFILES=    mod_bandwidth.c cleanlink.pl:0
  DISTNAME=     mod_bandwidth-${V}
  CATEGORIES=     www
Index: www/mod_bandwidth/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_bandwidth/pkg/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- www/mod_bandwidth/pkg/PLIST 21 Jun 2007 10:58:38 -0000      1.2
+++ www/mod_bandwidth/pkg/PLIST 16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.2 2007/06/21 10:58:38 ajacoutot Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/cleanlink.pl
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_bandwidth/
Index: www/mod_dav/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_dav/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- www/mod_dav/Makefile        26 Sep 2010 17:45:13 -0000      1.20
+++ www/mod_dav/Makefile        16 Sep 2011 17:14:46 -0000
@@ -2,7 +2,7 @@

  COMMENT=      class 1 and 2 DAV server for the Apache webserver

-REVISION=      9
+REVISION=      10
  DISTNAME=     mod_dav-1.0.3-1.3.6
  PKGNAME=      mod_dav-1.0.3
  CATEGORIES=   www
Index: www/mod_dav/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_dav/pkg/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- www/mod_dav/pkg/PLIST       21 Jun 2007 19:34:12 -0000      1.4
+++ www/mod_dav/pkg/PLIST       16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.4 2007/06/21 19:34:12 simon Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_dav/
  share/doc/mod_dav/INSTALL
Index: www/mod_fastcgi/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_fastcgi/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- www/mod_fastcgi/Makefile    26 Sep 2010 17:45:13 -0000      1.12
+++ www/mod_fastcgi/Makefile    16 Sep 2011 17:14:46 -0000
@@ -2,7 +2,7 @@

  COMMENT=        Apache FastCGI module

-REVISION=      2
+REVISION=      3
  DISTNAME=     mod_fastcgi-SNAP-0811090952
  # temporary workaround: as the original distname would prevent a seamless
  # update use the last offical version and append the date of the snapshot
Index: www/mod_fastcgi/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_fastcgi/pkg/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- www/mod_fastcgi/pkg/PLIST   22 Jun 2007 14:48:23 -0000      1.2
+++ www/mod_fastcgi/pkg/PLIST   16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.2 2007/06/22 14:48:23 simon Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_fastcgi/
  share/doc/mod_fastcgi/LICENSE.TERMS
Index: www/mod_geoip/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_geoip/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- www/mod_geoip/Makefile      22 Nov 2010 08:36:49 -0000      1.17
+++ www/mod_geoip/Makefile      16 Sep 2011 17:14:46 -0000
@@ -2,7 +2,7 @@

  COMMENT=      Apache module for finding the country of web requests

-REVISION=      2
+REVISION=      3
  DISTNAME=     mod_geoip_1.3.4
  PKGNAME=      mod_geoip-1.3.4
  CATEGORIES=   www geo
Index: www/mod_geoip/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_geoip/pkg/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- www/mod_geoip/pkg/PLIST     26 Jun 2007 19:19:46 -0000      1.4
+++ www/mod_geoip/pkg/PLIST     16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.4 2007/06/26 19:19:46 simon Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_geoip/
  share/doc/mod_geoip/README
Index: www/mod_gzip/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_gzip/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- www/mod_gzip/Makefile       26 Sep 2010 17:45:13 -0000      1.15
+++ www/mod_gzip/Makefile       16 Sep 2011 17:14:46 -0000
@@ -2,7 +2,7 @@

  COMMENT=      transparently compress Apache output

-REVISION=      5
+REVISION=      6
  DISTNAME=     mod_gzip-1.3.26.1a
  CATEGORIES=   www

Index: www/mod_gzip/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_gzip/pkg/PLIST,v
retrieving revision 1.6
diff -u -r1.6 PLIST
--- www/mod_gzip/pkg/PLIST      26 Jun 2007 19:19:46 -0000      1.6
+++ www/mod_gzip/pkg/PLIST      16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.6 2007/06/26 19:19:46 simon Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_gzip/
  share/doc/mod_gzip/browser.htm
Index: www/mod_jk/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_jk/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- www/mod_jk/Makefile 2 Jun 2011 13:41:41 -0000       1.22
+++ www/mod_jk/Makefile 16 Sep 2011 17:14:46 -0000
@@ -3,7 +3,7 @@
  COMMENT=              Apache-Tomcat AJP Connector

  V=                    1.2.28
-REVISION=              3
+REVISION=              4
  DISTNAME=             tomcat-connectors-${V}-src
  PKGNAME=              mod_jk-${V}
  CATEGORIES=           www
Index: www/mod_jk/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_jk/pkg/PLIST,v
retrieving revision 1.7
diff -u -r1.7 PLIST
--- www/mod_jk/pkg/PLIST        9 Nov 2010 21:38:37 -0000       1.7
+++ www/mod_jk/pkg/PLIST        16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.7 2010/11/09 21:38:37 jasper Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_jk/
  share/doc/mod_jk/LICENSE
Index: www/mod_layout/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_layout/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- www/mod_layout/Makefile     26 Sep 2010 17:45:13 -0000      1.11
+++ www/mod_layout/Makefile     16 Sep 2011 17:14:46 -0000
@@ -2,7 +2,7 @@

  COMMENT=      Apache module for implementing a framework for doing design

-REVISION=      2
+REVISION=      3
  DISTNAME=     mod_layout-3.4
  PKGNAME=      ${DISTNAME}
  CATEGORIES=   www
Index: www/mod_layout/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_layout/pkg/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- www/mod_layout/pkg/PLIST    26 Jun 2007 19:19:46 -0000      1.4
+++ www/mod_layout/pkg/PLIST    16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.4 2007/06/26 19:19:46 simon Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_layout/
  share/doc/mod_layout/directives/
Index: www/mod_ldapvhost/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_ldapvhost/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- www/mod_ldapvhost/Makefile  16 Sep 2011 12:00:07 -0000      1.14
+++ www/mod_ldapvhost/Makefile  16 Sep 2011 17:14:46 -0000
@@ -2,7 +2,7 @@

  COMMENT=              Apache LDAP based virtual hosts module

-REVISION=              8
+REVISION=              9
  DISTNAME=             mod_ldapvhost-1.0.2
  CATEGORIES=           www

Index: www/mod_ldapvhost/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_ldapvhost/pkg/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- www/mod_ldapvhost/pkg/PLIST 22 Jun 2007 14:53:20 -0000      1.3
+++ www/mod_ldapvhost/pkg/PLIST 16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.3 2007/06/22 14:53:20 simon Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_ldapvhost/
  share/doc/mod_ldapvhost/mod_ldapvhost.conf
Index: www/mod_log_sql/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_log_sql/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- www/mod_log_sql/Makefile    16 Sep 2011 12:00:07 -0000      1.17
+++ www/mod_log_sql/Makefile    16 Sep 2011 17:14:46 -0000
@@ -2,7 +2,7 @@

  COMMENT=      Apache module for logging to an SQL database

-REVISION=      6
+REVISION=      7
  DISTNAME=     mod_log_sql-1.18
  CATEGORIES=   www

Index: www/mod_log_sql/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_log_sql/pkg/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- www/mod_log_sql/pkg/PLIST   26 Jun 2007 19:19:46 -0000      1.4
+++ www/mod_log_sql/pkg/PLIST   16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.4 2007/06/26 19:19:46 simon Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_log_sql/
  share/doc/mod_log_sql/contents.png
Index: www/mod_mp3/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_mp3/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- www/mod_mp3/Makefile        16 Sep 2011 12:00:07 -0000      1.19
+++ www/mod_mp3/Makefile        16 Sep 2011 17:14:46 -0000
@@ -2,7 +2,7 @@

  COMMENT=      turns Apache into an MP3 or Ogg streaming server

-REVISION=      3
+REVISION=      4
  DISTNAME=     mod_mp3-0.40
  CATEGORIES=   www audio

Index: www/mod_mp3/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_mp3/pkg/PLIST,v
retrieving revision 1.5
diff -u -r1.5 PLIST
--- www/mod_mp3/pkg/PLIST       30 Jan 2008 20:41:41 -0000      1.5
+++ www/mod_mp3/pkg/PLIST       16 Sep 2011 17:14:46 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.5 2008/01/30 20:41:41 okan Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_mp3/
  share/doc/mod_mp3/faq.html
Index: www/mod_perl/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_perl/Makefile,v
retrieving revision 1.35
diff -u -r1.35 Makefile
--- www/mod_perl/Makefile       10 May 2011 08:03:49 -0000      1.35
+++ www/mod_perl/Makefile       16 Sep 2011 17:14:47 -0000
@@ -4,7 +4,7 @@

  DISTNAME=     mod_perl-1.31
  PKGNAME=      ${DISTNAME}
-REVISION=      3
+REVISION=      4
  CATEGORIES=   www perl5
  MASTER_SITES= http://perl.apache.org/dist/ \
                ${MASTER_SITE_PERL_CPAN:=Apache/}
Index: www/mod_perl/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_perl/pkg/PLIST,v
retrieving revision 1.22
diff -u -r1.22 PLIST
--- www/mod_perl/pkg/PLIST      10 May 2011 08:03:49 -0000      1.22
+++ www/mod_perl/pkg/PLIST      16 Sep 2011 17:14:47 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.22 2011/05/10 08:03:49 sthen Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update if test -f ${MODAPACHE_FINAL}; then cp -fp %D/%F 
${MODAPACHE_FINAL}; else :; fi
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  ${P5ARCH}/Apache/
  ${P5ARCH}/Apache.pm
  ${P5ARCH}/Apache/Connection.pm
Index: www/mod_random/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_random/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- www/mod_random/Makefile     26 Sep 2010 17:45:14 -0000      1.11
+++ www/mod_random/Makefile     16 Sep 2011 17:14:47 -0000
@@ -2,7 +2,7 @@

  COMMENT=      Apache module that provides randomized services

-REVISION=      6
+REVISION=      7
  DISTNAME=     mod_random-1.4
  CATEGORIES=   www

Index: www/mod_random/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_random/pkg/PLIST,v
retrieving revision 1.4
diff -u -r1.4 PLIST
--- www/mod_random/pkg/PLIST    26 Jun 2007 19:19:46 -0000      1.4
+++ www/mod_random/pkg/PLIST    16 Sep 2011 17:14:47 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.4 2007/06/26 19:19:46 simon Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_random/
  share/doc/mod_random/faq.html
Index: www/mod_ruby/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_ruby/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- www/mod_ruby/Makefile       16 Sep 2011 12:00:07 -0000      1.15
+++ www/mod_ruby/Makefile       16 Sep 2011 17:14:47 -0000
@@ -3,7 +3,7 @@
  COMMENT=              module that embeds Ruby into Apache

  DISTNAME=             mod_ruby-1.2.6
-REVISION =             6
+REVISION =             7
  CATEGORIES=           www

  HOMEPAGE=             http://modruby.net/
Index: www/mod_ruby/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_ruby/pkg/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- www/mod_ruby/pkg/PLIST      21 Jun 2007 20:54:33 -0000      1.3
+++ www/mod_ruby/pkg/PLIST      16 Sep 2011 17:14:47 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.3 2007/06/21 20:54:33 simon Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  lib/ruby/1.8/apache/
  lib/ruby/1.8/apache/erb-run.rb
  lib/ruby/1.8/apache/eruby-debug.rb
Index: www/mod_scgi/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_scgi/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- www/mod_scgi/Makefile       26 Sep 2010 17:45:14 -0000      1.5
+++ www/mod_scgi/Makefile       16 Sep 2011 17:14:47 -0000
@@ -2,7 +2,7 @@

  COMMENT=      apache interface for SCGI servers

-REVISION=      3
+REVISION=      4
  DISTNAME=     scgi-1.12
  PKGNAME=      mod_${DISTNAME}
  CATEGORIES=   www
Index: www/mod_scgi/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_scgi/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- www/mod_scgi/pkg/PLIST      25 Jul 2007 20:05:04 -0000      1.1.1.1
+++ www/mod_scgi/pkg/PLIST      16 Sep 2011 17:14:47 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.1.1.1 2007/07/25 20:05:04 simon Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_scgi/
  share/doc/mod_scgi/README.txt
Index: www/mod_security/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_security/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- www/mod_security/Makefile   26 Sep 2010 17:45:14 -0000      1.20
+++ www/mod_security/Makefile   16 Sep 2011 17:14:47 -0000
@@ -3,7 +3,7 @@
  COMMENT=      Web intrusion detection and prevention engine

  VER=          1.9.3
-REVISION=      4
+REVISION=      5
  DISTNAME=     modsecurity-apache_${VER}
  PKGNAME=      modsecurity-apache-${VER}

Index: www/mod_security/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_security/pkg/PLIST,v
retrieving revision 1.13
diff -u -r1.13 PLIST
--- www/mod_security/pkg/PLIST  30 Jun 2007 15:32:30 -0000      1.13
+++ www/mod_security/pkg/PLIST  16 Sep 2011 17:14:47 -0000
@@ -1,6 +1,6 @@
  @comment $OpenBSD: PLIST,v 1.13 2007/06/30 15:32:30 simon Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  share/doc/mod_security/
  share/doc/mod_security/CHANGES
Index: www/mod_text2html/Makefile
===================================================================
RCS file: /cvs/ports/www/mod_text2html/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- www/mod_text2html/Makefile  26 Sep 2010 17:45:14 -0000      1.11
+++ www/mod_text2html/Makefile  16 Sep 2011 17:14:47 -0000
@@ -2,7 +2,7 @@

  COMMENT=      Apache module designed to replace text/plain handler

-REVISION=      6
+REVISION=      7
  DISTNAME=     mod_text2html-1.0
  CATEGORIES=   www

Index: www/mod_text2html/pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/mod_text2html/pkg/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- www/mod_text2html/pkg/PLIST 26 Jun 2007 19:19:46 -0000      1.3
+++ www/mod_text2html/pkg/PLIST 16 Sep 2011 17:14:47 -0000
@@ -1,5 +1,5 @@
  @comment $OpenBSD: PLIST,v 1.3 2007/06/26 19:19:46 simon Exp $
  lib/${MODAPACHE_MODULE}
-@exec-update test -f ${MODAPACHE_FINAL}&&  cp -fp %D/%F ${MODAPACHE_FINAL}
+@exec-update test ! -f ${MODAPACHE_FINAL} || cp -fp %D/%F ${MODAPACHE_FINAL}
  sbin/${MODAPACHE_ENABLE}
  @unexec-delete rm -f ${MODAPACHE_FINAL}




Reply via email to