Re: [HACKERS] contrib like modules in Red Hat problem, Re: A bug report for orafce

2008-01-22 Thread Peter Eisentraut
Am Montag, 21. Januar 2008 schrieb Tom Lane: %_topdir /home/tgl/rpmwork then create the directory ~/rpmwork and under it the five directories BUILD/    RPMS/     SOURCES/  SPECS/    SRPMS/ Some distributions set up their standard build areas under /usr/src to be world writeable (sticky bit

[HACKERS] contrib like modules in Red Hat problem, Re: A bug report for orafce

2008-01-21 Thread Pavel Stehule
Hello is any chance to share standard Makefile and RH Makefile? I am sorry. I don't understand to Makefile absolutely. It's look so global Makefile need some changes. Any help is welcome. Regards Pavel Stehule On 21/01/2008, Devrim GÜNDÜZ [EMAIL PROTECTED] wrote: Hi Pavel, Orafce is about

Re: [HACKERS] contrib like modules in Red Hat problem, Re: A bug report for orafce

2008-01-21 Thread Tom Lane
Pavel Stehule [EMAIL PROTECTED] writes: On 21/01/2008, Devrim GÜNDÜZ [EMAIL PROTECTED] wrote: Orafce is about to be approved for Fedora, and I need help for one of the review items. Per: https://bugzilla.redhat.com/show_bug.cgi?id=251805#c1 AFAICT, there's nothing wrong with the Makefile.

Re: [HACKERS] contrib like modules in Red Hat problem, Re: A bug report for orafce

2008-01-21 Thread Andrew Dunstan
Tom Lane wrote: Pavel Stehule [EMAIL PROTECTED] writes: On 21/01/2008, Devrim GÃœNDÃœZ [EMAIL PROTECTED] wrote: Orafce is about to be approved for Fedora, and I need help for one of the review items. Per: https://bugzilla.redhat.com/show_bug.cgi?id=251805#c1 AFAICT, there's

Re: [HACKERS] contrib like modules in Red Hat problem, Re: A bug report for orafce

2008-01-21 Thread Tom Lane
Andrew Dunstan [EMAIL PROTECTED] writes: Tom Lane wrote: Devrim: you should be testing specfiles by building as non-root; you would have caught this yourself. Shouldn't one always build RPMs as non-root? That'd be my advice --- the other way is archaic, not to mention a bit of a security

Re: [HACKERS] contrib like modules in Red Hat problem, Re: A bug report for orafce

2008-01-21 Thread Devrim GÜNDÜZ
Hi, On Mon, 2008-01-21 at 11:26 -0500, Andrew Dunstan wrote: Shouldn't one always build RPMs as non-root? Probably, if the packager is not lazy ;) Regards, -- Devrim GÜNDÜZ , RHCE PostgreSQL Replication, Consulting, Custom Development, 24x7 support Managed Services, Shared and Dedicated

Re: [HACKERS] contrib like modules in Red Hat problem, Re: A bug report for orafce

2008-01-21 Thread Gregory Stark
Tom Lane wrote: %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install I hope nobody tries building in a directory with a space in it... -- Gregory Stark EnterpriseDB http://www.enterprisedb.com Ask me about EnterpriseDB's PostGIS support!

Re: [HACKERS] contrib like modules in Red Hat problem, Re: A bug report for orafce

2008-01-21 Thread Tom Lane
Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= [EMAIL PROTECTED] writes: On Mon, 2008-01-21 at 11:26 -0500, Andrew Dunstan wrote: Shouldn't one always build RPMs as non-root? Probably, if the packager is not lazy ;) It's really not hard, it just takes a couple of minutes of one-time setup. Make a file

Re: [HACKERS] contrib like modules in Red Hat problem, Re: A bug report for orafce

2008-01-21 Thread Devrim GÜNDÜZ
Hi, On Mon, 2008-01-21 at 12:31 -0500, Tom Lane wrote: It's really not hard, it just takes a couple of minutes of one-time setup. snip I *know* how to build the RPMs as non root :-) -- we are talking about ~60 servers to be setup like this . That's why it will take a bit time. I'll try to

Re: [HACKERS] contrib like modules in Red Hat problem, Re: A bug report for orafce

2008-01-21 Thread Tom Lane
Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= [EMAIL PROTECTED] writes: I *know* how to build the RPMs as non root :-) -- we are talking about ~60 servers to be setup like this . That's why it will take a bit time. You mean the RPM buildfarm? I would've thought that was already set up as non-root --- or

Re: [HACKERS] contrib like modules in Red Hat problem, Re: A bug report for orafce

2008-01-21 Thread Devrim GÜNDÜZ
Hi, On Mon, 2008-01-21 at 13:08 -0500, Tom Lane wrote: I *know* how to build the RPMs as non root :-) -- we are talking about ~60 servers to be setup like this . That's why it will take a bit time. You mean the RPM buildfarm? Yes. I would've thought that was already set up as

Re: [HACKERS] contrib like modules in Red Hat problem, Re: A bug report for orafce

2008-01-21 Thread Alvaro Herrera
Devrim GÜNDÜZ escribió: On Mon, 2008-01-21 at 12:31 -0500, Tom Lane wrote: It's really not hard, it just takes a couple of minutes of one-time setup. snip I *know* how to build the RPMs as non root :-) -- we are talking about ~60 servers to be setup like this . That's why it will take

Re: [HACKERS] contrib like modules in Red Hat problem, Re: A bug report for orafce

2008-01-21 Thread Tom Lane
Alvaro Herrera [EMAIL PROTECTED] writes: You don't need to set up all the machines this way, only the one where you actually write and test the SPEC file. Well, actually, I'm fairly unhappy that Devrim's skipping the make check step while building those RPMs (which he must do because it won't

Re: [HACKERS] contrib like modules in Red Hat problem, Re: A bug report for orafce

2008-01-21 Thread Devrim GÜNDÜZ
Hi, On Mon, 2008-01-21 at 11:17 -0500, Tom Lane wrote: Devrim: you should be testing specfiles by building as non-root; you would have caught this yourself. Even though it means a lot of work in my current setup, this is what will happen eventually, especially after the Makefile.regress