echoart/echoart.spec

Name: echoart
Summary: Responds to or drops ICMP echo requests packets
Version: 0.1
Release: 1.2
License: GPL
Group: Applications/Internet
URL: http://mirror1.internap.com/echoart/
Description: Echoart responds to or drops ICMP echo request packets based on a pre-defined sequence, and could be used to return crude ASCII art in response to pings from a Cisco router. It works by intercepting ICMP echo request packets and consulting a pattern template to determine whether or not to respond to a specific echo request. It then uses libnet to inject responses back into the network as necessary.

CentOS 7 x86_64

The build could not start because the following file is missing: echoart.tgz

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream:  Dennis Opacki <dopacki$adotout,com>


%{!?dtag:%define _with_libpcapdevel 1}
%{?el5:%define _with_libpcapdevel 1}
%{?fc6:%define _with_libpcapdevel 1}

Summary: Responds to or drops ICMP echo requests packets
Name: echoart
Version: 0.1
Release: 1.2%{?dist}
License: GPL
Group: Applications/Internet
URL: http://mirror1.internap.com/echoart/

Source: http://mirror1.internap.com/echoart/echoart.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: libnet, libpcap
%{?_with_libpcapdevel:BuildRequires:libpcap-devel}

%description
Echoart responds to or drops ICMP echo request packets based on a
pre-defined sequence, and could be used to return crude ASCII art in
response to pings from a Cisco router. It works by intercepting ICMP echo
request packets and consulting a pattern template to determine whether or
not to respond to a specific echo request. It then uses libnet to inject
responses back into the network as necessary.

%prep
%setup -n %{name}

%build
./configure.pl Linux
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 echoart %{buildroot}%{_bindir}/echoart

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc README
%{_bindir}/echoart

%changelog
* Sun Oct 31 2004 Dries Verachtert <dries@ulyssis.org> - 0.1-1
- Initial package.