Browse Source

update: jwhois, rdate

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3755 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 13 years ago
parent
commit
f5cb417214
2 changed files with 35 additions and 9 deletions
  1. 9 3
      j/jwhois/jwhois-vl.spec
  2. 26 6
      r/rdate/rdate-vl.spec

+ 9 - 3
j/jwhois/jwhois-vl.spec

@@ -2,8 +2,12 @@ Summary: Internet whois/nicname client.
 Summary(ja): whois クライアント
 Name: jwhois
 Version: 4.0
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
+
+License: GPLv3
+Group: Applications/Internet
 URL: http://www.gnu.org/software/jwhois/
+
 Source: ftp://ftp.gnu.org/gnu/jwhois/jwhois-%{version}.tar.gz
 Source1: ftp://ftp.gnu.org/gnu/jwhois/jwhois-%{version}.tar.gz.sig
 
@@ -14,9 +18,8 @@ Source10: jwhois.conf
 Patch0: jwhois-4.0-connect.patch
 Patch1: jwhois-4.0-ipv6match.patch
 
-License: GPL
-Group: Applications/Internet
 Buildroot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: libidn-devel
 Obsoletes: fwhois, whois
 Requires(post): /sbin/install-info
 Requires(preun): /sbin/install-info
@@ -75,6 +78,9 @@ fi
 
 
 %changelog
+* Sun May  1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-3
+- rebuilt with current VineSeed
+
 * Sun May 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0-2
 - spec in UTF-8
 

+ 26 - 6
r/rdate/rdate-vl.spec

@@ -2,12 +2,18 @@ Summary: Tool for getting the date/time from a remote machine.
 Summary(ja): リモートマシンから日付/時刻を取得するツール
 Name: rdate
 Version: 1.4
-Release: 2%{?_dist_release}
-License: GPL
+Release: 3%{?_dist_release}
+
+License: GPLv2+
 Group: Applications/System
+URL: ftp://people.redhat.com/sopwith/
+
 Source: ftp://people.redhat.com/sopwith/rdate-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Patch0: rdate-1.4-udp.patch
+Patch1: rdate-1.4-addrinfo.patch
+Patch2: rdate-1.4-spellerr.patch
 
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
 %description
 The rdate utility retrieves the date and time from another machine on
@@ -23,10 +29,12 @@ root 権限で rdate を実行すると,取得した時刻情報を元に実
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
-make CFLAGS="$RPM_OPT_FLAGS"
-
+make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -DINET6"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -40,11 +48,23 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
-%{_bindir}/rdate
+%doc COPYING
+%attr(0755,root,root) %{_bindir}/rdate
 %{_mandir}/man1/rdate.1*
 
 
 %changelog
+* Sun May  1 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-3
+- rebuilt with current VineSeed
+- added Patches from FC
+  * Wed Jan 19 2011 Honza Horak <hhorak@redhat.com> - 1.4-16
+  - man page fix
+  * Mon Mar 31 2008 Jiri Moskovcak <jmoskovc@redhat.com> - 1.4-11
+  - fixed early freeing of addrinfo
+  * Tue Jul 10 2007 Jiri Moskovcak <jmoskovc@redhat.com> 1.4-8
+  - fixes memory allocation
+  - Resolves: #190883
+
 * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.4-2vl5
 - applied new versioning policy, spec in utf-8