|
|
@@ -34,7 +34,10 @@ Class: EVAL
|
|
|
Group: Network
|
|
|
License: RIPE NCC
|
|
|
Version: 3.1.1
|
|
|
-Release: 20040207
|
|
|
+Release: 20040429
|
|
|
+
|
|
|
+# package options
|
|
|
+%option with_altport yes
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://ftp.ripe.net/tools/ripe-whois-%{version}v6.tar.gz
|
|
|
@@ -60,6 +63,11 @@ AutoReqProv: no
|
|
|
|
|
|
%prep
|
|
|
%setup -q -n whois-%{version}v6
|
|
|
+%if "%{with_altport}" == "yes"
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's;\(DEFAULT_WHOIS_PORT \)"43";\1"43001";' \
|
|
|
+ whois3.c
|
|
|
+%endif
|
|
|
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|