OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 29-Apr-2004 18:24:57
Branch: HEAD Handle: 2004042917245600
Modified files:
openpkg-src/ripe-whois ripe-whois.spec
Log:
add option to match default port number with that of corresponding
server package (ripe-dbase 43001)
Summary:
Revision Changes Path
1.5 +9 -1 openpkg-src/ripe-whois/ripe-whois.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/ripe-whois/ripe-whois.spec
============================================================================
$ cvs diff -u -r1.4 -r1.5 ripe-whois.spec
--- openpkg-src/ripe-whois/ripe-whois.spec 7 Feb 2004 17:58:28 -0000 1.4
+++ openpkg-src/ripe-whois/ripe-whois.spec 29 Apr 2004 16:24:56 -0000 1.5
@@ -34,7 +34,10 @@
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 @@
%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}" \
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]