1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
While I was waiting for a package to compile, I worked on a new bashrc |
5 |
some. You can get the bashrc file from here: |
6 |
|
7 |
http://dev.gentoo.org/~chriswhite/bashrc |
8 |
|
9 |
to which you can stick it in /etc/portage/ if you want to use it. |
10 |
|
11 |
two main things it includes are pathchk and whatis FEATURES. Pathchk is |
12 |
used to check for POSIX compatibility in file naming. This can be |
13 |
helpful when trying to see how POSIX compatible your packages are. This |
14 |
includes (taken from info page): |
15 |
|
16 |
1. one of the existing directories in NAME does not have search |
17 |
(execute) permission, |
18 |
|
19 |
2. the length of NAME is larger than its filesystem's maximum file |
20 |
name length, |
21 |
|
22 |
3. the length of one component of NAME, corresponding to an existing |
23 |
directory name, is larger than its filesystem's maximum length for |
24 |
a file name component. |
25 |
|
26 |
I really hope #1 doesn't come up on your package.. because that would |
27 |
really not be a Good Thing(tm) #2 and #3 is probably what you're after. |
28 |
Note that this program seems to be pretty strict (14 characters max |
29 |
filenames to work on ALL POSIX systems). The bashrc file simply |
30 |
recurses the source directory, pathchk-ing every file and putting the |
31 |
results in ${PATHCHECK_LOG_DIR}/pathcheck.log (which is set to |
32 |
/var/log/pathcheck by defualt). |
33 |
|
34 |
the whatis FEATURE will update the whatis database when you're done |
35 |
installing a package. This is helpful for keeping it up to date. If |
36 |
you haven't updated the whatis database in awhile, it could take a |
37 |
_long_time_. After that it's not really that bad and shouldn't take but |
38 |
a minute or so (depends on system) to get the update finished. |
39 |
|
40 |
This is something I slapped together late at night, so don't expect the |
41 |
world, cause I'm not going to give it to you (...yet /me takes out world |
42 |
domination plans). |
43 |
|
44 |
Chris White |
45 |
-----BEGIN PGP SIGNATURE----- |
46 |
Version: GnuPG v1.4.0 (GNU/Linux) |
47 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
48 |
|
49 |
iD8DBQFCiftjFdQwWVoAgN4RAvbgAJ9nF/amQlbrkofAVXUthK0Pc4FA0QCgow96 |
50 |
UBnzr7L7uUYVGw7TthJBuFU= |
51 |
=mkR3 |
52 |
-----END PGP SIGNATURE----- |
53 |
-- |
54 |
gentoo-dev@g.o mailing list |