summaryrefslogtreecommitdiffstats
path: root/dag_scrubber.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'dag_scrubber.spec.in')
-rw-r--r--dag_scrubber.spec.in36
1 files changed, 36 insertions, 0 deletions
diff --git a/dag_scrubber.spec.in b/dag_scrubber.spec.in
new file mode 100644
index 0000000..31c762d
--- /dev/null
+++ b/dag_scrubber.spec.in
@@ -0,0 +1,36 @@
+Summary: Scrub and NAT networking traces
+Name: @PACKAGE_NAME@
+Version: @PACKAGE_VERSION@
+Release: @RELEASE@
+License: GPLv2
+Group: System Environment
+Packager: yuri@isi.edu
+BuildRequires: make gcc libpcap-devel openssl-devel
+Requires: libpcap openssl
+Source: dag_scrubber-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Url: https://ant.isi.edu/software/dag_scrubber
+
+%description
+
+Dag Scrubber is a tool for scrubbing packets of user data and optionally
+doing IP address anonymization. It supports both pcap and ERF format
+("dag", giving the legacy name).
+
+%prep
+%setup -q
+
+%build
+%configure --prefix=/usr
+%{__make}
+
+%install
+%{__rm} -rf %{buildroot}
+make install DESTDIR=%{buildroot} INSTALLDIRS=vendor
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%{_bindir}/dag_scrubber