From owner-freebsd-newbies@FreeBSD.ORG Wed Jan 26 17:42:42 2005 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1373F16A4CE for ; Wed, 26 Jan 2005 17:42:42 +0000 (GMT) Received: from web30909.mail.mud.yahoo.com (web30909.mail.mud.yahoo.com [68.142.200.162]) by mx1.FreeBSD.org (Postfix) with SMTP id A8B0F43D39 for ; Wed, 26 Jan 2005 17:42:41 +0000 (GMT) (envelope-from mcd_advisory@yahoo.com) Received: (qmail 75300 invoked by uid 60001); 26 Jan 2005 17:42:41 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=Iy4LQgTaxl1hPRokMB/tq/4OvuN6ZY+ZtRcD0tYOV80SzdbKcdfURdHADzrEoyGMsJwLEPOABeJ5YNs3k+Wrx3ZiStvL9qBrrrQvnauWzPOZ8tJ2ozBM+2QDouOoREk04JqxZTSIMlOkZ6LjljHkItTJbkwZRU031KLD2NhsgDk= ; Message-ID: <20050126174241.75298.qmail@web30909.mail.mud.yahoo.com> Received: from [66.248.172.15] by web30909.mail.mud.yahoo.com via HTTP; Wed, 26 Jan 2005 09:42:41 PST Date: Wed, 26 Jan 2005 09:42:41 -0800 (PST) From: Mervin McDougall To: Nikolas Britton In-Reply-To: <41F764B4.1070309@nbritton.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: itetcu@people.tecnik93.com cc: freebsd-newbies Subject: Re: kern/71142; VESA 1024x768 @ the console X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2005 17:42:42 -0000 --- Nikolas Britton wrote: > Ion-Mihai Tetcu wrote: > > >On Mon, 24 Jan 2005 23:42:47 -0600 > >Nikolas Britton wrote: > > > > > > > >>I got tired of having to patch by hand all the > systems I wanted this > >>patch on and all the systems I patched but then > updated with cvsup so I > >>made a simple batch script to do it for me, this > script will do steps > >>1...9 (see below). all you have to do is paste it > into a file and then > >>run it as root (i.e. "sh vesa-patch-script"): > >> > >> > > > >Care to make it a port ? O should I do it for you > put you as maintainer > >or me if you don't have the time to spare ? > > > > > > > > > Make what a port, you mean that hack I called a > script? lol, I guess it > could be, never made a port b4, but it would have to > be redone as I'd > never sign my name to it. It has no error control > except for a cascading > failure if the patch doesn't download or untar and > it should include the > patch to fix the mouse error. I think a better idea > might be to redo it > into a real script and post it to the PR?: > http://www.freebsd.org/cgi/query-pr.cgi?pr=71142 > > Some pseudocode off the top of my head: > > if FreeBSD doesn't = 5.x die. > if user doesn't have src installed die. > if not root die. > cd into tmp. > if current-vesa_patch.tar.gz exist check md5 hash > and if its the same > continue elseif patch doesn't exist download it and > check md5 hash > continue if same else die. > if /tmp/current-vesa_patch dir exist remove it. > untar the patch. > cd into syscons. > backup files to be patched. > patch the files, if fail replace the mangled files > with the backups and > then die. > (could just use pre-patched files and skip the > patching part?) > cd into vidcontrol. > cp new vidcontrol files. > make the new vidcontrol program. > do the mouse patch crap. > > I know only perl so it would have to be done in perl > unless someone else > wants to make it a real sh script. > If someone is going to make this into a port, and is looking towards maintaining and upgrading it then I am all for it. I am no programmer but if it means learning some shell scripting to do it I would. But on a more serious note, I think it is important since a lot of persons use freebsd for more than just servers - I use it on my laptop at the university that I attend. And, honestly it is the only way I will surf the net on here cause too many kids have complained about viruses on the networks here. Furthermore with the instability of some Windows updates out there, I would rather trust my assignments and essays and stuff to a system that can keep my data from being corrupted, stolen and plaigirised and always available. So, if there is going to be a port I look foward to it honestly. And, if I can help out in any way- say documenting - I would at least till I can learn some shell scripting... but the actual hacking of any C,C++ code, I will have to leave that to some experts who know more. This would be a good addition for persons who do FreeBSD mobile. Or perhaps there should be an entire port for mobile FreeBSD, for persons who want applications and are using mobile computers... So it would include everything from the Vesa hack to say battery monitors and perhaps a little how to on how to tweak freebsd for laptops :) Anyways, that is my 2 cents __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com