From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j4HEARFS000634 for ; Tue, 17 May 2005 14:10:28 GMT Received: from [72.9.236.50] (helo=sls-ce5p321.hostitnow.com) by smtp.gentoo.org with esmtp (Exim 4.43) id 1DY2mH-0002ga-Jn for gentoo-dev@lists.gentoo.org; Tue, 17 May 2005 14:10:33 +0000 Received: from c-67-181-38-200.hsd1.ca.comcast.net ([67.181.38.200] helo=[192.168.0.106]) by sls-ce5p321.hostitnow.com with esmtpa (Exim 4.50) id 1DY2mC-0003AH-5F for gentoo-dev@gentoo.org; Tue, 17 May 2005 09:10:28 -0500 Message-ID: <4289FB63.8080205@gentoo.org> Date: Tue, 17 May 2005 23:10:43 +0900 From: Chris White User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en, ja Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] More bashrc usage X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sls-ce5p321.hostitnow.com X-AntiAbuse: Original Domain - gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gentoo.org X-Source: X-Source-Args: X-Source-Dir: X-Archives-Salt: 007dd701-39f9-4ef6-a112-7804ad9b29fd X-Archives-Hash: 62bc4905caec96df404772c41f76640b -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 While I was waiting for a package to compile, I worked on a new bashrc some. You can get the bashrc file from here: http://dev.gentoo.org/~chriswhite/bashrc to which you can stick it in /etc/portage/ if you want to use it. two main things it includes are pathchk and whatis FEATURES. Pathchk is used to check for POSIX compatibility in file naming. This can be helpful when trying to see how POSIX compatible your packages are. This includes (taken from info page): 1. one of the existing directories in NAME does not have search (execute) permission, 2. the length of NAME is larger than its filesystem's maximum file name length, 3. the length of one component of NAME, corresponding to an existing directory name, is larger than its filesystem's maximum length for a file name component. I really hope #1 doesn't come up on your package.. because that would really not be a Good Thing(tm) #2 and #3 is probably what you're after. Note that this program seems to be pretty strict (14 characters max filenames to work on ALL POSIX systems). The bashrc file simply recurses the source directory, pathchk-ing every file and putting the results in ${PATHCHECK_LOG_DIR}/pathcheck.log (which is set to /var/log/pathcheck by defualt). the whatis FEATURE will update the whatis database when you're done installing a package. This is helpful for keeping it up to date. If you haven't updated the whatis database in awhile, it could take a _long_time_. After that it's not really that bad and shouldn't take but a minute or so (depends on system) to get the update finished. This is something I slapped together late at night, so don't expect the world, cause I'm not going to give it to you (...yet /me takes out world domination plans). Chris White -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFCiftjFdQwWVoAgN4RAvbgAJ9nF/amQlbrkofAVXUthK0Pc4FA0QCgow96 UBnzr7L7uUYVGw7TthJBuFU= =mkR3 -----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list