NetBSD Problem Report #33508
From raphael@raphael.g-system.at Thu May 18 17:22:01 2006
Return-Path: <raphael@raphael.g-system.at>
Received: from raphael.g-system.at (raphael.netpark.at [217.175.201.10])
by narn.NetBSD.org (Postfix) with ESMTP id 2D9EA63B872
for <gnats-bugs@gnats.NetBSD.org>; Thu, 18 May 2006 17:22:00 +0000 (UTC)
Message-Id: <E1FgmBk-0005VP-9E@raphael.g-system.at>
Date: Thu, 18 May 2006 19:21:28 +0200
From: raphael@raphael.g-system.at
Reply-To: raphael@raphael.g-system.at
To: gnats-bugs@NetBSD.org
Subject: NEW PACKAGE: /lang/spl
X-Send-Pr-Version: 3.95
>Number: 33508
>Category: pkg
>Synopsis: New package lang/spl for pkgsrc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: rillig
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu May 18 17:25:00 +0000 2006
>Closed-Date: Fri May 19 08:15:52 +0000 2006
>Last-Modified: Fri May 19 13:45:01 +0000 2006
>Originator: Raphael Langerhorst
>Release: NetBSD 3.0
>Organization:
>Environment:
System: NetBSD home.raphael.g-system.at 3.0 NetBSD 3.0 (HOME-$Revision: 1.42.2.4 $) #0: Mon Dec 26 22:02:37 CET 2005 raphael@home.raphael.netpark.at:/usr/obj/sys/arch/amd64/compile/HOME amd64
Architecture: x86_64
Machine: amd64
>Description:
Appended is an uuencoded gzipped tar archive of the lang/spl
package. SPL is a scripting language with a couple of interesting features:
SPL is a powerful scripting language. It is very feature-rich (hashes, regular
expressions, objects, exceptions, built-in template language, etc. pp.) and has
a c-style syntax. The Name "SPL" is a left-recursive acronym and expands to "SPL
Programming Language".
The SPL VM is a pure bytecode interpeter.
SPL has support for loadable modules. The spl package contains already modules
for stuff such as accessing SQL databases (SQLite, Postgres, MySQL), XML (incl.
XPATH and XSLT), Terminal and File IO, Web Application development (the CGI, WSF
and W2T (Web 2.0 Toolkit) modules), SDL, Qt and much more.
SPL currently supports Linux,BSD Systems, other POSIX environments, MacOS-X
(Darwin), SGI IRIX, Cygwin and native Win32 (using MinGW).
More information in DESCR and on http://www.clifford.at/spl/
Notes:
I've put a $NetBSD$ at the beginning of some files. AFAIK the correct
RCS ID is created when committed to CVS.
I did not read all of the pkgsrc guide. I used pkglint and have read
portions of the pkgsrc guide. And I've previously provided packages (ports)
to FreeBSD, although this is my first pkgsrc package. Just that you know,
so please look it through, it should be fine according to my knowledge,
but I'm not the expert.
Some directories in PLIST are shared... I used @dirrm nontheless, you
might want to take a look at it.
I have tested the package on a second host, it installs fine, both
the script-interpreter as well as WebSPL (with Apache CGI) work fine.
Hopefully you'll soon be able to add SPL to CVS HEAD of pkgsrc.
Thanks a lot!
Appended is the package itself, I've created that with the command:
tar -cf - lang/spl | gzip | uuencode spl.tar.gz | cat > spl_package
begin 644 spl.tar.gz
M'XL(`!"G;$0``^T9:V_;.+)?RU\Q2(.M<VO+\GM3($"]B9OZUHZSD7/)`04,
M2J(M-GHM2<7V%OGO-Z1D)]F-G;O#NBVP(1)(XCPY,YP9TB&-9U69AJ]V.&R[
M:7=:+7R:\<>G>:_9S4:C5K<[M3K.UVJ-1OU5:Y=*K48F%14`KT22J&UX\X"Q
MG5KIVXRP\']U2&_8E(=L!S+LFFVWF\U-_J_7VLVU_]NUFO9_PVYV7MD[T.5/
MXV_N_S>P?\;4S\[)/GE#R$G?&9]UA[TCR`<&1L6V#@-RW!WW3D<7_9Z3@W38
MD&'7&?<N)DY_G$\'2J7OJM7Y?&YY(9].$^%;5)GH$BQD5#)9)4C5/QOC?^\B
M9R5H&E`6OB^>UJPBEU*Q"$G)Q]&P=]X]7>NS60(Y'@V'O;/Q"A/&`0/G?`#G
M(ID)&D4\GL$`M<[HC!%RZ?0F@^[9Z24R=XY>>V9B/!H-G!^/7L\BW`N$.)<_
M.^/)\:#K.#T]G0K<((MBVADCI95/&5`EI<H+"NB'_J#GK*&G9Y=1L;M6U+V3
M`HI\*PS>RO(G^`3YE/6/!Q^?X.@3['\YO^A]Z%_?E6=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
M<WK8.K29;?M^W<._6AL)F3]M,8\U;;M#;=KPB<-_9T]R:-0/&ZVZ.0W+O\OF
M_`KC_O>_GN-T3WN[D/'<_M>_#1?]?Z>C[_VP_V\V7O;_UQA'?]T@ZUS2G\(R
MR6!>7*-EDNG#/9Z\RV9>!DD6^OK:!F02,168RT9^PP!?)4$*Q!+FQS[?T@<.
M<Y'RCI#5;WM=WQ\OTT<W.]5%Q>!7\K,$6/GSGL2T7MLHGCK+D'^CNA&?!2J_
MKUNMB/J?,6X@U?US?MNI[X^V'FN0RERI27VGE\1A?C>%*""9N&7"7.#,!5?L
>(5N+_)4.^M;!]C)>QLMX&2_CNQG_`>?3H`0`*```
`
end
>How-To-Repeat:
>Fix:
Unknown
>Release-Note:
>Audit-Trail:
From: Roland Illig <rillig@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/33508 CVS commit: pkgsrc/lang/spl
Date: Fri, 19 May 2006 07:49:09 +0000 (UTC)
Module Name: pkgsrc
Committed By: rillig
Date: Fri May 19 07:49:09 UTC 2006
Update of /cvsroot/pkgsrc/lang/spl
In directory ivanova.netbsd.org:/tmp/cvs-serv13584
Log Message:
Imported spl from PR 33508.
SPL is a powerful scripting language. It is very feature-rich (hashes, regular
expressions, objects, exceptions, built-in template language, etc. pp.) and has
a c-style syntax. The Name "SPL" is a left-recursive acronym and expands to "SPL
Programming Language". The name was meant to be pronounced as an acronym, but
I've already heard people pronouncing it "spell", which is also fine with me.
The SPL VM is a pure bytecode interpeter. Support for JIT compilation or
generating machine code for the host CPU is not planed and doesn't make much
sense for various technical reasons. The entire SPL toolchain (compiler,
assembler, virtual machine, etc) is pretty small (about 100k on x86
architectures). The additional memory usage by the applications is rather small
too. One of the more advanced VM features is the capability to dump the entire
VM state to a file and resume later. It is even possible to resume on another
machine with a different architecture.
SPL has support for loadable modules. The spl package contains already modules
for stuff such as accessing SQL databases (SQLite, Postgres, MySQL), XML (incl.
XPATH and XSLT), Terminal and File IO, Web Application development (the CGI, WSF
and W2T (Web 2.0 Toolkit) modules), SDL, Qt and much more.
SPL currently supports Linux,BSD Systems, other POSIX environments, MacOS-X
(Darwin), SGI IRIX, Cygwin and native Win32 (using MinGW).
Packaged by Raphael Langerhorst.
Status:
Vendor Tag: TNF
Release Tags: pkgsrc-base
N pkgsrc/lang/spl/Makefile
N pkgsrc/lang/spl/DESCR
N pkgsrc/lang/spl/PLIST
N pkgsrc/lang/spl/distinfo
N pkgsrc/lang/spl/MESSAGE
No conflicts created by this import
From: Roland Illig <rillig@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/33508 CVS commit: pkgsrc/doc
Date: Fri, 19 May 2006 07:49:18 +0000 (UTC)
Module Name: pkgsrc
Committed By: rillig
Date: Fri May 19 07:49:18 UTC 2006
Modified Files:
pkgsrc/doc: CHANGES-2006
Log Message:
Imported lang/spl-0.9h from PR 33508
To generate a diff of this commit:
cvs rdiff -r1.272 -r1.273 pkgsrc/doc/CHANGES-2006
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Responsible-Changed-From-To: pkg-manager->rillig
Responsible-Changed-By: rillig@netbsd.org
Responsible-Changed-When: Fri, 19 May 2006 08:15:52 +0000
Responsible-Changed-Why:
It's mine ...
State-Changed-From-To: open->closed
State-Changed-By: rillig@netbsd.org
State-Changed-When: Fri, 19 May 2006 08:15:52 +0000
State-Changed-Why:
I have committed the package with slight modifications. In a second step
I added the documentation that is provided within the package, since I
don't like programming languages that come without examples and
documentation.
Thanks for packaging SPL.
From: Raphael Langerhorst <raphael@raphael.g-system.at>
To: gnats-bugs@netbsd.org
Cc: rillig@netbsd.org, pkg-manager@netbsd.org,
pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/33508 (New package lang/spl for pkgsrc)
Date: Fri, 19 May 2006 11:45:44 +0200
--Boundary-00=_IPZbE8+0dXFtGg/
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Am Freitag, 19. Mai 2006 10:15 schrieb rillig@netbsd.org:
[...]
> I have committed the package with slight modifications. In a second step
> I added the documentation that is provided within the package, since I
> don't like programming languages that come without examples and
> documentation.
>
> Thanks for packaging SPL.
Reminding me of documentation... attached patch uses the spldoc makefile
target to generate the API documentation of builtins and modules. The result
is put into the spldoc directory which can also be installed along with the
other documentation. Additionally this target generates a manual.tex file out
of README* which is also installed. I hope the patch is fine, please review
and apply.
Thanks for adding SPL to pkgsrc!
--
Raphael Langerhorst
http://raphael.g-system.at
--Boundary-00=_IPZbE8+0dXFtGg/
Content-Type: text/x-diff;
charset="iso-8859-1";
name="spldoc.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="spldoc.diff"
? spldoc.diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/spl/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 19 May 2006 08:13:25 -0000 1.2
+++ Makefile 19 May 2006 09:40:01 -0000
@@ -2,7 +2,7 @@
#
DISTNAME= spl-0.9h
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= lang
MASTER_SITES= http://www.clifford.at/spl/releases/
@@ -23,6 +23,7 @@
_SUBST_IS_TEXT_FILE=true
MAKEFILE= GNUmakefile
+BUILD_TARGET= all spldoc
EGDIR= ${PREFIX}/share/examples/spl
DOCDIR= ${PREFIX}/share/doc/spl
@@ -31,7 +32,7 @@
${CHMOD} a+rwx ${PREFIX}/libexec/cgi-bin/webspl_cache
${LN} -s ${PREFIX}/lib/spl_modules ${PREFIX}/libexec/cgi-bin/spl_modules
${INSTALL_DATA_DIR} ${DOCDIR}
- cd ${WRKSRC} && ${PAX} -rw -p am README* webspl_demo webspltut ${DOCDIR}
+ cd ${WRKSRC} && ${PAX} -rw -p am README* manual.tex spldoc webspl_demo webspltut ${DOCDIR}
${INSTALL_DATA_DIR} ${EGDIR}
cd ${WRKSRC}/examples && ${INSTALL_DATA} example* ${EGDIR}
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/lang/spl/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST 19 May 2006 08:13:25 -0000 1.2
+++ PLIST 19 May 2006 09:40:02 -0000
@@ -41,6 +41,94 @@
share/doc/spl/README.API
share/doc/spl/README.LANG
share/doc/spl/README.WEBSPL
+share/doc/spl/manual.tex
+share/doc/spl/spldoc/builtins.html
+share/doc/spl/spldoc/builtins.txt
+share/doc/spl/spldoc/array.html
+share/doc/spl/spldoc/array.txt
+share/doc/spl/spldoc/bits.html
+share/doc/spl/spldoc/bits.txt
+share/doc/spl/spldoc/cgi.html
+share/doc/spl/spldoc/cgi.txt
+share/doc/spl/spldoc/crypt.html
+share/doc/spl/spldoc/crypt.txt
+share/doc/spl/spldoc/curl.html
+share/doc/spl/spldoc/curl.txt
+share/doc/spl/spldoc/encode_int.html
+share/doc/spl/spldoc/encode_int.txt
+share/doc/spl/spldoc/encode_js.html
+share/doc/spl/spldoc/encode_js.txt
+share/doc/spl/spldoc/encode_regex.html
+share/doc/spl/spldoc/encode_regex.txt
+share/doc/spl/spldoc/encode_url.html
+share/doc/spl/spldoc/encode_url.txt
+share/doc/spl/spldoc/encode_xml.html
+share/doc/spl/spldoc/environ.txt
+share/doc/spl/spldoc/encode_xml.txt
+share/doc/spl/spldoc/environ.html
+share/doc/spl/spldoc/file.html
+share/doc/spl/spldoc/file.txt
+share/doc/spl/spldoc/format_ini.html
+share/doc/spl/spldoc/format_ini.txt
+share/doc/spl/spldoc/format_xml.html
+share/doc/spl/spldoc/format_xml.txt
+share/doc/spl/spldoc/kde.html
+share/doc/spl/spldoc/kde.txt
+share/doc/spl/spldoc/multimouse.html
+share/doc/spl/spldoc/multimouse.txt
+share/doc/spl/spldoc/prime.html
+share/doc/spl/spldoc/prime.txt
+share/doc/spl/spldoc/qt.html
+share/doc/spl/spldoc/qt.txt
+share/doc/spl/spldoc/sdl.html
+share/doc/spl/spldoc/sdl.txt
+share/doc/spl/spldoc/sql.html
+share/doc/spl/spldoc/sql.txt
+share/doc/spl/spldoc/sql_mysql.html
+share/doc/spl/spldoc/sql_mysql.txt
+share/doc/spl/spldoc/sql_postgres.html
+share/doc/spl/spldoc/sql_sqlite.html
+share/doc/spl/spldoc/sql_postgres.txt
+share/doc/spl/spldoc/sql_sqlite.txt
+share/doc/spl/spldoc/sql_utils.html
+share/doc/spl/spldoc/sql_utils.txt
+share/doc/spl/spldoc/system.html
+share/doc/spl/spldoc/system.txt
+share/doc/spl/spldoc/task.html
+share/doc/spl/spldoc/task.txt
+share/doc/spl/spldoc/termio.html
+share/doc/spl/spldoc/termio.txt
+share/doc/spl/spldoc/time.html
+share/doc/spl/spldoc/time.txt
+share/doc/spl/spldoc/uuidgen.html
+share/doc/spl/spldoc/uuidgen.txt
+share/doc/spl/spldoc/w2t.html
+share/doc/spl/spldoc/w2t.txt
+share/doc/spl/spldoc/webdebug.html
+share/doc/spl/spldoc/webdebug.txt
+share/doc/spl/spldoc/wsf.html
+share/doc/spl/spldoc/wsf.txt
+share/doc/spl/spldoc/wsf_action.html
+share/doc/spl/spldoc/wsf_action.txt
+share/doc/spl/spldoc/wsf_debug.html
+share/doc/spl/spldoc/xml.txt
+share/doc/spl/spldoc/wsf_debug.txt
+share/doc/spl/spldoc/wsf_dialog.html
+share/doc/spl/spldoc/wsf_dialog.txt
+share/doc/spl/spldoc/wsf_display.html
+share/doc/spl/spldoc/wsf_display.txt
+share/doc/spl/spldoc/wsf_edit.html
+share/doc/spl/spldoc/wsf_edit.txt
+share/doc/spl/spldoc/wsf_edit_sql.html
+share/doc/spl/spldoc/wsf_edit_sql.txt
+share/doc/spl/spldoc/wsf_graph.html
+share/doc/spl/spldoc/wsf_graph.txt
+share/doc/spl/spldoc/wsf_menu.html
+share/doc/spl/spldoc/wsf_menu.txt
+share/doc/spl/spldoc/wsf_switch.html
+share/doc/spl/spldoc/wsf_switch.txt
+share/doc/spl/spldoc/xml.html
+share/doc/spl/spldoc/index.html
share/doc/spl/webspl_demo/calc_off.spltpl
share/doc/spl/webspl_demo/calc_on.spltpl
share/doc/spl/webspl_demo/cookies.webspl
@@ -217,6 +305,7 @@
share/examples/spl/example67.expected
share/examples/spl/example67.spl
@dirrm share/examples/spl
+@dirrm share/doc/spl/spldoc
@dirrm share/doc/spl/webspltut
@dirrm share/doc/spl/webspl_demo/images
@dirrm share/doc/spl/webspl_demo
--Boundary-00=_IPZbE8+0dXFtGg/--
From: Roland Illig <rillig@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/33508 CVS commit: pkgsrc/lang/spl
Date: Fri, 19 May 2006 13:44:50 +0000 (UTC)
Module Name: pkgsrc
Committed By: rillig
Date: Fri May 19 13:44:50 UTC 2006
Modified Files:
pkgsrc/lang/spl: Makefile PLIST
Log Message:
Added more documentation. Bumped PKGREVISION.
Patch provided by Raphael Langerhorst in PR 33508.
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/lang/spl/Makefile pkgsrc/lang/spl/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.