[syslog-ng]snapshots of 1.6.0rc2 available

José Pedro Oliveira syslog-ng@lists.balabit.hu
Thu, 10 Apr 2003 15:49:31 +0100


This is a multi-part message in MIME format.
--------------090909070208000301040105
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Balazs Scheidler,

I made a couple of modifications to the spec file of libol (file: 
libol.spec.in).

Changelog:
- reformated the spec file
- replaced hard coded follows by RPM macros

It builds correctely in RH 7.3 and 8.0 systems.

Best regards,
jpo

PS - I also have a RH spec file for syslog-ng with bash scripts
for registering the daemon (%post, %preun, and %postun scripts),
logrotate file and /etc/sysconfig/syslog-ng file. The main
problem with this spec is portability. I believe that some
Linux distros don't use the chkconfig and the service commands.


Best regards,
jpo


> Hi,
> 
> Although not officially released, I have uploaded a test version of 1.6.0rc2 to
> our website:
> 
> http://www.balabit.com/downloads/syslog-ng/1.6/src-snapshots/syslog-ng-1.6.0rc2+20030410manual.tar.gz
> 
> The accompanying libol snapshot is also available. This release should fix
> the configure problems in 1.6.0rc1 and also adds performance improvements
> with the gperf based macro name resolution.
> 
> If no problems are reported within a day or two I'll release syslog-ng
> 1.6.0rc2 officially.
> 


-- 
José Pedro Oliveira
* mailto: jpo@di.uminho.pt * http://gsd.di.uminho.pt/~jpo *

--------------090909070208000301040105
Content-Type: text/plain;
 name="libol-0.3.9-spec.in-patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="libol-0.3.9-spec.in-patch"

diff -ru libol-0.3.9+20030410manual-original/libol.spec.in libol-0.3.9+20030410manual-modified/libol.spec.in
--- libol-0.3.9+20030410manual-original/libol.spec.in	2001-01-18 19:58:52.000000000 +0000
+++ libol-0.3.9+20030410manual-modified/libol.spec.in	2003-04-10 15:32:41.000000000 +0100
@@ -1,13 +1,13 @@
-Summary: Support library for syslog-ng
-Name: libol
-Version: @VERSION@
-Release: 1
-Copyright: GPL
-Group: System Environment/Libraries
-Url: http://www.balabit.hu/products/syslog-ng/
-Source0: http://www.balabit.hu/downloads/syslog-ng/libol/0.2/libol-%{version}.tar.gz
-Packager: Hollis Blanchard <hollis@penguinppc.org>
-Buildroot: /var/tmp/%{name}-root
+Summary:   Support library for syslog-ng
+Name:      libol
+Version:   @VERSION@
+Release:   1
+License:   GPL
+Group:     System Environment/Libraries
+Url:       http://www.balabit.hu/products/syslog-ng/
+Source:    http://www.balabit.hu/downloads/syslog-ng/libol/0.3/%{name}-%{version}.tar.gz
+Packager:  Hollis Blanchard <hollis@penguinppc.org>
+Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
 
 %description
 Support library for syslog-ng.
@@ -20,36 +20,46 @@
 %description devel
 libol headers, libraries
 
+
 %prep
-%setup
+%setup -q
 
 %build
-./configure
+%configure
 make
 
 %install
 rm -rf ${RPM_BUILD_ROOT}
-make -e DESTDIR=$RPM_BUILD_ROOT install
+%makeinstall
 
 %clean
 rm -rf ${RPM_BUILD_ROOT}
 
+
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
-%changelog
-* Sun Jul 30 2000 Hollis Blanchard <hollis@penguinppc.org>
-  - initial RPM
 
 %files
-/usr/local/bin/libol-config
-/usr/local/lib/libol.so
-/usr/local/lib/libol.so.0
-/usr/local/lib/libol.so.0.0.0
+%defattr(-,root,root)
 %doc ChangeLog
+%{_bindir}/libol-config
+%{_libdir}/libol.so
+%{_libdir}/libol.so.0
+%{_libdir}/libol.so.0.0.0
 
 %files devel
-/usr/local/include/libol
-/usr/local/lib/libol.a
-/usr/local/lib/libol.la
+%defattr(-,root,root)
+%{_includedir}/libol
+%{_libdir}/libol.a
+%{_libdir}/libol.la
+
+
+%changelog
+* Thu Apr 10 2003 Jose Pedro Oliveira <jpo@di.uminho.pt>
+- specfile reformated 
+- replaced hard coded values by RPM macros
+
+* Sun Jul 30 2000 Hollis Blanchard <hollis@penguinppc.org>
+- initial RPM

--------------090909070208000301040105--