Commit Graph

  • 5ded564107 Add auto_dir function which will automatically add missing dir entries to the prototype file. Tom G. Christensen 2008-04-18 12:17:29 +00:00
  • 8ab0c3b7c9 Add default_docs keyword as a shortcut to docs installed with doc or docs_for functions. Tom G. Christensen 2008-04-18 11:01:33 +00:00
  • 123e3ae66f Remove blank lines when parsing depends for relnotes Tom G. Christensen 2008-04-18 09:18:11 +00:00
  • fdb938e48b Revert using pkgdesc|shortdesc in NAME. NAME should interpret the condensed name in PKG. pkgdesc|shortdesc describes what the package does and that belongs in DESC. Tom G. Christensen 2008-04-18 09:02:16 +00:00
  • f1c912031f Use curly braces to seperate variables Tom G. Christensen 2008-04-18 08:22:49 +00:00
  • 5f28041b5f Add docs_for function that will take a secname as param so we can add docs to a specific subpackage in its own dir. Tom G. Christensen 2008-04-17 19:27:16 +00:00
  • 7510588256 The std. now suggests that man and info dirs should be under share. Only add one set of relnotes to each package. Tom G. Christensen 2008-04-17 19:14:55 +00:00
  • 5892861537 Make sums file be generated with secname suffix to avoid having to reset between subpackages. Tom G. Christensen 2008-04-17 18:43:29 +00:00
  • a147240e96 Use the irix relnotes templates also for solaris Tom G. Christensen 2008-04-17 13:11:26 +00:00
  • ec29ff9f0b Create relnotes for all sections in pkgdef Correctly remove version lines from the depend file when extracting deps for the relnotes file Correctly match on packagenames when finding deps in the shared depend file Tom G. Christensen 2008-04-12 14:48:05 +00:00
  • b14f4dfac2 Add relnotes facility Tom G. Christensen 2008-04-12 13:43:47 +00:00
  • 846fd7d60a Add support for compver files Tom G. Christensen 2008-04-12 11:01:27 +00:00
  • 0952290956 iauto_deps v2. Tom G. Christensen 2008-04-05 19:55:58 +00:00
  • bb2413eda9 Add generic_check function and add new default check target to build.sh. Tom G. Christensen 2008-04-05 09:54:30 +00:00
  • 1603b4dd44 Revert this change: Reset package variables between sections to avoid any spill over Tom G. Christensen 2008-03-28 21:25:45 +00:00
  • ff8d8ab8ee Don't unset pkgver as it's usually only defined once in build.sh Tom G. Christensen 2008-03-25 16:23:54 +00:00
  • c06bf89a46 auto_deps needs ldd Tom G. Christensen 2008-03-25 15:48:42 +00:00
  • 95125067f6 Reset package variables between sections to avoid any spill over Tom G. Christensen 2008-03-25 14:52:32 +00:00
  • ac054594dc Enforce length limits on PKG and NAME fields in pkginfo Tom G. Christensen 2008-03-25 14:41:08 +00:00
  • 951d5ac6de Make it possible to override configure by defining __configure Tom G. Christensen 2008-03-25 14:25:59 +00:00
  • b77881b345 Add auto_deps feature. Tom G. Christensen 2008-03-25 14:16:01 +00:00
  • 4cc084570f Also substitute arch in the pkginfo template. Tom G. Christensen 2008-03-15 18:49:33 +00:00
  • 41f5645189 Redefine NAME to be a shortname + description. This means the dedicated DESC field is removed and pkgdesc/shortdesc is added to NAME instead. Tom G. Christensen 2008-03-09 15:51:32 +00:00
  • f38be83b81 Don't hardcode name of packager in pkginfo.in Add default configure args Tom G. Christensen 2008-03-09 10:57:29 +00:00
  • 0f8e3a0c89 Add support for specifying MAXINST in the pkgdef file. Defaults to 1. Tom G. Christensen 2008-03-09 10:31:58 +00:00
  • c1242c5ed7 Slight change to naming Use defined EXPR tool instead of what's in the path Recognize shortdesc as a substitute for pkgdesc (easier copy paste with irix packages) Add email to the fields updated in pkginfo Tom G. Christensen 2008-02-09 12:39:58 +00:00
  • ae1323e9a1 Don't hardcode the EMAIL field Tom G. Christensen 2008-02-09 12:38:09 +00:00
  • bebed60522 When building with sgi cc and gnu g++ both will now be added to relnotes. Tom G. Christensen 2008-01-27 19:45:13 +00:00
  • 18e4478dd4 If mipspro!=0 then automatically determine if cc -version will work. This avoids lots of if/then in the build.sh scripts. Tom G. Christensen 2008-01-19 10:48:04 +00:00
  • a145b275a6 Add support for the 'updates' keyword in the specfile. Remove two command variables. They should be either in buildpkg.functions or buildpkg.tools. Tom G. Christensen 2008-01-18 21:51:06 +00:00
  • 1811e7f0ec On Irix 5.3 /bin/tr fails to work correctly. To avoid depending on gnu tr we use a simple shell loop instead. Tom G. Christensen 2008-01-18 09:59:49 +00:00
  • 7c3c18e37c Don't recurse when using add_dir. Tom G. Christensen 2008-01-18 09:17:03 +00:00
  • 48a08220e2 Add new __ prefixed tool namespace Tom G. Christensen 2007-09-20 10:31:08 +00:00
  • 4460536042 Add o32 and more n64 subsystems Tom G. Christensen 2007-07-28 14:39:51 +00:00
  • 643fada6f1 Fix variable pollution when adding ops to files. Tom G. Christensen 2007-01-07 20:36:07 +00:00
  • 496eb335d5 Add support for "replaces" keyword in the specfile Via a new replaces meta file it's now possible to specify that a subsystem replaces another. Syntax is: subsystem replaces version Tom G. Christensen 2007-01-05 19:32:23 +00:00
  • 280a4995ae Update the default configure args Tom G. Christensen 2006-12-01 19:52:18 +00:00
  • f5e5e26d49 Add support for pack(1)ed manpages on Irix 5.3 Tom G. Christensen 2006-09-09 13:39:20 +00:00
  • e4f54906b1 Only add packages with $pkgprefix as dependencies Tom G. Christensen 2006-09-03 14:47:56 +00:00
  • 32e64eda0e Added sw64 image and sw64.lib subsystems to image.conf and subsys.conf This needed a slight fix in the matching function. Tom G. Christensen 2006-07-01 18:29:38 +00:00
  • 83fa1c28f0 Make the default patch prefix configurable. Tom G. Christensen 2006-07-01 18:27:19 +00:00
  • b40dd27f70 Irix packages now live in /usr/tgcware Tom G. Christensen 2006-06-11 09:48:09 +00:00
  • 1919360026 Allow both specattrs like hide and ops from metadir/ops on a file. Perform variable expansion on files entries in pkgde. Tom G. Christensen 2006-06-11 09:47:37 +00:00
  • b28cc5d0eb Correct the extraction of the .so link target when symlinking manpages Tom G. Christensen 2006-06-11 09:45:24 +00:00
  • 584d7de232 Add function to convert .so style manpage linking to symlinks Tom G. Christensen 2006-04-15 12:12:16 +00:00
  • 709fb7bc04 Gracefully handle if $metadir/sums is missing Tom G. Christensen 2006-04-10 14:19:05 +00:00
  • 70f85ffe32 New functions to aid in the building of perl module packages Tom G. Christensen 2006-04-10 14:18:00 +00:00
  • 87f332f2a9 More topinstalldir trouble. This fixes it for now but it needs a rethink Tom G. Christensen 2006-03-11 11:14:28 +00:00
  • 21c6d18294 Sometimes ${var:1} returns garbage if var only contains exactly one character. This issue was first observed with Bash 3.1 on Irix 6.2. This is just a simple workaround which is probably also more correct. Tom G. Christensen 2006-03-11 09:16:39 +00:00
  • 4e6ebc02b9 The showfiles command on Irix 5.3 cannot support the options that the 6.2 version uses. Instead we'll have to dump it's output to a file and then use that to lookup dependencies by hand. This should also work on Irix 6.2 since the outputs are compatible. See the dep_pkg_name function for details. Add deps_resolve_symlinks control variable. If set readlink will be used to resolve symlinks before doing lookups in the showfiles cache for dependencies. Tom G. Christensen 2006-02-26 12:46:21 +00:00
  • c58a2bad9c Add EGREP Allow overriding the makefile build target to use Allow skipping the configure step in generic_build Tom G. Christensen 2006-02-26 12:28:28 +00:00
  • 4bbc8a32d1 Some scripts like to use /usr/bin/env to find the interpreter but this confuses the dependency extractor. We now detect the use of /usr/bin/env and just pass that on without the arguments. Tom G. Christensen 2005-12-29 14:35:54 +00:00
  • 82dcedd482 Add 'nice' os tagging to PSTAMP Default permissions weren't being used when generating prototype files Keep track of packages and make each one gets the proper pkginfo file added to the prototype file. pkgdef entries should now be relative to $topinstalldir. Tom G. Christensen 2005-12-19 08:58:56 +00:00
  • 8de6f05906 Fix a bug in ignore_deps processing Fix a bug in prereq processing when creating the specfile. This avoids adding spurious leftovers from previous subsystems to later subsystems. Add support for adding sha1sum of all source[x] entries to relnotes. Tom G. Christensen 2005-12-03 18:21:11 +00:00
  • 814f59f42a Don't list internal dependencies in the relnotes Tom G. Christensen 2005-11-19 09:40:43 +00:00
  • eb7b442dbb Make the config.log location configurable when running check_ac Make it possible to filter autodeps by putting them in ignore_deps Add a hint to notify auto_rel when mipspro is used. Make it possible to use the auto keyword for external depends. This is useful for adding hidden dependencies that autodeps can't pick up. When autodeps looks for scripts it needs to filter ou any args that may be given to the interpreter (like -w with perl) Tom G. Christensen 2005-11-08 20:15:55 +00:00
  • 6513e7b2cc Make it possible to adjust the command used in the configure step Fix up rel_conf_sub to match auto_rel wrt. configure info and relnotes Add flag to indicat to auto_rel if the compiler was mipspro so it can act accordingly when filling out the COMPILER field Tom G. Christensen 2005-10-16 15:58:41 +00:00
  • 311bbb03f0 Implement support for platform specific configure function run_configure. Add error message for suspicious config.log entries A few variables in compute_octal was defined as globals Tom G. Christensen 2005-10-15 19:04:40 +00:00
  • d9e2928f02 Add showfiles and showprods to platform specific commands Implement run_configure and autoconf overrides run_configure is a new platform specific way to do the configure step of the build. It was implemented to allow the use of the ac_overrides variable to easily override autoconf settings which is needed on Irix. run_configure will also run an automatic scan (using an external script check_ac) of config.log for suspicious ac_cv_lib definitions. The contents of ac_overrides will be added in the Configure part of the relnotes. Fixed the FIXME's regarding perl in auto_rel by replacing perl with awk. Thanks to Laura Fairhead who posted that awk trick on usenet in 2001. Tom G. Christensen 2005-10-15 19:02:26 +00:00
  • cfba566bc5 Revert the decision to exclude patchSG packages. The problem is that posix threads were introduced with patches so to mark a dependency on libpthread we need to add a dependency on a patchSG packaged. Tom G. Christensen 2005-10-08 15:38:57 +00:00
  • b0b4a02a67 fetch_depends extended to make sure that internal dependencies are not accidentally picked from an already installed revision of the same software. Tom G. Christensen 2005-10-08 15:36:20 +00:00
  • 831306c523 Full automatic dependency generation is finally here! Tom G. Christensen 2005-10-02 11:15:57 +00:00
  • 56f21260ec New versioning. See comments in the code for details. Tom G. Christensen 2005-10-01 17:35:05 +00:00
  • f29c27d4d9 Switch to /usr/tgcware Tom G. Christensen 2005-10-01 17:17:31 +00:00
  • c38476593d Extra quoting Added code to automatically insert environment and dependency information in the relnotes file Tom G. Christensen 2005-10-01 17:17:16 +00:00
  • b82a9e4a5a Environment and dependencies are now automatically inserted Tom G. Christensen 2005-10-01 17:15:28 +00:00
  • cfd7946990 shootroot semantics changed. This brings Solaris in line with that change. Tom G. Christensen 2005-04-25 07:17:24 +00:00
  • 96b3f64f74 Add support for unpacking zip archives Tom G. Christensen 2005-03-23 09:40:55 +00:00
  • 274321e7fe Make generic_build and generic_install able to descend into a subdir inside the sourcedir before doing their thing. Tom G. Christensen 2005-03-12 12:51:52 +00:00
  • 1719dd0aae Add explicit command var for GNU sed Add _vdocdir helper var which points to the fully expanded location of documentation Fix ugly file not found output from ls Tom G. Christensen 2005-02-20 12:28:38 +00:00
  • bb3184f703 Add SHA1SUM command Change charset for manpages to ascii Tom G. Christensen 2004-12-31 12:22:38 +00:00
  • fc6afceaf6 Enable inserting the sha1sum of source[0] into relnotes Tom G. Christensen 2004-12-31 12:22:09 +00:00
  • 1a45efd94a Add "autonuke" function to automatically cleanout unwanted files from the stagedir after install Tom G. Christensen 2004-12-31 10:45:32 +00:00
  • 5e5291c3fc Allow manpages to be compressed with compress(1) instead of gzip. This is useful for plain old Irix 5.3 which doesn't understand gzipped manpages. Tom G. Christensen 2004-12-26 13:18:08 +00:00
  • 4b73e80fac Add compress_info support Tom G. Christensen 2004-12-20 13:58:45 +00:00
  • 4caead23bb Don't let gendist call strip. Tom G. Christensen 2004-12-19 15:18:23 +00:00
  • 50d1168a6b Move chmod last Tom G. Christensen 2004-12-19 12:49:15 +00:00
  • 6776f58c74 Move shortroot handling to the install stage. Automatically adding $prefix inside the stagedir when necessary. Tom G. Christensen 2004-11-27 13:17:41 +00:00
  • 80bb0c3785 Handle IRIX64 when computing _os Kill shortroot handling. This is now handled at install time. Tom G. Christensen 2004-11-27 13:14:54 +00:00
  • 4d0fb00229 Doh! Tom G. Christensen 2004-11-27 11:18:07 +00:00
  • f44a2f526a Fix a stupid typo and convert mkdir to ${MKDIR} Tom G. Christensen 2004-10-24 12:00:06 +00:00
  • abe8d6774e _docdir is an external variable used in build.sh and pkgdef so changing it halfway through is very bad. Fixed. This frequently caused ./build.sh install pack to break because _docdir is redefined between the 2 steps. Tom G. Christensen 2004-10-24 11:54:03 +00:00
  • 4d0d979899 Turn of stripping of static archives Reimplement the auto keyword for depends. It's now used slightly differently, where before it would create an explicit depend on sw.base it can create a depend on any internal subsystem In depends you can now put: sw.base sw.lib auto Tom G. Christensen 2004-10-24 11:52:17 +00:00
  • d070a548a4 Moved all the reg code out of the build.sh script an into a function library instead. Tom G. Christensen 2004-10-22 12:41:29 +00:00
  • d204021507 Really update manpage fix/compress logic to match Solaris Tom G. Christensen 2004-10-18 13:54:25 +00:00
  • d34f50fde5 Add the pkgvendor field for vendor information Tom G. Christensen 2004-10-17 12:26:56 +00:00
  • e31a0ba00c Clean up the relnotes template and make it a little "lighter". It reads easier now with fewer headlines. Fix spelling of dependencies. Tom G. Christensen 2004-10-17 12:26:22 +00:00
  • 88847c7058 Add RMDIR Add new error message that will be trigged by an overflow of the version number in fix_ver (buildpkg.packaging.irix) Add a small Irix specific hack to clean (see the commit comment for buildpkg.packaging.irix, r1.32 for the full explanation) Tom G. Christensen 2004-10-17 12:23:50 +00:00
  • 9bc75b0e9e Add vendor and packager details to the releasenotes. This was something I think was sorely missing before and something that's standard on Solaris. Tom G. Christensen 2004-10-17 12:21:07 +00:00
  • ff2b7756d5 Make newpkg work on 64bit Irix machines too :) Tom G. Christensen 2004-10-16 09:53:56 +00:00
  • 1a59293fc4 Changes to accomodate infopage compression Do't include pristine source in the tardist to save space. Instead only local patches will be in the opt.src subsystem (now truly optional) Add a - infront of the shortdesc, it looks nicer in swmgr Tom G. Christensen 2004-10-16 09:53:18 +00:00
  • c050cce4ec compress infopages Fix manpage formatting to use a simpler commandline Tom G. Christensen 2004-10-16 09:49:37 +00:00
  • e7bd263f8c Update manpage fix/compress logic to match Solaris Tom G. Christensen 2004-10-10 13:02:14 +00:00
  • 2bde37eb9c topinstalldir is a global so adding / to it on every invocation of add_files was not very bright :( Permission in distfiles should be 0644 as everywhere else. Tom G. Christensen 2004-10-10 11:03:15 +00:00
  • 36e25bc278 Do the right thing if someone deleted pkginfo.$secname instead of rm -rf'ing the package dir. Tom G. Christensen 2004-10-08 09:14:05 +00:00
  • f0079c1084 Custom PSTAMP format Add support for a space file Don't compress manpages on Solaris since it won't know what to do with them Tom G. Christensen 2004-10-06 10:47:49 +00:00
  • d4accdc00b Move package revision into the version field using the standard ,REV= notation. Seperate formatting of manpages and compression of manpages. Tom G. Christensen 2004-09-17 12:09:47 +00:00
  • 47cf7996bd topinstalldir=/ should work better now Make auto_rel look for relnotes.$_os too Tom G. Christensen 2004-07-28 09:52:32 +00:00
  • fa19ecb0d6 Another little nit with the metainstalldir handling. metainstalldir=/ would mess things up. Tom G. Christensen 2004-07-27 14:31:39 +00:00
  • c1b8bdc085 Off by one bug that would sometimes cause the sorting of the idb file to be wrong (resulting in gendist complaining.) Tom G. Christensen 2004-07-27 10:36:32 +00:00