Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
haserl
haserl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File haserl.spec of Package haserl
# # spec file for package haserl (Version 0.9.24) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: haserl BuildRequires: lua-devel #Version: 0.8.0 Version: 0.9.24 Release: 1 Url: http://haserl.sourceforge.net/ Source: http://surfnet.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 Source2: http://geology.cr.usgs.gov/energy/Logfilter0.4/minunit.h License: GPL v2 only Summary: CGI scripting with shell/lua BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: Development/Tools/GUI Builders %description Haserl is a small cgi wrapper that allows "PHP" style cgi programming, but uses a UNIX bash-like shell or lua as the programming language. It is very small, so it can be used in embedded environments, or where something like PHP is too big. It combines three features into a small cgi engine: * It parses POST and GET requests, placing form-elements as name=value pairs into the environment for the CGI script to use. This is somewhat like the uncgi wrapper. * It opens a shell, and translates all text into printable statements. All text within <? ... ?> constructs are passed verbatim to the shell. This is somewhat like writing PHP scripts. * It can optionally be installed to drop its permissions to the owner of the script, giving it some of the security features of suexec or cgiwrapper. Authors: -------- Nathan Angelacos <NAngel@users.sourceforge.net> %prep %setup cp -p %SOURCE2 tests/ autoreconf -fi %build #RPM_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS" | sed 's/\-O2/-Os/g') # Sidenote: --with-lua only applies to 0.9.x CFLAGS="$RPM_OPT_FLAGS" \ ./configure --with-lua --enable-bash-extensions \ --enable-subshell=/bin/bash --prefix=/usr \ --mandir=%{_mandir} --infodir=%{_infodir} --libdir=%{_libdir} \ --libexecdir=%{_libdir} %{_target_cpu}-suse-linux make %check make check %install make install DESTDIR=$RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/bin/haserl #%dir /usr/share/haserl #/usr/share/haserl/* %{_mandir}/man1/haserl.1.gz %changelog * Wed Aug 20 2008 garloff@suse.de - Update to haserl-0.9.24: * bash extensions * regression tests (make check) * docu updates * myputenv enhancements * observe CONTENT_LENGTH * Thu Nov 29 2007 garloff@suse.de - Update to haserl-0.9.21: * Command line option handling reworked * major refactoring * various little bugs killed * lua support * custom handler for uploading large files * new comment tag * Tue Jul 10 2007 garloff@suse.de - Initial creation of package haserl-0.8.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor