pkg_improved GSoC 2008 finished
yanefbsd at gmail.com
Sat Aug 23 05:36:04 UTC 2008
On Fri, Aug 22, 2008 at 2:56 AM, Anders Nore <andenore at freebsd.org> wrote:
> On Fri, 22 Aug 2008 00:00:01 +0200, Kevin Downey <redchin at gmail.com> wrote:
>> On Thu, Aug 21, 2008 at 2:56 PM, Kevin Downey <redchin at gmail.com> wrote:
>>> On Thu, Aug 21, 2008 at 6:10 AM, Anders Nore <andenore at freebsd.org>
>>>> Hello hackers,
>>>> it's been a great summer for me working with the FreeBSD-project. It has
>>>> truly been an educational experience for me and I would like to continue
>>>> working on my project as well as other aspects of FreeBSD in the future.
>>>> You can read about my project on the wiki-page where you can read
>>>> the new features and some technical detail, there you will also find
>>>> instructions for those of you who want to try it out. You can also
>>>> the source. It will be greatly appreciated if you test it and report
>>>> bugs you discover.
>>>> Thanks for a great summer!
>>>> - Anders Nore
>>>>  http://wiki.freebsd.org/AndersNore/pkg_improved
>>>>  http://home.no.net/andenore/patches/pkg_install-20080708.tar.gz
>>> Is there a patch against 7-STABLE? Neither of the two patches on the
>>> website (-CURRENT and 7.0-RELEASE) or the tarball build on 7-STABLE.
>>> The patches are also kind of a pain because they contain diffs against
>>> files like "/usr/src/usr.sbin/pkg_install/CVS/Entries" which you don't
>>> seem to have if you just use csup.
> The CVS entries should be removed from the latest patches and a patch for
> RELENG_7_0 has been added.
> You can get the new patches from http://home.no.net/andenore/patches/
>>> The Mafia way is that we pursue larger goals under the guise of
>>> personal relationships.
>> sorry, I tried the tarball again, and it built. I must have missed
> Maybe you tried to compile from a different directory than
> /usr/src/usr.sbin/pkg_install ?
> Makefile.inc will try to `.include "../Makefile.inc"' to get BINDIR, so if
> you comment this out and specify your own BINDIR variable `BINDIR?=
> /usr/sbin' it should be ok.
> Thanks for your input!
> - Anders Nore
How about this?
For standalone packages, specify:
Makefile.inc <-- redefine variables here.
pkg_install/ <-- sources go here.
Seems like a simple solution ;).
As for diff, you probably what to use:
where SCM_patterns.txt consists of:
As for patch, `patch -p0 < pkg_install.patch' does the trick if you do
`diff -Naur .'.
Cheers and good work on finishing off this awesome task. I'll gladly
write up tests for you if you like =],
More information about the freebsd-hackers