Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2013 12:49:27 GMT
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185367: [patch][update] graphics/tinyows: update to 1.1.0 and undeprecate
Message-ID:  <201312311249.rBVCnRPo047499@oldred.freebsd.org>
Resent-Message-ID: <201312311250.rBVCo0VE037982@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185367
>Category:       ports
>Synopsis:       [patch][update] graphics/tinyows: update to 1.1.0 and undeprecate
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 31 12:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Rainer Hurling
>Release:        11.0-CURRENT amd64 (clang)
>Organization:
>Environment:
FreeBSD xxx.xxx.xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r260082: Mon Dec 30 12:36:55 CET 2013     xxx@xxx.xxx.xxx:/usr/obj/usr/src/sys/XXX  amd64
>Description:
TinyOWS version 1.0.0 will expire on 2014-01-16, see PR ports/338281.

Here comes an update with the following changes:

- undeprecate
- update from version 1.0.0 to 1.1.0
- change MASTER_SITES
- support STAGEDIR
- fix LIB_DEPENDS
- update POSTGIS dependency

It seems, that no changes in pkg-plist are needed.

I am not sure what to do with LICENSE, see ${WORKDIR}/LICENSE.

>How-To-Repeat:

>Fix:
The attached patch should do the update.

Patch attached with submission follows:

diff -u tinyows.orig/Makefile tinyows/Makefile
--- tinyows.orig/Makefile	2013-12-31 12:52:04.000000000 +0100
+++ tinyows/Makefile	2013-12-31 12:58:47.000000000 +0100
@@ -2,19 +2,15 @@
 # $FreeBSD: head/graphics/tinyows/Makefile 338281 2013-12-31 10:56:15Z rene $
 
 PORTNAME=		tinyows
-PORTVERSION=		1.0.0
-PORTREVISION=		2
+PORTVERSION=		1.1.0
 CATEGORIES=		graphics www geography
-MASTER_SITES=		http://tinyows.org/release/
+MASTER_SITES=		http://download.osgeo.org/mapserver/
 
 MAINTAINER=		joris.dedieu@gmail.com
 COMMENT=		High Performance WFS-T server
 
-LIB_DEPENDS=		xml2:${PORTSDIR}/textproc/libxml2
-BUILD_DEPENDS=		${LOCALBASE}/lib/postgresql/postgis-1.5.so:${PORTSDIR}/databases/postgis
-
-DEPRECATED=		Depends on expired databases/postgis
-EXPIRATION_DATE=	2014-01-16
+LIB_DEPENDS=		libxml2.so:${PORTSDIR}/textproc/libxml2
+BUILD_DEPENDS=		${LOCALBASE}/lib/postgresql/postgis-2.1.so:${PORTSDIR}/databases/postgis21
 
 USE_BZIP2=		YES
 GNU_CONFIGURE=		YES
@@ -22,7 +18,6 @@
 OPTIONS_DEFINE=		FASTCGI
 OPTIONS_DEFAULT=	FASTCGI
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MFASTCGI}
@@ -31,7 +26,7 @@
 .endif
 
 post-install:
-	${MKDIR} ${WWWDIR}/cgi-bin/
-	${INSTALL_PROGRAM} ${WRKSRC}/tinyows ${WWWDIR}/cgi-bin/tinyows
+	${MKDIR} ${STAGEDIR}${WWWDIR}/cgi-bin/
+	${INSTALL_PROGRAM} ${WRKSRC}/tinyows ${STAGEDIR}${WWWDIR}/cgi-bin/tinyows
 
 .include <bsd.port.mk>
diff -u tinyows.orig/distinfo tinyows/distinfo
--- tinyows.orig/distinfo	2013-12-31 12:52:31.000000000 +0100
+++ tinyows/distinfo	2013-12-31 12:49:01.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (tinyows-1.0.0.tar.bz2) = c65ab614eb72dd4ae0983cd85c665c2f1e370fc10befa8fd0472db53cef77fde
-SIZE (tinyows-1.0.0.tar.bz2) = 1195708
+SHA256 (tinyows-1.1.0.tar.bz2) = c9b6bec5c8c0302bd9c89c3d55df7b11efd194f1fd3d40ec50edbe3b9c24ab77
+SIZE (tinyows-1.1.0.tar.bz2) = 1182951
diff -u tinyows.orig/pkg-descr tinyows/pkg-descr
--- tinyows.orig/pkg-descr	2013-06-20 17:51:55.000000000 +0200
+++ tinyows/pkg-descr	2013-12-31 13:04:57.000000000 +0100
@@ -1,4 +1,5 @@
 TinyOWS server implements latest WFS-T standard versions, 
 as well as related standards such as Filter Encoding (FE). 
 
+WWW: http://mapserver.org/trunk/tinyows/
 WWW: http://www.tinyows.org/


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312311249.rBVCnRPo047499>