File: cryptopANT.spec.in

package info (click to toggle)
cryptopant 1.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,812 kB
  • sloc: sh: 4,602; ansic: 1,160; makefile: 64
file content (58 lines) | stat: -rw-r--r-- 1,521 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
%define name            cryptopANT
%define version         @PACKAGE_VERSION@
BuildRoot:              %{_tmppath}/%{name}-%{version}-build
Summary:                IP address anonymization library and utils
License:                GPL
URL:                    http://ant.isi.edu/software/cryptopANT/index.html
Name:                   %{name}
Version:                %{version}
Release:                1
Source:                 %{name}-%{version}.tar.gz
Packager:               yuri@isi.edu
Prefix:                 /usr
Group:                  System/Libraries
BuildRequires:          gcc glibc-headers 
BuildRequires:          openssl-devel >= 1.3.0
BuildRequires:          autoconf automake libtool
Requires:               openssl >= 1.3.0

%description
cryptopANT is a library for ip address anonymization.  It implements a
widely used prefix-preserving technique known as "cryptopan".  This is
ANT's project implementation of this technique for anonymization of ipv4
and ipv6 addresses.

%prep
%setup -q

%build
%configure --with-scramble_ips
make

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=%{buildroot}
libtool --finish %{_libdir}
find %{buildroot} -type f -name "*.la" -delete

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/*.so.*
%{_libdir}/*.a
%{_bindir}/scramble_ips
%{_mandir}/man3/*

%changelog
* Mon Mar 25 2024 Yuri Pradkin <yuri@isi.edu> - 1.4.1
- Fixed blowfish regression introduced in 1.4.0