Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
haserl
haserl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File haserl.spec of Package haserl
# # spec file for package haserl # # Copyright (c) 2011 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/ # Name: haserl BuildRequires: automake BuildRequires: lua-devel BuildRequires: pkg-config #Version: 0.8.0 Version: 0.9.24 Release: 0 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 # FIX-UPSTREAM coolo@novell.com - fix makefile syntax Patch0: fix-make.diff License: GPL-2.0 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. %prep %setup %patch0 -p1 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
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