Date: Sun, 2 Nov 2003 18:13:27 +0100 From: Simon Barner <barner@in.tum.de> To: William O'Higgins <william.ohiggins@utoronto.ca> Cc: freebsd-questions@freebsd.org Subject: Re: hacking broken ports Message-ID: <20031102171327.GA356@zi025.glhnet.mhn.de> In-Reply-To: <20031102070050.GA28349@sillyrabbi.dyndns.org> References: <20031102070050.GA28349@sillyrabbi.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > I was trying to build mplayer tonight, and I ran into a problem with > net/liveMedia. The port that I've got calls for the build done on > 10.24.2003. This file was unavailable on *any* of the listed mirrors, > with the closest match being one built on 10.30.2003. I got around this > problem by putting the file into /usr/ports/distfiles, and then > modifying two files in /usr/ports/net/liveMedia; Makefile and distfile. > I found that there was only on reference to the filename in the > Makefile, so I changed it, and then I generated an MD5 on the file that > I had and put it into distfile. After all of that foolishness mplayer > built just fine. >=20 > My question is this; am I on the right track, or am I going to screw > something up if I keep using this slash-and-burn method? I'm new to > FBSD (and *NIX), but this method seemed like it'd work. I'd just hate > to do something that's going to bite me in the ass later on. No, this is just the way how ports are updated by their maintainers. Let me add some additional remarks: Before you fix/update a port you should check the GNATS data base if somebody has already released a patch (otherwise it would just be a waste of your efforts and time): http://www.freebsd.org/cgi/query-pr-summary.cgi?query The best thing would be -of course- if you read the Porter's Handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ and shared your solution with others (i.e. fix the port for you and send a problem report). > Also, what do I have to do to the permissions of /dev/dvd so that I can > open a DVD in userspace. Right now I have to sudo mplayer to watch a > movie, and that seems silly. Thanks. I suppose /dev/dvd is a symlink to one of your DVD drives. I think adjusting the group permissions (I believe you need rw for DVDs) for that device and putting you into the right right group should be fine. In general, I perfer granting access rights to a user group instead of running a process as root (even with sudo). Regards, Simon --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/pTs2Ckn+/eutqCoRAvh+AJ4qo/Juls0s9fW5SdLeb3GiZ/U/UgCePoCE nH75gVGWliV2VgwCdt7SZJU= =J1KF -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031102171327.GA356>