George, See below for my comments from my quick skip through ...
Paul George Vasick wrote: > > Please review this webrev for upgrading binutils from 2.15 to 2.19 in > the SFW consolidation: > > http://cr.opensolaris.org/~gvasick/sfwnv/ === Start of Comments ==== 1. CDDL HEADER and top of files (various changed files) Change so that they conform to that in ... "http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/prototypes/" See ... http://wikis.sun.com/display/SFWNotes/Package+writing+guidelines 2. METADATA You don't seem to have updated the METADATA file. If there is not one you need to add it, see ... http://wikis.sun.com/display/SFWNotes/Package+writing+guidelines 3. usr/src/cmd/binutils/Makefile.sfw Extract the VER= info from the METADATA, see recent pkg integrations for examples. Plus maybe add 'TARBALL=$(VER).tar.bz2' then replace $(VER).tar.bz2 with $(TARBALL) elsewhere Change as follows ... Roland Mainz wrote: > use "env - ..." and not "env ..." in the Makefiles > to make sure "configure"&&"make" only see the env > variables they should really get (and not pick-up > any random env variable) > use either $(SHELL) or /usr/bin/bash for "configure" > calls (so we know which one is used and "configure" > doesn't pick one itself) Update Copyright year After using 'make install' to install the files, go you need to fix the permissions/owner/group on files using ? .. 'tools/protofix --pkg $$pkg --perm' Does it really need the lines ? ... 67 find $(VER) -type d -exec /usr/bin/chmod 755 "{}" \; 68 find $(VER) -type f -exec /usr/bin/chmod ugo+r "{}" \; If not remove them; if it does then change \; to \+ (faster) Does it really need the line ... 41 @find . -name core -exec rm -f {} \; If it does, why? 4. Copyright year (various if not all file) The Copyright year needs updating to 2009 5. symbolic links /usr/sfw to /usr/gnu I think you need to add these into the proto area. That is normally done in a install-sfw script (I think) 6. usr/src/pkgdefs/SUNWbinutils/prototype_com Line ... 43 # SUNWgmake - GNU make SUNWgmake ??? and copyright year 7. usr/src/pkgdefs/SUNWbinutils/prototype_com & usr/src/pkgdefs/SUNWbinutils/prototype_i386.tmpl & usr/src/pkgdefs/SUNWbinutils/prototype_sparc.tmpl Why have you added the write permission bit to the new/moved files installed. I believe they should not have it set in /usr 8. usr/src/pkgdefs/SUNWbinutils/prototype_i386.tmpl & usr/src/pkgdefs/SUNWbinutils/prototype_sparc.tmpl Copyright statement is incorrect and in the wrong place 9. man pages & sunman-stability Don't you need to add the sunman-stability stuff to the pkg's installed man pages; I can't see that you are doing it. === End of Comments ====== -- ---------------------------------------------------------------------- Paul Cunningham Software Engineer Tadpole Business Unit
