nfs-utils-vl.spec 41 KB

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