]> git.pld-linux.org Git - SPECS.git/blob - netlist.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / netlist.spec
1 Summary:        A program to list active Internet connections and sockets
2 Summary(pl.UTF-8):      Program pokazujący aktywne połączenia i gniazdka
3 Name:           netlist
4 Version:        2.1
5 Release:        1
6 License:        distributable
7 Group:          Networking
8 Source0:        http://www.openwall.com/linux/contrib/%{name}-%{version}.tar.gz
9 # Source0-md5:  1e987e62c82a19418548681f5cfa2e90
10 URL:            http://www.openwall.com/linux/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 When run by a non-privileged user, netlist lists active Internet
15 connections and listening sockets of that user.
16
17 When run by root or a user with group access privileges for /proc,
18 netlist lists all active TCP, UDP, and raw sockets on the system.
19
20 netlist was created to oppose restrictive tendencies in security. Your
21 use of netlist must be in accordance with this intent. Please see the
22 LICENSE for information on this and other licensing conditions.
23
24 %description -l pl.UTF-8
25 Uruchomiony przez nieuprzywilejowanego użytkownika, netlist pokazuje
26 aktywne połączenia oraz nasłuchujące gniazdka tego użytkownika.
27
28 Uruchomione przez roota lub użytkownika należącego do grupy z dostępem
29 do /proc, pokazuje wszystkie aktywne gniazdka TCP, UDP i raw w
30 systemie.
31
32 netlist został stworzony by opanować restryktywne tendencje w
33 bezpieczeństwie. Użycie netlist musi być zgodne z tymi intencjami. W
34 pliku LICENSE znajdują się stosowne informacje.
35
36 %prep
37 %setup -q
38
39 %build
40 %{__make} \
41         CC="%{__cc}" CFLAGS="-c -Wall %{rpmcflags}" \
42         LDFLAGS="%{rpmldflags}"
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT \
48         BINDIR=%{_bindir} \
49         MANDIR=%{_mandir}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc LICENSE
57 %attr(2755,root,proc) %{_bindir}/netlist
58 %{_mandir}/man1/netlist.1*
This page took 0.635834 seconds and 3 git commands to generate.