]>
Commit | Line | Data |
---|---|---|
cf449ccc JB |
1 | Summary: Aggregate list of prefixes |
2 | Summary(pl.UTF-8): Agregacja listy adresów | |
191fcac8 | 3 | Name: aggregate |
4 | Version: 1.6 | |
5 | Release: 1 | |
6 | License: BSD-like | |
7 | Group: Applications/Networking | |
8 | Source0: ftp://ftp.isc.org/isc/aggregate/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 6fcc515388bf2c5b0c8f9f733bfee7e1 | |
10 | BuildRequires: autoconf | |
191fcac8 | 11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
12 | ||
13 | %description | |
14 | aggregate takes a list of prefixes in conventional format on stdin, | |
15 | and performs two optimisations to reduce the length of the prefix | |
16 | list. It removes any supplied prefixes which are supurfluous because | |
17 | they are already included in another supplied prefix (e.g., | |
18 | 203.97.2.0/24 would be removed if 203.97.0.0/17 was also supplied), | |
19 | and identifies adjacent prefixes that can be combined under a single, | |
20 | shorter-length prefix (e.g., 203.97.2.0/24 and 203.97.3.0/24 can be | |
21 | combined into the single prefix 203.97.2.0/23). | |
22 | ||
23 | %description -l pl.UTF-8 | |
cf449ccc JB |
24 | aggregate pobiera ze standardowego wejścia listę adresów sieci w |
25 | tradycyjnej postaci i wykonuje dwie optymalizacje aby zmniejszyć jej | |
26 | długość. Usuwa wszelkie adresy sieci zawierające się w innych adresach | |
27 | (np. 203.97.2.0/24 będzie usunięte jeżeli jest podana także | |
28 | 203.97.0.0/17), oraz rozpoznaje przystające adresy sieci, które mogą | |
29 | być połączone w jeden, krótszy adres (np. 203.97.2.0/24 i | |
30 | 203.97.3.0/24 będą połączone w pojedynczy adres 203.97.2.0/23). | |
191fcac8 | 31 | |
32 | %prep | |
33 | %setup -q | |
34 | ||
35 | %build | |
191fcac8 | 36 | %{__autoconf} |
37 | %configure | |
38 | %{__make} | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
44 | ||
45 | install aggregate aggregate-ios $RPM_BUILD_ROOT%{_bindir} | |
46 | install aggregate.1 aggregate-ios.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
cf449ccc JB |
53 | %doc LICENSE HISTORY |
54 | %attr(755,root,root) %{_bindir}/aggregate* | |
55 | %{_mandir}/man1/aggregate*.1* |