ALT Linux Bugzilla
– Attachment 5810 Details for
Bug 28871
Обновить до 3.4.1
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
примерный spec
syslog-ng.spec (text/x-rpm-spec), 7.31 KB, created by
Sergey Y. Afonin
on 2013-04-22 19:18:00 MSK
(
hide
)
Description:
примерный spec
Filename:
MIME Type:
Creator:
Sergey Y. Afonin
Created:
2013-04-22 19:18:00 MSK
Size:
7.31 KB
patch
obsolete
>Name: syslog-ng >Version: 3.4.1 >Release: alt0 > >Summary: syslog-ng daemon >Group: System/Kernel and hardware >License: GPL >URL: http://www.balabit.com/products/syslog_ng/ >Provides: syslogd-daemon >Prereq: syslog-common >Conflicts: klogd < 1.4.1-alt7 > >Packager: Sergey Alembekov <rt@altlinux.ru> > >Source: syslog-ng_3.4.1.tar.gz >Source1: %name.init >Source2: %name.conf >Source3: %name.sysconfig > >Patch1: %name-2.0.7-alt-defpath.patch > ># Automatically added by buildreq on Fri Apr 19 2013 (-bi) ># optimized out: elfutils libcom_err-devel libkrb5-devel pkg-config python-base python-modules >BuildRequires: flex glib2-devel libcap-devel libdbi-devel libesmtp-devel libeventlog-devel libnet2-devel libpcre-devel libpopt-devel libssl-devel libuuid-devel libwrap-devel python-devel python-modules-json > >%description >An enhanced syslog daemon. > >%package devel >Summary: Development files for %name >Group: Development/Libraries >Requires: %name = %version-%release libeventlog-devel > >%description devel >The %name-devel package contains libraries and header files for >developing applications that use %name. > > >%prep >%setup -q >#patch1 -p1 > ># fix perl path >%{__sed} -i 's|^#!/usr/local/bin/perl|#!%{__perl}|' contrib/relogger.pl > >%build >%configure \ > --sbindir=/sbin \ > --enable-ipv6 \ > --enable-dynamic-linking \ > --enable-tcp-wrapper \ > --enable-spoof-source \ > --sysconfdir=%_sysconfdir/%name \ > --with-pidfile-dir=/var/run \ > --localstatedir=/var/lib/syslog-ng \ > --datadir=%_datadir/%name \ > --mandir=%_mandir > ># fixed libraries path in RPATH >#sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool >#sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool > >%make_build > >%install >mkdir -p %buildroot%_initdir >make DESTDIR=$RPM_BUILD_ROOT sbindir=/sbin sysconfdir=%_sysconfdir/%name \ > mandir=%_mandir prefix=%prefix install > >install -m755 -D -p %SOURCE1 $RPM_BUILD_ROOT%_initdir/%name >install -m640 -D -p %SOURCE2 $RPM_BUILD_ROOT%_sysconfdir/%name/%name.conf >install -m640 -D -p %SOURCE3 $RPM_BUILD_ROOT%_sysconfdir/sysconfig/%name > >install -m644 -p config.h $RPM_BUILD_ROOT%_includedir/%name > >#%__mkdir_p $RPM_BUILD_ROOT%_sysconfdir/%name/patterndb.d >#rm -f $RPM_BUILD_ROOT%_sysconfdir/patterndb.d > >%__mkdir_p $RPM_BUILD_ROOT%_localstatedir/%name > >find $RPM_BUILD_ROOT -name "*.la" -exec rm -f {} + > >#for FILE in $RPM_BUILD_ROOT/{usr/bin/pdbtool,usr/lib/syslog-ng/libdbparser.so,usr/lib/syslog-ng/libcryptofuncs.so,usr/lib/syslog-ng/libafsocket-tls.so} ; do ># chrpath -d $FILE ||: >#done > >#verify-elf: WARNING: ./usr/bin/pdbtool: RPATH entry found: /usr/lib/syslog-ng >#verify-elf: WARNING: ./usr/lib/syslog-ng/libdbparser.so: RPATH entry found: /usr/lib/syslog-ng >#verify-elf: WARNING: ./usr/lib/syslog-ng/libcryptofuncs.so: RPATH entry found: /usr/lib/syslog-ng >#verify-elf: WARNING: ./usr/lib/syslog-ng/libafsocket-tls.so: RPATH entry found: /usr/lib/syslog-ng > >%post >%post_service %name >if [ $1 = 1 ]; then > [ -x /sbin/syslogd ] && /sbin/chkconfig --level 2345 syslogd off ||: >fi > >%preun >%preun_service %name >if [ $1 = 0 ]; then > [ -x /sbin/syslogd ] && /sbin/chkconfig --level 2345 syslogd on ||: >fi > >%files >%doc AUTHORS ChangeLog NEWS >%doc contrib/{syslog2ng,syslog-ng.vim,relogger.pl,syslog-ng.conf.doc} > >%dir %_sysconfdir/%name >%dir %_sysconfdir/%name/patterndb.d >%config(noreplace) %_sysconfdir/%name/%name.conf >%config(noreplace) %_sysconfdir/%name/scl.conf >%config(noreplace) %_sysconfdir/sysconfig/%name >%_initdir/syslog-ng* > >/sbin/syslog-ng >/sbin/syslog-ng-ctl >%_bindir/loggen >%_bindir/pdbtool >%_bindir/update-patterndb > >%dir %_libdir/%name >%_libdir/%name/*.so >%_libdir/lib%name-%version.so > >%dir %_datadir/%name >%dir %_datadir/%name/include >%dir %_datadir/%name/xsd >%_datadir/%name/include/* >%_datadir/%name/xsd/* > >%_man1dir/* >%_man5dir/* >%_man8dir/* > >%dir %_localstatedir/%name > >%files devel >%dir %_includedir/%name >%_includedir/%name/*.h >%dir %_datadir/%name/tools >%_datadir/%name/tools/* > >%_libdir/lib%name.so >%_libdir/pkgconfig/%name.pc > >%changelog >* Mon Apr 15 2013 Sergey Y. Afonin <asy@altlinux.ru> 3.4.1-alt0 >- 3.4.1 (some parts of 3.4.1-1.fc19 spec used) > >* Mon Jan 31 2011 Sergey Alembekov <rt@altlinux.ru> 3.0.10-alt1 >- 3.0.10 > >* Tue Dec 07 2010 Igor Vlasenko <viy@altlinux.ru> 3.0.5-alt2.1.1 >- rebuild with new openssl and/or boost by request of git.alt administrator > >* Tue Mar 09 2010 Sergey Alembekov <rt@altlinux.ru> 3.0.5-alt2.1 >- #23070 again :) > >* Mon Mar 08 2010 Sergey Alembekov <rt@altlinux.ru> 3.0.5-alt2 >- new syntax for default configuration; (#23070) >- fix pid creation (#23071) > >* Thu Jan 28 2010 Sergey Alembekov <rt@altlinux.ru> 3.0.5-alt1 >- 3.0.5 > >* Mon Jan 12 2009 Dmitry Lebkov <dlebkov@altlinux.ru> 2.1.3-alt1 >- 2.1.3 > >* Sun Apr 06 2008 Dmitry Lebkov <dlebkov@altlinux.ru> 2.0.9-alt1 >- 2.0.9 >- init-script changes: > + add 'check' action -- validate syslog-ng.conf syntax; > + validate syslog-ng.conf syntax before start|restart|reload; >- change default configuration: > + 'MARK' message every 5 min.; > + 'STATS' message every 1 hour (#14686) > >* Fri Feb 01 2008 Dmitry Lebkov <dlebkov@altlinux.ru> 2.0.8-alt1 >- 2.0.8 > >* Thu Jan 10 2008 Dmitry Lebkov <dlebkov@altlinux.ru> 2.0.7-alt1 >- 2.0.7 > >* Fri Jul 27 2007 Dmitry Lebkov <dlebkov@altlinux.ru> 2.0.5-alt1 >- 2.0.5 >- add '--enable-tcp-wrapper' and '--enable-spoof-source' > configure flags > > >* Sun Apr 01 2007 Dmitry Lebkov <dlebkov@altlinux.ru> 2.0.3-alt1 >- fix path for syslog-ng.persist > >* Tue Mar 27 2007 Dmitry Lebkov <dlebkov@altlinux.ru> 2.0.3-alt0 >- 2.0.3 > >* Sat Feb 03 2007 Dmitry Lebkov <dlebkov@altlinux.ru> 2.0.2-alt0 >- 2.0.2 > >* Tue Jan 09 2007 Dmitry Lebkov <dlebkov@altlinux.ru> 2.0.1-alt0 >- 2.0.1 > >* Tue Apr 13 2004 Stanislav Ievlev <inger@altlinux.org> 1.6.2-alt2 >- require resent libol (#3823) > >* Wed Mar 10 2004 Stanislav Ievlev <inger@altlinux.org> 1.6.2-alt1 >- 1.6.2 > >* Tue Sep 30 2003 Stanislav Ievlev <inger@altlinux.ru> 1.4.17-alt1.1 >- don't made static link with libol >- update init-script >- fix building in hasher > >* Thu Oct 31 2002 Nikita Gergel <fc@altlinux.ru> 1.4.17-alt1 >- 1.4.17 > >* Sun Oct 27 2002 Nikita Gergel <fc@altlinux.ru> 1.4.16-alt2 >- syslog-ng.conf patch > >* Fri Oct 25 2002 Nikita Gergel <fc@altlinux.ru> 1.4.16-alt1 >- 1.4.16 > >* Fri Oct 11 2002 Stanislav Ievlev <inger@altlinux.ru> 1.4.15-alt3 >- security fix > >* Thu Sep 19 2002 Stanislav Ievlev <inger@altlinux.ru> 1.4.15-alt2 >- rebuild with gcc3 > >* Sat May 18 2002 Stanislav Ievlev <inger@altlinux.ru> 1.4.15-alt1 >- 1.4.15 > >* Tue Feb 05 2002 Stanislav Ievlev <inger@altlinux.ru> 1.4.14-alt2 >- sync with chrooted klogd > >* Thu Dec 20 2001 Stanislav Ievlev <inger@altlinux.ru> 1.4.14-alt1 >- 1.4.14 > >* Tue Sep 25 2001 Stanislav Ievlev <inger@altlinux.ru> 1.4.12-alt2 >- added PreReq for syslog-common - general package for all syslogs. >- added some documentation > >* Fri Jul 27 2001 Stanislav Ievlev <inger@altlinux.ru> 1.4.12-alt1 >- 1.4.12 > >* Tue Jul 24 2001 Stanislav Ievlev <inger@altlinux.ru> 1.4.10-alt1 >- Initial release for ALT Linux. > >* Wed Jan 17 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.4.10-1mdk >- used srpm from John Johnson <jjohnson@linux-mandrake.com> : > - Updated syslog-ng to version 1.4. > >* Mon Nov 13 2000 Vincent Danen <vdanen@mandrakesoft.com> 1.4.8-2mdk >- specfile cleaning, use macros >- rewrote init file >- wrote proper syslog-ng.conf file based on syslog.conf >- patch so config goes in /etc not /etc/syslog-ng >- syslog-ng goes in /sbin not /usr/sbin > >* Wed Nov 8 2000 John Johnson <jjohnson@linux-mandrake.com> 1.4.8-1mdk >- Made Mandrake rpm
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 28871
: 5810