forked from pool/argus
Accepting request 85774 from security
- Remove redundant tags/sections from specfile - Use %_smp_mflags for parallel build (forwarded request 82827 from jengelh) OBS-URL: https://build.opensuse.org/request/show/85774 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/argus?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
08546aa5bd
commit
7282c5a4e2
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 17 12:12:21 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Remove redundant tags/sections from specfile
|
||||||
|
- Use %_smp_mflags for parallel build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 8 00:38:30 CET 2010 - ro@suse.de
|
Mon Mar 8 00:38:30 CET 2010 - ro@suse.de
|
||||||
|
|
||||||
|
25
argus.spec
25
argus.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package argus (Version 3.0.0)
|
# spec file for package argus
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -15,14 +15,12 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: argus
|
Name: argus
|
||||||
BuildRequires: bison flex libpcap-devel tcpd-devel tcsh
|
BuildRequires: bison flex libpcap-devel tcpd-devel tcsh
|
||||||
License: BSD3c ; LGPLv2.1+ ; MIT
|
License: BSD3c ; LGPLv2.1+ ; MIT
|
||||||
Group: Productivity/Networking/Diagnostic
|
Group: Productivity/Networking/Diagnostic
|
||||||
AutoReqProv: on
|
|
||||||
Summary: Network Monitoring Tool
|
Summary: Network Monitoring Tool
|
||||||
Version: 3.0.0
|
Version: 3.0.0
|
||||||
Release: 3
|
Release: 3
|
||||||
@@ -43,28 +41,15 @@ Group: Productivity/Networking/Diagnostic
|
|||||||
Summary: Daemon for Network Monitoring Tool
|
Summary: Daemon for Network Monitoring Tool
|
||||||
Requires: argus
|
Requires: argus
|
||||||
Provides: argus:/usr/sbin/argus
|
Provides: argus:/usr/sbin/argus
|
||||||
AutoReqProv: on
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Argus is a network monitoring tool.
|
Argus is a network monitoring tool.
|
||||||
|
|
||||||
Documentation can be found in /usr/share/doc/packages/argus.
|
Documentation can be found in /usr/share/doc/packages/argus.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Carter Bullard <carter@qosient.com>
|
|
||||||
|
|
||||||
%description server
|
%description server
|
||||||
Daemon for Argus network monitoring tool.
|
Daemon for Argus network monitoring tool.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Carter Bullard <argus@sei.cmu.edu>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n argus-%{version}
|
%setup -n argus-%{version}
|
||||||
# %patch -p1
|
# %patch -p1
|
||||||
@@ -76,10 +61,9 @@ cp %{S:4} man/man8/
|
|||||||
#autoreconf -fiv
|
#autoreconf -fiv
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||||
%configure --with-pic
|
%configure --with-pic
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
install -d -m 755 $RPM_BUILD_ROOT{/etc/init.d,/sbin,/usr/{sbin,bin,share/man},%{_docdir}}
|
install -d -m 755 $RPM_BUILD_ROOT{/etc/init.d,/sbin,/usr/{sbin,bin,share/man},%{_docdir}}
|
||||||
install -m 700 bin/argus $RPM_BUILD_ROOT/usr/sbin/argus
|
install -m 700 bin/argus $RPM_BUILD_ROOT/usr/sbin/argus
|
||||||
install -m 700 bin/arg* $RPM_BUILD_ROOT/usr/bin/
|
install -m 700 bin/arg* $RPM_BUILD_ROOT/usr/bin/
|
||||||
@@ -98,9 +82,6 @@ install -m 644 %{S:2} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.argus
|
|||||||
find support -type f -exec chmod 0644 {} \;
|
find support -type f -exec chmod 0644 {} \;
|
||||||
chmod a+x support/{Archive/argusarchive,Startup/argus,System/magic}
|
chmod a+x support/{Archive/argusarchive,Startup/argus,System/magic}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%post server
|
%post server
|
||||||
%{fillup_and_insserv argus}
|
%{fillup_and_insserv argus}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user