Selaa lähdekoodia

the previous 4.1.1b was removed by vendor; the 4.1.1c-rc3 includes already our patch; it's still an RC, but after looking at their ChangeLog we can already use it as it would be 4.1.1c, because they are less active developers on this branch and change mostly nothing. They just take a lot of time...

Ralf S. Engelschall 23 vuotta sitten
vanhempi
commit
aa823f17c7
2 muutettua tiedostoa jossa 5 lisäystä ja 20 poistoa
  1. 0 12
      ntp/ntp.patch
  2. 5 8
      ntp/ntp.spec

+ 0 - 12
ntp/ntp.patch

@@ -1,12 +0,0 @@
---- ntpd/ntp_io.c.orig	Thu Jan  3 05:03:15 2002
-+++ ntpd/ntp_io.c	Sun Jun 30 10:57:50 2002
-@@ -437,7 +437,8 @@
- 			continue;
- 		}
- # endif /* SYS_WINNT */
--		ifreq = *ifr;
-+		/* ifreq = *ifr; */
-+		memmove(&ifreq, ifr, sizeof(ifreq));
- 		inter_list[i].flags = 0;
- 		/* is it broadcast capable? */
- # ifndef SYS_WINNT

+ 5 - 8
ntp/ntp.spec

@@ -32,19 +32,18 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [CORE]
 Group:        Network
 License:      BSD-style
-Version:      4.1.1b
-Release:      20030701
+Version:      4.1.1c
+Release:      20030704
 
 #   package options
 %option       with_fsl  yes
 
 #   list of sources
-Source0:      ftp://ftp.udel.edu/pub/ntp/ntp4/ntp-%{version}.tar.gz
+Source0:      ftp://ftp.udel.edu/pub/ntp/ntp4/ntp-%{version}-rc3.tar.gz
 Source1:      ntp-doc.tar.gz
 Source2:      ntp.conf
 Source3:      rc.ntp
 Source4:      fsl.ntp
-Patch0:       ntp.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -74,11 +73,9 @@ AutoReqProv:  no
 %prep
     %setup0 -q -c
     %setup1 -q -T -D -a 1
-    cd ntp-%{version}
-    %patch0 -p0
 
 %build
-    ( cd ntp-%{version}
+    ( cd ntp-%{version}-rc3
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
       LDFLAGS="%{l_fsl_ldflags}" \
@@ -93,7 +90,7 @@ AutoReqProv:  no
 
 %install
     rm -rf $RPM_BUILD_ROOT
-    ( cd ntp-%{version}
+    ( cd ntp-%{version}-rc3
       %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
     )
     ( cd ntp-doc