/[smecontribs]/rpms/haserl/contribs9/haserl.spec
ViewVC logotype

Contents of /rpms/haserl/contribs9/haserl.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon May 23 07:21:14 2016 UTC (8 years, 6 months ago) by unnilennium
Branch: MAIN
CVS Tags: haserl-0_9_35-4_2
Initial import

1 #
2 # spec file for package haserl
3 #
4 # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
5 #
6 # All modifications and additions to the file contributed by third parties
7 # remain the property of their copyright owners, unless otherwise agreed
8 # upon. The license for this file, and modifications and additions to the
9 # file, is the same license as for the pristine package itself (unless the
10 # license for the pristine package is not an Open Source License, in which
11 # case the license is the MIT License). An "Open Source License" is a
12 # license that conforms to the Open Source Definition (Version 1.9)
13 # published by the Open Source Initiative.
14
15 # Please submit bugfixes or comments via http://bugs.opensuse.org/
16 #
17
18
19 Name: haserl
20 BuildRequires: automake
21 BuildRequires: lua-devel
22 BuildRequires: pkg-config
23 Version: 0.9.35
24 Release: 4.2
25 Url: http://haserl.sourceforge.net/
26 Source: http://downloads.sourceforge.net/project/%{name}/haserl-devel/%{name}-%{version}.tar.gz
27 Summary: CGI scripting with shell/lua
28 License: GPL-2.0
29 Group: Development/Tools/GUI Builders
30 BuildRoot: %{_tmppath}/%{name}-%{version}-build
31
32 %description
33 Haserl is a small cgi wrapper that allows "PHP" style cgi programming,
34 but uses a UNIX bash-like shell or lua as the programming language. It
35 is very small, so it can be used in embedded environments, or where
36 something like PHP is too big.
37
38 It combines three features into a small cgi engine: * It parses
39 POST and GET requests, placing form-elements as name=value
40 pairs into the environment for the CGI script to use. This is
41 somewhat like the uncgi wrapper.
42
43 * It opens a shell, and translates all text into printable
44 statements. All text within <? ... ?> constructs are passed
45 verbatim to the shell. This is somewhat like writing PHP
46 scripts.
47
48 * It can optionally be installed to drop its permissions to the
49 owner of the script, giving it some of the security features of suexec
50 or cgiwrapper.
51
52 %prep
53 %setup
54
55 %build
56 %configure --with-lua --enable-bash-extensions \
57 --enable-subshell=/bin/bash
58 make
59
60 %check
61 make check
62
63 %install
64 make install DESTDIR=$RPM_BUILD_ROOT
65
66 %files
67 %defattr(-,root,root)
68 /usr/bin/haserl
69 %{_mandir}/man1/haserl.1.gz
70
71 %changelog
72 * Thu Jul 30 2015 dimstar@opensuse.org
73 - Update to version 0.9.35:
74 + Fixed a possible segfault if CONTENT_TYPE is not specified.
75 - Changes from version 0.9.34:
76 + Haserl is now compatible with Lua 5.3 (in addition to 5.1, and
77 5.2).
78 + Fix processing of headers in rfc2388.c.
79 * Sat Jan 17 2015 p.drouand@gmail.com
80 - Update to version 0.9.33
81 * Fix various security vulnerabilities - most serious is a
82 Heap Overflow Vulnerability in sliding_buffer.c
83 * Allow PUT and DELETE method (But prefix is still POST/GET)
84 * On POST/PUT, Content-Type is not x-www-urlencoded, then
85 the body of the message is stored verbatim in POST_body=
86 - Remove obsolete fix-make.diff
87 - Remove autoreconf calling; not needed anymore
88 - Use %%configure instead of./configure
89 * Fri Dec 2 2011 coolo@suse.com
90 - add automake as buildrequire to avoid implicit dependency
91 * Tue Oct 12 2010 coolo@novell.com
92 - add patch to fix makefile syntax
93 * Sun Sep 26 2010 ro@suse.de
94 - add pkg-config to buildrequires
95 * Tue Aug 19 2008 garloff@suse.de
96 - Update to haserl-0.9.24:
97 * bash extensions
98 * regression tests (make check)
99 * docu updates
100 * myputenv enhancements
101 * observe CONTENT_LENGTH
102 * Thu Nov 29 2007 garloff@suse.de
103 - Update to haserl-0.9.21:
104 * Command line option handling reworked
105 * major refactoring
106 * various little bugs killed
107 * lua support
108 * custom handler for uploading large files
109 * new comment tag
110 * Tue Jul 10 2007 garloff@suse.de
111 - Initial creation of package haserl-0.8.0

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed