Re: Segfault (core dump available) registering snort sensor to prelude-manager on FC5
"Chris Taylor" <[email protected]>
| Newsgroups | gmane.comp.security.ids.prelude.devel |
|---|---|
| Message-ID | <[email protected]> |
ScottO, Thanx so much for the assistance! -Chris On 5/14/07, ScottO <[email protected]> wrote: > Chris Taylor wrote: > > ScottO, > > > > Would you be so kind as to post your spec file somewhere? Either to > > the list-serv or maybe rapidshare or something like that and provide a > > link here? > > > > -Chris > > > > I can, it is below. > > Just so you know, I'm not a rpm guru or even an rpm novice, heh, there > are definitely better ways to do this than mine, and there are also most > likely errors that you'll encounter later on when upgrading - like an > additional entry in /etc/ld.so.conf, no uninstall features, etc. > > However, I have used the rpms on alot of machines - but keep in mind > that I have no idea if you will have troubles later on. I just wanted a > very simple, clean spec to build the basics that I needed. > > Watch the line wraps, particularly on the 'ln -s' and 'find' lines below. > > # > > Name: libprelude > Summary: Prelude Library utilized for Prelude framework. > Version: 0.9.13.2 > Release: 1 > License: GPL > Group: System Environment/Libraries > > > source: libprelude-0.9.13.2.tar.gz > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root > > BuildRequires: gnutls > BuildRequires: gnutls-devel > BuildRequires: python-devel > BuildRequires: libgcrypt-devel > > Requires: gnutls > > %description > Prelude Library framework necessary for all Prelude components. > > %prep > %setup > > %install > rm -rf $RPM_BUILD_ROOT > ./configure > make > make install DESTDIR=$RPM_BUILD_ROOT > > find $RPM_BUILD_ROOT -type f -print | sed "s#^$RPM_BUILD_ROOT/*#/#" > >ALL-FILES > > %clean > rm -rf $RPM_BUILD_ROOT > > %post > /bin/echo "/usr/local/lib" >> /etc/ld.so.conf > /sbin/ldconfig > /bin/ln -s /usr/local/lib/libprelude.so.2.9.4 /usr/local/lib/libprelude.so > /bin/mkdir /usr/local/etc/prelude/profile > /bin/mkdir -p /usr/local/var/spool/prelude > > %files -f ALL-FILES > > > > > > _______________________________________________ Prelude-devel site list [email protected] http://www.prelude-ids.org/mailman/listinfo/prelude-devel