SHA256
1
0
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:
Lars Vogdt
2011-10-02 07:48:11 +00:00
committed by Git OBS Bridge
parent 08546aa5bd
commit 7282c5a4e2
2 changed files with 9 additions and 22 deletions

View File

@@ -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

View File

@@ -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
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,14 +15,12 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: argus
BuildRequires: bison flex libpcap-devel tcpd-devel tcsh
License: BSD3c ; LGPLv2.1+ ; MIT
Group: Productivity/Networking/Diagnostic
AutoReqProv: on
Summary: Network Monitoring Tool
Version: 3.0.0
Release: 3
@@ -43,28 +41,15 @@ Group: Productivity/Networking/Diagnostic
Summary: Daemon for Network Monitoring Tool
Requires: argus
Provides: argus:/usr/sbin/argus
AutoReqProv: on
%description
Argus is a network monitoring tool.
Documentation can be found in /usr/share/doc/packages/argus.
Authors:
--------
Carter Bullard <carter@qosient.com>
%description server
Daemon for Argus network monitoring tool.
Authors:
--------
Carter Bullard <argus@sei.cmu.edu>
%prep
%setup -n argus-%{version}
# %patch -p1
@@ -76,10 +61,9 @@ cp %{S:4} man/man8/
#autoreconf -fiv
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure --with-pic
make
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
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/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 {} \;
chmod a+x support/{Archive/argusarchive,Startup/argus,System/magic}
%clean
rm -rf %{buildroot}
%post server
%{fillup_and_insserv argus}