summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-fs/autofs/ChangeLog9
-rw-r--r--net-fs/autofs/Manifest36
-rw-r--r--net-fs/autofs/autofs-5.0.3-r6.ebuild128
3 files changed, 171 insertions, 2 deletions
diff --git a/net-fs/autofs/ChangeLog b/net-fs/autofs/ChangeLog
index 46281233a764..4b3d02268939 100644
--- a/net-fs/autofs/ChangeLog
+++ b/net-fs/autofs/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-fs/autofs
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.74 2008/05/12 21:45:33 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.75 2008/08/28 00:00:26 robbat2 Exp $
+
+*autofs-5.0.3-r6 (27 Aug 2008)
+
+ 27 Aug 2008; Robin H. Johnson <robbat2@gentoo.org>
+ +autofs-5.0.3-r6.ebuild:
+ Bump to include more patches from upstream, fixes LDAP functionality in
+ large deployments.
12 May 2008; <solar@gentoo.org> autofs-5.0.3-r5.ebuild:
- Keyworded ~arm per request. Builds native but fails at cross-compiles.
diff --git a/net-fs/autofs/Manifest b/net-fs/autofs/Manifest
index 977895fc1e23..fa841b84a942 100644
--- a/net-fs/autofs/Manifest
+++ b/net-fs/autofs/Manifest
@@ -32,19 +32,52 @@ DIST autofs-4.1.3-sock-leak-fix.patch 1236 RMD160 09ca250b5711d04336f61fb7a227d9
DIST autofs-4.1.3-strict.patch 1626 RMD160 8527db5b40eb7d0bf7fcc6f47a5be5beb22905d3 SHA1 fa51323f0546a8b493bf3daebe7d5e40fd43b288 SHA256 518a7930cb6bad18f045dfc493ce39816e6fbce0f80c444dd75a33d722a8caff
DIST autofs-4.1.3.tar.bz2 125234 RMD160 7df2839fce00222609bd7977a9d6275276e232b4 SHA1 ad7727e15c0ce35f3ad3a7cd2984197cf951f44f SHA256 9257a603815ee8c8d0f2935ff3c254b23f8007eee5fa8c9bf2e3661fdc171035
DIST autofs-5.0.2-init-cb-on-load.patch 4410 RMD160 972aa738759b0fe924fb69096d25477829e604fd SHA1 4b9518cfe8efb54750e92cf9fb0458d15885072b SHA256 9054b6da6bba5659ac3c41a17cd7f50706af454083b6f3ed5ad602ee0fff9966
+DIST autofs-5.0.3-add-replicated-debug-logging.patch 5894 RMD160 add99af19fdcba2b8d1056fec74035682d327490 SHA1 04af2063ccdc85cc275a0487b6a55c862f03a87b SHA256 0b75df6b121fabf24b7eadf572961dc22c4bd55116293a974000682d1470e194
+DIST autofs-5.0.3-add-umount_wait-parameter.patch 4384 RMD160 0f3f3bc65fd0117986bd9b6f72b8256842455f67 SHA1 69ad8aa0081870dc3d3dbe38aa0c0189d9fa30db SHA256 a2aec14d52f32cfd4a5e491717862675b9da5d7a21dcfa5cb8a694461640273f
+DIST autofs-5.0.3-allow-dir-create-on-nfs-root.patch 1570 RMD160 66c1de4eb63e7864db136f83d6adf1abfa09d6e6 SHA1 d8903cea66ac5046b8b148f6cfbd823826755114 SHA256 062f365f74359fad9c42ed13f64c43f790654cebebcfb4fe19053d3b6326ec16
DIST autofs-5.0.3-basedn-with-spaces-fix-3.patch 739 RMD160 2066a516afd9efe781b16b41c16dbd46677f4acc SHA1 53fd7c2aa390ca5ec0022b49f3865ff91a9beb24 SHA256 2483d04553a3a235f5a4695db12bbf2d1f3cc5dca3658804b4c3dc229b2bda9b
+DIST autofs-5.0.3-check-direct-path-len.patch 2958 RMD160 df968a7107fe4fc62cd4cddbe53b5732c5cc7e5d SHA1 ecfc8e3f691c97fa6a662d141bfa3072a91c2812 SHA256 54d2647f6ba68b99c1aadf145570d00b2076381924e000f2aa7d25fb12220d7e
+DIST autofs-5.0.3-check-for-kernel-automount.patch 6935 RMD160 c5475d83d689bc192401da3178a4944920b8f920 SHA1 92efe4f31e644eb0464a873f0a2a6f77c421d149 SHA256 024cc6768380a52380d11a29375bd1474136a078b1859c118ccc65fb1f572c2c
+DIST autofs-5.0.3-check-replicated-list-after-probe.patch 903 RMD160 0f2ff0224161b4c28bba2bfc845128bbcbfa6634 SHA1 42562ded0968930a805ecab31cce977b0887e8b0 SHA256 c4be19f2b166fdd93bfc366a870d8411756372d7ab0b4fdb34c55eac11f94a5d
+DIST autofs-5.0.3-clear-stale-on-map-read.patch 921 RMD160 468f4356c2e6c939d3289e58ceda2341de5f98b8 SHA1 39e3a51713def927c54572829d77929ee48399ac SHA256 2e73c93ef123b5e2012acc02720a2fb48ead39bef228dc840b5cf73249fe4841
DIST autofs-5.0.3-correct-ldap-lib.patch 2600 RMD160 851be5c9d26a05a09a067c46493daa13519dddcc SHA1 fb08814da414608e55e6b41f689eb304e3cdd443 SHA256 2f9ca7f1d35c9408b99a6839d3f5250d470b0c81291887698528cd5814878a25
+DIST autofs-5.0.3-dont-abuse-ap-ghost-field.patch 2694 RMD160 46dfc15e186767dcb6280287eda5c92d3c1f6cc8 SHA1 47c9d642a8f6f1029e19ed343e5287c03970b0e0 SHA256 6f368f921393b32303b02d10e8fe1a0545c372d920e595095d9a94778bffe321
+DIST autofs-5.0.3-dont-block-on-expire.patch 14856 RMD160 55d6f3117c9cd036d29efdf6718e856365dd07da SHA1 9fad18c36eb6df56d57317392b3e896c926993f2 SHA256 4bf10c77149519a2dbd1172ec1f3b3ffa6b2d9c4da194e060416506cb1603c89
DIST autofs-5.0.3-dont-fail-on-empty-master-fix-2.patch 1481 RMD160 700c5b9826a364960ce122453b19985deb54393e SHA1 ff847ebe81e7ea01c782d1fc13762300f5e7e352 SHA256 f13ca5576b6e5dd76d4a22fa747ed55b31f27fa76010fc9d66b7ffe1deb542ec
+DIST autofs-5.0.3-dont-use-proc-for-is-running-check.patch 15555 RMD160 298241d58c2601ba97197e80343471ac8c1e6a0c SHA1 7fdc92778fe0b1c7befed9f150c002d3da332744 SHA256 fd393f49f79d7f4b1643cd6b1637c9b2ff4195705e799315b4cebb1aad083528
DIST autofs-5.0.3-expire-works-too-hard-update-2.patch 407 RMD160 ee13e72ec49287b8b4840e8f795940444321e98d SHA1 426e12de37a8a378c7067bd48773bb33479daded SHA256 a80a638d8eb8e26ff8aecacd59cf6be6d3ea7b5e10814121c23c5b837c79370b
DIST autofs-5.0.3-expire-works-too-hard-update.patch 1503 RMD160 ac0e450db1a733c4eaad1fc412b56fd87df10faf SHA1 0f1790bb69ea6f4cd26a2025db9b3033c34007f9 SHA256 a427bac82b8213afa8a93c5ba960fbcf231a0d8d3c56f3ab2fe893c56e543ba4
DIST autofs-5.0.3-expire-works-too-hard.patch 1630 RMD160 f17fa04bc0cb68063a29af00f49721dfa4987eba SHA1 31e9d823d8b8ef43ef5ed832f09eed3615fd0b6c SHA256 8843838d12503e72cbfdafc372f4f07709d8851fe43e942042eba79b69a1986f
+DIST autofs-5.0.3-fix-couple-of-memory-leaks.patch 1753 RMD160 2b75652c8c6750ba780b9153a3c37ea45665f846 SHA1 8805deaa0a7dbbe33c1f5fd9ac1880d75ff0d43c SHA256 c635567c985f7ad00f6050059ee488caf7bf6b1fafa501bb0a0938bc5224f7e1
+DIST autofs-5.0.3-fix-get-user-info-check.patch 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
+DIST autofs-5.0.3-fix-ifc-buff-size-fix.patch 582 RMD160 6522bdc1fb7add1e3273e2881b4c370e587e5fba SHA1 1c501fe0b112cc6506ef4a4bba4d22d0f89b9778 SHA256 b1ce60a4a4886de8a4d6bd2369b04e0d3a4d7634fe18f22e5d88b95281e906b0
+DIST autofs-5.0.3-fix-ifc-buff-size.patch 3908 RMD160 3a6ae12dccde5411a091be2205a6b788fac157c2 SHA1 5499832f90b549b78b11deab36e6e66252a2bbf3 SHA256 2c1a3ee1c95c5ada4c9ec666c7bfce3e107191af3eb7a6e808da286e38bd55a6
+DIST autofs-5.0.3-fix-included-browse-map-not-found.patch 665 RMD160 65ed3add211742a8aece68919903afcaced06026 SHA1 b9df30c8b8f68a0b007f1887cc58ce4100390825 SHA256 a432f44cd5fcb82d66694a4445008eebfe5d7cbd8915ccb6301c2844689fe10c
+DIST autofs-5.0.3-fix-multi-mount-race.patch 49086 RMD160 3e093fe885dfc5ce6bb7e99e9119498e5aede211 SHA1 bf59d219052bf57b0c9d8456409d9aaccadb0db5 SHA256 a2150acf8d7a8fa002adc4c25731f9e1c83955763062db1bb7c0c7306cc1706d
+DIST autofs-5.0.3-fix-multi-source-messages.patch 5045 RMD160 a72b6ffab8ab84dc26e16aab8a5d082aff98e931 SHA1 bf1d01dfc3391000ae796154821f639a9a9c2e8e SHA256 2b3a05910cc7dae775bab88d5b6abb719e2a5171607b9aaa1d19d0e0b1cc24bd
+DIST autofs-5.0.3-fix-nfs4-colon-escape.patch 930 RMD160 09834a6bdc64f86b2675ce9b1d616d39fa168586 SHA1 05dbba893f2fea9064367fc915d2449de490be53 SHA256 2e652c324d1020ead967c3cc3c501fdf80fb89a125502dc4c9a5882c765b06e4
+DIST autofs-5.0.3-fix-percent-hack.patch 7910 RMD160 e322e33191f615664bca30beb264389fcfeaff67 SHA1 ac625ea4f4ccfb977deb7839541a23e7c2535c60 SHA256 dbf90e8c8b61ce57c07f2957b79b0c2fa9696e7ef62e9c6603166e43d7d792b3
+DIST autofs-5.0.3-fix-proximity-other-timeout.patch 1163 RMD160 bea099986f9845ae9c6fe3c0face1d319824798a SHA1 cb20f071b28c16f63a039bc0e33aa1be637fc09f SHA256 219d970576450c2394ac5d191d3323ed19cfd4acef9e2daebfea621918a8078c
DIST autofs-5.0.3-handle-zero-length-nis-key.patch 1114 RMD160 bc31560fa3ed8e37b779de5e4d15f4020359b8d5 SHA1 999f524d4bb9ea2b08a2f5e281530da7168eafab SHA256 76cf5b2748312e66f0ccc9cb528871cedaf9aad568c93405d8277acbc997026d
DIST autofs-5.0.3-ldap-page-control-configure-fix.patch 11870 RMD160 bf76a1457569f5dad1b5088496090820ee92ad05 SHA1 b821d576dc0c084db27b8da127a00707e83cbc86 SHA256 badd953d702f716266b5819c2001f1e29f1d70775aad92e835f2a46ee6375c5f
+DIST autofs-5.0.3-lookup-next-soucre-stale-entry.patch 4640 RMD160 22675bad89b5250f211ec309e865a01dda012d3f SHA1 f0ac57dd5b72139f86e9515ce49f315e2dd36c4e SHA256 c5c824d8291d28e295f7a0e7b57b85de820b45b11716c1a248e1b9d339dc236b
+DIST autofs-5.0.3-make-handle_mounts-startup-cond-distinct.patch 8460 RMD160 06eb746fede77d1b397f015be1791f4aa467d04c SHA1 37e106fe2392f06ea448743b45c3319171cac8c6 SHA256 cf97988e5404677225f73555f32de2f0c2ac3ee7cfaa3168494f38c25ef8422c
DIST autofs-5.0.3-map-type-in-map-name.patch 1664 RMD160 6b4599b47ee4da6870a217ef0e37c32a280ce157 SHA1 c1f253d98684855c0c9505166dfc7efb50720992 SHA256 a2616b70613e0b4922bb94ee474b377df10015ce5fd27e33a7c0d44b5ed03bd9
+DIST autofs-5.0.3-mount-thread-create-cond-handling-fix.patch 6624 RMD160 7242b1ed1c6c1a06e1efbefde81bed60849fb20c SHA1 64ca57d39407f26c6841cc508b2fad56b6fdf828 SHA256 7626f4d42a96cd5bd6e20c79112562b564128ed02caf822498691aa7368a28c1
DIST autofs-5.0.3-mount-thread-create-cond-handling.patch 9284 RMD160 78f2d0bc970cc8f958117e0b3f88216147d79257 SHA1 ea8b6fa4246b720a6f284986553c5695027c9b95 SHA256 9ce5a15157ebee4e68e03f04777bac5d436e4e6233690f6bcf8d76fb281cbb01
+DIST autofs-5.0.3-mtab-as-proc-mounts-fix.patch 722 RMD160 4da51382d7916c6dedcbed846753a76053927639 SHA1 e1269f14384d5f02b8016e54550687f565d7d83f SHA256 5300cf8c6709e1425e20db478010eee2c7ae2cdc30719fc448ffa453b640724d
+DIST autofs-5.0.3-mtab-as-proc-mounts.patch 4525 RMD160 3702932823580e79b25b7ed59411129f5e6fa5c4 SHA1 877b0b1cb8d29998d19f4f2204cdd7626273f146 SHA256 d03207946931f0b2b9b6b95c3898d13155a5d949b42c47482ef62374914d961e
DIST autofs-5.0.3-nfs4-tcp-only.patch 810 RMD160 93cc53b149ced66c3a18cf3baa118dacf00aa9fb SHA1 533ca97bbdbdb77c1a0a556f3a927ac16c9a8647 SHA256 2761141b683d29d17e2924149b22238b718d769231bb86029a0d16025fd25bf7
+DIST autofs-5.0.3-nss-source-any.patch 4783 RMD160 e6d933fcd32e3f166a2d7f9065abb5437f8daede SHA1 5f7e87f34997eb9379b4b7880f95ff3a450da968 SHA256 770a4b2910f67d62a3dcf840dcfbdd0a3cc8d5c8ce7893a17d431459def6761a
+DIST autofs-5.0.3-override-is-running-check.patch 4078 RMD160 54d9702dbd5c02d039d7895b23fd1504853668f6 SHA1 0f2a85dd81a57a71ae8fdfbbaaa0113778649f4f SHA256 97f8c9f47b52f877ffd18743410b75129492d8aa1a8fa63e606b76844a97045a
+DIST autofs-5.0.3-refactor-mount-request-vars.patch 32181 RMD160 b713451492d5018da5d8c37229abfd808672b3f6 SHA1 17c49500e2df6e21992575c78f0f7adc2f904f9c SHA256 83d50ce234854fc42e57951e592da311e0a5f3aae59fcd1e93302bef6868d53e
+DIST autofs-5.0.3-remove-redundant-dns-name-lookups.patch 7691 RMD160 715ea6d9ceaec3a8f642f2613c4dc432ad9cc8c0 SHA1 29f7f265a95163f485b05f7c71f7014771f4051c SHA256 f0817ab7ff4ca92f7717cc96392ae9c562e44ea0ffb40f78e2cc4d220b79673c
+DIST autofs-5.0.3-submount-shutdown-recovery-12-fix.patch 1015 RMD160 8c329f54c133eefb35f63bc592171da7871269d9 SHA1 93b2d6553c4fa1e8d133ceadf80f6ccf817fe4bb SHA256 033133894efb2ab190a177bbe77860cc00e8e03502ae31de6a634e098498c0f6
+DIST autofs-5.0.3-submount-shutdown-recovery-12.patch 51585 RMD160 d8eb2d2d178e8eff5d065cace507be243ae2c609 SHA1 bb55b7b672ee1a879dbedcfbec2a1c86adea06ad SHA256 c350d6d3c0bf4334682a72f93bb31d7d981c689e366001ca0c3298ddbc2141d2
DIST autofs-5.0.3-unlink-mount-return-fix.patch 1570 RMD160 e397d2307c129180a50a03789d9fb7d4288c499b SHA1 9ffd8052a610fa8bdbe93db89cf9890aae7d6405 SHA256 599b1eafec53ed2a3fc10870fc729475d5630415b1c5d7df5ec78fbe2d314288
DIST autofs-5.0.3-update-linux-auto_fs4-h.patch 2312 RMD160 db5ff55c717ebf1a3db96a00285c18c5755c78cf SHA1 0283fc4d05874e0a5a890825103f4353fa041c59 SHA256 806788242051370c4603aefc2ce70568fb49fe19376ac4a32a3b9524c9d6fb4e
+DIST autofs-5.0.3-update-replicated-doco.patch 3630 RMD160 f4030e46757359678b5d6d08e76b27d635aee7c3 SHA1 e2b09a8d955f0244abd6218a9e44eac738ca5c7d SHA256 fa71e6b83a000c9507896f6f17818fa04a741cf542599598254ae8c94d08c3b1
+DIST autofs-5.0.3-use-dev-urandom.patch 1087 RMD160 99b7b351fb450f156ae6b7e412107166641c1d9c SHA1 c2ccfb95da23187b0896b23935af8fa210d8b485 SHA256 b43f53b95d4dc4a9473a97288633e3616879d512240bde0e24deb9bdbdad2ba8
DIST autofs-5.0.3-xfn-not-supported.patch 1753 RMD160 25729dd9fc17f8fbd143ee4670fa9d498473d015 SHA1 8d0e17e1ab721758f932f37efb49541101bfe27a SHA256 fa674ca5e63b01d6a6eee21ef8b1c81c432b7fe353390c60edae7fa0f4c5b67f
DIST autofs-5.0.3.tar.bz2 225298 RMD160 b25fd5f2da4592ec3827de1cd7227d66469fe853 SHA1 3e6c275d8c8752132ffd881ac3ec962dd2926498 SHA256 1598f6849c1bf0ec596e7dad7c7c8176a958e973d55370da1236d8b9bdd4acc9
EBUILD autofs-3.1.7-r3.ebuild 1285 RMD160 ba36b6a4dcf4164e79e75fca03bd9a13b53beb49 SHA1 dc51bd1d3f3db641c6087001bbf45f22704055d8 SHA256 66d8b470cf2f10b08a71a4a588a67371a92323de0f91d7c12637d3b6cd925bab
@@ -64,6 +97,7 @@ EBUILD autofs-5.0.3-r1.ebuild 2252 RMD160 769805c5ff06c8acc6dde7e60d9c365058271a
EBUILD autofs-5.0.3-r2.ebuild 2616 RMD160 a0d4f7d661f393f2bf1c92118ab3dad7c0ff8ed3 SHA1 2c6f89546d43b004719441bc208ab95ab0e67ee0 SHA256 c99bd677715659372729c48fd9115728db65dabe79b55bab6727ea88346a4423
EBUILD autofs-5.0.3-r4.ebuild 3502 RMD160 3c23739fd994bd642c6703b2e94978eff453be33 SHA1 0ec3dd05654eeaa930f70fc54e21499e56af2bb3 SHA256 8475a1468b62e93a7c3331ae6e7fd9a03dc5dca63cc949e54a32553869b481b5
EBUILD autofs-5.0.3-r5.ebuild 3634 RMD160 2b144b12dc0ef3c58f5133113b2202c26a2824ff SHA1 a48726d670d6bd8ef576fe346548c61347743f80 SHA256 f0a7b15550485cff040816cfac73821a39a1c980bcf4266df05b989c68ad95c1
+EBUILD autofs-5.0.3-r6.ebuild 4290 RMD160 f4ed49897064f6e7461a033f6dcbdb1b4834372c SHA1 e761f33488e3ac91ebf7cdb5df8a0142033a992d SHA256 ae276187e14b82aca89a729d72e990741749518f47414c6e0f9579bfa7e7c684
EBUILD autofs-5.0.3.ebuild 1635 RMD160 3b0d5e7c5100f60e7d6da903000142e676dce338 SHA1 e4d85cdbbbc89daec1e536fda5f9b6faf4ddf95f SHA256 a5839d8964101cec67d5ec3e70870122acab999906db3d65c40a0ea9ab77604c
-MISC ChangeLog 11244 RMD160 44ebf6ebed18873ce1f9e46c79c5b63d5ac0f8bf SHA1 7949da1ae8038f9e7c26d22562aa6b07635ea6f2 SHA256 f629c64194a79d9e4b279235863afab9a71d16557bfbafd5983794e855181bd9
+MISC ChangeLog 11454 RMD160 02f482cbb4e6a0a3c337c20df6b0460291c02d62 SHA1 d148415d604dffbe35a42adeba7fcf96df9d1884 SHA256 693889bfab3ac2c77b41393f625f979db723478c1c2148289cee8d1f99c6cef7
MISC metadata.xml 258 RMD160 3e5f58364805d3e42d35bb18afabc84771edc6e3 SHA1 f889879c2dfdef80624ebebd791c1b944ff859ae SHA256 3a3251d51801f0288687f235aed354e0f68cb6f90775941ba03b83bfd71e5dae
diff --git a/net-fs/autofs/autofs-5.0.3-r6.ebuild b/net-fs/autofs/autofs-5.0.3-r6.ebuild
new file mode 100644
index 000000000000..832c2deebe4e
--- /dev/null
+++ b/net-fs/autofs/autofs-5.0.3-r6.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-5.0.3-r6.ebuild,v 1.1 2008/08/28 00:00:26 robbat2 Exp $
+
+inherit eutils multilib autotools
+
+IUSE="ldap sasl"
+DESCRIPTION="Kernel based automounter"
+HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
+SRC_URI_BASE="mirror://kernel/linux/daemons/${PN}/v5"
+# This list is taken directly from http://kernel.org/pub/linux/daemons/autofs/v5/patch_order-5.0.3
+# Please do not modify the order
+PATCH_LIST="
+ ${P}-ldap-page-control-configure-fix.patch
+ ${P}-xfn-not-supported.patch
+ ${P}-basedn-with-spaces-fix-3.patch
+ ${P}-nfs4-tcp-only.patch
+ ${P}-correct-ldap-lib.patch
+ ${P}-dont-fail-on-empty-master-fix-2.patch
+ ${P}-expire-works-too-hard.patch
+ ${P}-unlink-mount-return-fix.patch
+ ${P}-update-linux-auto_fs4-h.patch
+ ${P}-expire-works-too-hard-update.patch
+ ${P}-expire-works-too-hard-update-2.patch
+ ${P}-handle-zero-length-nis-key.patch
+ ${PN}-5.0.2-init-cb-on-load.patch
+ ${P}-map-type-in-map-name.patch
+ ${P}-mount-thread-create-cond-handling.patch
+ ${P}-check-for-kernel-automount.patch
+ ${P}-nss-source-any.patch
+ ${P}-dont-abuse-ap-ghost-field.patch
+ ${P}-lookup-next-soucre-stale-entry.patch
+ ${P}-remove-redundant-dns-name-lookups.patch
+ ${P}-mount-thread-create-cond-handling-fix.patch
+ ${P}-allow-dir-create-on-nfs-root.patch
+ ${P}-check-direct-path-len.patch
+ ${P}-fix-get-user-info-check.patch
+ ${P}-fix-couple-of-memory-leaks.patch
+ ${P}-override-is-running-check.patch
+ ${P}-dont-use-proc-for-is-running-check.patch
+ ${P}-fix-included-browse-map-not-found.patch
+ ${P}-fix-multi-source-messages.patch
+ ${P}-clear-stale-on-map-read.patch
+ ${P}-fix-proximity-other-timeout.patch
+ ${P}-refactor-mount-request-vars.patch
+ ${P}-make-handle_mounts-startup-cond-distinct.patch
+ ${P}-submount-shutdown-recovery-12.patch
+ ${P}-dont-block-on-expire.patch
+ ${P}-add-umount_wait-parameter.patch
+ ${P}-fix-multi-mount-race.patch
+ ${P}-submount-shutdown-recovery-12-fix.patch
+ ${P}-fix-nfs4-colon-escape.patch
+ ${P}-check-replicated-list-after-probe.patch
+ ${P}-add-replicated-debug-logging.patch
+ ${P}-update-replicated-doco.patch
+ ${P}-use-dev-urandom.patch
+ ${P}-mtab-as-proc-mounts.patch
+ ${P}-fix-ifc-buff-size.patch
+ ${P}-fix-percent-hack.patch
+ ${P}-fix-ifc-buff-size-fix.patch
+ ${P}-mtab-as-proc-mounts-fix.patch"
+SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2"
+for i in ${PATCH_LIST} ; do
+ SRC_URI="${SRC_URI} ${SRC_URI_BASE}/${i}"
+done ;
+DEPEND="virtual/libc
+ ldap? ( >=net-nds/openldap-2.0 )
+ sasl? ( virtual/krb5 )"
+ # currently, sasl code assumes the presence of kerberosV
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+
+src_unpack() {
+ unpack ${P}.tar.bz2
+ for i in ${PATCH_LIST}; do
+ cp ${DISTDIR}/${i} ${T}
+ done
+ patch "${T}"/${P}-map-type-in-map-name.patch \
+ < "${FILESDIR}"/${P}-map-patch-fix.patch || die "failed to patch"
+ for i in ${PATCH_LIST}; do
+ EPATCH_OPTS="-p1 -d ${S}" epatch ${T}/${i}
+ rm -f ${T}/${i}
+ done
+
+ # fixes bug #210762
+ epatch "${FILESDIR}"/${P}-heimdal.patch
+
+ cd "${S}"
+
+ # # use CC and CFLAGS from environment (bug #154797)
+ # write these values in Makefile.conf
+ (echo "# Use the compiler and cflags determined by configure";
+ echo "CC := @CC@"; echo "CFLAGS := @CFLAGS@") >> Makefile.conf.in
+ # make sure Makefile.conf is parsed after Makefile.rules
+ sed -ni '/include Makefile.conf/{x; n; G}; p' Makefile
+ sed -i 's/^\(CC\|CXX\).*//' Makefile.rules
+ sed -i 's/^CFLAGS=-fPIE.*//' configure.in
+
+ # do not include <nfs/nfs.h>, rather <linux/nfs.h>,
+ # as the former is a lame header for the latter (bug #157968)
+ sed -i 's@nfs/nfs.h@linux/nfs.h@' include/rpc_subs.h
+
+ eautoreconf || die "Autoconf failed"
+}
+
+src_compile() {
+ CFLAGS="${CFLAGS}" \
+ econf \
+ $(use_with ldap openldap) \
+ $(use_with sasl) \
+ --enable-ignore-busy \
+ || die "configure failed"
+
+ emake DONTSTRIP=1 || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ newinitd "${FILESDIR}"/autofs5.rc1 autofs
+}
+
+pkg_postinst() {
+ elog "Note: If you plan on using autofs for automounting"
+ elog "remote NFS mounts without having the NFS daemon running"
+ elog "please add portmap to your default run-level."
+}