ChangeLog

# 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.75 2008/08/28 00:00:26 robbat2 Exp $

*autofs-5.0.3-r6 (27 Aug 2008)

27 Aug 2008; Robin H. Johnson
+autofs-5.0.3-r6.ebuild:
Bump to include more patches from upstream, fixes LDAP functionality in
large deployments.

12 May 2008; autofs-5.0.3-r5.ebuild:
- Keyworded ~arm per request. Builds native but fails at cross-compiles.

05 May 2008; Stefaan De Roeck autofs-5.0.3-r5.ebuild:
Patch patches in temporary directory (fixes bug #220315)

*autofs-5.0.3-r5 (03 May 2008)

03 May 2008; Stefaan De Roeck
+files/autofs-5.0.3-heimdal.patch, autofs-5.0.3-r4.ebuild,
+autofs-5.0.3-r5.ebuild:
Support also heimdal's krb5 implementation (fixes bug #210762) + some QA

*autofs-5.0.3-r4 (28 Apr 2008)

28 Apr 2008; Stefaan De Roeck
+files/autofs-5.0.3-map-patch-fix.patch, -autofs-5.0.3-r3.ebuild,
+autofs-5.0.3-r4.ebuild:
Fix error introduced by autofs-5.0.3-map-type-in-map-name.patch (patch
taken from redhat rawhide autofs-5.0.3-11), also fix bug #219607

*autofs-5.0.3-r3 (28 Apr 2008)

28 Apr 2008; Stefaan De Roeck
+autofs-5.0.3-r3.ebuild:
Revision bump to include the most recent patches + to fix bugs #157968 and
#154797

*autofs-5.0.3-r2 (18 Feb 2008)

18 Feb 2008; Stefaan De Roeck
+autofs-5.0.3-r2.ebuild:
Update patch list

*autofs-4.1.3-r9 (05 Feb 2008)

05 Feb 2008; Stefaan De Roeck +files/autofs.rc14,
+autofs-4.1.3-r9.ebuild:
Fix bug #91104

05 Feb 2008; Stefaan De Roeck +files/autofs5.rc1,
-files/autofs.rc14, metadata.xml, autofs-5.0.3.ebuild,
autofs-5.0.3-r1.ebuild:
Rename file in the tree, specify name in metadata

*autofs-5.0.3-r1 (01 Feb 2008)

01 Feb 2008; Stefaan De Roeck
+autofs-5.0.3-r1.ebuild:
Add use flag for sasl, force dependency on krb5 when using sasl (bug #208393)

*autofs-5.0.3 (31 Jan 2008)

31 Jan 2008; Stefaan De Roeck +files/autofs.rc14,
metadata.xml, +autofs-5.0.3.ebuild:
Big version bump to 5.0.3, probably fixes many open bugs

*autofs-4.1.3-r8 (24 Jan 2008)

24 Jan 2008; Stefaan De Roeck +files/autofs.rc13,
+autofs-4.1.3-r8.ebuild:
Fix bug #110887, + avoid segfault on amd64

06 May 2007; Marius Mauch autofs-3.1.7-r4.ebuild,
autofs-3.1.7-r5.ebuild, autofs-3.1.7-r6.ebuild, autofs-4.0.0.ebuild,
autofs-4.1.3.ebuild, autofs-4.1.3-r1.ebuild, autofs-4.1.3-r2.ebuild,
autofs-4.1.3-r3.ebuild, autofs-4.1.3-r4.ebuild, autofs-4.1.3-r7.ebuild:
Replacing einfo with elog

29 Apr 2007; Torsten Veller autofs-4.1.3-r7.ebuild:
Fix *initd, *confd and *envd calls (#173884, #174266)

22 Feb 2007; Piotr Jaroszyński ChangeLog:
Transition to Manifest2.

25 Nov 2006; Guy Martin autofs-4.1.3-r7.ebuild:
Stable on hppa.

15 Jul 2006; Bryan Østergaard metadata.xml:
Remove rphillips from metadata.xml as he's retired.

02 Jun 2006; Robin H. Johnson autofs-4.1.3-r7.ebuild:
Bug #135023, fix a parallel make bug.

*autofs-4.1.3-r7 (30 May 2006)

30 May 2006; Alec Warner -autofs-4.1.3-r6.ebuild,
+autofs-4.1.3-r7.ebuild:
revbump for sort fix

30 May 2006; Alec Warner files/auto.net:
s/+/-/ for bug #120403, completely my fault :(

*autofs-4.1.3-r6 (28 May 2006)

28 May 2006; Alec Warner
-files/autofs-4.1.3-fix-sort-opts.patch, files/auto.net,
-autofs-4.1.3-r5.ebuild, +autofs-4.1.3-r6.ebuild:
Refix bug #120403 with permission from robbat2

*autofs-4.1.3-r5 (20 May 2006)

20 May 2006; Mark Loeser
+files/autofs-4.1.3-fix-sort-opts.patch, +autofs-4.1.3-r5.ebuild:
Add patch to to fix sort options; bug #120403

19 Feb 2006; Joshua Kinard autofs-4.1.3-r4.ebuild:
Added ~mips to KEYWORDS.

06 Jul 2005; Robin H. Johnson -files/auto.home,
-files/ldap.diff, -files/open_max.diff:
These FILESDIR items are not used anymore. Bump.

06 Jun 2005; Markus Rothe autofs-4.1.3-r4.ebuild:
Stable on ppc64

17 May 2005; Stephanie Lockwood-Childs
autofs-4.1.3-r4.ebuild:
marked stable on ppc, closes bug #92808

17 Apr 2005; Aron Griffis autofs-4.1.3-r4.ebuild:
Stable on alpha amd64 ia64

12 Apr 2005; Gustavo Zacarias
autofs-4.1.3-r4.ebuild:
Stable on sparc

11 Apr 2005; Robin H. Johnson autofs-4.1.3-r4.ebuild:
Stable on x86.

09 Apr 2005; Markus Rothe autofs-4.1.3-r2.ebuild:
Stable on ppc64

09 Apr 2005; Simon Stelling autofs-4.1.3-r4.ebuild:
fixed multilib-strict issues

01 Apr 2005; Aron Griffis autofs-4.1.3-r2.ebuild:
stable on ia64

23 Mar 2005; autofs-4.1.3-r2.ebuild:
Stable on amd64

19 Mar 2005; Bryan Østergaard autofs-4.1.3-r2.ebuild:
Stable on alpha.

*autofs-4.1.3-r4 (14 Mar 2005)

14 Mar 2005; Robin H. Johnson +files/autofs.rc10,
+files/autofs.rc11, +files/autofs.rc12, files/autofs.rc9,
+autofs-4.1.3-r4.ebuild:
Bug #82086 - totally revamp the init script, now supports all daemon
options. Also cleanup all usage of unsafe sub-shells.

05 Feb 2005; Maurice van der Pot
+files/autofs-4.1.3-signal-race-fix.patch, autofs-4.1.3-r3.ebuild:
Added hopefully corrected version of signal-race-fix patch for bug #77077.

*autofs-4.1.3-r3 (05 Feb 2005)

05 Feb 2005; Robin H. Johnson +autofs-4.1.3-r3.ebuild:
Try to fix bug #77077, by removing signal-race-fix.patch.

10 Jan 2005; Gustavo Zacarias autofs-4.1.3-r2.ebuild:
Stable on sparc

07 Jan 2005; Robin H. Johnson autofs-4.1.3-r2.ebuild:
4.1.3-r2 Stable on x86.

16 Dec 2004; Robin H. Johnson files/autofs.rc8,
files/autofs.rc9:
Bug #74662, add use portmap again.

*autofs-4.1.3-r2 (09 Dec 2004)

09 Dec 2004; Robin H. Johnson files/auto.master,
files/auto.net, files/autofs.rc9, +autofs-4.1.3-r2.ebuild:
Added some of the debian patches that fix up LDAP and Hesiod in 4.1.3.

*autofs-4.1.3-r1 (08 Dec 2004)

08 Dec 2004; Robin H. Johnson files/auto.master,
+files/auto.net, +files/autofs.confd9, +files/autofs.rc9,
+autofs-4.1.3-r1.ebuild:
Fixed bugs 16320,49477,58292,62819,65626,69309,70827. Apply upstream patches.

02 Sep 2004; Sven Wegener -files/autofs,
files/autofs.rc6, files/autofs.rc7, files/autofs.rc8:
tail +2 -> tail -n +2 to be compatible with latest coreutils. Closes bug
#62606.

27 Jul 2004; autofs-3.1.7-r5.ebuild:
stable on ia64

17 Jul 2004; Tom Gall autofs-4.1.3.ebuild:
stable on ppc64, bug #56994

*autofs-4.1.3 (26 May 2004)

26 May 2004; Michael Imhof autofs-4.1.3.ebuild:
Version bumped.

27 Apr 2004; Aron Griffis autofs-3.1.7-r6.ebuild,
autofs-4.0.0.ebuild:
Add inherit eutils

20 Apr 2004; autofs-4.0.0.ebuild:
Add ~ia64

02 Mar 2004; autofs-4.0.0.ebuild:
Added ~amd64 keyword.

16 Jan 2004; autofs-4.0.0.ebuild:
changed configuration file paths in man files

05 Jan 2004; zhen metadata.xml:
changed herd to net-fs

21 Nov 2003; autofs-4.0.0.ebuild:
added Ervin Nemeth's sed entry to allow for portage controlled CFLAGS.

*autofs-4.0.0 (27 Oct 2003)

27 Oct 2003; Ryan Phillips autofs-4.0.0.ebuild:
version bump. added as unstable. Thanks to Gregory Shimansky

*autofs-3.1.7-r6 (25 Sep 2003)

25 Sep 2003; Martin Holzer autofs-3.1.7-r6.ebuild:
Added autoconf for ldap. Closes #27369.

26 Jul 2003; Stefan Jones files/autofs.rc8
files/autofs.confd:
Fixed the --timeout options, can be specified in daemonoptions in
autofs.confd or via the last option in the misc.master file.

25 May 2003; Martin Holzer autofs-3.1.7-r3.ebuild,
autofs-3.1.7-r4.ebuild, autofs-3.1.7-r5.ebuild:
now uses mirror://kernel

12 May 2003; Jason Wever autofs-3.1.7-r5.ebuild:
Changed ~sparc keyword to sparc.

05 May 2003; Jason Wever autofs-3.1.7-r5.ebuild:
Added ~sparc to keywords.

09 Jan 2003; Kain autofs-3.1.7-r5.ebuild:
Add ppc to KEYWORDS

07 Jan 2003; Aron Griffis autofs-3.1.7-r5.ebuild:
Add alpha to KEYWORDS

*autofs-3.1.7-r5 (17 Nov 2002)

17 Nov 2002; Brad Cowan autofs-3.1.7-r5.ebuild,
files/digest-autofs-3.1.7-r5, files/ldap_config.patch, files/autofs.rc8 :

More ldap fixes, init script still needs some tweaking.

*autofs-3.1.7-r4 (27 Oct 2002)

20 Sep 2002; Brad Cowan autofs-3.1.7-r4.ebuild :
files/digest-autofs-3.1.7-r4, files/nisyp.patch, files/autofs1.confd,
files/autofs.rc7, files/automount.diff.

Added net-nds/portmap and net-nds/ypbind as RDEPEND, updated init scripts
remove old files, and Updated ChangeLog. Init script now has a working
stats option to display current autofs state (as status seems to be a
predefined function that only displays the whether the daemon is running or
stopped). Added einfo to ebuild noting to start portmap for NFS support without
NFS started on current setup. Hopefully fixed some library compile problems.

*autofs-3.1.7-r3 (16 Apr 2002)

16 Jul 2002; Ben Lutgens files/autofs.rc6 :

made the initscript depend on ypbind

30 Apr 2002; William McArthur autofs-3.1.7-r3.ebuild :

Added HOMEPAGE, LICENSE and made the DESCRIPTION a little more so.


21 Jun 2002; Ryan Phillips files/autofs.rc6 :

added a /g to the pidfile variable

16 Apr 2002; Seemant Kulleen autofs-3.1.7-r3.ebuild
files/digest-autofs-3.1.7-r3 :

I did not bump the revision number up last time. That would have been a good
idea to do.

*autofs-3.1.7-r2 (11 Apr 2002)

11 Apr 2002; Seemant Kulleen files/autofs :

xevol@newtonave.net (David Snopek) in bug #1432 gave us a more modern
gentoofied script.

2 Feb 2002; Donny Davies files/autofs.rc6 :

Added patch, contributed through bugzilla (Bug #444), which supposedly fixes
problem with timeouts. Hope everything is OK now.

*autofs-3.1.7-r2 (1 Feb 2002)

1 Feb 2002; G.Bevin ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

AUX auto.master 267 RMD160 4e8e79ef65122f4a1c6227298c8c4e39f3dd5846 SHA1 88da29f5d82a1073471eed654c99ff1fc3c064f3 SHA256 47df928601dc31bc8c23781bd0475b7ecb5bd09525c92a8772d51e0dc660b414
AUX auto.misc 319 RMD160 363c7b0be2d0d79c93b3b74968ae197df49962b4 SHA1 17a5e54accde91da5130599c4375ff3beda99f52 SHA256 7fa3f3cee3d8b0e859316b89fa3fcbad9da03f757de2d3d1a317af94b700e078
AUX auto.net 1134 RMD160 6396a1d4faac5e9a2bf0f83d53fa7e3c578840f9 SHA1 7a6c88657d22630f688ca80cc5ca782a93eb33f0 SHA256 5ff54fb5e8588b7e7503fca90cad179acec1dbe85a4b81f9c2320151f6b34602
AUX autofs-4.1.3-signal-race-fix.patch 426 RMD160 1cd4bdc099d29e75d5b6833ffbd2c93f22bf4a3d SHA1 31d20235bd414e8a74de19d951e3f7cf3b61c035 SHA256 1f7f25ce97546c038b71cb9a4ba7dd1fe88e9cd66f0fc34c8411fd76bd7b60de
AUX autofs-5.0.3-heimdal.patch 1380 RMD160 ed40e452a7648aec1b25e1002c99929be97b8bf9 SHA1 3f7d05c14e52a9a8160a43a38a7b736bb81bb68b SHA256 ca62546abf6b6ae2ed95f53d439d25770f20e70651fdaf5a0edf9d69920b108a
AUX autofs-5.0.3-map-patch-fix.patch 2543 RMD160 3be39a53ddc5125b9ca09f636f3099c02b15de20 SHA1 4d0613ba4c9f51b1bdfdc2f854f02b0acc2681fa SHA256 7a905f5784b9ecddb757cc998033827b58c2c3f4ea514fd746d1d99d8f0f1d5b
AUX autofs.confd 186 RMD160 812709be1af1cfc35fa313907496bfb4e9490386 SHA1 51cfe6ffa36ee5bc02f61a3d500469d73e3aa266 SHA256 d32c102ae6bab4958d230366cd42c1a67fab4f38e0d6abdf0c4a94cd71dffa45
AUX autofs.confd9 799 RMD160 ef61372f9f804dc5b9f662d3810b8a8c80b635de SHA1 80612d8fa46c2b9b7ffdd8d3e711e6d14f0af19f SHA256 c19db9095a5b21bcc0da40adad7141800ddb43db09548adf4c91fd813d9b5e1f
AUX autofs.rc10 6373 RMD160 bbff8d48111f33a36afd4bf1628d7366a87478fd SHA1 957f37f6e61c89ab0cb452f7a1e7e55e4d0f9070 SHA256 e8ddf8aac8ae593be10ad9640f739f2ddc4d23566bdaeb9b1ac70a3d5c4f31ec
AUX autofs.rc11 7469 RMD160 e8472a75e3804a83cdb31fb1a9e293a87492ba0b SHA1 be29dc822d5216bd40edf1067df04eb5b56455a1 SHA256 a050aff19d249598d789859fbfd01ac72d73a68f83d9edb96661aae76a5f5481
AUX autofs.rc12 7807 RMD160 bdd91c47ee5c223ca6eb7b395a4f82f36abd26f6 SHA1 a5efe6948c9674c4d2019db5e81de9d0a64ffaca SHA256 dc08949c2d47614be7fcea8be9988de52715b8072753ee3df77a87c19962975c
AUX autofs.rc13 7876 RMD160 feb761b16f10e90ca55fc25a75b1ada9e79a83e2 SHA1 dadfdea84cf741ede50f5131433f88b09dd05f40 SHA256 d477a63305db5d0cc78e9f538cea745f733ae46305f71986c8a5abce1d2f0c56
AUX autofs.rc14 7881 RMD160 f801010b880dca90ea76926880af928889b2fe38 SHA1 3d1cb7d1bd9b34035932452ea47dcd291ff7b0b4 SHA256 6d233d75882e93f2139b706df58eb4172dbac1ffe55dd1b4792492db97ab457d
AUX autofs.rc6 3717 RMD160 9124279f8c70b0f4f9c4729a71469b178bd2395a SHA1 b17efbf35768395ea25c9ea4037d49c3eb61d4a2 SHA256 96ecff3e66a4364aaea5bdce7a33454b3315a04745cc5897208c33e749692016
AUX autofs.rc7 3624 RMD160 898c771eedbf52cbf856449370640873db7c4fd2 SHA1 f72e598317ba58fe6c9598547876e8dd60b9e007 SHA256 406a9025829c8485ef73400a76f678a6c1c87694241936db1dfae5241e751e5e
AUX autofs.rc8 5186 RMD160 7a97786ecbca979a1b3aa754b6a638b580a9836d SHA1 f1f5b9837d176085c5e81bfe2321bdec15f90e74 SHA256 e9c094b03fec0a184800f750d79bf73ee6daf614c312b5c927110d8f2b0d1511
AUX autofs.rc9 5617 RMD160 2822212b6717504aecc29cab029e5247bddecca9 SHA1 2b159ab25f390cdc230b20046ce8b4adcc8e99fb SHA256 6534a2c96f915132d7834478bf8913a8f00bf97ae91c5df55bf5e612f403735b
AUX autofs1.confd 137 RMD160 35c5171eb57db792830e94f28058b1b50534c236 SHA1 d5e415b4bb74b1fd91f9ad4ce863cd70ca5460d1 SHA256 d4be4500623e3ba986ad124b273c9119da78b12eb94c6d39e358ed9d623a1a8a
AUX autofs5.rc1 920 RMD160 9adb413578fba86eeabefb2c25b4bf6e27bd8efe SHA1 44db5523bc7d07c949e71bf0fda6499b0c6578d1 SHA256 94c956da80446f391df3a8f89794754c0e42ea9d1fca47f2abe57eecadbc3ffa
AUX automount.diff 322 RMD160 7fdfa7bd519451b47cbb9795e2ae482ddd45ff59 SHA1 c6bf3d6b2433cafe122d821142f44eee1a8b6ad7 SHA256 eef2d99787fc8967f10c5c308e3a271532013225bdfe28578d0ecb5e3c0c16c1
AUX ldap_config.patch 785 RMD160 47b296b3dcb005fd65a8b707dbc0ace319d3ace7 SHA1 b81701d25b583d0382b41059be11e2e9ef6a523b SHA256 5f0eb87ea8e20fc4fac46afde8d50fe9307a1835979c279855d36d323e8ff57d
AUX nisyp.patch 419 RMD160 338ad78c60e048aad661b98c008b8f7cafd7ba8b SHA1 079f558edc12ed022b6f843026aedcf2c6f290c1 SHA256 e85a998ed1f40d41c32b15e1184fcd0b96a9d86f42cf10ebd76c3e553eea19f0
DIST autofs-3.1.7.tar.bz2 57000 RMD160 c2369e5667fd3315cd06d2168fc3eab075339b49 SHA1 ed1b21ed841ff87dba659693c8b511f0a9c760f7 SHA256 838c6e92c39827b54a37559a02c9b409a4f7ec3124cc6d20845aabfaabe2dd18
DIST autofs-4.0.0-1.tar.bz2 90036 RMD160 a365b83c04f7883db553623a49e85e86969a26a7 SHA1 239fce8def104925f799f1c2ad80ea8d64a3cabe SHA256 f5555e41fc351644fd5ff935c2d2340719a18fa32d1f6ccdc6bbd4c18a694f88
DIST autofs-4.1.3-bad_chdir.patch 6343 RMD160 a406cdaa048c7b44cf93bb05df35bf2f790c6cfb SHA1 4e186624b0faaef1a15632d42615463427142dcb SHA256 ba89a372971daa3d689366f7708ec24034c294e485a88d921fb2eac573f95b0f
DIST autofs-4.1.3-miscfixes.patch.gz 3058 RMD160 ad3d831ac3dd60eba633f976bf0cd38c4f05c6a6 SHA1 29603180ca0ddb185ae4d8540e9c99f97659fd63 SHA256 630f9ee90d23b02ffaa5fe379c4f1bca7db61b8f24f9cd5a2764a0c99a7eddfc
DIST autofs-4.1.3-mtab_lock.patch 551 RMD160 f34aeb1e29d8ddc06259c51fcc1bccd48e2b7efc SHA1 a217b7bb26456738bd04c20b83647096e7942cb6 SHA256 13494713f698c29281bc5d27a7b4b2dbb7692b6d18f770fada71ab3b28c33fca
DIST autofs-4.1.3-non_block_ping.patch 7934 RMD160 6df2da01f032d8d33ef56db62964b68e14b16ca8 SHA1 2a62494702d12dde93bd8fe366701efd3ea11646 SHA256 882a8ddb30b30232bed1afe9b891721ebbaec54c7122e625df3382e6099e8460
DIST autofs-4.1.3-replicated_server_select.patch 962 RMD160 52f13fed9e443e0810d3e29408b06e797344e8c1 SHA1 1e3452898192d8729f4632ff46bc01497f7e0511 SHA256 95e2f7d1ca19c67b8116a8d5f382a7bb116255fbd507dc6689faea7da9a67dad
DIST autofs-4.1.3-signal-race-fix.patch 635 RMD160 dd7fc2df1b4cb5ab59a81b5613887554524cbc7e SHA1 52f70a8ebb46738b6b923e49a0a499c57df6fa23 SHA256 98e6f5eea8e83fc5db31259ac8a97983e5130d09fc80171523cff792b7de2d2f
DIST autofs-4.1.3-sock-leak-fix.patch 1236 RMD160 09ca250b5711d04336f61fb7a227d99ae2b4d053 SHA1 995838278a74211eb537202f4c918302bd38fa38 SHA256 6aaa548688e7d48eb735dfa9acb1c097b82f8ef68a3ca30aab70a92b9b36453b
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
EBUILD autofs-3.1.7-r4.ebuild 1725 RMD160 8d3a806b959f2700c43364acc9b49d174e3c092f SHA1 c82743878f9c3424fa91a684dfb200b87fc35ad4 SHA256 c45d1025c201329e2fc0d72cbf39807ef07536446b893583bc693b2422232560
EBUILD autofs-3.1.7-r5.ebuild 1739 RMD160 2aba32bed55900477131d080beb301b1271be1aa SHA1 8a6b81324f6f893dac00324432b1bcfbb321856a SHA256 4e5c9f0981fb87311e452be843f6426a694c03a613f7eb05c7360c6e43f147ae
EBUILD autofs-3.1.7-r6.ebuild 1774 RMD160 9054304132c27b09695f97457d257d0099b018a3 SHA1 394c17d7905c79dc37a6abc0cb9801854e82c067 SHA256 c3f954cba4d42f40b3a4d40dc81d3d74976c4bb5b16cf0be7da0c3e11e4cdccb
EBUILD autofs-4.0.0.ebuild 1920 RMD160 11500f8866360a9b989c29d3bc2e0166746d3a46 SHA1 68636d2e332e23d2ec3bac7433bcccb752f2e899 SHA256 56e933f4f6a9638028813a1122b789ca6c53fe5667414ffb79f621164ec69a61
EBUILD autofs-4.1.3-r1.ebuild 2855 RMD160 f1225089dcde411933a351950054c1d37a2318d4 SHA1 f976ea979f4d87eaa9bd46072f2c1cd81d993860 SHA256 505b612688dfb9c035f617d9de72f652328c82858f016c6d6122af2e587df7b7
EBUILD autofs-4.1.3-r2.ebuild 2914 RMD160 0e21b6ad26aa264a07d9fdffed4b43313cdfa86e SHA1 0cfa177238eb058806084df5eac011f67ccf10df SHA256 5f74815bbc2befac906d35fec8abbea14b5fefef69ac92ef23c6c825cd4569cf
EBUILD autofs-4.1.3-r3.ebuild 2943 RMD160 bc1fc1e6c7cfc9ab082a43a95b3cf4339131f8ec SHA1 8b461aa774771403cdd483cc137f6bbadec11e13 SHA256 b739b0ec54e2da99a739c0f300bc3cbb20359890125ac01fdf71d3c2c14a54e1
EBUILD autofs-4.1.3-r4.ebuild 2973 RMD160 146a44b68bd42a8309518c8fef23d2c40c3600bf SHA1 c1ad210418c282a8bb4d85df2329e123b16d8890 SHA256 9982a084f4083e5e484895c1852e38757a8eb47046f3e0e6efa8a09088fdd232
EBUILD autofs-4.1.3-r7.ebuild 3003 RMD160 159090b532fc72917d101f0fea4c02409663ba97 SHA1 6c77e3143816d1234cb884a03cda22b92cd0d266 SHA256 22870b6945cbc8fe00d80986c9b6a96f0c14e79bbb41381009d791676f8f61fc
EBUILD autofs-4.1.3-r8.ebuild 3116 RMD160 abd6391c3eaa8145db089e1d6b9ade45d0717fc7 SHA1 a43fcb2534f7424fc4c8fd291076a25a335234f3 SHA256 23bf695145bf8570d6296cb5788e6a6ac05721507bfd80ba54c987e521508bea
EBUILD autofs-4.1.3-r9.ebuild 3116 RMD160 17db10c7bfb0b148416703824ce944aa2901f7cd SHA1 31e766a73bf684002b49988aafd390c78d4727a8 SHA256 f74fd79aae054c8eb759370d0e3ac0a41675784f46cabc1db425429a66851461
EBUILD autofs-4.1.3.ebuild 1923 RMD160 eaab58530b774637b8b3ae8600a99e17eb31c0ca SHA1 cace6b8fae4c228c99b278a84e0889ce51c23a13 SHA256 655ab0f95d4d71fb37788ef6bd35c1cca0abd8b2714d67cbb26837c8477d95f7
EBUILD autofs-5.0.3-r1.ebuild 2252 RMD160 769805c5ff06c8acc6dde7e60d9c365058271a82 SHA1 da7f063ee957643b8e0d91a7432d64160c6cbddd SHA256 727d68be090f5eb1646798e45b897f0e951ea2699118838e7d4140a24d00821e
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 11454 RMD160 02f482cbb4e6a0a3c337c20df6b0460291c02d62 SHA1 d148415d604dffbe35a42adeba7fcf96df9d1884 SHA256 693889bfab3ac2c77b41393f625f979db723478c1c2148289cee8d1f99c6cef7
MISC metadata.xml 258 RMD160 3e5f58364805d3e42d35bb18afabc84771edc6e3 SHA1 f889879c2dfdef80624ebebd791c1b944ff859ae SHA256 3a3251d51801f0288687f235aed354e0f68cb6f90775941ba03b83bfd71e5dae

autofs-3.1.7-r3.ebuild

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-3.1.7-r3.ebuild,v 1.14 2005/01/07 11:54:04 robbat2 Exp $

IUSE="ldap"

DESCRIPTION="Kernel based automounter"
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
SRC_URI="mirror://kernel/linux/daemons/autofs/${P}.tar.bz2"

DEPEND="ldap? ( >=net-nds/openldap-1.2 )"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"

src_unpack() {
unpack ${A} ; cd ${S}/include
patch -p0 < ${FILESDIR}/automount.diff || die
}

src_compile() {
local myconf
use ldap || myconf="--without-openldap"
export HAVE_LDAP=1
export LIBLDAP="$LIBLDAP -lldap -llber"
export LIBS="-lldap -llber $LIBS"
./configure --host=${HOST} --prefix=/usr ${myconf} || die
emake || die
}

src_install() {
into /usr
dosbin daemon/automount
insinto /usr/lib/autofs
insopts -m 755
doins modules/*.so

dodoc COPYING COPYRIGHT NEWS README* TODO
cd man
doman auto.master.5 autofs.5 autofs.8 automount.8

cd ../samples
dodir /etc/autofs
cp ${FILESDIR}/auto.master ${D}/etc/autofs
cp ${FILESDIR}/auto.misc ${D}/etc/autofs

exeinto /etc/init.d ; newexe ${FILESDIR}/autofs.rc6 autofs
insinto /etc/conf.d ; newins ${FILESDIR}/autofs.confd autofs
}

autofs-3.1.7-r4.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-3.1.7-r4.ebuild,v 1.12 2007/05/06 10:07:34 genone Exp $

DESCRIPTION="Kernel based automounter"
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
SRC_URI="mirror://kernel/linux/daemons/autofs/${P}.tar.bz2"

DEPEND="ldap? ( >=net-nds/openldap-1.2 )"
RDEPEND=">=net-nds/portmap-5b-r6
>=net-nds/ypbind-1.11-r1"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
IUSE="ldap"

src_unpack() {
unpack ${A}
patch -p0 < ${FILESDIR}/nisyp.patch || die

cd ${S}/include
patch -p0 < ${FILESDIR}/automount.diff || die
}

src_compile() {
local myconf
use ldap || myconf="--without-openldap"
export HAVE_LDAP=1
export LIBLDAP="$LIBLDAP -lldap -llber -lresolv"
export LIBS="-lldap -llber -lresolv $LIBS"
./configure --host=${HOST} --prefix=/usr ${myconf} || die
emake || die
}

src_install() {
into /usr
dosbin daemon/automount
insinto /usr/lib/autofs
insopts -m 755
doins modules/*.so

dodoc COPYING COPYRIGHT NEWS README* TODO
cd man
doman auto.master.5 autofs.5 autofs.8 automount.8

cd ../samples
dodir /etc/autofs
cp ${FILESDIR}/auto.master ${D}/etc/autofs
cp ${FILESDIR}/auto.misc ${D}/etc/autofs

exeinto /etc/init.d ; newexe ${FILESDIR}/autofs.rc7 autofs
insinto /etc/conf.d ; newins ${FILESDIR}/autofs1.confd 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."
elog
elog "Also the normal autofs status has been renamed stats"
elog "as there is already a predefined Gentoo status"
}

autofs-3.1.7-r5.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-3.1.7-r5.ebuild,v 1.17 2007/05/06 10:07:34 genone Exp $

IUSE="ldap"

DESCRIPTION="Kernel based automounter"
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
SRC_URI="mirror://kernel/linux/daemons/autofs/${P}.tar.bz2"

DEPEND="ldap? ( >=net-nds/openldap-1.2 )"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="alpha ia64 ppc sparc x86"

src_unpack() {
unpack ${A}
cd ${S}
patch -p0 < ${FILESDIR}/ldap_config.patch || die

cd ${S}/include
patch -p0 < ${FILESDIR}/automount.diff || die

cd ${S}/daemon
mv Makefile Makefile.orig
sed -e 's/LIBS \= \-ldl/LIBS \= \-ldl \-lnsl \$\{LIBLDAP\}/' Makefile.orig > Makefile
}

src_compile() {
local myconf
use ldap || myconf="--without-openldap"

./configure \
--host=${HOST} \
--prefix=/usr \
${myconf} || die
make || die
}

src_install() {
into /usr
dosbin daemon/automount
insinto /usr/lib/autofs
insopts -m 755
doins modules/*.so

dodoc COPYING COPYRIGHT NEWS README* TODO
cd man
doman auto.master.5 autofs.5 autofs.8 automount.8

cd ../samples
dodir /etc/autofs
cp ${FILESDIR}/auto.master ${D}/etc/autofs
cp ${FILESDIR}/auto.misc ${D}/etc/autofs

exeinto /etc/init.d ; newexe ${FILESDIR}/autofs.rc8 autofs
insinto /etc/conf.d ; newins ${FILESDIR}/autofs.confd 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."
elog
elog "Also the normal autofs status has been renamed stats"
elog "as there is already a predefined Gentoo status"
}

autofs-3.1.7-r6.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-3.1.7-r6.ebuild,v 1.7 2007/05/06 10:07:34 genone Exp $

inherit eutils

IUSE="ldap"

DESCRIPTION="Kernel based automounter"
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
SRC_URI="mirror://kernel/linux/daemons/${PN}/${P}.tar.bz2"

DEPEND="ldap? ( >=net-nds/openldap-1.2 )"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~ppc ~sparc ~x86"

src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/ldap_config.patch || die "ldap patch died"

cd ${S}/include
epatch ${FILESDIR}/automount.diff || die "automount patch died"

cd ${S}
autoconf

cd ${S}/daemon
sed -i 's/LIBS \= \-ldl/LIBS \= \-ldl \-lnsl \$\{LIBLDAP\}/' Makefile
}

src_compile() {
local myconf
use ldap || myconf="--without-openldap"

./configure \
--host=${HOST} \
--prefix=/usr \
${myconf} || die
make || die "make failed"
}

src_install() {
into /usr
dosbin daemon/automount
insinto /usr/lib/autofs
insopts -m 755
doins modules/*.so

dodoc COPYING COPYRIGHT NEWS README* TODO
cd man
doman auto.master.5 autofs.5 autofs.8 automount.8

cd ../samples
dodir /etc/autofs
cp ${FILESDIR}/auto.master ${D}/etc/autofs
cp ${FILESDIR}/auto.misc ${D}/etc/autofs

exeinto /etc/init.d ; newexe ${FILESDIR}/autofs.rc8 autofs
insinto /etc/conf.d ; newins ${FILESDIR}/autofs.confd 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."
elog
elog "Also the normal autofs status has been renamed stats"
elog "as there is already a predefined Gentoo status"
}

autofs-4.0.0.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-4.0.0.ebuild,v 1.11 2007/05/06 10:07:34 genone Exp $

inherit eutils

IUSE="ldap"

DESCRIPTION="Kernel based automounter"
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
SRC_URI="mirror://kernel/linux/daemons/${PN}/v4/${P}-1.tar.bz2"

DEPEND="ldap? ( >=net-nds/openldap-1.2 )"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"

src_unpack() {
unpack ${A}
# cd ${S}
# epatch ${FILESDIR}/ldap_config.patch || die "ldap patch died"

# cd ${S}/include
# epatch ${FILESDIR}/automount.diff || die "automount patch died"

cd ${S}
autoconf

cd ${S}/daemon
sed -i 's/LIBS \= \-ldl/LIBS \= \-ldl \-lnsl \$\{LIBLDAP\}/' Makefile
}

src_compile() {
local myconf
use ldap || myconf="--without-openldap"

./configure \
--host=${HOST} \
--prefix=/usr \
${myconf} || die
sed -i -e '/^\(CFLAGS\|CXXFLAGS\|LDFLAGS\)[[:space:]]*=/d' Makefile.rules
make || die "make failed"
}

src_install() {
into /usr
dosbin daemon/automount
insinto /usr/lib/autofs
insopts -m 755
doins modules/*.so

dodoc COPYING COPYRIGHT NEWS README* TODO
cd man
sed -i 's:\/etc\/:\/etc\/autofs\/:g' *.8 *.5 *.in
doman auto.master.5 autofs.5 autofs.8 automount.8

cd ../samples
dodir /etc/autofs
cp ${FILESDIR}/auto.master ${D}/etc/autofs
cp ${FILESDIR}/auto.misc ${D}/etc/autofs

exeinto /etc/init.d ; newexe ${FILESDIR}/autofs.rc8 autofs
insinto /etc/conf.d ; newins ${FILESDIR}/autofs.confd 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."
elog
elog "Also the normal autofs status has been renamed stats"
elog "as there is already a predefined Gentoo status"
}

autofs-4.1.3-r1.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-4.1.3-r1.ebuild,v 1.5 2007/05/06 10:07:34 genone Exp $

inherit eutils

IUSE="ldap"

DESCRIPTION="Kernel based automounter"
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
SRC_URI_BASE="mirror://kernel/linux/daemons/${PN}/v4"
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2
${SRC_URI_BASE}/${P}-strict.patch
${SRC_URI_BASE}/${P}-mtab_lock.patch
${SRC_URI_BASE}/${P}-bad_chdir.patch
${SRC_URI_BASE}/${P}-non_block_ping.patch
${SRC_URI_BASE}/${P}-signal-race-fix.patch
${SRC_URI_BASE}/${P}-sock-leak-fix.patch
${SRC_URI_BASE}/${P}-replicated_server_select.patch"
DEPEND="virtual/libc
ldap? ( >=net-nds/openldap-2.0 )"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"

src_unpack() {
unpack ${P}.tar.bz2
PATCH_LIST="${P}-strict.patch ${P}-mtab_lock.patch ${P}-bad_chdir.patch ${P}-non_block_ping.patch ${P}-signal-race-fix.patch ${P}-sock-leak-fix.patch ${P}-replicated_server_select.patch"
for i in ${PATCH_LIST}; do
EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${i}
done

cd ${S}
autoconf || die "Autoconf failed"

cd ${S}/daemon
sed -i 's/LIBS \= \-ldl/LIBS \= \-ldl \-lnsl \$\{LIBLDAP\}/' Makefile || die "LIBLDAP change failed"
}

src_compile() {
local myconf
use ldap || myconf="--without-openldap"

econf ${myconf} || die
sed -i -e '/^\(CFLAGS\|CXXFLAGS\|LDFLAGS\)[[:space:]]*=/d' Makefile.rules || die "Failed to remove (C|CXX|LD)FLAGS"
emake || die "make failed"
}

src_install() {
into /usr
dosbin daemon/automount
exeinto /usr/lib/autofs
doexe modules/*.so

dodoc COPYING COPYRIGHT NEWS README* TODO CHANGELOG CREDITS
cd ${S}/samples
docinto samples ; dodoc auto.misc auto.master
cd ${S}/man
sed -i 's:\/etc\/:\/etc\/autofs\/:g' *.8 *.5 *.in || die "Failed to update path in manpages"
doman auto.master.5 autofs.5 autofs.8 automount.8

dodir /etc/autofs /etc/init.d /etc/conf.d
insinto /etc/autofs ; doins ${FILESDIR}/auto.master
insinto /etc/autofs ; doins ${FILESDIR}/auto.misc
exeinto /etc/autofs ; doexe ${FILESDIR}/auto.net # chmod 755 is important!

exeinto /etc/init.d ; newexe ${FILESDIR}/autofs.rc9 autofs
insinto /etc/conf.d ; newins ${FILESDIR}/autofs.confd9 autofs
if use ldap; then
cd ${S}/samples
docinto samples ; dodoc ldap* auto.master.ldap
insinto /etc/openldap/schema ; doins autofs.schema
exeinto /usr/lib/autofs ; doexe autofs-ldap-auto-master
fi
}

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."
elog
elog "Also the normal autofs status has been renamed stats"
elog "as there is already a predefined Gentoo status"
}

autofs-4.1.3-r2.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-4.1.3-r2.ebuild,v 1.8 2007/05/06 10:07:34 genone Exp $

inherit eutils

IUSE="ldap"
DESCRIPTION="Kernel based automounter"
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
SRC_URI_BASE="mirror://kernel/linux/daemons/${PN}/v4"
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2
${SRC_URI_BASE}/${P}-strict.patch
${SRC_URI_BASE}/${P}-mtab_lock.patch
${SRC_URI_BASE}/${P}-bad_chdir.patch
${SRC_URI_BASE}/${P}-non_block_ping.patch
${SRC_URI_BASE}/${P}-signal-race-fix.patch
${SRC_URI_BASE}/${P}-sock-leak-fix.patch
${SRC_URI_BASE}/${P}-replicated_server_select.patch
mirror://gentoo/${P}-miscfixes.patch.gz"
DEPEND="virtual/libc
ldap? ( >=net-nds/openldap-2.0 )"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 ia64 ~ppc ppc64 sparc x86"

src_unpack() {
unpack ${P}.tar.bz2
PATCH_LIST="${P}-strict.patch ${P}-mtab_lock.patch ${P}-bad_chdir.patch ${P}-non_block_ping.patch ${P}-signal-race-fix.patch ${P}-sock-leak-fix.patch ${P}-replicated_server_select.patch ${P}-miscfixes.patch.gz"
for i in ${PATCH_LIST}; do
EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${i}
done

cd ${S}
autoconf || die "Autoconf failed"

cd ${S}/daemon
sed -i 's/LIBS \= \-ldl/LIBS \= \-ldl \-lnsl \$\{LIBLDAP\}/' Makefile || die "LIBLDAP change failed"
}

src_compile() {
local myconf
use ldap || myconf="--without-openldap"

econf ${myconf} || die
sed -i -e '/^\(CFLAGS\|CXXFLAGS\|LDFLAGS\)[[:space:]]*=/d' Makefile.rules || die "Failed to remove (C|CXX|LD)FLAGS"
emake || die "make failed"
}

src_install() {
into /usr
dosbin daemon/automount
exeinto /usr/lib/autofs
doexe modules/*.so

dodoc COPYING COPYRIGHT NEWS README* TODO CHANGELOG CREDITS
cd ${S}/samples
docinto samples ; dodoc auto.misc auto.master
cd ${S}/man
sed -i 's:\/etc\/:\/etc\/autofs\/:g' *.8 *.5 *.in || die "Failed to update path in manpages"
doman auto.master.5 autofs.5 autofs.8 automount.8

dodir /etc/autofs /etc/init.d /etc/conf.d
insinto /etc/autofs ; doins ${FILESDIR}/auto.master
insinto /etc/autofs ; doins ${FILESDIR}/auto.misc
exeinto /etc/autofs ; doexe ${FILESDIR}/auto.net # chmod 755 is important!

exeinto /etc/init.d ; newexe ${FILESDIR}/autofs.rc9 autofs
insinto /etc/conf.d ; newins ${FILESDIR}/autofs.confd9 autofs
if use ldap; then
cd ${S}/samples
docinto samples ; dodoc ldap* auto.master.ldap
insinto /etc/openldap/schema ; doins autofs.schema
exeinto /usr/lib/autofs ; doexe autofs-ldap-auto-master
fi
}

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."
elog
elog "Also the normal autofs status has been renamed stats"
elog "as there is already a predefined Gentoo status"
}

autofs-4.1.3-r3.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-4.1.3-r3.ebuild,v 1.4 2007/05/06 10:07:34 genone Exp $

inherit eutils

IUSE="ldap"
DESCRIPTION="Kernel based automounter"
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
SRC_URI_BASE="mirror://kernel/linux/daemons/${PN}/v4"
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2
${SRC_URI_BASE}/${P}-strict.patch
${SRC_URI_BASE}/${P}-mtab_lock.patch
${SRC_URI_BASE}/${P}-bad_chdir.patch
${SRC_URI_BASE}/${P}-non_block_ping.patch
${SRC_URI_BASE}/${P}-sock-leak-fix.patch
${SRC_URI_BASE}/${P}-replicated_server_select.patch
mirror://gentoo/${P}-miscfixes.patch.gz"
DEPEND="virtual/libc
ldap? ( >=net-nds/openldap-2.0 )"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"

src_unpack() {
unpack ${P}.tar.bz2
PATCH_LIST="${P}-strict.patch ${P}-mtab_lock.patch ${P}-bad_chdir.patch ${P}-non_block_ping.patch ${P}-sock-leak-fix.patch ${P}-replicated_server_select.patch ${P}-miscfixes.patch.gz"
for i in ${PATCH_LIST}; do
EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${i}
done

# Upstream version of this patch is incorrect
epatch ${FILESDIR}/${P}-signal-race-fix.patch

cd ${S}
autoconf || die "Autoconf failed"

cd ${S}/daemon
sed -i 's/LIBS \= \-ldl/LIBS \= \-ldl \-lnsl \$\{LIBLDAP\}/' Makefile || die "LIBLDAP change failed"
}

src_compile() {
local myconf
use ldap || myconf="--without-openldap"

econf ${myconf} || die
sed -i -e '/^\(CFLAGS\|CXXFLAGS\|LDFLAGS\)[[:space:]]*=/d' Makefile.rules || die "Failed to remove (C|CXX|LD)FLAGS"
emake || die "make failed"
}

src_install() {
into /usr
dosbin daemon/automount
exeinto /usr/lib/autofs
doexe modules/*.so

dodoc COPYING COPYRIGHT NEWS README* TODO CHANGELOG CREDITS
cd ${S}/samples
docinto samples ; dodoc auto.misc auto.master
cd ${S}/man
sed -i 's:\/etc\/:\/etc\/autofs\/:g' *.8 *.5 *.in || die "Failed to update path in manpages"
doman auto.master.5 autofs.5 autofs.8 automount.8

dodir /etc/autofs /etc/init.d /etc/conf.d
insinto /etc/autofs ; doins ${FILESDIR}/auto.master
insinto /etc/autofs ; doins ${FILESDIR}/auto.misc
exeinto /etc/autofs ; doexe ${FILESDIR}/auto.net # chmod 755 is important!

exeinto /etc/init.d ; newexe ${FILESDIR}/autofs.rc9 autofs
insinto /etc/conf.d ; newins ${FILESDIR}/autofs.confd9 autofs
if use ldap; then
cd ${S}/samples
docinto samples ; dodoc ldap* auto.master.ldap
insinto /etc/openldap/schema ; doins autofs.schema
exeinto /usr/lib/autofs ; doexe autofs-ldap-auto-master
fi
}

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."
elos
elog "Also the normal autofs status has been renamed stats"
elog "as there is already a predefined Gentoo status"
}

autofs-4.1.3-r4.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-4.1.3-r4.ebuild,v 1.10 2007/05/06 10:07:34 genone Exp $

inherit eutils multilib

IUSE="ldap"
DESCRIPTION="Kernel based automounter"
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
SRC_URI_BASE="mirror://kernel/linux/daemons/${PN}/v4"
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2
${SRC_URI_BASE}/${P}-strict.patch
${SRC_URI_BASE}/${P}-mtab_lock.patch
${SRC_URI_BASE}/${P}-bad_chdir.patch
${SRC_URI_BASE}/${P}-non_block_ping.patch
${SRC_URI_BASE}/${P}-sock-leak-fix.patch
${SRC_URI_BASE}/${P}-replicated_server_select.patch
mirror://gentoo/${P}-miscfixes.patch.gz"
DEPEND="virtual/libc
ldap? ( >=net-nds/openldap-2.0 )"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 ia64 ~mips ppc ppc64 sparc x86"

src_unpack() {
unpack ${P}.tar.bz2
PATCH_LIST="${P}-strict.patch ${P}-mtab_lock.patch ${P}-bad_chdir.patch ${P}-non_block_ping.patch ${P}-sock-leak-fix.patch ${P}-replicated_server_select.patch ${P}-miscfixes.patch.gz"
for i in ${PATCH_LIST}; do
EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${i}
done

# Upstream version of this patch is incorrect
epatch ${FILESDIR}/${P}-signal-race-fix.patch

cd ${S}
autoconf || die "Autoconf failed"

cd ${S}/daemon
sed -i 's/LIBS \= \-ldl/LIBS \= \-ldl \-lnsl \$\{LIBLDAP\}/' Makefile || die "LIBLDAP change failed"
}

src_compile() {
local myconf
use ldap || myconf="--without-openldap"

econf ${myconf} || die
sed -i -e '/^\(CFLAGS\|CXXFLAGS\|LDFLAGS\)[[:space:]]*=/d' Makefile.rules || die "Failed to remove (C|CXX|LD)FLAGS"
emake || die "make failed"
}

src_install() {
into /usr
dosbin daemon/automount
exeinto /usr/$(get_libdir)/autofs
doexe modules/*.so

dodoc COPYING COPYRIGHT NEWS README* TODO CHANGELOG CREDITS
cd ${S}/samples
docinto samples ; dodoc auto.misc auto.master
cd ${S}/man
sed -i 's:\/etc\/:\/etc\/autofs\/:g' *.8 *.5 *.in || die "Failed to update path in manpages"
doman auto.master.5 autofs.5 autofs.8 automount.8

dodir /etc/autofs /etc/init.d /etc/conf.d
insinto /etc/autofs ; doins ${FILESDIR}/auto.master
insinto /etc/autofs ; doins ${FILESDIR}/auto.misc
exeinto /etc/autofs ; doexe ${FILESDIR}/auto.net # chmod 755 is important!

exeinto /etc/init.d ; newexe ${FILESDIR}/autofs.rc11 autofs
insinto /etc/conf.d ; newins ${FILESDIR}/autofs.confd9 autofs
if use ldap; then
cd ${S}/samples
docinto samples ; dodoc ldap* auto.master.ldap
insinto /etc/openldap/schema ; doins autofs.schema
exeinto /usr/$(get_libdir)/autofs ; doexe autofs-ldap-auto-master
fi
}

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."
elog
elog "Also the normal autofs status has been renamed stats"
elog "as there is already a predefined Gentoo status"
}

autofs-4.1.3-r7.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-4.1.3-r7.ebuild,v 1.5 2007/05/06 10:07:34 genone Exp $

inherit eutils multilib

IUSE="ldap"
DESCRIPTION="Kernel based automounter"
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
SRC_URI_BASE="mirror://kernel/linux/daemons/${PN}/v4"
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2
${SRC_URI_BASE}/${P}-strict.patch
${SRC_URI_BASE}/${P}-mtab_lock.patch
${SRC_URI_BASE}/${P}-bad_chdir.patch
${SRC_URI_BASE}/${P}-non_block_ping.patch
${SRC_URI_BASE}/${P}-sock-leak-fix.patch
${SRC_URI_BASE}/${P}-replicated_server_select.patch
mirror://gentoo/${P}-miscfixes.patch.gz"
DEPEND="virtual/libc
ldap? ( >=net-nds/openldap-2.0 )"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"

src_unpack() {
unpack ${P}.tar.bz2
PATCH_LIST="${P}-strict.patch ${P}-mtab_lock.patch ${P}-bad_chdir.patch ${P}-non_block_ping.patch ${P}-sock-leak-fix.patch ${P}-replicated_server_select.patch ${P}-miscfixes.patch.gz"
for i in ${PATCH_LIST}; do
EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${i}
done

# Upstream version of this patch is incorrect
epatch "${FILESDIR}"/${P}-signal-race-fix.patch

cd ${S}
autoconf || die "Autoconf failed"

cd ${S}/daemon
sed -i 's/LIBS \= \-ldl/LIBS \= \-ldl \-lnsl \$\{LIBLDAP\}/' Makefile \
|| die "LIBLDAP change failed"

cd ${S}/lib
sed -i '/^listmount.o:/s,$, mount.h,g' Makefile \
|| die "Failed to fix dependancies"
}

src_compile() {
local myconf
use ldap || myconf="--without-openldap"

econf ${myconf} || die
sed -i -e '/^\(CFLAGS\|CXXFLAGS\|LDFLAGS\)[[:space:]]*=/d' Makefile.rules || die "Failed to remove (C|CXX|LD)FLAGS"
emake || die "make failed"
}

src_install() {
into /usr
dosbin daemon/automount
exeinto /usr/$(get_libdir)/autofs
doexe modules/*.so

dodoc COPYING COPYRIGHT NEWS README* TODO CHANGELOG CREDITS
cd ${S}/samples
docinto samples ; dodoc auto.misc auto.master
cd ${S}/man
sed -i 's:\/etc\/:\/etc\/autofs\/:g' *.8 *.5 *.in || die "Failed to update path in manpages"
doman auto.master.5 autofs.5 autofs.8 automount.8

insinto /etc/autofs ; doins ${FILESDIR}/auto.master
insinto /etc/autofs ; doins ${FILESDIR}/auto.misc
exeinto /etc/autofs ; doexe ${FILESDIR}/auto.net # chmod 755 is important!

newinitd ${FILESDIR}/autofs.rc11 autofs
newconfd ${FILESDIR}/autofs.confd9 autofs
if use ldap; then
cd ${S}/samples
docinto samples ; dodoc ldap* auto.master.ldap
insinto /etc/openldap/schema ; doins autofs.schema
exeinto /usr/$(get_libdir)/autofs ; doexe autofs-ldap-auto-master
fi
}

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."
elog
elog "Also the normal autofs status has been renamed stats"
elog "as there is already a predefined Gentoo status"
}

autofs-4.1.3-r8.ebuild

# 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-4.1.3-r8.ebuild,v 1.1 2008/01/24 10:09:19 stefaan Exp $

inherit eutils multilib

IUSE="ldap"
DESCRIPTION="Kernel based automounter"
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
SRC_URI_BASE="mirror://kernel/linux/daemons/${PN}/v4"
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2
${SRC_URI_BASE}/${P}-strict.patch
${SRC_URI_BASE}/${P}-mtab_lock.patch
${SRC_URI_BASE}/${P}-bad_chdir.patch
${SRC_URI_BASE}/${P}-non_block_ping.patch
${SRC_URI_BASE}/${P}-sock-leak-fix.patch
${SRC_URI_BASE}/${P}-replicated_server_select.patch
mirror://gentoo/${P}-miscfixes.patch.gz"
DEPEND="virtual/libc
ldap? ( >=net-nds/openldap-2.0 )"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"

src_unpack() {
unpack ${P}.tar.bz2
PATCH_LIST="${P}-strict.patch ${P}-mtab_lock.patch ${P}-bad_chdir.patch ${P}-non_block_ping.patch ${P}-sock-leak-fix.patch ${P}-replicated_server_select.patch ${P}-miscfixes.patch.gz"
for i in ${PATCH_LIST}; do
EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${i}
done

# Upstream version of this patch is incorrect
epatch "${FILESDIR}"/${P}-signal-race-fix.patch

cd "${S}"
autoconf || die "Autoconf failed"

cd "${S}"/daemon
sed -i 's/LIBS \= \-ldl/LIBS \= \-ldl \-lnsl \$\{LIBLDAP\}/' Makefile \
|| die "LIBLDAP change failed"

cd "${S}"/lib
sed -i '/^listmount.o:/s,$, mount.h,g' Makefile \
|| die "Failed to fix dependancies"
}

src_compile() {
local myconf
use ldap || myconf="--without-openldap"

econf ${myconf} || die
sed -i -e '/^\(CFLAGS\|CXXFLAGS\|LDFLAGS\)[[:space:]]*=/d' Makefile.rules || die "Failed to remove (C|CXX|LD)FLAGS"
# fixes segfaults on startup on amd64
use amd64 && CFLAGS="${CFLAGS} -DLDAP_DEPRECATED"
emake || die "make failed"
}

src_install() {
into /usr
dosbin daemon/automount
exeinto /usr/$(get_libdir)/autofs
doexe modules/*.so

dodoc COPYRIGHT NEWS README* TODO CHANGELOG CREDITS
cd "${S}"/samples
docinto samples ; dodoc auto.misc auto.master
cd "${S}"/man
sed -i 's:\/etc\/:\/etc\/autofs\/:g' *.8 *.5 *.in || die "Failed to update path in manpages"
doman auto.master.5 autofs.5 autofs.8 automount.8

insinto /etc/autofs ; doins "${FILESDIR}"/auto.master
insinto /etc/autofs ; doins "${FILESDIR}"/auto.misc
exeinto /etc/autofs ; doexe "${FILESDIR}"/auto.net # chmod 755 is important!

newinitd "${FILESDIR}"/autofs.rc13 autofs
newconfd "${FILESDIR}"/autofs.confd9 autofs
if use ldap; then
cd "${S}"/samples
docinto samples ; dodoc ldap* auto.master.ldap
insinto /etc/openldap/schema ; doins autofs.schema
exeinto /usr/$(get_libdir)/autofs ; doexe autofs-ldap-auto-master
fi
}

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."
elog
elog "Also the normal autofs status has been renamed stats"
elog "as there is already a predefined Gentoo status"
}

autofs-4.1.3-r9.ebuild

# 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-4.1.3-r9.ebuild,v 1.1 2008/02/05 12:37:17 stefaan Exp $

inherit eutils multilib

IUSE="ldap"
DESCRIPTION="Kernel based automounter"
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
SRC_URI_BASE="mirror://kernel/linux/daemons/${PN}/v4"
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2
${SRC_URI_BASE}/${P}-strict.patch
${SRC_URI_BASE}/${P}-mtab_lock.patch
${SRC_URI_BASE}/${P}-bad_chdir.patch
${SRC_URI_BASE}/${P}-non_block_ping.patch
${SRC_URI_BASE}/${P}-sock-leak-fix.patch
${SRC_URI_BASE}/${P}-replicated_server_select.patch
mirror://gentoo/${P}-miscfixes.patch.gz"
DEPEND="virtual/libc
ldap? ( >=net-nds/openldap-2.0 )"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"

src_unpack() {
unpack ${P}.tar.bz2
PATCH_LIST="${P}-strict.patch ${P}-mtab_lock.patch ${P}-bad_chdir.patch ${P}-non_block_ping.patch ${P}-sock-leak-fix.patch ${P}-replicated_server_select.patch ${P}-miscfixes.patch.gz"
for i in ${PATCH_LIST}; do
EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${i}
done

# Upstream version of this patch is incorrect
epatch "${FILESDIR}"/${P}-signal-race-fix.patch

cd "${S}"
autoconf || die "Autoconf failed"

cd "${S}"/daemon
sed -i 's/LIBS \= \-ldl/LIBS \= \-ldl \-lnsl \$\{LIBLDAP\}/' Makefile \
|| die "LIBLDAP change failed"

cd "${S}"/lib
sed -i '/^listmount.o:/s,$, mount.h,g' Makefile \
|| die "Failed to fix dependancies"
}

src_compile() {
local myconf
use ldap || myconf="--without-openldap"

econf ${myconf} || die
sed -i -e '/^\(CFLAGS\|CXXFLAGS\|LDFLAGS\)[[:space:]]*=/d' Makefile.rules || die "Failed to remove (C|CXX|LD)FLAGS"
# fixes segfaults on startup on amd64
use amd64 && CFLAGS="${CFLAGS} -DLDAP_DEPRECATED"
emake || die "make failed"
}

src_install() {
into /usr
dosbin daemon/automount
exeinto /usr/$(get_libdir)/autofs
doexe modules/*.so

dodoc COPYRIGHT NEWS README* TODO CHANGELOG CREDITS
cd "${S}"/samples
docinto samples ; dodoc auto.misc auto.master
cd "${S}"/man
sed -i 's:\/etc\/:\/etc\/autofs\/:g' *.8 *.5 *.in || die "Failed to update path in manpages"
doman auto.master.5 autofs.5 autofs.8 automount.8

insinto /etc/autofs ; doins "${FILESDIR}"/auto.master
insinto /etc/autofs ; doins "${FILESDIR}"/auto.misc
exeinto /etc/autofs ; doexe "${FILESDIR}"/auto.net # chmod 755 is important!

newinitd "${FILESDIR}"/autofs.rc14 autofs
newconfd "${FILESDIR}"/autofs.confd9 autofs
if use ldap; then
cd "${S}"/samples
docinto samples ; dodoc ldap* auto.master.ldap
insinto /etc/openldap/schema ; doins autofs.schema
exeinto /usr/$(get_libdir)/autofs ; doexe autofs-ldap-auto-master
fi
}

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."
elog
elog "Also the normal autofs status has been renamed stats"
elog "as there is already a predefined Gentoo status"
}

autofs-4.1.3.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-4.1.3.ebuild,v 1.7 2007/05/06 10:07:34 genone Exp $

inherit eutils

IUSE="ldap"

DESCRIPTION="Kernel based automounter"
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
SRC_URI="mirror://kernel/linux/daemons/${PN}/v4/${P}.tar.bz2"

DEPEND="ldap? ( >=net-nds/openldap-1.2 )"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ppc64 ~sparc ~x86"

src_unpack() {
unpack ${A}
# cd ${S}
# epatch ${FILESDIR}/ldap_config.patch || die "ldap patch died"

# cd ${S}/include
# epatch ${FILESDIR}/automount.diff || die "automount patch died"

cd ${S}
autoconf

cd ${S}/daemon
sed -i 's/LIBS \= \-ldl/LIBS \= \-ldl \-lnsl \$\{LIBLDAP\}/' Makefile
}

src_compile() {
local myconf
use ldap || myconf="--without-openldap"

./configure \
--host=${HOST} \
--prefix=/usr \
${myconf} || die
sed -i -e '/^\(CFLAGS\|CXXFLAGS\|LDFLAGS\)[[:space:]]*=/d' Makefile.rules
make || die "make failed"
}

src_install() {
into /usr
dosbin daemon/automount
insinto /usr/lib/autofs
insopts -m 755
doins modules/*.so

dodoc COPYING COPYRIGHT NEWS README* TODO
cd man
sed -i 's:\/etc\/:\/etc\/autofs\/:g' *.8 *.5 *.in
doman auto.master.5 autofs.5 autofs.8 automount.8

cd ../samples
dodir /etc/autofs
cp ${FILESDIR}/auto.master ${D}/etc/autofs
cp ${FILESDIR}/auto.misc ${D}/etc/autofs

exeinto /etc/init.d ; newexe ${FILESDIR}/autofs.rc8 autofs
insinto /etc/conf.d ; newins ${FILESDIR}/autofs.confd 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."
elog
elog "Also the normal autofs status has been renamed stats"
elog "as there is already a predefined Gentoo status"
}

autofs-5.0.3-r1.ebuild

# 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-r1.ebuild,v 1.2 2008/02/05 12:32:19 stefaan 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"
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2
${SRC_URI_BASE}/${P}-ldap-page-control-configure-fix.patch
${SRC_URI_BASE}/${P}-xfn-not-supported.patch
${SRC_URI_BASE}/${P}-basedn-with-spaces-fix-3.patch
${SRC_URI_BASE}/${P}-nfs4-tcp-only.patch
${SRC_URI_BASE}/${P}-correct-ldap-lib.patch"
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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"

src_unpack() {
unpack ${P}.tar.bz2
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"
for i in ${PATCH_LIST}; do
EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${i}
done

cd "${S}"
eautoconf || die "Autoconf failed"

# # use CC and CFLAGS from environment (bug #154797)
# write these values in Makefile.conf
# (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

# do not include , rather ,
# 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
}

src_compile() {
CFLAGS="${CFLAGS}" \
econf \
$(use_with ldap openldap) \
$(use_with sasl) \
--enable-ignore-busy \
|| die "configure failed"

emake || 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."
}

autofs-5.0.3-r2.ebuild

# 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-r2.ebuild,v 1.1 2008/02/18 13:42:23 stefaan 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"
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2
${SRC_URI_BASE}/${P}-ldap-page-control-configure-fix.patch
${SRC_URI_BASE}/${P}-xfn-not-supported.patch
${SRC_URI_BASE}/${P}-basedn-with-spaces-fix-3.patch
${SRC_URI_BASE}/${P}-nfs4-tcp-only.patch
${SRC_URI_BASE}/${P}-correct-ldap-lib.patch
${SRC_URI_BASE}/${P}-dont-fail-on-empty-master-fix-2.patch
${SRC_URI_BASE}/${P}-expire-works-too-hard.patch
${SRC_URI_BASE}/${P}-unlink-mount-return-fix.patch
${SRC_URI_BASE}/${P}-update-linux-auto_fs4-h.patch"
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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"

src_unpack() {
unpack ${P}.tar.bz2
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"
for i in ${PATCH_LIST}; do
EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${i}
done

cd "${S}"
eautoconf || die "Autoconf failed"

# # use CC and CFLAGS from environment (bug #154797)
# write these values in Makefile.conf
# (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

# do not include , rather ,
# 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
}

src_compile() {
CFLAGS="${CFLAGS}" \
econf \
$(use_with ldap openldap) \
$(use_with sasl) \
--enable-ignore-busy \
|| die "configure failed"

emake || 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."
}

autofs-5.0.3-r4.ebuild

# 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-r4.ebuild,v 1.2 2008/05/03 09:16:59 stefaan 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"
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2
${SRC_URI_BASE}/${P}-ldap-page-control-configure-fix.patch
${SRC_URI_BASE}/${P}-xfn-not-supported.patch
${SRC_URI_BASE}/${P}-basedn-with-spaces-fix-3.patch
${SRC_URI_BASE}/${P}-nfs4-tcp-only.patch
${SRC_URI_BASE}/${P}-correct-ldap-lib.patch
${SRC_URI_BASE}/${P}-dont-fail-on-empty-master-fix-2.patch
${SRC_URI_BASE}/${P}-expire-works-too-hard.patch
${SRC_URI_BASE}/${P}-unlink-mount-return-fix.patch
${SRC_URI_BASE}/${P}-update-linux-auto_fs4-h.patch
${SRC_URI_BASE}/${P}-expire-works-too-hard-update.patch
${SRC_URI_BASE}/${P}-expire-works-too-hard-update-2.patch
${SRC_URI_BASE}/${P}-handle-zero-length-nis-key.patch
${SRC_URI_BASE}/${PN}-5.0.2-init-cb-on-load.patch
${SRC_URI_BASE}/${P}-map-type-in-map-name.patch
${SRC_URI_BASE}/${P}-mount-thread-create-cond-handling.patch"
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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"

src_unpack() {
unpack ${P}.tar.bz2
patch "${DISTDIR}"/${P}-map-type-in-map-name.patch \
< "${FILESDIR}"/${P}-map-patch-fix.patch || die "failed to patch"
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"
for i in ${PATCH_LIST}; do
EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${i}
done

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 , rather ,
# 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."
}

autofs-5.0.3-r5.ebuild

# 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-r5.ebuild,v 1.3 2008/05/12 21:45:33 solar 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"
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2
${SRC_URI_BASE}/${P}-ldap-page-control-configure-fix.patch
${SRC_URI_BASE}/${P}-xfn-not-supported.patch
${SRC_URI_BASE}/${P}-basedn-with-spaces-fix-3.patch
${SRC_URI_BASE}/${P}-nfs4-tcp-only.patch
${SRC_URI_BASE}/${P}-correct-ldap-lib.patch
${SRC_URI_BASE}/${P}-dont-fail-on-empty-master-fix-2.patch
${SRC_URI_BASE}/${P}-expire-works-too-hard.patch
${SRC_URI_BASE}/${P}-unlink-mount-return-fix.patch
${SRC_URI_BASE}/${P}-update-linux-auto_fs4-h.patch
${SRC_URI_BASE}/${P}-expire-works-too-hard-update.patch
${SRC_URI_BASE}/${P}-expire-works-too-hard-update-2.patch
${SRC_URI_BASE}/${P}-handle-zero-length-nis-key.patch
${SRC_URI_BASE}/${PN}-5.0.2-init-cb-on-load.patch
${SRC_URI_BASE}/${P}-map-type-in-map-name.patch
${SRC_URI_BASE}/${P}-mount-thread-create-cond-handling.patch"
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
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"
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 , rather ,
# 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."
}

autofs-5.0.3-r6.ebuild

# 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 , rather ,
# 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."
}

autofs-5.0.3.ebuild

# 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.ebuild,v 1.2 2008/02/05 12:32:19 stefaan Exp $

inherit eutils multilib autotools

IUSE="ldap"
DESCRIPTION="Kernel based automounter"
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
SRC_URI_BASE="mirror://kernel/linux/daemons/${PN}/v5"
SRC_URI="${SRC_URI_BASE}/${P}.tar.bz2
${SRC_URI_BASE}/${P}-ldap-page-control-configure-fix.patch
${SRC_URI_BASE}/${P}-xfn-not-supported.patch
${SRC_URI_BASE}/${P}-basedn-with-spaces-fix-3.patch
${SRC_URI_BASE}/${P}-nfs4-tcp-only.patch
${SRC_URI_BASE}/${P}-correct-ldap-lib.patch"
DEPEND="virtual/libc
ldap? ( >=net-nds/openldap-2.0 )"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"

src_unpack() {
unpack ${P}.tar.bz2
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"
for i in ${PATCH_LIST}; do
EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${i}
done

cd "${S}"
eautoconf || die "Autoconf failed"
}

src_compile() {
econf $(use_with ldap openldap) --enable-ignore-busy || die
emake || 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."
}

files

metadata.xml




net-fs

stefaan@gentoo.org
Stefaan De Roeck