Commit Graph

168 Commits

Author SHA1 Message Date
espie
8c9d39a306 cheat a bit when registering comments... 2008-12-30 13:28:20 +00:00
espie
3a751a74cc have to forego copying directories in the haystack case as well
as noticed by ajacoutot@
2008-12-27 12:44:02 +00:00
espie
7959381d53 do more subtle things with \n, since makeinfo can format the tag line in about
any way that makes sense for it.
2008-12-27 09:16:43 +00:00
sthen
fe512b89ac We already warn about some arch-dependent files found in the
PLIST; add a few more architectures to this check, notably amd64
(including x86-64 and x86_64 often found in autoconf-based software).
Arch with short names less common as a primary ports developer
platform are deliberately not included to avoid bogus warnings.

ok espie@
2008-11-17 11:20:44 +00:00
espie
e1023039c9 perl extra stuff that's arch dependent and version dependent, should not
appear in diagnostics.
2008-11-01 14:49:51 +00:00
espie
f9c152cd42 okay, directories are not 100% yet... 2008-10-30 22:34:06 +00:00
espie
08ed051132 fix the reversesubst bug. In retrospect, it's obvious...
add a few print's for large ports where you wait forever...
2008-10-30 22:00:58 +00:00
espie
8635ef162c if item does not exist, don't check whether it's a shell. 2008-10-30 17:52:56 +00:00
espie
cdc0b08d42 shorter message 2008-10-30 16:35:31 +00:00
espie
3f7613a275 don't annotate stuff with @owner root unless there are mode thingies around. 2008-10-30 16:19:23 +00:00
espie
cc5ae1ec74 write out simpler packing list filenames all the time 2008-10-30 16:02:14 +00:00
espie
c7a54bd5f9 move stuff around 2008-10-30 15:54:23 +00:00
espie
fe2c0626b1 okay, just make sure the short name is / terminated, so we back-subst as much as we can in comments as well. 2008-10-30 15:38:09 +00:00
espie
75b4e00b20 use stringize to keep comments as they are... 2008-10-30 15:35:51 +00:00
espie
8ba18ac256 restore newauth stuff to working status 2008-10-30 15:28:29 +00:00
espie
2e6362364c slight refactor. might be able to move @exec to end of directories when
needed eventually...
2008-10-30 13:49:11 +00:00
espie
ea071e4e85 try to put comments more or less where they belong 2008-10-30 13:39:22 +00:00
espie
33f7e414f7 start doing sensible stuff with sampledir 2008-10-30 13:10:59 +00:00
espie
23f6056807 fuzzy matching for @exec stuff 2008-10-30 12:55:21 +00:00
espie
1dbe68ce21 clean-up some more 2008-10-30 12:21:30 +00:00
espie
53167b4f73 standardized error messages 2008-10-30 11:44:43 +00:00
espie
4ffd43c84c copy things later: first pass just finds existing things in the plist,
then we try to register extra shit to the `nearest' item, and then we
populate the new plist.

also integrate shell marker fix from okan@ (forgot about that)
2008-10-30 11:12:25 +00:00
espie
3cba2503ae comment no longer applies. Yeah!
okay chantal goya@
2008-10-30 10:51:14 +00:00
espie
dbf937cb2d rearrange things so that stuff to copy over can be dealt with after we know
what's still around.
2008-10-30 10:50:36 +00:00
espie
7e9919aaf4 make things obvious: if your pkg_add is not up-to-date, this doesn't work. 2008-10-29 15:42:41 +00:00
espie
adb07d8b6f this can happen, and it's perfectly sensible in fact 2008-10-29 11:26:02 +00:00
espie
24f7bfbb3e use lstat so it always return something even if the link points nowhere
(we don't care about the destination owner anyways)
2008-10-29 00:22:56 +00:00
espie
b2162c8751 do a much better job at handling owners and groups 2008-10-28 14:32:08 +00:00
espie
ecccb89c45 do a visitor to copy basic annotations (to be rearranged at some point) 2008-10-28 13:29:01 +00:00
espie
00018f7d81 people with complex multi-packages are going to love this: try to figure
out where to put new stuff based on existing directories.
2008-10-28 13:01:05 +00:00
espie
1181a04df0 oops again 2008-10-28 12:32:39 +00:00
espie
d7052d3837 refactor code a bit 2008-10-28 12:28:50 +00:00
espie
57273c051a oops. 2008-10-28 12:07:23 +00:00
espie
86fc36109c instead of the old mess, create a haystack hash with every full file name,
so that we can match directly against the file system.
Also keep a list for each element, which allows us to multi-match when
needed... For instance fvwm2 is now happy with this.
2008-10-28 11:59:12 +00:00
espie
07bd3b52fe small tweaks 2008-10-27 21:00:11 +00:00
bernd
65dd5daf1a unbreak 2008-10-27 16:53:13 +00:00
espie
d369ce8e34 endfake no more 2008-10-27 13:25:35 +00:00
espie
c31a347ab1 zap the end_fake for now, it's confusing issues... 2008-10-27 12:18:40 +00:00
espie
08790e6f9b DYNLIBDIR died ages ago 2008-10-27 11:28:12 +00:00
espie
81f915855f zap very old code that was used to remove @exec mkdir and @exec install-info 2008-10-27 11:19:57 +00:00
espie
a223161d21 turn the stuff we read from the FS into actual objects 2008-10-27 11:12:01 +00:00
espie
4374ceee96 move parts of make-plist into a separate module to try to clean up the
mess a bit...
2008-10-27 10:33:46 +00:00
espie
646dba29d0 useless comment ;) 2008-10-26 16:24:22 +00:00
espie
1c7c0e6f80 zap local $_ 2008-10-26 16:02:06 +00:00
espie
fb5fbd2ffc new perl can't read from unopened dir (autovivified handle) 2008-10-02 18:06:37 +00:00
espie
5757a044de don't try to resolve links for binaries, it actually makes little sense.
suggestion from mike erdely and others.
2008-06-18 12:11:01 +00:00
bernd
960b2df8de Only annotate OpenBSD binaries with @bin.
ok espie@
2008-06-12 09:06:52 +00:00
espie
db2d9f0cab detect executables in a crude way and tag them. 2008-06-06 15:03:30 +00:00
espie
8edebb7ece fix bug introduced during rewrite: do not try to backsubst stuff inside the
library version number.
2008-05-21 10:07:14 +00:00
espie
d795e04cf6 if I want to make the path part of the regexp, I need to use ? to make
sure it matches correctly...
2008-04-13 09:46:19 +00:00