From: Mike Frysinger Date: Sun, 25 Mar 2007 12:30:52 +0000 (+0000) Subject: Split init.d scripts up so client/server configurations are handled properly #101624... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=be77523dd74cc5df8e6ece331c75a1054298da3d;p=gentoo.git Split init.d scripts up so client/server configurations are handled properly #101624 by Tim Hobbs. Special thanks to Daniel Burr and Thomas Bettler. Package-Manager: portage-2.1.2.2 --- diff --git a/net-fs/nfs-utils/ChangeLog b/net-fs/nfs-utils/ChangeLog index f7d903a7f3a0..50f69c9283af 100644 --- a/net-fs/nfs-utils/ChangeLog +++ b/net-fs/nfs-utils/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-fs/nfs-utils # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.93 2007/03/25 11:34:15 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.94 2007/03/25 12:30:52 vapier Exp $ + +*nfs-utils-1.0.12-r2 (25 Mar 2007) + + 25 Mar 2007; Mike Frysinger files/nfs.confd, + +files/nfs.initd, +files/nfsmount.initd, +files/rpc.gssd.initd, + +files/rpc.idmapd.initd, +files/rpc.statd.initd, + +nfs-utils-1.0.12-r2.ebuild: + Split init.d scripts up so client/server configurations are handled properly + #101624 by Tim Hobbs. Special thanks to Daniel Burr and Thomas Bettler. 25 Mar 2007; Tobias Scherbaum nfs-utils-1.0.12.ebuild: diff --git a/net-fs/nfs-utils/Manifest b/net-fs/nfs-utils/Manifest index 3436179311b0..44ef0420f7ce 100644 --- a/net-fs/nfs-utils/Manifest +++ b/net-fs/nfs-utils/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX exports 66 RMD160 0a61ad40dc321be39fb54d5b9fe717caa714e878 SHA1 52ed6b74643e084cfc17ff4638c2e06c86602034 SHA256 5d6356df546682e2f1a87131d1bb67de9b1f9a34d3a5742343dc64e890cf71d5 MD5 a02eed87e5d581e56feb0f6dfd18e6df files/exports 66 RMD160 0a61ad40dc321be39fb54d5b9fe717caa714e878 files/exports 66 @@ -38,14 +41,38 @@ AUX nfs-utils-1.0.7-no-stripping.patch 394 RMD160 8faa5132e5a92f8d2a2fb6f7ed55bb MD5 cf22f0e5e058bf8171c2604d9a278368 files/nfs-utils-1.0.7-no-stripping.patch 394 RMD160 8faa5132e5a92f8d2a2fb6f7ed55bb07d526aea9 files/nfs-utils-1.0.7-no-stripping.patch 394 SHA256 694b544c651a9191cdf4b6fe927364fcb97b9100bdaa0f9dbcb07bcd5ab03a12 files/nfs-utils-1.0.7-no-stripping.patch 394 -AUX nfs.confd 533 RMD160 bad552a256a86bc374cd7ff3d685afa4ff5d816e SHA1 43fbdfba5a61ad79375265c120fb4784da7b1462 SHA256 a9b8395590b8d15b52eee8cb637fdc23afce007de42442ef4448e76f2ac899fd -MD5 fc332370f9517304bc251f505b17abf2 files/nfs.confd 533 -RMD160 bad552a256a86bc374cd7ff3d685afa4ff5d816e files/nfs.confd 533 -SHA256 a9b8395590b8d15b52eee8cb637fdc23afce007de42442ef4448e76f2ac899fd files/nfs.confd 533 +AUX nfs.confd 630 RMD160 3628b5df5589c700905afc8054d1ee22fb5be0b9 SHA1 b5e8e37f3611008626f3f1fc633202fbefb8c101 SHA256 9ca3b7dfbac5bedd818a3637805380f4e873ef8e809c21c26f410c86ac16e03e +MD5 09135438d6df50b868bbe5a2260f973c files/nfs.confd 630 +RMD160 3628b5df5589c700905afc8054d1ee22fb5be0b9 files/nfs.confd 630 +SHA256 9ca3b7dfbac5bedd818a3637805380f4e873ef8e809c21c26f410c86ac16e03e files/nfs.confd 630 +AUX nfs.confd.old 533 RMD160 bad552a256a86bc374cd7ff3d685afa4ff5d816e SHA1 43fbdfba5a61ad79375265c120fb4784da7b1462 SHA256 a9b8395590b8d15b52eee8cb637fdc23afce007de42442ef4448e76f2ac899fd +MD5 fc332370f9517304bc251f505b17abf2 files/nfs.confd.old 533 +RMD160 bad552a256a86bc374cd7ff3d685afa4ff5d816e files/nfs.confd.old 533 +SHA256 a9b8395590b8d15b52eee8cb637fdc23afce007de42442ef4448e76f2ac899fd files/nfs.confd.old 533 +AUX nfs.initd 4121 RMD160 85ae5e2211d86c0ec39ca0a6e161e935b51d5d32 SHA1 20377b62a56d785e1049092cbef173f3e06d82db SHA256 7e270a3f0a550c8fd2aad622f2255ce8f78281ba47a1d935c8ff8f503a42aaeb +MD5 2ea7d228856de02adcab24be83fe69a2 files/nfs.initd 4121 +RMD160 85ae5e2211d86c0ec39ca0a6e161e935b51d5d32 files/nfs.initd 4121 +SHA256 7e270a3f0a550c8fd2aad622f2255ce8f78281ba47a1d935c8ff8f503a42aaeb files/nfs.initd 4121 AUX nfsmount 1131 RMD160 f67431f36e702c50c67ff799d96c8bd37fbe847f SHA1 c88b592db4304f4d19798c1c2346ea688c9acde2 SHA256 8c1b12047327d707743bc579151ff7e3800696cc46cfcaea1c58a93fbc11f9e7 MD5 2af8106db3fdcb3d5ddf22ea5fffb105 files/nfsmount 1131 RMD160 f67431f36e702c50c67ff799d96c8bd37fbe847f files/nfsmount 1131 SHA256 8c1b12047327d707743bc579151ff7e3800696cc46cfcaea1c58a93fbc11f9e7 files/nfsmount 1131 +AUX nfsmount.initd 684 RMD160 740cb9c620536ed74bab9d4ab622d5cc34a4c582 SHA1 678c347b29064c3dbe9605f7338afa75bf1d0824 SHA256 c4ba3c8f102b68d69de26e9856652de3ce80ee80f2e1b93431d29bb100c34605 +MD5 e189a105d38d4bd2c25d825914ee8e49 files/nfsmount.initd 684 +RMD160 740cb9c620536ed74bab9d4ab622d5cc34a4c582 files/nfsmount.initd 684 +SHA256 c4ba3c8f102b68d69de26e9856652de3ce80ee80f2e1b93431d29bb100c34605 files/nfsmount.initd 684 +AUX rpc.gssd.initd 796 RMD160 cf40be5b93e986ff0e22b17419705d6ca52ff250 SHA1 4d008875e0933e3e7aab07c28c6efef730474f54 SHA256 fb94798b1d7d3c1dcc8a62b182f04d323214da9f16122eb878038935f61f8d40 +MD5 29ae05ffad9e09a34afccb2c614e5952 files/rpc.gssd.initd 796 +RMD160 cf40be5b93e986ff0e22b17419705d6ca52ff250 files/rpc.gssd.initd 796 +SHA256 fb94798b1d7d3c1dcc8a62b182f04d323214da9f16122eb878038935f61f8d40 files/rpc.gssd.initd 796 +AUX rpc.idmapd.initd 1338 RMD160 e282d29b3bdafeb204c49460114b26af32e659d1 SHA1 4a0dc33d23c625d51abf91764efbedcb242b51df SHA256 dd9fe539ac4fa2463d71427e2667ddcea76b4d5b17103124ef0b08ab8f4dfd4e +MD5 4bb34adccc0c96d7feadc4e72f20bfbc files/rpc.idmapd.initd 1338 +RMD160 e282d29b3bdafeb204c49460114b26af32e659d1 files/rpc.idmapd.initd 1338 +SHA256 dd9fe539ac4fa2463d71427e2667ddcea76b4d5b17103124ef0b08ab8f4dfd4e files/rpc.idmapd.initd 1338 +AUX rpc.statd.initd 875 RMD160 aa4f6629fd2850265b3c7ad5b76e050a1d7008cc SHA1 25c5f7b732734ea6d58bef465854b4f0786cb1d0 SHA256 75e87bdb364321be73cd941fac2abb360118128bef1989972f999536122bfe41 +MD5 248147cf175c8025db88702d1fac1f9f files/rpc.statd.initd 875 +RMD160 aa4f6629fd2850265b3c7ad5b76e050a1d7008cc files/rpc.statd.initd 875 +SHA256 75e87bdb364321be73cd941fac2abb360118128bef1989972f999536122bfe41 files/rpc.statd.initd 875 DIST nfs-utils-1.0.10-CITI_NFS4_ALL-1.dif 77589 RMD160 6615b6dd086d57af7684687ae566ebb6cf9fc96c SHA1 aa290131833046e63262f2d91579fe6c2f6fb7fc SHA256 6dd9b5b61e2b0d25f090ac031d75c41fba485014cb09069d2ae20d15648a14bb DIST nfs-utils-1.0.10.tar.gz 782161 RMD160 f8fc404e008af09066f8a4937ee1b0431def4bac SHA1 4950150df3f5049950b18345fc3f61532d1077ce SHA256 d5b15a95de6ec572757fda2ba03d069c712b3446fddb2dbe9b1b28f1ddf59d0a DIST nfs-utils-1.0.12.tar.gz 778576 RMD160 a00dbdae386acf3f969714a1571749182c5a19a8 SHA1 477e3eb387b0ccde2eaeb8e67c6437cc0d2668e3 SHA256 67d81a53d84777c733ff8a5cf5f3eed9ecda17fb9f949bc65727c1a3427af8ac @@ -53,34 +80,38 @@ DIST nfs-utils-1.0.6.tar.gz 265964 RMD160 e879f72a7319320a0810e792a2a8fe90d02011 DIST nfs-utils-1.0.7.tar.gz 398577 RMD160 ee01e8a4a9d99018a6e318a74364d1f9b835a93b SHA1 a5d4e70c2ece4c71be07f36184b935050f26396a SHA256 14b63a6006f9385dd9fe2ed302865fa9ff152853750aabed445a1475640f17ee DIST nfs-utils-1.0.9-CITI_NFS4_ALL-1.dif 42249 RMD160 6524766fe4248cc466cb3180c23569cdcb071f4e SHA1 eac2f17113f416f0390bf39019989f334409812f SHA256 0042c29ee2ab9795400f8324d2a97f830698ed3e6eebd3ad08c47bb1934569f0 DIST nfs-utils-1.0.9.tar.gz 780431 RMD160 26db73aecf8307a3f6d10a3e331a757747f8182a SHA1 6e288b169c4086c000197caeff2de8fac84fca3d SHA256 55eaf5b4e7799ee7bfae2ea47270a264bc7cc0a4955424e3356916816f19e800 -EBUILD nfs-utils-1.0.10.ebuild 2968 RMD160 0af23f186ff2065a2775d1e67d1196179f050ac5 SHA1 556485339819574038bec2604592f3e220893e23 SHA256 98a4d07ba16310af0d76c50aedcfcf9acb301a2505c210614db00b6877ba631e -MD5 8b541a26ae843b93fb9abb9bceaed1bb nfs-utils-1.0.10.ebuild 2968 -RMD160 0af23f186ff2065a2775d1e67d1196179f050ac5 nfs-utils-1.0.10.ebuild 2968 -SHA256 98a4d07ba16310af0d76c50aedcfcf9acb301a2505c210614db00b6877ba631e nfs-utils-1.0.10.ebuild 2968 -EBUILD nfs-utils-1.0.12-r1.ebuild 2814 RMD160 f6f036682073d8bd07b04bde480e68c29d0edb09 SHA1 427940b2bc6d3d8e57c3e722ebd052e68b1c179c SHA256 bba53b0f5da41dbb13a1071082617e71c9216c3b5ad230f2745dee50ed571a64 -MD5 32ddbc9831c8290e172f6d9fbed42cc8 nfs-utils-1.0.12-r1.ebuild 2814 -RMD160 f6f036682073d8bd07b04bde480e68c29d0edb09 nfs-utils-1.0.12-r1.ebuild 2814 -SHA256 bba53b0f5da41dbb13a1071082617e71c9216c3b5ad230f2745dee50ed571a64 nfs-utils-1.0.12-r1.ebuild 2814 -EBUILD nfs-utils-1.0.12.ebuild 2752 RMD160 41808102bbd370c775a32f9429e3da6b7daf15f0 SHA1 5d34a0bf59188d88c2c4e538277dd8cb8adcfdad SHA256 08dbd6438da69e5572ac10e7c3b412b2ccea1426bde7490b4854f0083af00972 -MD5 c69c4c46a9d0318b52ca8b32f1ca3e67 nfs-utils-1.0.12.ebuild 2752 -RMD160 41808102bbd370c775a32f9429e3da6b7daf15f0 nfs-utils-1.0.12.ebuild 2752 -SHA256 08dbd6438da69e5572ac10e7c3b412b2ccea1426bde7490b4854f0083af00972 nfs-utils-1.0.12.ebuild 2752 -EBUILD nfs-utils-1.0.6-r6.ebuild 2916 RMD160 640f2233e81003cff638d9d1c3f409dfa39c08ae SHA1 2cfcb6a9980200b5e1fa2033bc1df10f892a457b SHA256 2ebb1cfe62710f75e78fc1689840021f26c0dc92477e1b93213619406c1dcbb0 -MD5 710e7eab5d3e1ca1eb1f2ee1c81b0925 nfs-utils-1.0.6-r6.ebuild 2916 -RMD160 640f2233e81003cff638d9d1c3f409dfa39c08ae nfs-utils-1.0.6-r6.ebuild 2916 -SHA256 2ebb1cfe62710f75e78fc1689840021f26c0dc92477e1b93213619406c1dcbb0 nfs-utils-1.0.6-r6.ebuild 2916 -EBUILD nfs-utils-1.0.7-r2.ebuild 3391 RMD160 c01ce33f4bfc937c25c7f8094c13f81060d90382 SHA1 2f8b5fbb9cb415cee9dcdc51276b9df5e8916c5e SHA256 706d80060db1c869f119ca41cb2bbdaa0cc0fc0d124b48fbac3dc62f8f479550 -MD5 fd6d074e19f731ca1dfbd72018d5a004 nfs-utils-1.0.7-r2.ebuild 3391 -RMD160 c01ce33f4bfc937c25c7f8094c13f81060d90382 nfs-utils-1.0.7-r2.ebuild 3391 -SHA256 706d80060db1c869f119ca41cb2bbdaa0cc0fc0d124b48fbac3dc62f8f479550 nfs-utils-1.0.7-r2.ebuild 3391 -EBUILD nfs-utils-1.0.9.ebuild 2929 RMD160 08b61561f8adac0c2ca22f42ed3b0cbdb29f6d96 SHA1 c6b1a9d947f44d0e243ab223a1a613181ce8e7d2 SHA256 94753c05c1352c7655e9a1a38d60f212a56a1c4ab22f64522c0e19428145b08b -MD5 3d5497055a0b9b1fd93b31364e577b95 nfs-utils-1.0.9.ebuild 2929 -RMD160 08b61561f8adac0c2ca22f42ed3b0cbdb29f6d96 nfs-utils-1.0.9.ebuild 2929 -SHA256 94753c05c1352c7655e9a1a38d60f212a56a1c4ab22f64522c0e19428145b08b nfs-utils-1.0.9.ebuild 2929 -MISC ChangeLog 13318 RMD160 7c001d8b90517ac8c1c3fbfed725d710efa6b983 SHA1 f6924e7a56627116b0f187f2e8a91600916840a9 SHA256 215d00048fceae1373a519658e98cc4b9da468a96f266a4042b63864806a0538 -MD5 0e3aac5cc1446ef0373e68d877052fc2 ChangeLog 13318 -RMD160 7c001d8b90517ac8c1c3fbfed725d710efa6b983 ChangeLog 13318 -SHA256 215d00048fceae1373a519658e98cc4b9da468a96f266a4042b63864806a0538 ChangeLog 13318 +EBUILD nfs-utils-1.0.10.ebuild 2972 RMD160 09e956a9b2edb0e5dcb1c50a9f8801c1ae9e5adf SHA1 f248854ec89f170c75130bc990776bed07993960 SHA256 9b35bf5b29df1c89dcc7a260a27947674fef32b3ae4a62cdd07ec722d566a2a5 +MD5 527b12e4a797b544a759650d2a2bbb4c nfs-utils-1.0.10.ebuild 2972 +RMD160 09e956a9b2edb0e5dcb1c50a9f8801c1ae9e5adf nfs-utils-1.0.10.ebuild 2972 +SHA256 9b35bf5b29df1c89dcc7a260a27947674fef32b3ae4a62cdd07ec722d566a2a5 nfs-utils-1.0.10.ebuild 2972 +EBUILD nfs-utils-1.0.12-r1.ebuild 2818 RMD160 d47d6f10e981db7d2b3b4bfbb133d62bea5b8a35 SHA1 0d23579116a755248108da05a4b909bbef804b34 SHA256 9bb5bca9caee993a97851ec588a2891ab1d277baccd9d5038be6953cb597d78c +MD5 e0d0a7d0ed8ddc724fc14c789cdcceca nfs-utils-1.0.12-r1.ebuild 2818 +RMD160 d47d6f10e981db7d2b3b4bfbb133d62bea5b8a35 nfs-utils-1.0.12-r1.ebuild 2818 +SHA256 9bb5bca9caee993a97851ec588a2891ab1d277baccd9d5038be6953cb597d78c nfs-utils-1.0.12-r1.ebuild 2818 +EBUILD nfs-utils-1.0.12-r2.ebuild 3022 RMD160 af35eeb937b97603e4edd121f511ebfef822a4e3 SHA1 d90ba05b9e3ab3466bf4642fe53503f9db080635 SHA256 94791982ff7aeebbcbe1b45423b1ef70eee37cf5f583b7d298e442fd248e90c9 +MD5 21186d6031236d9f8bec17e8335ef1a0 nfs-utils-1.0.12-r2.ebuild 3022 +RMD160 af35eeb937b97603e4edd121f511ebfef822a4e3 nfs-utils-1.0.12-r2.ebuild 3022 +SHA256 94791982ff7aeebbcbe1b45423b1ef70eee37cf5f583b7d298e442fd248e90c9 nfs-utils-1.0.12-r2.ebuild 3022 +EBUILD nfs-utils-1.0.12.ebuild 2752 RMD160 f0cb8c31a9351de425fdcfe8bf505f0ad5dc3fad SHA1 a15c57356903384b72f0a6b52f5afa0124ee70fd SHA256 bb0d827a66580596ee8f766f3e0287c63b955407c9bd47116a30f34b52d8a1a6 +MD5 befe18d9a0dc24f1ccfb39dcb81015fd nfs-utils-1.0.12.ebuild 2752 +RMD160 f0cb8c31a9351de425fdcfe8bf505f0ad5dc3fad nfs-utils-1.0.12.ebuild 2752 +SHA256 bb0d827a66580596ee8f766f3e0287c63b955407c9bd47116a30f34b52d8a1a6 nfs-utils-1.0.12.ebuild 2752 +EBUILD nfs-utils-1.0.6-r6.ebuild 2917 RMD160 1dd8c3a1ac2e434bca8cb0d4eb12415debf5ade4 SHA1 585c3683065dbe65c8c41dbd9df0b7e684f620cb SHA256 164e9874784b259b6b097da53673fbca49e6e099a1c15d75385e2aaea0fcef4b +MD5 2fed8d056b5594403059e0c685dc6a6d nfs-utils-1.0.6-r6.ebuild 2917 +RMD160 1dd8c3a1ac2e434bca8cb0d4eb12415debf5ade4 nfs-utils-1.0.6-r6.ebuild 2917 +SHA256 164e9874784b259b6b097da53673fbca49e6e099a1c15d75385e2aaea0fcef4b nfs-utils-1.0.6-r6.ebuild 2917 +EBUILD nfs-utils-1.0.7-r2.ebuild 3395 RMD160 45c7ecb10b315aeaeeda5d034dae32bf9a3b108c SHA1 ef29d4c7c09c2dbb63df996320fb41f2d294c026 SHA256 ab0feaa3f9e79733fb0d3951ce6bc07b4471268ad96ae33e0fad0509fb332ea3 +MD5 88a4a3bc81bbff17cb367223b74d9d96 nfs-utils-1.0.7-r2.ebuild 3395 +RMD160 45c7ecb10b315aeaeeda5d034dae32bf9a3b108c nfs-utils-1.0.7-r2.ebuild 3395 +SHA256 ab0feaa3f9e79733fb0d3951ce6bc07b4471268ad96ae33e0fad0509fb332ea3 nfs-utils-1.0.7-r2.ebuild 3395 +EBUILD nfs-utils-1.0.9.ebuild 2933 RMD160 12100226f77956bf95242fed8de98e6b0f77d694 SHA1 eeffe9745ae50c2850fbf9712ec2c6aeecd8fc55 SHA256 b924e8bd1caa40f8789113024dbcb81f55613e9bdd6dc288fe30bc9940dbc98c +MD5 0b4ee89216d3e1b9bf1357e52f0bca93 nfs-utils-1.0.9.ebuild 2933 +RMD160 12100226f77956bf95242fed8de98e6b0f77d694 nfs-utils-1.0.9.ebuild 2933 +SHA256 b924e8bd1caa40f8789113024dbcb81f55613e9bdd6dc288fe30bc9940dbc98c nfs-utils-1.0.9.ebuild 2933 +MISC ChangeLog 13719 RMD160 ef0ef9f86b75353d848dc19efafa2c114136e6f7 SHA1 cc920f64797bf16d4464f4f282bf150652d028bb SHA256 9feac51bdcceacd66679d835b19e02322a1151899b3287ff5f5e3901a542c3a5 +MD5 e2cad57dabadacdebab47c41216e0ce1 ChangeLog 13719 +RMD160 ef0ef9f86b75353d848dc19efafa2c114136e6f7 ChangeLog 13719 +SHA256 9feac51bdcceacd66679d835b19e02322a1151899b3287ff5f5e3901a542c3a5 ChangeLog 13719 MISC metadata.xml 225 RMD160 477581252d7edf18d7b8a274766e2ed04c61935a SHA1 02c4f79d48d465ad7bca76f706d0f7cb7dd039df SHA256 42f511d0cc6e82e29b011c686ba8bb7965f4d92eb6e47ba3e63d4c7edfe9883a MD5 9cee4adcef8a47ea4ee35090f7f89b0a metadata.xml 225 RMD160 477581252d7edf18d7b8a274766e2ed04c61935a metadata.xml 225 @@ -94,6 +125,9 @@ SHA256 e7414116811bdf30fbef9735564ea69ed25aee0da8e28059d8913b2f9fbeeebd files/di MD5 981939bd25f589531226fcbaebda689b files/digest-nfs-utils-1.0.12-r1 250 RMD160 4de93194725690c970901e58696d0e8ae9c999f3 files/digest-nfs-utils-1.0.12-r1 250 SHA256 e7414116811bdf30fbef9735564ea69ed25aee0da8e28059d8913b2f9fbeeebd files/digest-nfs-utils-1.0.12-r1 250 +MD5 981939bd25f589531226fcbaebda689b files/digest-nfs-utils-1.0.12-r2 250 +RMD160 4de93194725690c970901e58696d0e8ae9c999f3 files/digest-nfs-utils-1.0.12-r2 250 +SHA256 e7414116811bdf30fbef9735564ea69ed25aee0da8e28059d8913b2f9fbeeebd files/digest-nfs-utils-1.0.12-r2 250 MD5 95a4b11413b1dc6075035f3866bb6905 files/digest-nfs-utils-1.0.6-r6 247 RMD160 f158affede021931bb0c52a8fd87e257db93585a files/digest-nfs-utils-1.0.6-r6 247 SHA256 9cd40166a6bfcf14d67d43980595fc0e2c60c44533c253a64241b250bc3ea730 files/digest-nfs-utils-1.0.6-r6 247 @@ -103,3 +137,10 @@ SHA256 9d807f4b615b487743d5033700a4099eb0bf115e35e483d2a22d98723399a93f files/di MD5 628c669b2f17af1cff539b4a40c8b4dc files/digest-nfs-utils-1.0.9 530 RMD160 747a6728b8c33481152750c09acfc85615850bdb files/digest-nfs-utils-1.0.9 530 SHA256 45ce27b77bf35f168dee66b458d6ecd57242510bfb9fedf1a637b9b795dea73f files/digest-nfs-utils-1.0.9 530 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFGBmuh8bi6rjpTunYRAvfsAKCXOT1peeJC0rz7/bKmm+eIiN9vmQCeOqHY +YJ43H//cs56VaZhPRWvWt4g= +=i9wG +-----END PGP SIGNATURE----- diff --git a/net-fs/nfs-utils/files/digest-nfs-utils-1.0.12-r2 b/net-fs/nfs-utils/files/digest-nfs-utils-1.0.12-r2 new file mode 100644 index 000000000000..bdb8c3cf47a5 --- /dev/null +++ b/net-fs/nfs-utils/files/digest-nfs-utils-1.0.12-r2 @@ -0,0 +1,3 @@ +MD5 acf3656cec3872deb597aa7ac13f3c3a nfs-utils-1.0.12.tar.gz 778576 +RMD160 a00dbdae386acf3f969714a1571749182c5a19a8 nfs-utils-1.0.12.tar.gz 778576 +SHA256 67d81a53d84777c733ff8a5cf5f3eed9ecda17fb9f949bc65727c1a3427af8ac nfs-utils-1.0.12.tar.gz 778576 diff --git a/net-fs/nfs-utils/files/nfs.confd b/net-fs/nfs-utils/files/nfs.confd index 2d26adc46f94..98a143a654d1 100644 --- a/net-fs/nfs-utils/files/nfs.confd +++ b/net-fs/nfs-utils/files/nfs.confd @@ -4,24 +4,27 @@ # please see /etc/sysctl.conf # Number of servers to be started up by default -RPCNFSDCOUNT=8 +OPTS_RPC_NFSD="8" # Options to pass to rpc.mountd -# ex. RPCMOUNTDOPTS="-p 32767 -RPCMOUNTDOPTS="" +# ex. OPTS_RPC_MOUNTD="-p 32767" +OPTS_RPC_MOUNTD="" # Options to pass to rpc.statd -# ex. RPCSTATDOPTS="-p 32765 -o 32766" -RPCSTATDOPTS="" +# ex. OPTS_RPC_STATD="-p 32765 -o 32766" +OPTS_RPC_STATD="" # Options to pass to rpc.idmapd -RPCIDMAPDOPTS="" +OPTS_RPC_IDMAPD="" # Options to pass to rpc.gssd -RPCGSSDOPTS="" +OPTS_RPC_GSSD="" # Options to pass to rpc.svcgssd -RPCSVCGSSDOPTS="" +OPTS_RPC_SVCGSSD="" + +# Options to pass to rpc.rquotad (requires sys-fs/quota) +OPTS_RPC_RQUOTAD="" # Timeout (in seconds) for exportfs -EXPORTFSTIMEOUT=30 +EXPORTFS_TIMEOUT=30 diff --git a/net-fs/nfs-utils/files/nfs.initd b/net-fs/nfs-utils/files/nfs.initd new file mode 100755 index 000000000000..bb9ea0650440 --- /dev/null +++ b/net-fs/nfs-utils/files/nfs.initd @@ -0,0 +1,149 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v 1.1 2007/03/25 12:30:52 vapier Exp $ + +#--------------------------------------------------------------------------- +# This script starts/stops the following +# rpc.nfsd +# rpc.mountd +#--------------------------------------------------------------------------- + +# NB: Config is in /etc/conf.d/nfs + +opts="reload" + +# This variable is used for controlling whether or not to run exportfs -ua; +# see stop() for more information +restarting=no + +# The binary locations +exportfs=/usr/sbin/exportfs + mountd=/usr/sbin/rpc.mountd + nfsd=/usr/sbin/rpc.nfsd + +depend() { + local myneed="" myuse="" + local nfs_mounts=$(awk '!/^[[:space:]]*#/ && $3=="nfs4" { print $0 }' /etc/fstab) + if [ -n "${nfs_mounts}" ] ; then + myneed="rpc.idmapd rpc.gssd" + else + myuse="rpc.idmapd rpc.gssd" + fi + use ypbind net rpc.rquotad ${myuse} + need portmap rpc.statd ${myneed} + after quota +} + +mkdir_nfsdirs() { + local d + for d in /var/lib/nfs/{rpc_pipefs,v4recovery,v4root} ; do + [ ! -d "${d}" ] && mkdir -p "${d}" + done +} + +waitfor_exportfs() { + local pid=$1 + ( sleep ${EXPORTFS_TIMEOUT:-30}; kill -9 $pid &>/dev/null ) & + wait $1 +} + +start_it() { + ebegin "Starting NFS $1" + shift + "$@" + eend $? + ((ret+=$?)) +} +start() { + # Make sure nfs support is loaded in the kernel #64709 + if [ -e /proc/modules ] && ! grep -qs nfsd /proc/filesystems ; then + modprobe nfsd &> /dev/null + fi + + # This is the new "kernel 2.6 way" to handle the exports file + if grep -qs nfsd /proc/filesystems ; then + if ! grep -qs "nfsd /proc/fs/nfs" /proc/mounts ; then + ebegin "Mounting nfsd filesystem in /proc" + mount -t nfsd nfsd /proc/fs/nfs + eend $? + fi + fi + # now that nfsd is mounted inside /proc, we can safely start mountd later + + mkdir_nfsdirs + + # Exportfs likes to hang if networking isn't working. + # If that's the case, then try to kill it so the + # bootup process can continue. + if grep -qs '^[[:space:]]*/' /etc/exports ; then + ebegin "Exporting NFS directories" + ${exportfs} -r & + waitfor_exportfs $! + eend $? + fi + + local ret=0 + start_it daemon ${nfsd} ${OPTS_RPC_NFSD} + start_it mountd ${mountd} ${OPTS_RPC_MOUNTD} + return ${ret} +} + +stop() { + local ret=0 + + # Don't check NFSSERVER variable since it might have changed, + # instead use --oknodo to smooth things over + ebegin "Stopping NFS mountd" + start-stop-daemon --stop --quiet --oknodo --exec ${mountd} + eend $? + ((ret+=$?)) + + # nfsd sets its process name to [nfsd] so don't look for $nfsd + ebegin "Stopping NFS daemon" + start-stop-daemon --stop --quiet --oknodo --name nfsd --user root --signal 2 + eend $? + ((ret+=$?)) + + # When restarting the NFS server, running "exportfs -ua" probably + # isn't what the user wants. Running it causes all entries listed + # in xtab to be removed from the kernel export tables, and the + # xtab file is cleared. This effectively shuts down all NFS + # activity, leaving all clients holding stale NFS filehandles, + # *even* when the NFS server has restarted. + # + # That's what you would want if you were shutting down the NFS + # server for good, or for a long period of time, but not when the + # NFS server will be running again in short order. In this case, + # then "exportfs -r" will reread the xtab, and all the current + # clients will be able to resume NFS activity, *without* needing + # to umount/(re)mount the filesystem. + if [ "${restarting}" = no ] ; then + ebegin "Unexporting NFS directories" + # Exportfs likes to hang if networking isn't working. + # If that's the case, then try to kill it so the + # shutdown process can continue. + ${exportfs} -ua & + waitfor_exportfs $! + eend $? + fi + + return ${ret} +} + +reload() { + # Exportfs likes to hang if networking isn't working. + # If that's the case, then try to kill it so the + # bootup process can continue. + ebegin "Reloading /etc/exports" + ${exportfs} -r 1>&2 & + waitfor_exportfs $! + eend $? +} + +restart() { + # See long comment in stop() regarding "restarting" and exportfs -ua + restarting=yes + svc_stop + svc_start +} diff --git a/net-fs/nfs-utils/files/nfsmount.initd b/net-fs/nfs-utils/files/nfsmount.initd new file mode 100755 index 000000000000..3a5753d41a09 --- /dev/null +++ b/net-fs/nfs-utils/files/nfsmount.initd @@ -0,0 +1,28 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfsmount.initd,v 1.1 2007/03/25 12:30:52 vapier Exp $ + +depend() { + local myneed="" myuse="" + local nfs_mounts=$(awk '!/^[[:space:]]*#/ && $3=="nfs4" { print $0 }' /etc/fstab) + if [ -n "${nfs_mounts}" ] ; then + myneed="rpc.idmapd rpc.gssd" + else + myuse="rpc.idmapd rpc.gssd" + fi + need net portmap rpc.statd ${myneed} + use ypbind ${myuse} +} + +start() { + ebegin "Mounting NFS filesystems" + mount -a -t nfs,nfs4 + eend $? +} + +stop() { + ebegin "Unmounting NFS filesystems" + umount -a -t nfs,nfs4 + eend $? +} diff --git a/net-fs/nfs-utils/files/rpc.gssd.initd b/net-fs/nfs-utils/files/rpc.gssd.initd new file mode 100755 index 000000000000..bafe1bc773c3 --- /dev/null +++ b/net-fs/nfs-utils/files/rpc.gssd.initd @@ -0,0 +1,42 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/rpc.gssd.initd,v 1.1 2007/03/25 12:30:52 vapier Exp $ + +[ -e /etc/conf.d/nfs ] && source /etc/conf.d/nfs + + gssd=/usr/sbin/rpc.gssd +svcgssd=/usr/sbin/rpc.svcgssd + +depend() { + use ypbind net + need portmap + after quota +} + +start_it() { + ebegin "Starting $1" + shift + "$@" + eend $? + ((ret+=$?)) +} +start() { + local ret=0 + start_it gssd ${gssd} ${OPTS_RPC_GSSD} + start_it svcgssd ${svcgssd} ${OPTS_RPC_SVCGSSD} + return ${ret} +} + +stop_it() { + ebegin "Stopping $1" + start-stop-daemon --stop --quiet --exec $2 + eend $? + ((ret+=$?)) +} +stop() { + local ret=0 + stop_it gssd ${gssd} + stop_it svcgssd ${svcgssd} + return ${ret} +} diff --git a/net-fs/nfs-utils/files/rpc.idmapd.initd b/net-fs/nfs-utils/files/rpc.idmapd.initd new file mode 100755 index 000000000000..2f8a92bf32b1 --- /dev/null +++ b/net-fs/nfs-utils/files/rpc.idmapd.initd @@ -0,0 +1,65 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/rpc.idmapd.initd,v 1.1 2007/03/25 12:30:52 vapier Exp $ + +[ -e /etc/conf.d/nfs ] && source /etc/conf.d/nfs + +rpc_bin=/usr/sbin/rpc.idmapd + +# since baselayout doesn't export this sort of information, we need +# to hack around it ... this is to keep from needlessly unmounting/mounting +# rpc_pipefs during a restart ... +restarting="no" + +depend() { + use ypbind net + need portmap + after quota +} + +mount_pipefs() { + if grep -qs rpc_pipefs /proc/filesystems ; then + if ! grep -qs "rpc_pipefs /var/lib/nfs/rpc_pipefs" /proc/mounts ; then + ebegin "Mounting RPC pipefs" + mount -t rpc_pipefs rpc_pipefs /var/lib/nfs/rpc_pipefs + eend $? + fi + fi +} + +umount_pipefs() { + [ "${restarting}" = "yes" ] && return 0 + if grep -qs "rpc_pipefs /var/lib/nfs/rpc_pipefs" /proc/mounts ; then + ebegin "Unmounting RPC pipefs" + umount /var/lib/nfs/rpc_pipefs + eend $? + fi +} + +start() { + mount_pipefs + + ebegin "Starting idmapd" + ${rpc_bin} ${OPTS_RPC_IDMAPD} + eend $? +} + +stop() { + local ret + + ebegin "Stopping idmapd" + start-stop-daemon --stop --quiet --exec ${rpc_bin} + ret=$? + eend ${ret} + + umount_pipefs + + return ${ret} +} + +restart() { + restarting="yes" + svc_stop + svc_start +} diff --git a/net-fs/nfs-utils/files/rpc.statd.initd b/net-fs/nfs-utils/files/rpc.statd.initd new file mode 100755 index 000000000000..0dac37b80478 --- /dev/null +++ b/net-fs/nfs-utils/files/rpc.statd.initd @@ -0,0 +1,35 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/rpc.statd.initd,v 1.1 2007/03/25 12:30:52 vapier Exp $ + +[ -e /etc/conf.d/nfs ] && source /etc/conf.d/nfs + +rpc_bin=/sbin/rpc.statd +rpc_pid=/var/run/rpc.statd.pid + +depend() { + use ypbind net + need portmap + after quota +} + +is_running() { + # Don't start rpc.statd if already started by someone else ... + # Don't try and kill it if it's already dead ... + killall -0 rpc.statd 2>/dev/null +} + +start() { + is_running && return 0 + ebegin "Starting NFS statd" + start-stop-daemon --start --quiet --exec ${rpc_bin} -- ${OPTS_RPC_STATD} + eend $? +} + +stop() { + is_running || return 1 + ebegin "Stopping NFS statd" + start-stop-daemon --stop --quiet --exec ${rpc_bin} --pidfile /var/run/rpc.statd.pid + eend $? +} diff --git a/net-fs/nfs-utils/nfs-utils-1.0.12-r2.ebuild b/net-fs/nfs-utils/nfs-utils-1.0.12-r2.ebuild new file mode 100644 index 000000000000..f962c2c01e05 --- /dev/null +++ b/net-fs/nfs-utils/nfs-utils-1.0.12-r2.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.12-r2.ebuild,v 1.1 2007/03/25 12:30:52 vapier Exp $ + +inherit eutils flag-o-matic multilib + +DESCRIPTION="NFS client and server daemons" +HOMEPAGE="http://nfs.sourceforge.net/" +SRC_URI="mirror://sourceforge/nfs/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="nonfsv4 tcpd kerberos" + +# kth-krb doesn't provide the right include +# files, and nfs-utils doesn't build against heimdal either, +# so don't depend on virtual/krb. +# (04 Feb 2005 agriffis) +RDEPEND="tcpd? ( sys-apps/tcp-wrappers ) + >=net-nds/portmap-5b-r6 + !nonfsv4? ( + >=dev-libs/libevent-1.0b + >=net-libs/libnfsidmap-0.16 + ) + kerberos? ( + net-libs/librpcsecgss + app-crypt/mit-krb5 + )" +DEPEND="${RDEPEND} + >=sys-apps/portage-2.0.51" + +src_unpack() { + unpack ${P}.tar.gz + cd "${S}" + epatch "${FILESDIR}"/${P}-mountd-memleak.patch #172014 + #epatch "${DISTDIR}"/nfs-utils-${PV}-CITI_NFS4_ALL-1.dif +} + +src_compile() { + econf \ + --mandir=/usr/share/man \ + --with-statedir=/var/lib/nfs \ + --disable-rquotad \ + --enable-nfsv3 \ + --enable-secure-statd \ + $(use_with tcpd tcp-wrappers) \ + $(use_enable !nonfsv4 nfsv4) \ + $(use_enable kerberos gss) \ + || die "Configure failed" + + emake || die "Failed to compile" +} + +src_install() { + emake DESTDIR="${D}" install || die + + # Don't overwrite existing xtab/etab, install the original + # versions somewhere safe... more info in pkg_postinst + dodir /usr/lib/nfs + keepdir /var/lib/nfs/{sm,sm.bak} + mv "${D}"/var/lib/nfs/* "${D}"/usr/lib/nfs + keepdir /var/lib/nfs + + # Install some client-side binaries in /sbin + dodir /sbin + mv "${D}"/usr/sbin/rpc.{lockd,statd} "${D}"/sbin/ || die + + dodoc ChangeLog README + docinto linux-nfs ; dodoc linux-nfs/* + + insinto /etc + doins "${FILESDIR}"/exports + + local f + for f in nfs nfsmount rpc.{gssd,idmapd,statd} ; do + newinitd "${FILESDIR}"/${f}.initd ${f} || die "doinitd ${f}" + done + newconfd "${FILESDIR}"/nfs.confd nfs + + if use !nonfsv4 ; then + doins utils/idmapd/idmapd.conf + for f in rpc.gssd rpc.idmapd ; do + newinitd "${FILESDIR}"/${f}.initd ${f} || die "doinitd ${f}" + done + fi + + # uClibc doesn't provide rpcgen like glibc, so lets steal it from nfs-utils + if ! use elibc_glibc ; then + dobin tools/rpcgen/rpcgen || die "rpcgen" + newdoc tools/rpcgen/README README.rpcgen + fi +} + +pkg_preinst() { + [[ -s ${ROOT}/etc/exports ]] && rm -f "${D}"/etc/exports +} + +pkg_postinst() { + # Install default xtab and friends if there's none existing. + # In src_install we put them in /usr/lib/nfs for safe-keeping, but + # the daemons actually use the files in /var/lib/nfs. This fixes + # bug 30486 + local f + for f in "${ROOT}"/usr/$(get_libdir)/nfs/*; do + [[ -e ${ROOT}/var/lib/nfs/${f##*/} ]] && continue + einfo "Copying default ${f##*/} from /usr/$(get_libdir)/nfs to /var/lib/nfs" + cp -pPR "${f}" "${ROOT}"/var/lib/nfs/ + done +}