summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/pkg_create
AgeCommit message (Expand)Author
2007-06-04more efficient regexps: anchor stuff at both ends, be more specific inMarc Espie
2007-06-04avoid parsing libraries by hand.Marc Espie
2007-06-04some minor systematic changes.Marc Espie
2007-05-31oops, move realname up so that ::Sample sees it too.Marc Espie
2007-05-31kill REQ script directly. I'm pretty sure it doesn't quite work anyways.Marc Espie
2007-05-30use set_pkgnameMarc Espie
2007-05-29slightly more descriptive names.Marc Espie
2007-05-29in checksum creation, allow $base to be undef.Marc Espie
2007-05-29use the infodir property of packing-lists and specialfiles instead ofMarc Espie
2007-05-28oops, can't copy CONTENTS twiceMarc Espie
2007-05-28always create packing-lists with a `contents' entry.Marc Espie
2007-05-25move the mode checker code from pkg_create into ArcCheck, so that pkg_addMarc Espie
2007-05-22remove duplicate -M entry from set_usage(); ok espieJason McIntyre
2007-05-22remove -h from set_usage();Jason McIntyre
2007-05-22finish removing unused -h optionMarc Espie
2007-05-15make sure to give all special files to root/wheel, and strip them of writeMarc Espie
2007-05-12strip extra quotes from all defines.Marc Espie
2007-05-07zap old unused codeMarc Espie
2007-05-06let pkg_create generate the correct description if the HOMEPAGE is empty.Marc Espie
2007-05-05set up new way to define COMMENTS, to be able to remove some stuff fromMarc Espie
2007-05-05ditch extra param to copy_subst, now that it's constant.Marc Espie
2007-05-05use copy_subst_fhMarc Espie
2007-05-05reorg tests to simplify logicMarc Espie
2007-05-05split copy_subst to allow for existing filehandle.Marc Espie
2007-05-04move some checks after -q/-Q so that plists can still be printed.Marc Espie
2007-05-03Simplify code to handle fragments by using real objects.Marc Espie
2007-05-03fix creation of packing-list for package regenerationMarc Espie
2007-05-03move the fragments reading code to its own routine.Marc Espie
2007-05-02remove extraneous () in method call: $o->method() becomes $o->methodMarc Espie
2007-05-01kill old constructs that have been deprecated since 2004.Marc Espie
2007-04-30don't bother trying to substitute if there's no $ in the string.Marc Espie
2007-04-30simplify regen mode logic: if we don't add anything to the packing-list,Marc Espie
2007-04-30make creation of special files more obvious.Marc Espie
2007-04-30All options that add special files follow the same pattern, so reuse theMarc Espie
2007-04-30Fix prepare_for_archival().Bernd Ahlers
2007-04-30special mode `pretend_to_archive' for -n, which does most things exceptMarc Espie
2007-04-30archive special files exactly like we archive normal files. This providesMarc Espie
2007-04-30split preparation and check into prepare_item.Marc Espie
2007-04-30unsimplify checksum creation, fix @link markers.Marc Espie
2007-04-30allow pkg_create to regen on a dirname, supply +CONTENTS automaticallyMarc Espie
2007-04-30reorg main code to separate regeneration case better.Marc Espie
2007-04-30add items based on options, not on file existence.Marc Espie
2007-04-30fold checksumming code for special files. As a bonus, we now check md5Marc Espie
2007-04-30slight code reorg, no changes.Marc Espie
2007-04-30use more descriptive name (dir -> infodir) and pass it along to checksummingMarc Espie
2007-04-30move checksumming capabilities into base classMarc Espie
2007-04-30tweak args to compute_checksum slightly, pass it the explicit file nameMarc Espie
2007-04-30stop looking at plist's internals during makesum, simply copy the objectsMarc Espie
2007-04-30add most things concerning @ignore, since we now have ways nicer to doMarc Espie
2007-04-29verify_checksum can be used as a normal visitorMarc Espie