Commit Graph

  • de2bd7d63b - Support 'dir' command in pkgdef - New metainstalldir for when topdir needs to be / (like prngd, openssh) - Allow make install to be skipped in generic_install Tom G. Christensen 2004-07-26 18:40:12 +00:00
  • 9994bcd1e5 Add shortdesc. Correct an oversight (sw.eoe->sw.base) from the last commit. Tom G. Christensen 2004-07-21 20:21:16 +00:00
  • f65dca19aa Forgot one mkdir->$MKDIR during the last cleanup. Made the $SED substitution a bit more readable. Tom G. Christensen 2004-07-21 20:20:07 +00:00
  • b9c7b5c0ee Fix check_unpackaged. We didn't really need that CMP since all the work was being done with cat | sort | uniq -u anyway. Tom G. Christensen 2004-07-21 20:18:15 +00:00
  • e13ebe8b9f Add shortdesc functionality. This is a short text that is appended to the product ID string. Tom G. Christensen 2004-07-21 20:17:33 +00:00
  • 59657a656e We don't need CMP anymore. Native Irix ln doesn't know about -n Tom G. Christensen 2004-07-21 20:10:55 +00:00
  • 410760a6d3 Introduce a new format for the automatically generated version field. By extending it to a mandatory 8 digits and padding it with zeroes on the right side it should be possible to avoid problems with version numbers changing format. This means 1.19.5->1.20 should be handled correctly now. Tom G. Christensen 2004-07-19 20:38:22 +00:00
  • 08d497ad37 New subsystem names *again* and a new subsys.conf keyword. It's now possible to designate install status, either default or nodefault on each subsystem in subsys.conf The pkgdef template was updated to reflect the changes in subsys.conf Tom G. Christensen 2004-07-19 20:26:31 +00:00
  • 87ae9aa1ff We don't need DIFF anymore. Added new LN and PRINTF commands. Replaced ln with $LN Avoid namespace pollution in fix_man() by declaring all internal variables local. Tom G. Christensen 2004-07-19 20:25:47 +00:00
  • b2d56995a0 Great, native expr blows up if = is unqouted, gnu expr doesn't care. Use -ne instead of ! -eq while we're at it. Tom G. Christensen 2004-07-15 16:27:35 +00:00
  • a6559259a0 Fix adding of patches to opt.src Add spec & idb files to a opt.dist subsystem Tom G. Christensen 2004-07-15 13:51:58 +00:00
  • 46d02dd6db New subsystems means a new image aswell Tom G. Christensen 2004-07-15 12:44:43 +00:00
  • 1e6993bca5 New subsystem conventions Tom G. Christensen 2004-07-15 12:43:37 +00:00
  • ec325c188b Redefine the meaning of the topdir variable. From now on pkgdir will be used to designate the toplevel dir of the pkg under $BUILDPKG_BASE Tom G. Christensen 2004-07-15 12:42:31 +00:00
  • 0a32c3529f Also install a copy of the pkgdef template when creating a new sandbox on irix. Tom G. Christensen 2004-07-14 14:32:45 +00:00
  • 2ff1b5e084 Split strip function into system specific subfunctions. Tom G. Christensen 2004-07-14 14:28:41 +00:00
  • 5def702b56 Make the output from the unpackaged files check much more readable. Tom G. Christensen 2004-07-14 10:08:11 +00:00
  • 0958686fd0 Bring Irix into line with the latest changes Now Irix also uses pkgdef and checks for unpackaged files in the stagedir. subsys.conf will only contain descriptions like image.conf Tom G. Christensen 2004-07-14 10:07:18 +00:00
  • 6ca155d0c4 Small fix for strip function. It may or may not work on Irix. It depends on what /usr/bin/file returns on Irix. Tom G. Christensen 2004-06-02 07:58:42 +00:00
  • de840b7038 One more attempt at fixing the parse_def logic. New defaults needed by the enhanced strip function Tom G. Christensen 2004-05-26 15:37:05 +00:00
  • 3faeac8b79 Made the strip function more intelligent by ripping the brp-strip-* scripts from RPM. Tom G. Christensen 2004-05-26 15:35:29 +00:00
  • c6b27e50fe Make doc function handle parameters with wildcards in them. Using tar the way it's currently done is kinda ugly... Fix _docdir default location to $prefix/share/doc instead of $prefix/doc Tom G. Christensen 2004-05-26 09:27:06 +00:00
  • 152a6acd21 Fix a very subtle gotcha in the pkgdef definition. If the last (or only) section in a pkgdef file didn't end with a blank line then the 'section end' actions wouldn't be performed. The 'section end' marker is still a *single* blank line and if there are multiple sections in a pkgdef they *must* be seperated by such a line. Tom G. Christensen 2004-05-14 09:33:16 +00:00
  • 6d88b4bd9e Make check_unpackaged list the diff so one can actually see what's missing :) Tom G. Christensen 2004-04-16 11:41:13 +00:00
  • 938abe7cd9 Missing $_<dir> helper var Tom G. Christensen 2004-04-16 10:39:10 +00:00
  • 9409cc9282 Add a template for the pkgdef file and make sure newpkg places a copy in the new metadir Tom G. Christensen 2004-04-15 08:51:49 +00:00
  • d15a078371 Add helper functions to extract PKG and PSTAMP from pkginfo files Fix list_pkgs so it actually works the way it was intended Fix make_pkg to use the fixed list_pkgs Remove old prototype function and PKGPROTO helper var Add 'depend' support to add_scripts Bash 2.03 needs (()) expansion in quotes in parse_def to avoid a syntax error Use $AWK instead of awk Tom G. Christensen 2004-04-15 08:40:46 +00:00
  • 552b58c24a Handle multiple packages correctly in clean meta Tom G. Christensen 2004-04-15 08:22:21 +00:00
  • 5812871885 Make default ./configure args configurable. Add another command Tom G. Christensen 2004-04-11 20:46:22 +00:00
  • 96e4251e89 Make default ./configure args configurable With this commit we implicitly enable NLS Enable full wildcard usage in subsys.conf Currently unpackaged_file detection is missing and perhaps the subsys.conf syntax should be scrapped in favor of the solaris style pkgdef since there are many similarities. Tom G. Christensen 2004-04-11 20:39:17 +00:00
  • e18d3046fe Setup build.sh to be executable with a suitable bash Tom G. Christensen 2004-04-11 20:31:53 +00:00
  • 96dd8f0a90 Add an _os variable than can be used for conditionals in build.sh scripts Tom G. Christensen 2004-04-11 13:02:11 +00:00
  • 6fd05c7a42 Major new functionality: - RPM style filelists - RPM style unpackaged files detection - Easy creation of multiple packages from one sourcetree Tom G. Christensen 2004-04-08 14:23:34 +00:00
  • 1419d92967 compute_octal from buildpkg.packaging.irix was moved here Extra helper progs and variables needed to support the new functionality in buildpkg.packaging.solaris was added. Note that some stuff now has a _ prefix. This is just the beginning of a major namespace cleanup. Tom G. Christensen 2004-04-08 14:12:10 +00:00
  • 9c6c2ac24d compute_octal has been moved to buildpkg.functions Tom G. Christensen 2004-04-08 14:09:12 +00:00
  • 451501c423 *** empty log message *** Tom G. Christensen 2004-03-23 14:14:41 +00:00
  • 4db33ad718 Add a doc function to automate the copying of docs from srcdir to a predefined location. Add shortroot modifier variable to replace passing the shortroot argument to generic_pack. Tom G. Christensen 2004-03-13 12:51:57 +00:00
  • 56201570f9 Two more helpers In the next major revision all helpers should probably be updated to use _ prefix to they don't conflict with configure etc. Tom G. Christensen 2004-01-29 13:53:08 +00:00
  • 612166ff54 pkginfo.in is global so don't automatically copy it to $metadir of new package Tom G. Christensen 2004-01-26 13:27:04 +00:00
  • bcfb081765 Brown paperbag time (spelt my name wrong in the pkginfo.in file :() To combat this I've finally done the sensible thing and made the pkginfo.in template in the scripts directory the default pkginfo file. Tom G. Christensen 2004-01-12 10:14:10 +00:00
  • 8628db71e0 Make sure that only the hostname part is used when sourcing configfiles Tom G. Christensen 2004-01-02 20:25:44 +00:00
  • d2947215a2 The specfile syntax for multiple prereqs are not so simple as I first assumed. This new code will correctly create a prereq with multiple conditions. Tom G. Christensen 2003-12-30 22:23:18 +00:00
  • 079ed3c2c7 Added a few more generic entries Tom G. Christensen 2003-12-29 16:50:35 +00:00
  • c415821025 fix_man now properly handles manpages with embedded spaces in the name Symlinks are now retargetet. manpage RM moved to be pr. manpage, this fixes the race? condition I was seeing on Irix 5.3 with GNU rm. Tom G. Christensen 2003-12-29 16:49:49 +00:00
  • d9cbdd0ca9 Handle filenames with embedded spaces Tom G. Christensen 2003-12-29 16:45:52 +00:00
  • a0a12ecd2c Irix 5.3 took exception to rm -rf'ing the directory directly This seems to work around it. Tom G. Christensen 2003-12-24 11:31:39 +00:00
  • df172ec972 Make it easier to redefine distfile by not declaring it until after host specific configuration has been sourced Tom G. Christensen 2003-12-24 11:11:54 +00:00
  • 72cdd16821 Fixed newpkg to use BUILDPKG_BASE env Add several new default patterns to subsys.conf Tom G. Christensen 2003-12-24 11:09:06 +00:00
  • 7c9f797bc4 Source a host specific configfile to ease the pains of differing tool paths etc. Tom G. Christensen 2003-12-06 16:38:59 +00:00
  • f9a1b91686 Avoid errors when optional meta files are not present Fix a stupid bug in 'auto' dependency generator. I forgot to add .sw.devel to the $pkgname making the prereq illegal (and causing gendist to core) Tom G. Christensen 2003-12-06 16:03:02 +00:00
  • 483de5e1ea The man image contains more than manpages so Documentation is a more appropriate ID Tom G. Christensen 2003-12-06 14:56:17 +00:00
  • 432baeee55 A major overhaul. New functionality added: - 'hide' meta file to list files that should be 'nohist' in the IDB - 'ops' meta file to list files and associated ops - 'depends' meta file to list prereqs for the specfile. Tom G. Christensen 2003-12-06 14:55:30 +00:00
  • 39348b938d Only create manpages if a man dir is present Tom G. Christensen 2003-10-11 16:10:53 +00:00
  • c4f462c7ba Add a var to control whether to look for a meta/depend file or not Tom G. Christensen 2003-09-12 11:07:07 +00:00
  • 1d65a34609 Added a var to control symbol stripping during the installstage Changed default dir for new packages to distfiles/beta Tom G. Christensen 2003-09-12 11:06:27 +00:00
  • 5acdf80b84 Added fix_man. A function to create preformatted manpages from the raw ones Tom G. Christensen 2003-08-03 20:20:44 +00:00
  • 7bc6737b64 Use the new fix_man function on Irix pr. default It's controlled by the catman variable so it can be turned of if necessary Tom G. Christensen 2003-08-03 20:19:26 +00:00
  • a1980fc242 Updated to use an environmentvar (BUILDPKG_BASE) to locate the buildpkg root Tom G. Christensen 2003-07-29 19:25:49 +00:00
  • abb51c4da3 Added another regex to the version number munging in fix_ver Rearranged the internals of generic_pack so it will actually do the right thing with 'shortroot' (oops :)) Tom G. Christensen 2003-07-25 20:01:47 +00:00
  • 66ef930daa Configuration files for the Irix packaging support Tom G. Christensen 2003-07-25 18:08:45 +00:00
  • 3f5d7d0482 Fix a bug concerning the handling of symlinks in the idb file Tom G. Christensen 2003-07-25 17:51:07 +00:00
  • aae87e44a6 The slimmed down version with all the packaging specfic parts pulled out. This is slated to become buildpkg-1_5_0 once it's gotten some testing. Tom G. Christensen 2003-07-25 15:53:59 +00:00
  • 9e870ace11 A big reorganization which splits out the packaging specfic parts of the script. The existing solaris/sysv support was split into it's own file Support for Irix 'inst' packages was added. This is working but I'm not completely sure that the .tardist format is generated correctly. Tom G. Christensen 2003-07-25 15:50:55 +00:00
  • 2c6a932f12 Change default parameters for ./configure Tom G. Christensen 2003-07-25 15:35:49 +00:00
  • 641026ae54 Add an extra var to control patchfile location. This was a must after packing vim. Vim provides updates to major release through source patches, we don't want those in src/ since we didn't create them. With patchdir we can easily control where patches should be located. Made clean() tell what it does. Tom G. Christensen 2003-07-10 09:07:10 +00:00
  • 8f8403eebb Added a function to add file entries to a prototype file - for now it's unused Added the extra substitutions in the pkginfo file to pack_info also made sure all the necessary variables are defined with a legal value. Tom G. Christensen 2003-07-08 10:48:03 +00:00
  • ccbc7a4ff1 Added a distclean method Tom G. Christensen 2003-07-08 10:43:42 +00:00
  • aa096141c0 Made the value of a few more keywords configurable from within the build script Tom G. Christensen 2003-07-08 10:43:25 +00:00
  • 9c9bf362c0 Copy the pkginfo template to the sandbox aswell Tom G. Christensen 2003-07-07 14:09:41 +00:00
  • 4e95126a88 Added a pkginfo template the EMAIL variable should be edited to fit the user of the buildtree Tom G. Christensen 2003-07-07 14:09:19 +00:00
  • be04489231 Doh! Too much cut'n'paste will do that :) Tom G. Christensen 2003-07-07 13:45:13 +00:00
  • 8a2bd4a614 Misc fixes and a few additional features added Moved all helper functions in front of the generic ones Tom G. Christensen 2003-07-07 13:44:19 +00:00
  • df081b7907 A few small changes Tom G. Christensen 2003-07-07 13:40:13 +00:00
  • 2a3230e81a Simple helper script to properly populate a sandbox for a new package Tom G. Christensen 2003-07-07 13:20:08 +00:00
  • 2bb36fd0ab A generic build script that can be used as a template for new packages Tom G. Christensen 2003-07-07 13:19:23 +00:00
  • 330098fd82 The first incarnation is now more or less done. It's been tested with libao and it works correctly. Tom G. Christensen 2003-07-07 11:19:32 +00:00
  • 074971bbbc Things are coming along nicely I've added more helper functions to make it easier to override the functionality of the generic_* functions. Breaking them down into smaller functions should make it easier to just replace a part of them in the pr. package script. Tom G. Christensen 2003-07-02 08:22:56 +00:00
  • cff842efd5 generic_prep seems to be working now patch and unpack functions have not been thoroughly tested though :) Tom G. Christensen 2003-06-30 14:20:19 +00:00
  • a7a7168953 My own package build system :) Tom G. Christensen 2003-06-30 09:47:31 +00:00