Subject: pkg/28646: www/screws update to latest 0.56
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <pancake@phreaker.net>
List: pkgsrc-bugs
Date: 12/13/2004 14:55:01
>Number:         28646
>Category:       pkg
>Synopsis:       www/screws update to latest 0.56
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 13 14:55:00 +0000 2004
>Originator:     pancake@phreaker.net
>Release:        Linux 2.6.9pl2
>Organization:
	<organization of PR author (multiple lines)>
>Environment:
	<The following information is extracted from your kernel. Please>
	<append output of "ldd", "ident" where relevant (multiple lines).>
System: Linux pl2 2.6.9pl2 #4 Fri Dec 10 22:17:29 VET 2004 i686 GNU/Linux
Architecture: i686
Machine: i686
>Description:
add options support

Changelog:
     - Solve ERROR_ vs LOG_ conflicts
     - Add cache code into HSML (sepharad)
     - Remove silly code in Date Format
     - Hsml code fragmented into language modules:
         c, perl, brainfuck, python modules


	<precise description of the problem (multiple lines)>
>How-To-Repeat:
	<code/input/activities to reproduce the problem (multiple lines)>
>Fix:
remove all patches
add options.mk:

------------>8--------------------------
PKG_SUPPORTED_OPTIONS=lua ssl ipv6
PKG_OPTIONS_VAR=PKG_OPTIONS.screws

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mlua)
.include "../../lang/lua/buildlink3.mk"
MAKE_ENV+=INCORE_LUA=1
.else
MAKE_ENV+=INCORE_LUA=0
.endif

.if !empty(PKG_OPTIONS:Mssl)
.include "../../security/openssl/buildlink3.mk"
MAKE_ENV+=SSL=1
.else
MAKE_ENV+=SSL=0
.endif

.if !empty(PKG_OPTIONS:Mipv6)
MAKE_ENV+=IPV6=1
.else
MAKE_ENV+=IPV6=0
.endif
--------------8<------------------

and cvs diff this:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/screws/Makefile,v
retrieving revision 1.3
diff -r1.3 Makefile
4,5c4
< DISTNAME=	screws-0.54
< PKGREVISION=	1
---
> DISTNAME=	screws-0.56
26,27c25,26
< .include "../../lang/lua/buildlink3.mk"
< .include "../../security/openssl/buildlink3.mk"
---
> .include "../../www/screws/options.mk"
> 
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/www/screws/PLIST,v
retrieving revision 1.4
diff -r1.4 PLIST
1c1
< @comment $NetBSD: PLIST,v 1.4 2004/07/08 23:14:59 erh Exp $
---
> @comment $NetBSD$
2a3,4
> etc/rc.d/screws
> etc/screws.conf
9a12,15
> lib/screws/lang_brainfuck.so
> lib/screws/lang_c.so
> lib/screws/lang_perl.so
> lib/screws/lang_python.so
85a92
> @exec ${MKDIR} %D/var/log
88a96
> @exec ${MKDIR} %D/share/doc/screws/examples
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/www/screws/distinfo,v
retrieving revision 1.5
diff -r1.5 distinfo
3,4c3,4
< SHA1 (screws-0.54.tar.gz) = 87114e17d14f092e943a3a29345a532cfa7e3ca5
< Size (screws-0.54.tar.gz) = 828711 bytes
---
> SHA1 (screws-0.56.tar.gz) = 3335e7e7116561499ee7164831c31df4ecebe403
> Size (screws-0.56.tar.gz) = 256862 bytes
	<how to correct or work around the problem, if known (multiple lines)>

>Unformatted:
 	<Please check that the above is correct for the bug being reported,>
 	<and append source date of snapshot, if applicable (one line).>