Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

freebsd-hackers Digest, Vol 368, Issue 1

2 views
Skip to first unread message

freebsd-hac...@freebsd.org

unread,
Apr 12, 2010, 8:00:20 AM4/12/10
to freebsd...@freebsd.org
Send freebsd-hackers mailing list submissions to
freebsd...@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
or, via email, send a message with subject or body 'help' to
freebsd-hac...@freebsd.org

You can reach the person managing the list at
freebsd-ha...@freebsd.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-hackers digest..."


Today's Topics:

1. Unofficial Heimdal 1.1 backport from 8.0-RELEASE for
7.3-RELEASE (Ryan Steinmetz)
2. Re: make pkg_install suite reusable, please (Marcin Wisnicki)
3. I want to participate in some FreeBSD project (Equixen-)
4. Re: I want to participate in some FreeBSD project
(Alexander Leidinger)


----------------------------------------------------------------------

Message: 1
Date: Sun, 11 Apr 2010 10:29:25 -0400
From: Ryan Steinmetz <rp...@rit.edu>
Subject: Unofficial Heimdal 1.1 backport from 8.0-RELEASE for
7.3-RELEASE
To: freebsd...@freebsd.org
Message-ID: <2010041114...@fast.rit.edu>
Content-Type: text/plain; charset=us-ascii

All,

I've created a patch that will replace Heimdal 0.6.x that comes with 7.3-R base with a backported version of Heimdal 1.1 from 8.0-R and have found it useful in a couple of scenarios. This should add in AES support, among other things, without having to rely on/use ports.


http://people.rit.edu/rpsfa/freebsd/heimdal-1.1_for_7.3.tgz

To install:
-Obtain a fresh source tree for 7.3-R
-cd /usr/src && patch -p0 < /path/to/patch
-Rebuild/install world and re-run mergemaster


No warranties/guarantees; however, it has worked for me so far and I figured that I would share,

-r


------------------------------

Message: 2
Date: Mon, 12 Apr 2010 00:34:16 +0000 (UTC)
From: Marcin Wisnicki <mwisnick...@gmail.com>
Subject: Re: make pkg_install suite reusable, please
To: freebsd...@freebsd.org
Message-ID: <hptpq8$klh$1...@dough.gmane.org>
Content-Type: text/plain; charset=UTF-8

On Sun, 11 Apr 2010 12:37:27 +0100, Robert Watson wrote:

> On Fri, 9 Apr 2010, Alexander Churanov wrote:
>
>> 2010/4/9 Leinier Cruz Salfran <salfranc...@gmail.com>
>>
>>> i want to ask you one thing: can you make the 'pkg_install' suite
>>> reusable .. means install 'libinstall.a' as a shared object in order
>>> to make it reusable by others devs
>>
>> I'd like to add my 50 cents. From my point of view, the true UNIX way
>> is re-using whole programs. This provides unbelievable isolation and
>> correctness. If you don't want to fork myriads of processes each
>> second, then, it's, probably, better to ask for pipe mode of pkg_*
>> tools. For example, aspell works that way. You start a process, write
>> commands and queries and read results.
>
> While there are clearly benefits to process isolation, there are
> countless situations in UNIX where I've said to myself "Oh, I wish I had
> a lib<foo> not just a <foo> command". This is particularly the case for
> monitoring tools, where third-party applications have a lot of trouble
> parsing and tracking the output of tools like ps(1), etc. This is why
> recently we've been working on libmemstat(3), libprocstat(3),
> libnetstat(3), etc -- so that tools can avoid rewriting that code as
> well as avoid the parsing problem.

A middle-ground solution to this is to standardise on a common data
exchange format with a schema definition language. With schema you can
autogenerate high level parsers and generators, validators and other things
for free. It does not have to be XML with XML-Schema (though there are good
plaintext schema languages like RelaxNG-compact and you could possibly find
less verbose text encoding for XML).

Fine human readable competitors to XML exists like OGDL, YAML or JSON.
OGDL project even have patches for OGDL output in GNU utlities.

If, say ps or ipfw, had a switch like '--format-output-yaml' and
'--print-output-schema' (alternatively schema files could be stored
somewhere in $prefix/share) it would be trivial to use them anywhere.
Similar approach could be adopted to input passing with possibility of
pipe mode. Any utilitily, with mere tweaks to output formatting and
pipe mode would in fact be a class that you could instantiate (run)
and use like any other object in your programming language and all of
that for free, autogenerated from schema descriptions ;)

