nfs-utils-vl.spec 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241
  1. %bcond_with systemd
  2. %define _unpackaged_files_terminate_build 1
  3. %define enablegss 1
  4. # group all 32bit related archs
  5. %define all_32bit_archs i386 i686 athlon
  6. Summary: NFS utilities and supporting clients and daemons for the kernel NFS server
  7. Summary(ja): カーネル NFS サーバ用 NFS ユーティリティと関連プログラム
  8. Name: nfs-utils
  9. Version: 2.4.3
  10. Release: 1%{?_dist_release}%{?with_systemd:.systemd}
  11. Group: System Environment/Daemons
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. License: MIT and GPLv2 and GPLv2+ and BSD
  15. URL: https://sourceforge.net/projects/nfs/
  16. Source0: https://mirrors.edge.kernel.org/pub/linux/utils/nfs-utils/%{version}/%{name}-%{version}.tar.xz
  17. #Source3: 24-nfs-server.conf
  18. Source1: id_resolver.conf
  19. Source2: lockd.conf
  20. Source4: nfsconvert.py
  21. Source5: nfsconvert.sh
  22. Source6: nfs-convert.service
  23. Source10: nfs.init
  24. Source11: nfslock.init
  25. Source12: rpcidmapd.init
  26. Source13: rpcgssd.init
  27. #Source14: rpcsvcgssd.init
  28. Source15: nfsdcld.init
  29. Source23: nfs.sysconfig
  30. Patch001: nfs-utils.2.4.4-rc2.patch
  31. Patch100: nfs-utils-1.2.1-statdpath-man.patch
  32. Patch101: nfs-utils-1.2.1-exp-subtree-warn-off.patch
  33. Patch102: nfs-utils-1.2.5-idmap-errmsg.patch
  34. Patch103: nfs-utils-2.3.1-systemd-gssproxy-restart.patch
  35. Patch104: nfs-utils-2.3.3-man-tcpwrappers.patch
  36. Patch105: nfs-utils-2.3.3-nfsconf-usegssproxy.patch
  37. Patch106: nfs-utils-2.4.2-systemd-svcgssd.patch
  38. Provides: exportfs = %{version}-%{release}
  39. Provides: nfsstat = %{version}-%{release}
  40. Provides: showmount = %{version}-%{release}
  41. Provides: rpcdebug = %{version}-%{release}
  42. Provides: rpc.idmapd = %{version}-%{release}
  43. Provides: rpc.mountd = %{version}-%{release}
  44. Provides: rpc.nfsd = %{version}-%{release}
  45. Provides: rpc.statd = %{version}-%{release}
  46. %if %{enablegss}
  47. Provides: rpc.gssd = %{version}-%{release}
  48. %endif
  49. Provides: mount.nfs = %{version}-%{release}
  50. Provides: mount.nfs4 = %{version}-%{release}
  51. Provides: umount.nfs = %{version}-%{release}
  52. Provides: umount.nfs4 = %{version}-%{release}
  53. Provides: sm-notify = %{version}-%{release}
  54. Provides: start-statd = %{version}-%{release}
  55. Buildroot: %{_tmppath}/%{name}-%{version}-root
  56. Requires: rpcbind, sed, gawk, sh-utils, fileutils, textutils, grep
  57. Requires: kmod, keyutils, quota
  58. BuildRequires: libevent-devel libcap-devel
  59. BuildRequires: libnfsidmap-devel libtirpc-devel libblkid-devel
  60. BuildRequires: krb5-libs >= 1.4 autoconf >= 2.57 openldap-devel >= 2.2
  61. BuildRequires: automake, libtool, glibc-headers, device-mapper-devel
  62. BuildRequires: krb5-devel, libmount-devel
  63. BuildRequires: sqlite3-devel
  64. BuildRequires: libxml2-devel
  65. BuildRequires: libuuid-devel
  66. BuildRequires: rpcgen
  67. #if %{enablegss}
  68. #BuildRequires: libgssglue-devel
  69. #BuildRequires: librpcsecgss >= 0.17
  70. #endif
  71. Requires(pre): shadow-utils >= 4.0.3-25
  72. %if %{with systemd}
  73. BuildRequires: systemd
  74. Requires(pre): util-linux
  75. Requires(pre): coreutils
  76. Requires(preun): coreutils
  77. %{?systemd_requires}
  78. %else
  79. Requires(pre): /sbin/chkconfig /sbin/nologin
  80. Requires(preun): /sbin/chkconfig
  81. %endif
  82. Requires: libnfsidmap libevent
  83. Requires: libtirpc >= 0.2.3 libblkid libcap libmount
  84. #if %{enablegss}
  85. #Requires: libgssglue
  86. #Requires: librpcsecgss >= 0.17
  87. #endif
  88. %description
  89. The nfs-utils package provides a daemon for the kernel NFS server and
  90. related tools, which provides a much higher level of performance than the
  91. traditional Linux NFS server used by most users.
  92. This package also contains the showmount program. Showmount queries the
  93. mount daemon on a remote host for information about the NFS (Network File
  94. System) server on the remote host. For example, showmount can display the
  95. clients which are mounted on that host.
  96. This package also contains the mount.nfs and umount.nfs program.
  97. %description -l ja
  98. nfs-utils パッケージには kernel NFS サーバと関連ツールが収録されています。
  99. これにより、多くのユーザに使われてきた旧来の Linux NFS サーバより高い
  100. パフォーマンスを提供することができます。
  101. このパッケージには showmount プログラムも収録されています。
  102. showmount は遠隔ホストの mount デーモンに問い合わせを行い、
  103. NFS サーバに関する情報を得ることができます。
  104. 例えば、showmount を使うことで、その遠隔ホストをマウントしている
  105. クライアントの一覧を得ることができます。
  106. 本パッケージにはまた mount.nfs と umount.nfs プログラムも収録されています。
  107. %package -n libnfsidmap
  108. Summary: NFSv4 User and Group ID Mapping Library
  109. Provides: libnfsidmap%{?_isa} = %{version}-%{release}
  110. Group: System Environment/Libraries
  111. License: BSD
  112. BuildRequires: pkgconfig, openldap-devel
  113. BuildRequires: automake, libtool
  114. Requires(postun): /sbin/ldconfig
  115. Requires(pre): /sbin/ldconfig
  116. Requires: openldap
  117. %description -n libnfsidmap
  118. Library that handles mapping between names and ids for NFSv4.
  119. %package -n libnfsidmap-devel
  120. Summary: Development files for the libnfsidmap library
  121. Group: Development/Libraries
  122. Requires: libnfsidmap%{?_isa} = %{version}-%{release}
  123. Requires: pkgconfig
  124. %description -n libnfsidmap-devel
  125. This package includes header files and libraries necessary for
  126. developing programs which use the libnfsidmap library.
  127. %prep
  128. %setup -q
  129. %if %{with systemd}
  130. %autopatch -p1
  131. %else
  132. %patch001 -p1
  133. %endif
  134. # Remove .orig files
  135. find . -name "*.orig" | xargs rm -f
  136. %build
  137. sh -x autogen.sh
  138. CFLAGS="`echo $RPM_OPT_FLAGS $ARCH_OPT_FLAGS -fpie -D_FILE_OFFSET_BITS=64`"
  139. %configure \
  140. CFLAGS="$CFLAGS" \
  141. CPPFLAGS="$DEFINES" \
  142. LDFLAGS="-pie" \
  143. --enable-mountconfig \
  144. --enable-ipv6 \
  145. --with-statdpath=/var/lib/nfs/statd \
  146. --enable-libmount-mount \
  147. --with-pluginpath=%{_libdir}/libnfsidmap \
  148. --without-tcp-wrappers \
  149. %if %{with systemd}
  150. --with-systemd=%{_unitdir} \
  151. %endif
  152. --enable-junction
  153. make %{?_smp_mflags} all
  154. %install
  155. rm -rf %{buildroot}
  156. mkdir -p %{buildroot}{/sbin,/usr/sbin}
  157. mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/{man5,man8}
  158. mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
  159. mkdir -p %{buildroot}%{_sysconfdir}/request-key.d
  160. mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d
  161. %if %{with systemd}
  162. mkdir -p %{buildroot}%{_unitdir}
  163. mkdir -p %{buildroot}/lib/systemd/system-generators
  164. %else
  165. mkdir -p %{buildroot}%{_initdir}
  166. %endif
  167. make DESTDIR=%{buildroot} install
  168. install -s -m 755 tools/rpcdebug/rpcdebug %{buildroot}%{_sbindir}
  169. install -m 644 utils/mount/nfsmount.conf %{buildroot}%{_sysconfdir}
  170. install -m 644 nfs.conf %{buildroot}%{_sysconfdir}
  171. install -m 644 support/nfsidmap/idmapd.conf %{buildroot}%{_sysconfdir}
  172. install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/request-key.d
  173. %if %{with systemd}
  174. install -m 755 %{SOURCE4} %{buildroot}%{_sbindir}/nfsconvert
  175. mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/nfs-utils/
  176. install -m 755 %{SOURCE5} %{buildroot}/%{_libexecdir}/nfs-utils/nfsconvert.sh
  177. install -m 644 %{SOURCE6} %{buildroot}%{_unitdir}
  178. %else
  179. install -m 755 %{SOURCE10} %{buildroot}%{_initdir}/nfs
  180. install -m 755 %{SOURCE11} %{buildroot}%{_initdir}/nfslock
  181. install -m 755 %{SOURCE12} %{buildroot}%{_initdir}/rpcidmapd
  182. install -m 755 %{SOURCE15} %{buildroot}%{_initdir}/nfsdcld
  183. install -m 644 %{SOURCE23} %{buildroot}%{_sysconfdir}/sysconfig/nfs
  184. %if %{enablegss}
  185. install -m 755 %{SOURCE13} %{buildroot}%{_initdir}/rpcgssd
  186. %endif
  187. %endif
  188. mkdir -p %{buildroot}/run/sysconfig
  189. install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/modprobe.d/lockd.conf
  190. rm -f %{buildroot}%{_libdir}/*.{a,la}
  191. rm -f %{buildroot}%{_libdir}/libnfsidmap/*.{a,la}
  192. mkdir -p %{buildroot}/var/lib/nfs/rpc_pipefs
  193. touch %{buildroot}/var/lib/nfs/rmtab
  194. mv %{buildroot}/usr/sbin/rpc.statd %{buildroot}/sbin
  195. mkdir -p %{buildroot}/var/lib/nfs/statd/sm
  196. mkdir -p %{buildroot}/var/lib/nfs/statd/sm.bak
  197. mkdir -p %{buildroot}/var/lib/nfs/v4recovery
  198. mkdir -p %{buildroot}%{_sysconfdir}/exports.d
  199. # temporarily remove nfs.5 man page until util-linux gets upgraded...
  200. #rm -f %{buildroot}/%{_mandir}/man5/nfs.5*
  201. %clean
  202. rm -rf %{buildroot}
  203. %pre
  204. # move files so the running service will have this applied as well
  205. for x in gssd svcgssd idmapd ; do
  206. if [ -f /var/lock/subsys/rpc.$x ]; then
  207. mv /var/lock/subsys/rpc.$x /var/lock/subsys/rpc$x
  208. fi
  209. done
  210. /usr/sbin/useradd -r -c "RPC Service User" \
  211. -s /sbin/nologin -u 29 -d /var/lib/nfs rpcuser 2>/dev/null || :
  212. cat /etc/group | cut -d':' -f 1 | grep --quiet nfsnobody 2>/dev/null
  213. if [ "$?" -eq 1 ]; then
  214. /usr/sbin/groupadd -g 29 rpcuser 2>/dev/null || :
  215. else
  216. /usr/sbin/groupmod -g 29 rpcuser 2>/dev/null || :
  217. fi
  218. # Using the 16-bit value of -2 for the nfsnobody uid and gid
  219. %define nfsnobody_uid 65534
  220. # Create nfsnobody gid as long as it does not already exist
  221. cat /etc/group | cut -d':' -f 1 | grep --quiet nfsnobody 2>/dev/null
  222. if [ "$?" -eq 1 ]; then
  223. /usr/sbin/groupadd -g %{nfsnobody_uid} nfsnobody 2>/dev/null || :
  224. else
  225. /usr/sbin/groupmod -g %{nfsnobody_uid} nfsnobody 2>/dev/null || :
  226. fi
  227. # Create nfsnobody uid as long as it does not already exist.
  228. cat /etc/passwd | cut -d':' -f 1 | grep --quiet nfsnobody 2>/dev/null
  229. if [ "$?" -eq 1 ]; then
  230. /usr/sbin/useradd -l -c "Anonymous NFS User" -r -g %{nfsnobody_uid} \
  231. -s /sbin/nologin -u %{nfsnobody_uid} -d /var/lib/nfs nfsnobody 2>/dev/null || :
  232. else
  233. /usr/sbin/usermod -u %{nfsnobody_uid} -g %{nfsnobody_uid} nfsnobody 2>/dev/null || :
  234. fi
  235. %post
  236. %if %{with systemd}
  237. if [ $1 -eq 1 ] ; then
  238. # Initial installation
  239. /bin/systemctl enable nfs-client.target >/dev/null 2>&1 || :
  240. /bin/systemctl start nfs-client.target >/dev/null 2>&1 || :
  241. fi
  242. # Enable nfs-convert so if an old configuration
  243. # exists a conversion will occur
  244. /bin/systemctl enable nfs-convert >/dev/null 2>&1 || :
  245. %systemd_post nfs-server
  246. %else
  247. /sbin/chkconfig --add nfs
  248. /sbin/chkconfig --add nfslock
  249. /sbin/chkconfig --add rpcidmapd
  250. %if %{enablegss}
  251. /sbin/chkconfig --add rpcgssd
  252. %endif
  253. /sbin/chkconfig --add nfsdcld
  254. # Make sure statd used the correct uid/gid.
  255. if [ -f /var/lock/subsys/rpc.statd ]; then
  256. /etc/rc.d/init.d/nfslock stop > /dev/null
  257. chown -R rpcuser:rpcuser /var/lib/nfs/statd
  258. /etc/rc.d/init.d/nfslock start > /dev/null
  259. else
  260. chown -R rpcuser:rpcuser /var/lib/nfs/statd
  261. fi
  262. %endif
  263. %preun
  264. %if %{with systemd}
  265. if [ $1 -eq 0 ]; then
  266. %systemd_preun nfs-client.target
  267. %systemd_preun nfs-server.service
  268. rm -rf /var/lib/nfs/statd
  269. rm -rf /var/lib/nfs/v4recovery
  270. fi
  271. %else
  272. if [ "$1" = "0" -o -x /bin/systemctl ]; then
  273. /etc/rc.d/init.d/nfs condstop > /dev/null
  274. %if %{enablegss}
  275. /etc/rc.d/init.d/rpcgssd condstop > /dev/null
  276. %endif
  277. /etc/rc.d/init.d/rpcidmapd condstop > /dev/null
  278. /etc/rc.d/init.d/nfslock condstop > /dev/null
  279. /etc/rc.d/init.d/nfsdcld condstop > /dev/null
  280. /sbin/chkconfig --del rpcidmapd
  281. %if %{enablegss}
  282. /sbin/chkconfig --del rpcgssd
  283. %endif
  284. /sbin/chkconfig --del nfs
  285. /sbin/chkconfig --del nfslock
  286. /sbin/chkconfig --del nfsdcld
  287. /usr/sbin/userdel rpcuser 2>/dev/null || :
  288. /usr/sbin/groupdel rpcuser 2>/dev/null || :
  289. /usr/sbin/userdel nfsnobody 2>/dev/null || :
  290. /usr/sbin/groupdel nfsnobody 2>/dev/null || :
  291. rm -rf /var/lib/nfs/statd
  292. rm -rf /var/lib/nfs/v4recovery
  293. fi
  294. %endif
  295. %postun
  296. %if %{with systemd}
  297. %systemd_postun_with_restart nfs-client.target
  298. %systemd_postun_with_restart nfs-server
  299. /bin/systemctl --system daemon-reload >/dev/null 2>&1 || :
  300. %else
  301. if [ "$1" -ge 1 -a ! -x /bin/systemctl ]; then
  302. if [ -f /etc/rc.d/init.d/rpcidmapd ]; then
  303. /etc/rc.d/init.d/rpcidmapd condrestart > /dev/null
  304. fi
  305. %if %{enablegss}
  306. if [ -f /etc/rc.d/init.d/rpcgssd ]; then
  307. /etc/rc.d/init.d/rpcgssd condrestart > /dev/null
  308. fi
  309. %endif
  310. if [ -f /etc/rc.d/init.d/nfs ]; then
  311. /etc/rc.d/init.d/nfs condrestart > /dev/null
  312. fi
  313. if [ -f /etc/rc.d/init.d/nfslock ]; then
  314. /etc/rc.d/init.d/nfslock condrestart > /dev/null
  315. fi
  316. if [ -f /etc/rc.d/init.d/nfsdcld ]; then
  317. /etc/rc.d/init.d/nfsdcld condrestart > /dev/null
  318. fi
  319. fi
  320. %endif
  321. %post -n libnfsidmap -p /sbin/ldconfig
  322. %postun -n libnfsidmap -p /sbin/ldconfig
  323. %triggerpostun -- nfs-server
  324. %if !%{with systemd}
  325. /sbin/chkconfig --add nfs
  326. %endif
  327. %triggerpostun -- knfsd
  328. %if !%{with systemd}
  329. /sbin/chkconfig --add nfs
  330. %endif
  331. %triggerpostun -- knfsd-clients
  332. %if !%{with systemd}
  333. /sbin/chkconfig --add nfslock
  334. %endif
  335. %files
  336. %defattr(-,root,root)
  337. %doc linux-nfs/ChangeLog linux-nfs/KNOWNBUGS linux-nfs/NEW linux-nfs/README
  338. %doc linux-nfs/THANKS linux-nfs/TODO
  339. %if %{with systemd}
  340. /usr/lib/systemd/system-generators/*
  341. %{_unitdir}/*
  342. %{_sbindir}/nfsconvert
  343. %attr(755,root,root) %{_libexecdir}/nfs-utils/nfsconvert.sh
  344. %else
  345. %config %{_initdir}/nfs
  346. %config %{_initdir}/nfsdcld
  347. %config %{_initdir}/rpcidmapd
  348. %config %{_initdir}/nfslock
  349. %if %{enablegss}
  350. %config %{_initdir}/rpcgssd
  351. %endif
  352. %config(noreplace) %{_sysconfdir}/sysconfig/nfs
  353. %endif
  354. %config(noreplace) %{_sysconfdir}/nfsmount.conf
  355. %config(noreplace) %{_sysconfdir}/request-key.d/id_resolver.conf
  356. %config(noreplace) %{_sysconfdir}/modprobe.d/lockd.conf
  357. %config(noreplace) %{_sysconfdir}/nfs.conf
  358. %dir %{_sysconfdir}/exports.d
  359. %dir /var/lib/nfs/v4recovery
  360. %dir /var/lib/nfs/rpc_pipefs
  361. %dir /var/lib/nfs
  362. %dir %attr(700,rpcuser,rpcuser) /var/lib/nfs/statd
  363. %dir %attr(700,rpcuser,rpcuser) /var/lib/nfs/statd/sm
  364. %dir %attr(700,rpcuser,rpcuser) /var/lib/nfs/statd/sm.bak
  365. %config(noreplace) /var/lib/nfs/etab
  366. %config(noreplace) /var/lib/nfs/rmtab
  367. %config(noreplace) %attr(644,rpcuser,rpcuser) /var/lib/nfs/statd/state
  368. /sbin/rpc.statd
  369. #/sbin/osd_login
  370. /sbin/nfsdcltrack
  371. %{_sbindir}/exportfs
  372. %{_sbindir}/nfsstat
  373. %{_sbindir}/rpcdebug
  374. %{_sbindir}/rpc.mountd
  375. %{_sbindir}/rpc.nfsd
  376. %{_sbindir}/showmount
  377. %{_sbindir}/rpc.idmapd
  378. %if %{enablegss}
  379. %{_sbindir}/rpc.gssd
  380. %endif
  381. %{_sbindir}/sm-notify
  382. %{_sbindir}/start-statd
  383. %{_sbindir}/mountstats
  384. %{_sbindir}/nfsiostat
  385. %{_sbindir}/nfsidmap
  386. %{_sbindir}/blkmapd
  387. %{_sbindir}/nfsconf
  388. %{_sbindir}/nfsref
  389. %{_sbindir}/nfsdcld
  390. %{_sbindir}/clddb-tool
  391. %{_mandir}/*/*
  392. %attr(4755,root,root) /sbin/mount.nfs
  393. /sbin/mount.nfs4
  394. /sbin/umount.nfs
  395. /sbin/umount.nfs4
  396. %files -n libnfsidmap
  397. %license support/nfsidmap/COPYING
  398. %doc support/nfsidmap/AUTHORS support/nfsidmap/README
  399. %config(noreplace) %{_sysconfdir}/idmapd.conf
  400. %{_libdir}/libnfsidmap.so.*
  401. %{_libdir}/libnfsidmap/*.so
  402. %{_mandir}/man3/nfs4_uid_to_name.*
  403. %{_mandir}/man5/idmapd.conf.*
  404. %files -n libnfsidmap-devel
  405. %{_libdir}/pkgconfig/libnfsidmap.pc
  406. %{_includedir}/nfsidmap.h
  407. %{_includedir}/nfsidmap_plugin.h
  408. %{_libdir}/libnfsidmap.so
  409. %changelog
  410. * Tue Apr 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.3-1
  411. - new upstream release.
  412. - updated patches.
  413. - added systemd support (disabled as default).
  414. * Fri Oct 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.1-1
  415. - new upstream release.
  416. - updated Patch100.
  417. - added an initscript for nfsdcld.
  418. * Thu Nov 29 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.4-3
  419. - rebuilt with libtirpc-1.1.4.
  420. - imported Patch001 from rawhide.
  421. * Mon Nov 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.3-2
  422. - fixed "Provides:".
  423. * Sun Nov 04 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.3-1
  424. - new upstream release.
  425. - built with libevent-2.1.8.
  426. - dropped Patch102 (fixed in upstream).
  427. - updated Patch103.
  428. * Mon Nov 23 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.3-1
  429. - new upstream release
  430. - remove Patch1,2
  431. - update Source10 (nfs.init)
  432. * Thu Feb 19 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3.2-1
  433. - new upstream release
  434. - updated Source10-13
  435. - added Patch1 and 2 from Fedora
  436. - added BR: libmount-devel, sqlite3-devel
  437. - used BR: libnfsidmap-devel instead of libnfsidmap
  438. - used more macros
  439. - set %%enablegss to 1
  440. * Sun Oct 28 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.6-2
  441. - update to 1.2.7-rc5
  442. * Sat Oct 20 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.6-1
  443. - update to 1.2.6
  444. - Made nfsnobody's uid/gid to always be a 16-bit value of -2
  445. - change rpcuser's gid to fixed value 29
  446. * Sat Jan 28 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.5-1
  447. - update to 1.2.5
  448. - add patches (update to 1.2.6-rc6)
  449. - enable-ipv6 (add BR: libtirpc-devel)
  450. - add BR: device-mapper-devel
  451. * Sun Feb 13 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.5-5
  452. - add BuildRequires: libblkid-devel
  453. * Thu Feb 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.5-4
  454. - rebuilt with libevent-2.0.10
  455. * Tue Aug 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.5-3
  456. - add INIT INFO headers to initscripts
  457. * Fri Jun 12 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.5-2
  458. - import more patches from FC11 1.1.5-5
  459. - Patch101: upstream rc2 patch
  460. - Patch102: upstream rc3 patch
  461. - gssd: initialize fakeseed in prepare_krb5_rfc1964_buffer
  462. - gssd: NULL-terminate buffer after read in read_service_info (try #2)
  463. - gssd: free buffer allocated by gssd_k5_err_msg
  464. - gssd: fix potential double-frees in gssd
  465. - Removed a number of warn_unused_result warnings
  466. - Patch103: Update nfsstat with --sleep and --list options
  467. - Patch104: Fixed umount from using non-privilege ports (bz 492598)
  468. * Sun Apr 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.5-1
  469. - new upstream release
  470. - fix %%post, remove '-l' from useradd option
  471. * Sun Jan 04 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.2-4
  472. - rebuilt with openldap-2.4.11
  473. - spec in UTF-8
  474. * Thu May 15 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.2-3
  475. - updated to 1.1.2, based on Fedora 1.1.2-2
  476. - disable RPC Sec-GSS feature for Vine (and we won't any longer? Let me know)
  477. - temporarily remove nfs.5 man page until util-linux gets upgraded
  478. - previous Vine changelogs as follows:
  479. - Wed Apr 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-1
  480. - rebuilt with libevent-1.4.3-1
  481. - Sun Jul 8 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.9-0vl4
  482. - rebuilt with libevent-1.3b-0vl1
  483. - Tue Aug 29 2006 MATSUBAYASHI <shaolin@vinelinux.org> 1.0.9-0vl3
  484. - rebuilt with libevent-1.1b-0vl1
  485. - Sun Aug 27 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.9-0vl2
  486. - rebuilt with openldap-2.3.27-0vl1
  487. - Wed Jul 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.9-0vl1
  488. - new upstream release
  489. - drop obsolete patches
  490. - Wed Mar 30 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.8-0vl0.rc2.2
  491. - add libevent-devel and libnfsidmap to BuidRequires
  492. - Mon Mar 20 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.8-0vl0.rc2.1
  493. - update to nfs-utils-1.0.8-rc2
  494. - merged some patches from FC
  495. - fix kanji code of spec file
  496. - Tue Apr 26 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.6-0vl1
  497. - updated to 1.0.6
  498. - merged several files from 1.0.6-22
  499. - Sun Feb 9 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-0vl1
  500. - new upstream release
  501. - remove quota related files, now we are using it from quota utils.
  502. - Sat Sep 01 2001 Toru Sagami <sagami@vinelinux.org>
  503. - 0.3.1-12vl2: revive rpc.rquotad for the time being
  504. - Fri Aug 24 2001 Toru Sagami <sagami@vinelinux.org>
  505. - 0.3.1-12vl1: ported to Vine
  506. * Mon Apr 14 2008 Steve Dickson <steved@redhat.com> 1.1.2-2
  507. - Make EACCES a non fatal error (bz 439807)
  508. * Tue Mar 25 2008 Steve Dickson <steved@redhat.com> 1.1.2-1
  509. - Upgrade to nfs-utils-1.1.2
  510. * Mon Mar 3 2008 Steve Dickson <steved@redhat.com> 1.1.1-5
  511. - Stopped mountd from incorrectly logging an error
  512. (commit 9dd9b68c4c44f0d9102eb85ee2fa36a8b7f638e3)
  513. - Stop gssd from ignoring the machine credential caches
  514. (commit 46d439b17f22216ce8f9257a982c6ade5d1c5931)
  515. - Fixed typo in the nfsstat command line arugments.
  516. (commit acf95d32a44fd8357c24e8a04ec53fc6900bfc58)
  517. - Added test to stop buffer overflow in idmapd
  518. (commit bcd0fcaf0966c546da5043be700587f73174ae25)
  519. * Sat Feb 9 2008 Steve Dickson <steved@redhat.com> 1.1.1-4
  520. - Cleaned up some typos that were found in the various
  521. places in the mountd code
  522. * Thu Jan 24 2008 Steve Dickson <steved@redhat.com> 1.1.1-3
  523. - Added in relatime mount option so mount.nfs stays
  524. compatible with the mount command in util-linux-ng (bz 274301)
  525. * Tue Jan 22 2008 Steve Dickson <steved@redhat.com> 1.1.1-2
  526. - Added -S/--since to the nfsstat(1) manpage
  527. - The wording in the exportfs man page can be a bit confusing, implying
  528. that "exportfs -u :/foo" will unexport /foo from all hosts, which it won't
  529. - Removed nfsprog option since the kernel no longer supports it.
  530. - Removed mountprog option since the kernel no longer supports it.
  531. - Stop segfaults on amd64 during warnings messages.
  532. - Fix bug when both crossmnt and fsid are set.
  533. * Sat Jan 5 2008 Steve Dickson <steved@redhat.com> 1.1.1-1
  534. - Updated to latest upstream release, nfs-utils-1.1.1
  535. - Added the removal of sm-notify.pid to nfslock init script.
  536. - Changed spec file to use condrestart instead of condstop
  537. when calling init scripts.
  538. - Fixed typo in rpc.mountd man page
  539. - Turn on 'nohide' automatically for all refer exports (bz 313561)
  540. * Tue Dec 04 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.1.0-7
  541. - Rebuild for openldap bump
  542. * Wed Oct 17 2007 Steve Dickson <steved@redhat.com> 1.1.0-6
  543. - Switch the libgssapi dependency to libgssglue
  544. * Fri Sep 14 2007 Steve Dickson <steved@redhat.com> 1.1.0-5
  545. - Changed the default paths in sm-notify to
  546. /var/lib/nfs/statd (bz 258461)
  547. - Updated exportfs manpage (bz 262861)
  548. * Wed Aug 15 2007 Steve Dickson <steved@redhat.com> 1.1.0-4
  549. - Make sure the open() system calling in exportfs uses
  550. mode bits when creating the etab file (bz 252440).
  551. * Mon Aug 13 2007 Steve Dickson <steved@redhat.com> 1.1.0-3
  552. - Added nosharecache mount option which re-enables
  553. rw/ro mounts to the same server (bz 243913).
  554. * Thu Aug 2 2007 Steve Dickson <steved@redhat.com> 1.1.0-2
  555. - Make sure the gss and idmap daemons remove thier lock
  556. files when they are stopped.
  557. * Sat Jul 28 2007 Steve Dickson <steved@redhat.com> 1.1.0-1
  558. - Upgraded to the latest upstream version (nfs-utils-1.1.0)
  559. * Thu May 24 2007 Steve Dickson <steved@redhat.com> 1.0.10-7
  560. - Fixed typo in mount.nfs4 that causes a segfault during
  561. error processing (bz 241190)
  562. * Tue May 22 2007 Steve Dickson <steved@redhat.com> 1.0.10-6
  563. - Make sure the condrestarts exit with a zero value (bz 240225)
  564. - Stopped /etc/sysconfig/nfs from being overwritten on updates (bz 234543)
  565. - Added -o nordirplus mount option to disable READDIRPLUS (bz 240357)
  566. - Disabled the FSCache patch, for now...
  567. * Thu May 10 2007 Steve Dickson <steved@redhat.com> 1.0.12-5
  568. - Fix mount.nfs4 to display correct error message (bz 227212)
  569. - Updated mountd and showmount reverse lookup flags (bz 220772)
  570. - Eliminate timeout on nfsd shutdowns (bz 222001)
  571. - Eliminate memory leak in mountd (bz 239536)
  572. - Make sure statd uses correct uid/gid by chowning
  573. the /var/lib/nfs/statd with the rpcuser id. (bz 235216)
  574. - Correct some sanity checking in rpc.nfsd. (bz 220887)
  575. - Added missing unlock_mtab() call in moutnd
  576. - Have mountd hold open etab file to force inode number to change (bz 236823)
  577. - Create a /etc/sysconfig/nfs with all the possible init script
  578. variables (bz 234543)
  579. - Changed nfs initscript to exit with correct value (bz 221874)
  580. * Tue Apr 3 2007 Steve Dickson <steved@redhat.com> 1.0.12-4
  581. - Replace portmap dependency with an rpcbind dependency (bz 228894)
  582. * Mon Mar 12 2007 Steve Dickson <steved@redhat.com> 1.0.12-3
  583. - Incorporated Merge Review comments (bz 226198)
  584. * Fri Mar 9 2007 Steve Dickson <steved@redhat.com> 1.0.12-2
  585. - Added condstop to all the initscripts (bz 196934)
  586. - Made no_subtree_check a default export option (bz 212218)
  587. * Tue Mar 6 2007 Steve Dickson <steved@redhat.com> 1.0.12-1
  588. - Upgraded to 1.0.12
  589. - Fixed typo in Summary.
  590. * Thu Mar 1 2007 Karel Zak <kzak@redhat.com> 1.0.11-2
  591. - Fixed mount.nfs -f (fake) option (bz 227988)
  592. * Thu Feb 22 2007 Steve Dickson <steved@redhat.com> 1.0.11-1
  593. - Upgraded to 1.0.11
  594. * Wed Feb 21 2007 Steve Dickson <steved@redhat.com> 1.0.10-7
  595. - Added FS_Location support
  596. * Mon Dec 18 2006 Karel Zak <kzak@redhat.com> 1.0.10-6
  597. - add support for mount options that contain commas (bz 219645)
  598. * Wed Dec 13 2006 Steve Dickson <steved@redhat.com> 1.0.10-5
  599. - Stopped v4 umounts from ping rpc.mountd (bz 215553)
  600. * Tue Nov 28 2006 Steve Dickson <steved@redhat.com> 1.0.10-4
  601. - Doing a connect on UDP sockets causes the linux network
  602. stack to reject UDP patches from multi-home server with
  603. nic on the same subnet. (bz 212471)
  604. * Wed Nov 15 2006 Steve Dickson <steved@redhat.com> 1.0.10-3
  605. - Removed some old mounting versioning code that was
  606. stopping tcp mount from working (bz 212471)
  607. * Tue Oct 31 2006 Steve Dickson <steved@redhat.com> 1.0.10-2
  608. - Fixed -o remount (bz 210346)
  609. - fix memory leak in rpc.idmapd (bz 212547)
  610. - fix use after free bug in dirscancb (bz 212547)
  611. - Made no_subtree_check a default export option (bz 212218)
  612. * Wed Oct 25 2006 Steve Dickson <steved@redhat.com> 1.0.10-1
  613. - Upgraded to 1.0.10
  614. * Mon Oct 16 2006 Steve Dickson <steved@redhat.com> 1.0.9-10
  615. - Fixed typo in nfs man page (bz 210864).
  616. * Fri Oct 13 2006 Steve Dickson <steved@redhat.com> 1.0.9-9
  617. - Unable to mount NFS V3 share where sec=none is specified (bz 210644)
  618. * Tue Sep 26 2006 Steve Dickson <steved@redhat.com> 1.0.9-8
  619. - mount.nfs was not returning a non-zero exit value
  620. on failed mounts (bz 206705)
  621. * Wed Sep 20 2006 Karel Zak <kzak@redhat.com> 1.0.9-7
  622. - Added support for the mount -s (sloppy) option (#205038)
  623. - Added nfs.5 man page from util-linux
  624. - Added info about [u]mount.nfs to the package description
  625. * Mon Sep 11 2006 <SteveD@RedHat.com> 1.0.9-6
  626. - Removed the compiling of getiversion and getkversion since
  627. UTS_RELEASE is no longer defined and these binary are
  628. not installed.
  629. * Fri Aug 18 2006 <SteveD@RedHat.com> 1.0.9-5
  630. - Changed gssd daemons to cache things in memory
  631. instead of /tmp which makes selinux much happier.
  632. (bz 203078)
  633. * Wed Aug 16 2006 <SteveD@RedHat.com> 1.0.9-4
  634. - Allow variable for HA callout program in /etc/init.d/nfslock
  635. (bz 202790)
  636. * Wed Aug 02 2006 <wtogami@redhatcom> 1.0.9-3
  637. - add epoch (#196359)
  638. * Fri Jul 28 2006 <SteveD@RedHat.com> 1.0.9-2
  639. - Enabled the creating of mount.nfs and umount.nfs binaries
  640. - Added mount option fixes suggested by upstream.
  641. - Fix lazy umounts (bz 169299)
  642. - Added -o fsc mount option.
  643. * Mon Jul 24 2006 <SteveD@RedHat.com> 1.0.9-1
  644. - Updated to 1.0.9 release
  645. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1:1.0.8-5.1
  646. - rebuild
  647. * Sun Jul 2 2006 <jkeating@redhat.com> 1:1.0.8-5
  648. - Introduce epoch to fix upgrade path
  649. * Sat Jul 1 2006 <SteveD@RedHat.com> 1.0.8-3
  650. - Fixed typos in /etc/rc.d/init.d/nfs file (bz 184486)
  651. * Fri Jun 30 2006 <SteveD@RedHat.com> 1.0.8-3
  652. - Split the controlling of nfs version, ports, and protocol
  653. into two different patches
  654. - Fixed and added debugging statements to rpc.mountd.
  655. - Fixed -p arg to work with priviledged ports (bz 156655)
  656. - Changed nfslock initscript to set LOCKD_TCPPORT and
  657. LOCKD_UDPPORT (bz 162133)
  658. - Added MOUNTD_NFS_V1 variable to version 1 of the
  659. mount protocol can be turned off. (bz 175729)
  660. - Fixed gssd to handel mixed case characters in
  661. the domainname. (bz 186069)
  662. * Wed Jun 21 2006 <SteveD@RedHat.com> 1.0.8-2
  663. - Updated to nfs-utils-1.0.8
  664. * Thu Jun 8 2006 <SteveD@RedHat.com> 1.0.8.rc4-1
  665. - Upgraded to the upstream 1.0.8.rc4 version
  666. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.8.rc2-4.FC5.2
  667. - bump again for double-long bug on ppc(64)
  668. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.8.rc2-4.FC5.1
  669. - rebuilt for new gcc4.1 snapshot and glibc changes
  670. * Fri Jan 20 2006 Steve Dickson <SteveD@RedHat.com> 1.0.8.rc2-4.FC5
  671. - Added new libnfsidmap call, nfs4_set_debug(), to rpc.idmapd
  672. which turns on debugging in the libarary.
  673. * Mon Jan 16 2006 Steve Dickson <SteveD@RedHat.com> 1.0.8.rc2-3.FC5
  674. - Added innetgr patch that changes configure scripts to
  675. check for the innetgr function. (bz 177899)
  676. * Wed Jan 11 2006 Peter Jones <pjones@redhat.com> 1.0.8.rc2-2.FC5
  677. - Fix lockfile naming in the initscripts so they're stopped correctly.
  678. * Mon Jan 9 2006 Steve Dickson <SteveD@RedHat.com> 1.0.8.rc2-1.FC5
  679. - Updated to 1.0.8-rc2 release
  680. - Broke out libgssapi into its own rpm
  681. - Move librpcsecgss and libnfsidmap in the new nfs-utils-lib rpm
  682. - Removed libevent code; Required to be installed.
  683. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  684. - rebuilt
  685. * Sun Oct 23 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-19
  686. - Updated to latest code in SourceForge CVS
  687. - Updated to latest CITI patches (1.0.7-4)
  688. - Fix bug in nfsdreopen by compiling in server defaults
  689. * Thu Sep 22 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-18
  690. - Updated libnfsidmap to 0.11
  691. - Updated libgssapi to 0.5
  692. - Made sure the gss daemons and new libs are
  693. all using the same include files.
  694. - Removed code from the tree that is no longer used.
  695. - Add ctlbits patch that introduced the -N -T and -U
  696. command line flags to rpc.nfsd.
  697. * Sun Sep 18 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-17
  698. - Updated to latest nfs-utils code in upstream CVS tree
  699. - Updated libevent from 1.0b to 1.1a
  700. - Added libgssapi-0.4 and librpcsecgss-0.6 libs from CITI
  701. * Thu Sep 8 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-16
  702. - Reworked the nfslock init script so if lockd is running
  703. it will be killed which is what the HA community needs. (bz 162446)
  704. - Stopped rpcidmapd.init from doing extra echoing when
  705. condstart-ed.
  706. * Wed Aug 24 2005 Peter Jones <pjones@redhat.com> - 1.0.7-15
  707. - don't strip during "make install", so debuginfo packages are generated right
  708. * Thu Aug 18 2005 Florian La Roche <laroche@redhat.com>
  709. - no need to still keep a requirement for kernel-2.2 or newer
  710. * Tue Aug 16 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-13
  711. - Changed mountd to use stat64() (bz 165062)
  712. * Tue Aug 2 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-12
  713. - Changed useradd to use new -l flag (bz149407)
  714. - 64bit fix in gssd code (bz 163139)
  715. - updated broken dependencies
  716. - updated rquotad to compile with latest
  717. quota version.
  718. * Thu May 26 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-8
  719. - Fixed subscripting problem in idmapd (bz 158188)
  720. * Thu May 19 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-7
  721. - Fixed buffer overflow in rpc.svcgssd (bz 114288)
  722. * Wed Apr 13 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-6
  723. - Fixed misformated output from nfslock script (bz 154648)
  724. * Tue Mar 29 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-4
  725. - Fixed a compile error on x86_64 machines in the gss code.
  726. - Updated the statd-notify-hostname.patch to eliminate
  727. a segmentation fault in rpc.statd when an network
  728. interface was down. (bz 151828)
  729. * Sat Mar 19 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-3
  730. - Changed xlog to use LOG_INFO instead of LOG_DEBUG
  731. so debug messages will appear w/out any config
  732. changes to syslog.conf.
  733. - Reworked how /etc/exports is setup (bz 151389)
  734. * Wed Mar 2 2005 Steve Dickson <SteveD@RedHat.com> 1.0.7-2
  735. - Tied the rpcsecgss debugging in with gssd and
  736. svcgssd debugging
  737. * Mon Feb 14 2005 Steve Dickson <SteveD@RedHat.com>
  738. - Added support to rpcgssd.init and rpcsvcgssd.init scripts
  739. to insmod security modules.
  740. - Changed the nfs.init script to bring rpc.svcgssd up and down,
  741. since rpc.svcgssd is only needed with the NFS server is running.
  742. * Tue Dec 14 2004 Steve Dickson <SteveD@RedHat.com>
  743. - Fix problem in idmapd that was causing "xdr error 10008"
  744. errors (bz 142813)
  745. - make sure the correct hostname is used in the SM_NOTIFY
  746. message that is sent from a rebooted server which has
  747. multiple network interfaces. (bz 139101)
  748. - Changed nfslock to send lockd a -KILL signal
  749. when coming down. (bz 125257)
  750. * Thu Nov 11 2004 Steve Dickson <SteveD@RedHat.com>
  751. - Replaced a memcopy with explicit assignments
  752. in getquotainfo() of rquotad to fix potential overflow
  753. that can occur on 64bit machines. (bz 138068)
  754. * Mon Nov 8 2004 Steve Dickson <SteveD@RedHat.com>
  755. - Updated to latest sourceforge code
  756. - Updated to latest CITIT nfs4 patches
  757. * Sun Oct 17 2004 Steve Dickson <SteveD@RedHat.com>
  758. - Changed nfs.init to bring down rquotad correctly
  759. (bz# 136041)
  760. * Thu Oct 14 2004 Steve Dickson <SteveD@RedHat.com>
  761. - Added "$RQUOTAD_PORT" variable to nfs.init which
  762. allows the rpc.rquotad to use a predefined port
  763. (bz# 124676)
  764. * Fri Oct 1 2004 <SteveD@RedHat.com
  765. - Incorporate some clean up code from Ulrich Drepper (bz# 134025)
  766. - Fixed the chkconfig number in the rpcgssd, rpcidmapd, and
  767. rpcsvcgssd initscrpts (bz# 132284)
  768. * Fri Sep 24 2004 <SteveD@RedHat.com>
  769. - Make sure the uid/gid of nfsnobody is the
  770. correct value for all archs (bz# 123900)
  771. - Fixed some security issues found by SGI (bz# 133556)
  772. * Mon Aug 30 2004 Steve Dickson <SteveD@RedHat.com>
  773. - Major clean up.
  774. - Removed all unused/old patches
  775. - Rename and condensed a number of patches
  776. - Updated to CITI's nfs-utils-1.0.6-13 patches
  777. * Tue Aug 10 2004 Bill Nottingham <notting@redhat.com>
  778. - move if..fi condrestart stanza to %%postun (#127914, #128601)
  779. * Wed Jun 16 2004 <SteveD@RedHat.com>
  780. - nfslock stop is now done on package removals
  781. - Eliminate 3 syslog messages that are logged for
  782. successful events.
  783. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  784. - rebuilt
  785. * Mon Jun 14 2004 <SteveD@RedHat.com>
  786. - Fixed syntax error in nfs initscripts when
  787. NETWORKING is not defined
  788. - Removed sync warning on readonly exports.
  789. - Changed run levels in rpc initscripts.
  790. - Replaced modinfo with lsmod when checking
  791. for loaded modules.
  792. * Tue Jun 1 2004 <SteveD@RedHat.com>
  793. - Changed the rpcgssd init script to ensure the
  794. rpcsec_gss_krb5 module is loaded
  795. * Tue May 18 2004 <SteveD@RedHat.com>
  796. - Removed the auto option from MOUNTD_NFS_V2 and
  797. MOUNTD_NFS_V3 variables. Since v2 and v3 are on
  798. by default, there only needs to be away of
  799. turning them off.
  800. * Mon May 10 2004 <SteveD@RedHat.com>
  801. - Rebuilt
  802. * Thu Apr 15 2004 <SteveD@RedHat.com>
  803. - Changed the permission on idmapd.conf to 644
  804. - Added mydaemon code to svcgssd
  805. - Updated the add_gssd.patch from upstream
  806. * Wed Apr 14 2004 <SteveD@RedHat.com>
  807. - Created a pipe between the parent and child so
  808. the parent process can report the correct exit
  809. status to the init scripts
  810. - Added SIGHUP processing to rpc.idmapd and the
  811. rpcidmapd init script.
  812. * Mon Mar 22 2004 <SteveD@RedHat.com>
  813. - Make sure check_new_cache() is looking in the right place
  814. * Wed Mar 17 2004 <SteveD@RedHat.com>
  815. - Changed the v4 initscripts to use $prog for the
  816. arugment to daemon
  817. * Tue Mar 16 2004 <SteveD@RedHat.com>
  818. - Made the nfs4 daemons initscripts work better when
  819. sunrpc is not a module
  820. - added more checks to see if modules are being used.
  821. * Mon Mar 15 2004 <SteveD@RedHat.com>
  822. - Add patch that sets up gssapi_mech.conf correctly
  823. * Fri Mar 12 2004 <SteveD@RedHat.com>
  824. - Added the shutting down of the rpc v4 daemons.
  825. - Updated the Red Hat only patch with some init script changes.
  826. * Thu Mar 11 2004 Bill Nottingham <notting@redhat.com>
  827. - rpc_pipefs mounting and aliases are now in modutils; require that
  828. * Thu Mar 11 2004 <SteveD@RedHat.com>
  829. - Updated the gssd patch.
  830. * Sun Mar 7 2004 <SteveD@RedHat.com>
  831. - Added the addition and deletion of rpc_pipefs to /etc/fstab
  832. - Added the addition and deletion of module aliases to /etc/modules.conf
  833. * Mon Mar 1 2004 <SteveD@RedHat.com>
  834. - Removed gssd tarball and old nfsv4 patch.
  835. - Added new nfsv4 patches that include both the
  836. gssd and idmapd daemons
  837. - Added redhat-only v4 patch that reduces the
  838. static librpc.a to only contain gss rpc related
  839. routines (I would rather have gssd use the glibc
  840. rpc routines)
  841. -Changed the gssd svcgssd init scripts to only
  842. start up if SECURE_NFS is set to 'yes' in
  843. /etc/sysconfig/nfs
  844. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  845. - rebuilt
  846. * Thu Feb 12 2004 Thomas Woerner <twoerner@redhat.com>
  847. - make rpc.lockd, rpc.statd, rpc.mountd and rpc.nfsd pie
  848. * Wed Jan 28 2004 Steve Dickson <SteveD@RedHat.com>
  849. - Added the NFSv4 bits
  850. * Mon Dec 29 2003 Steve Dickson <SteveD@RedHat.com>
  851. - Added the -z flag to nfsstat
  852. * Wed Dec 24 2003 Steve Dickson <SteveD@RedHat.com>
  853. - Fixed lockd port setting in nfs.int script
  854. * Wed Oct 22 2003 Steve Dickson <SteveD@RedHat.com>
  855. - Upgrated to 1.0.6
  856. - Commented out the acl path for fedora
  857. * Wed Aug 27 2003 Steve Dickson <SteveD@RedHat.com>
  858. - Added the setting of lockd ports via sysclt interface
  859. - Removed queue setting code since its no longer needed
  860. * Thu Aug 7 2003 Steve Dickson <SteveD@RedHat.com>
  861. - Added back the acl patch Taroon b2
  862. * Wed Jul 23 2003 Steve Dickson <SteveD@RedHat.com>
  863. - Commented out the acl patch (for now)
  864. * Mon Jul 21 2003 Steve Dickson <SteveD@RedHat.com>
  865. - Upgrated to 1.0.5
  866. * Wed Jun 18 2003 Steve Dickson <SteveD@RedHat.com>
  867. - Added security update
  868. - Fixed the drop-privs.patch which means the chroot
  869. patch could be removed.
  870. * Mon Jun 9 2003 Steve Dickson <SteveD@RedHat.com>
  871. - Defined the differ kinds of debugging avaliable for mountd in
  872. the mountd man page.
  873. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  874. - rebuilt
  875. * Tue Jun 3 2003 Steve Dickson <SteveD@RedHat.com>
  876. - Upgraded to 1.0.3
  877. - Fixed numerous bugs in init scrips
  878. - Added nfsstat overflow patch
  879. * Thu Jan 23 2003 Tim Powers <timp@redhat.com> 1.0.1-2.9
  880. - rebuild
  881. * Fri Dec 13 2002 Daniel J Walsh <dwalsh@redhat.com>
  882. - change init script to not start rpc.lock if already running
  883. * Wed Dec 11 2002 Daniel J Walsh <dwalsh@redhat.com>
  884. - Moved access code to be after dropping privs
  885. * Mon Nov 18 2002 Stephen C. Tweedie <sct@redhat.com>
  886. - Build with %%configure
  887. - Add nhfsgraph, nhfsnums and nhfsrun to the files list
  888. * Mon Nov 11 2002 Stephen C. Tweedie <sct@redhat.com>
  889. - Don't drop privs until we've bound the notification socket
  890. * Thu Nov 7 2002 Stephen C. Tweedie <sct@redhat.com>
  891. - Ignore SIGPIPE in rpc.mountd
  892. * Thu Aug 1 2002 Bob Matthews <bmatthews@redhat.com>
  893. - Add Sean O'Connell's <sean@ee.duke.edu> nfs control tweaks
  894. - to nfs init script.
  895. * Mon Jul 22 2002 Bob Matthews <bmatthews@redhat.com>
  896. - Move to nfs-utils-1.0.1
  897. * Mon Feb 18 2002 Bob Matthews <bmatthews@redhat.com>
  898. - "service nfs restart" should start services even if currently
  899. - not running (#59469)
  900. - bump version to 0.3.3-4
  901. * Wed Oct 3 2001 Bob Matthews <bmatthews@redhat.com>
  902. - Move to nfs-utils-0.3.3
  903. - Make nfsnobody a system account (#54221)
  904. * Tue Aug 21 2001 Bob Matthews <bmatthews@redhat.com>
  905. - if UID 65534 is unassigned, add user nfsnobody (#22685)
  906. * Mon Aug 20 2001 Bob Matthews <bmatthews@redhat.com>
  907. - fix typo in nfs init script which prevented MOUNTD_PORT from working (#52113)
  908. * Tue Aug 7 2001 Bob Matthews <bmatthews@redhat.com>
  909. - nfs init script shouldn't fail if /etc/exports doesn't exist (#46432)
  910. * Fri Jul 13 2001 Bob Matthews <bmatthews@redhat.com>
  911. - Make %%pre useradd consistent with other Red Hat packages.
  912. * Tue Jul 03 2001 Michael K. Johnson <johnsonm@redhat.com>
  913. - Added sh-utils dependency for uname -r in nfs init script
  914. * Tue Jun 12 2001 Bob Matthews <bmatthews@redhat.com>
  915. - make non RH kernel release strings scan correctly in
  916. - nfslock init script (#44186)
  917. * Mon Jun 11 2001 Bob Matthews <bmatthews@redhat.com>
  918. - don't install any rquota pages in _mandir: (#39707, #44119)
  919. - don't try to manipulate rpc.rquotad in init scripts
  920. - unless said program actually exists: (#43340)
  921. * Tue Apr 10 2001 Preston Brown <pbrown@redhat.com>
  922. - don't translate initscripts for 6.x
  923. * Tue Apr 10 2001 Michael K. Johnson <johnsonm@redhat.com>
  924. - do not start lockd on kernel 2.2.18 or higher (done automatically)
  925. * Fri Mar 30 2001 Preston Brown <pbrown@redhat.com>
  926. - don't use rquotad from here now; quota package contains a version that
  927. works with 2.4 (#33738)
  928. * Mon Mar 12 2001 Bob Matthews <bmatthews@redhat.com>
  929. - Statd logs at LOG_DAEMON rather than LOG_LOCAL5
  930. - s/nfs/\$0/ where appropriate in init scripts
  931. * Tue Mar 6 2001 Jeff Johnson <jbj@redhat.com>
  932. - Move to nfs-utils-0.3.1
  933. * Wed Feb 14 2001 Bob Matthews <bmatthews@redhat.com>
  934. - #include <time.h> patch
  935. * Mon Feb 12 2001 Bob Matthews <bmatthews@redhat.com>
  936. - Really enable netgroups
  937. * Mon Feb 5 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  938. - i18nize initscripts
  939. * Fri Jan 19 2001 Bob Matthews <bmatthews@redhat.com>
  940. - Increased {s,r}blen in rpcmisc.c:makesock to accommodate eepro100
  941. * Tue Jan 16 2001 Bob Matthews <bmatthews@redhat.com>
  942. - Hackish fix in build section to enable netgroups
  943. * Wed Jan 3 2001 Bob Matthews <bmatthews@redhat.com>
  944. - Fix incorrect file specifications in statd manpage.
  945. - Require gawk 'cause it's used in nfslock init script.
  946. * Wed Dec 13 2000 Bob Matthews <bmatthews@redhat.com>
  947. - Require sed because it's used in nfs init script
  948. * Tue Dec 12 2000 Bob Matthews <bmatthews@redhat.com>
  949. - Don't do a chroot(2) after dropping privs, in statd.
  950. * Mon Dec 11 2000 Bob Matthews <bmatthews@redhat.com>
  951. - NFSv3 if kernel >= 2.2.18, detected in init script
  952. * Thu Nov 23 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  953. - update to 0.2.1
  954. * Tue Nov 14 2000 Bill Nottingham <notting@redhat.com>
  955. - don't start lockd on 2.4 kernels; it's unnecessary
  956. * Tue Sep 5 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  957. - more portable fix for mandir
  958. * Sun Sep 3 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  959. - update to 0.2-release
  960. * Fri Sep 1 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  961. - fix reload script
  962. * Thu Aug 31 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  963. - update to 0.2 from CVS
  964. - adjust statd-drop-privs patch
  965. - disable tcp_wrapper support
  966. * Wed Aug 2 2000 Bill Nottingham <notting@redhat.com>
  967. - fix stop priority of nfslock
  968. * Tue Aug 1 2000 Bill Nottingham <notting@redhat.com>
  969. - um, actually *include and apply* the statd-drop-privs patch
  970. * Mon Jul 24 2000 Bill Nottingham <notting@redhat.com>
  971. - fix init script ordering (#14502)
  972. * Sat Jul 22 2000 Bill Nottingham <notting@redhat.com>
  973. - run statd chrooted and as non-root
  974. - add prereqs
  975. * Tue Jul 18 2000 Trond Eivind Glomsrd <teg@redhat.com>
  976. - use "License", not "Copyright"
  977. - use %%{_tmppath} and %%{_mandir}
  978. * Mon Jul 17 2000 Matt Wilson <msw@redhat.com>
  979. - built for next release
  980. * Mon Jul 17 2000 Matt Wilson <msw@redhat.com>
  981. - 0.1.9.1
  982. - remove patch0, has been integrated upstream
  983. * Wed Feb 9 2000 Bill Nottingham <notting@redhat.com>
  984. - the wonderful thing about triggers, is triggers are wonderful things...
  985. * Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
  986. - switch to nfs-utils as the base tree
  987. - fix the statfs patch for the new code base
  988. - single package that obsoletes everything we had before (if I am to keep
  989. some traces of my sanity with me...)
  990. * Mon Jan 17 2000 Preston Brown <pbrown@redhat.com>
  991. - use statfs syscall instead of stat to determinal optimal blksize