diff options
author | wiz <wiz@pkgsrc.org> | 2002-07-29 21:10:18 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-07-29 21:10:18 +0000 |
commit | a06a6642121f43482cd7ec36ee15a95d1de7e1aa (patch) | |
tree | a031039c9073b5ba8d0a2a698a5c820e357f6e0d /Packages.txt | |
parent | 67b37a3bacda8cb97c57e63a0015de84be4efa93 (diff) | |
download | pkgsrc-a06a6642121f43482cd7ec36ee15a95d1de7e1aa.tar.gz |
Add a paragraph on how to move a package in the repository.
Diffstat (limited to 'Packages.txt')
-rw-r--r-- | Packages.txt | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/Packages.txt b/Packages.txt index b407254bd9a..9390daaa499 100644 --- a/Packages.txt +++ b/Packages.txt @@ -1,4 +1,4 @@ -# $NetBSD: Packages.txt,v 1.258 2002/07/04 13:42:11 hubertf Exp $ +# $NetBSD: Packages.txt,v 1.259 2002/07/29 21:10:18 wiz Exp $ ########################################################################### ========================== @@ -2518,6 +2518,29 @@ judgement about what should go into pkgsrc, and bear in mind that stability is to be preferred above new and possibly untested features. + 11.4 Moving a Package in pkgsrc + =============================== + + 1. Make a copy of the directory somewhere else. + 2. Remove all CVS dirs. + Alternatively to the first two steps you can also do: + cvs -d user@cvs.netbsd.org:/cvsroot export -D today pkgsrc/category/package + and use that for further work. + 3. Fix CATEGORIES and any DEPENDS paths that just did ../package + instead of ../../category/package. + 4. "cvs import" the modified package in the new place. + 5. Check if any package depends on it: + cd /usr/pkgsrc + grep /package */*/Makefile* */*/buildlink* + 6. Fix paths in packages from step 5 to point to new location. + 7. "cvs rm (-f)" the package at the old location. + 8. Remove from oldcategory/Makefile. + 9. Add to newcategory/Makefile. +10. Commit the changed and removed files: + cvs commit oldcategory/package oldcategory/Makefile newcategory/Makefile + and any packages from step 5, of course. + + 12 A simple example of a package: bison ======================================= |