The only problem I see is agreeing on a single format and forcing everyone
to use it. Which is probably why it will never happen :(

------------------------------

Message: 3
Date: Mon, 12 Apr 2010 12:05:12 +0530
From: Equixen- <equ...@gmail.com>
Subject: I want to participate in some FreeBSD project
To: freebsd...@freebsd.org
Message-ID:
<m2za3a38f921004112335q8...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello!
I am a 3rd year B.Tech (Computer Science) student. I want to
participate in some open source project during my summer vacations.

I thought about going the Google summer of code way but due to limited
knowledge and examinations during the 1st month of the program
timeline didn't participate in it. However, I still want to help with
the FreeBSD projects. I understand that there will be no stipend and
possibly will not be provided any mentor but I request the FreeBSD
team to kindly consider me for any of their ongoing project (I might
help some student selected via Google SoC).

I'm no programming expert and have only a basic experience in
languages like C, C++, and various scripting languages. My aim for
participating in a project with a big organization like The FreeBSD
foundation is to understand how programming works in real world
projects and use that knowledge to be an active contributor in the
open source world.

If I'm rejected for whatever reason I request the members and the
FreeBSD team to kindly provide me links to improve my programming in
the Open Source arena and hopefully make it next year in the Google SoC.

Regards,
Ishan Sharma

I've also filled the form which FreeBSD requested the students to fill
up for Google SoC (Contact details have been omitted for obvious
reasons).

Name: Ishan Sharma

email: ishan_sharma1 at yahoo.co.in
<http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>

Availability: I'll be available after mid June. I;ll be having
vacations so I can work whole day from home till mid August. After
that I can spend 2-3 hrs. daily during weekdays and 4-5 hrs. or more
during weekends.


Bio: I'm a 3rd year B.Tech (Computer Science) student. I've only basic
experience in programming languages like C, C++, Scripting languages.
I've absolutely no experience of working on real projects but I'm a
fast learner and if given some pointers will try to a valuable
resource to the project. I know I'll need to learn a lot and that's
why I'm filling out this application because if I'm not selected this
year I'll be better prepared for the next year. Additionally, any help
provided by the FreeBSD team now (even if it's just a link to a book
I've to read) will make me a better candidate for the future.


Possible Mentor: No choice. I just want to be included in a project
and learn by watching others complete a project from scratch.


Project Information: I just request to be included in any project
which is to be started. I'll read about it as much as I can and will
give a description of it and how I can help with it.


Project Description: I'll research into whatever project I'm provided
and will provide a description of it and how I can help with it.


------------------------------

Message: 4
Date: Mon, 12 Apr 2010 11:45:24 +0200
From: Alexander Leidinger <Alex...@Leidinger.net>
Subject: Re: I want to participate in some FreeBSD project
To: Equixen- <equ...@gmail.com>
Cc: freebsd...@freebsd.org
Message-ID: <20100412114524....@webmail.leidinger.net>
Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed"

Quoting Equixen- <equ...@gmail.com> (from Mon, 12 Apr 2010 12:05:12 +0530):

> Hello!
> I am a 3rd year B.Tech (Computer Science) student. I want to
> participate in some open source project during my summer vacations.
>
> I thought about going the Google summer of code way but due to limited
> knowledge and examinations during the 1st month of the program
> timeline didn't participate in it. However, I still want to help with
> the FreeBSD projects. I understand that there will be no stipend and
> possibly will not be provided any mentor but I request the FreeBSD
> team to kindly consider me for any of their ongoing project (I might
> help some student selected via Google SoC).

It is unlikely that you can help a GSoC student, they shall not rely
on the work of other people to be able to finish what they start.

> I'm no programming expert and have only a basic experience in
> languages like C, C++, and various scripting languages. My aim for
> participating in a project with a big organization like The FreeBSD
> foundation is to understand how programming works in real world
> projects and use that knowledge to be an active contributor in the
> open source world.

The programming which is done in companies differs from what is done
on OSS. Sometimes the OSS way is better (good code quality, good
software engineering practices, smart people, ...), sometimes the
company way of doing it is better (if it is a good company).

> Bio: I'm a 3rd year B.Tech (Computer Science) student. I've only basic
> experience in programming languages like C, C++, Scripting languages.
> I've absolutely no experience of working on real projects but I'm a
> fast learner and if given some pointers will try to a valuable
> resource to the project. I know I'll need to learn a lot and that's
> why I'm filling out this application because if I'm not selected this
> year I'll be better prepared for the next year. Additionally, any help
> provided by the FreeBSD team now (even if it's just a link to a book
> I've to read) will make me a better candidate for the future.

There is no specific pointer to things to read, as there is too much
to read and it depends upon what you are interested in.

> Project Information: I just request to be included in any project
> which is to be started. I'll read about it as much as I can and will
> give a description of it and how I can help with it.

In the OSS world people to not get included (getting invited), they
more attach themself to something (seeing a warm welcome when
providing help).

We have the FreeBSD ideas list
(http://www.freebsd.org/projects/ideas/), the wiki
(http://wiki.freebsd.org/) and our bug tracker
(http://www.freebsd.org/cgi/query-pr-summary.cgi?category=). I suggest
to wait until the GSoC students and their corresponding projects are
announced, and then have a look at the remaining ideas, or to have a
look at the bug tracker and to try to understand and solve a problem.
Try to find out what could be interesting for you and what does not
look too hard for you, and then start to research into the topic. You
can ask questions on the lists (reading the lists is a good way to get
an idea how we work together, and it also gives insight into how
things improve over time), if someone knows an answer to your question
you will probably get an answer.

Bye,
Alexander.

--
Falling in love is a lot like dying.
You never get to do it enough to become good at it.

http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137


------------------------------


End of freebsd-hackers Digest, Vol 368, Issue 1
***********************************************

0 new messages