rpms/prewikka/devel README.fedora, NONE, 1.1 prewikka.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Thorsten Scherf (tscherf) fedora-extras-commits at redhat.com
Mon Jan 15 19:12:34 UTC 2007


Author: tscherf

Update of /cvs/extras/rpms/prewikka/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8029/devel

Modified Files:
	.cvsignore sources 
Added Files:
	README.fedora prewikka.spec 
Log Message:
auto-import prewikka-0.9.8-1 on branch devel from prewikka-0.9.8-1.src.rpm


--- NEW FILE README.fedora ---
$id$

Before installing prewikka, make sure the Prelude Framework 
(libprelude + libpreludedb with python bindings) is installed. 

Prewikka receives its input from a database which has to be 
created in advance. For a MySQL-Database this could be done like 
this:

* mysql> CREATE database prewikka;
* mysql> GRANT ALL PRIVILEGES ON prewikka.* TO prewikka@'localhost' \
 IDENTIFIED BY 'password';
* $ mysql -u prewikka prewikka -p < /usr/share/prewikka/database/mysql.sql

PostgreSQL and SQLite3 setup works similar. Afterwards, put all the relevant 
information into the prewikka.conf file and install the corresponding
libpreludedb-mysql/pgsql/sqlite package from the yum repository.

Please also note, that you have to customize your webserver setup before 
you could use prewikka.  

For deatiled setup instructions, please read:
https://trac.prelude-ids.org/wiki/InstallingPrewikka

For further Questions, regarding the Fedora Setup, mail to: 
Thorsten Scherf <tscherf at redhat.com>



--- NEW FILE prewikka.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:		prewikka
Version:        0.9.8
Release:        1%{?dist}
Summary:        Graphical front-end analysis console for the Prelude Hybrid IDS Framework
Group:          Applications/Internet
License:        GPL
URL:            http://www.prelude-ids.org
Source0:	http://www.prelude-ids.org/download/releases/%{name}-%{version}.tar.gz
Source1:        README.fedora
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  python-devel python-cheetah
Requires:   	python-cheetah, libprelude-python, libpreludedb-python
BuildArch:	noarch


%description
Prewikka is a graphical front-end analysis console for the Prelude 
Hybrid IDS Framework. Providing numerous features, Prewikka facilitates 
the work of users and analysts. It provides alert aggregation and sensor 
and hearbeat views, and has user management and configurable filters. It 
has access to external tools such as whois and traceroute.

Please read README.fedora for installation instructions.

%prep
%setup -q
cp -p %{SOURCE1} .

%build

%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --root=%{buildroot}
mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}
mkdir -p %{buildroot}%{_sbindir}/
chmod 0644 %{buildroot}/%{_datadir}/%{name}/htdocs/css/style.css
mv %{buildroot}/%{_bindir}/%{name}-httpd %{buildroot}/%{_sbindir}/%{name}-httpd
sed -i -e '/^#!\/usr\/bin\/env python$/d' %{buildroot}/%{python_sitearch}/%{name}/templates/*
 
%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%dir %{_sysconfdir}/%{name}/
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
%dir %{_datadir}/%{name}/
%{_datadir}/%{name}/*
%{_sbindir}/%{name}-httpd
%{python_sitelib}/%{name}/
%doc AUTHORS README NEWS HACKING.README README.fedora doc/apache.conf 

%changelog
* Sun Jan 12 2007 Thorsten Scherf <tscherf at redhat.com> 0.9.8-1
- moved to upstream version 0.9.8

* Sat Jan 11 2007 Thorsten Scherf <tscherf at redhat.com> 0.9.7.1-5
- changed docs handling
- fixed python settings

* Mon Jan 01 2007 Thorsten Scherf <tscherf at redhat.com> 0.9.7.1-4
- corrected perms on python files 
- moved prewikka-httpd to /sbin
- added README.fedora

* Mon Nov 20 2006 Thorsten Scherf <tscherf at redhat.com> 0.9.7.1-3
- disabled dependency-generator 

* Mon Nov 20 2006 Thorsten Scherf <tscherf at redhat.com> 0.9.7.1-2
- Some minor fixes in requirements

* Mon Nov 06 2004 Thorsten Scherf <tscherf at redhat.com> 0.9.7.1-1
- test build for fc6





Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/prewikka/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	15 Jan 2007 19:10:34 -0000	1.1
+++ .cvsignore	15 Jan 2007 19:12:04 -0000	1.2
@@ -0,0 +1 @@
+prewikka-0.9.8.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/prewikka/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	15 Jan 2007 19:10:34 -0000	1.1
+++ sources	15 Jan 2007 19:12:04 -0000	1.2
@@ -0,0 +1 @@
+bc269aeb9c3570b76b668f0242daef76  prewikka-0.9.8.tar.gz




More information about the scm-commits mailing list