* ulogd - rpm file generation
@ 2012-07-19 17:57 Gomathivinayagam Muthuvinayagam
2012-07-19 19:23 ` Jan Engelhardt
0 siblings, 1 reply; 14+ messages in thread
From: Gomathivinayagam Muthuvinayagam @ 2012-07-19 17:57 UTC (permalink / raw)
To: netfilter-devel
Hi,
I'm trying to build ulogd rpm file for a system x86_64 architecture.
There is a spec file provided in ulogd tar file.
Can I use that and build it? Is it updated one? Or still I have to go
through Makefile and find out if anything is missing?
Please bear with me, I'm trying to build rpm for the first time.
Thanks & Regards,
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: ulogd - rpm file generation
2012-07-19 17:57 ulogd - rpm file generation Gomathivinayagam Muthuvinayagam
@ 2012-07-19 19:23 ` Jan Engelhardt
2012-07-19 19:34 ` Gomathivinayagam Muthuvinayagam
0 siblings, 1 reply; 14+ messages in thread
From: Jan Engelhardt @ 2012-07-19 19:23 UTC (permalink / raw)
To: Gomathivinayagam Muthuvinayagam; +Cc: netfilter-devel
On Thursday 2012-07-19 19:57, Gomathivinayagam Muthuvinayagam wrote:
>Hi,
>
>I'm trying to build ulogd rpm file for a system x86_64 architecture.
>There is a spec file provided in ulogd tar file.
>Can I use that and build it? Is it updated one? Or still I have to go
>through Makefile and find out if anything is missing?
>
>Please bear with me, I'm trying to build rpm for the first time.
Doubtful that it is still current.
What is current though, is
http://build.opensuse.org/package/show?package=ulogd&project=security:netfilter
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: ulogd - rpm file generation
2012-07-19 19:23 ` Jan Engelhardt
@ 2012-07-19 19:34 ` Gomathivinayagam Muthuvinayagam
2012-07-19 20:07 ` Jan Engelhardt
0 siblings, 1 reply; 14+ messages in thread
From: Gomathivinayagam Muthuvinayagam @ 2012-07-19 19:34 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: netfilter-devel
Thank you, Does netfilter maintain the rpms for different
architectures somewhere?
In the netfilter website, I am not able to see them, other than tar files.
I would be happy if I am able to download all the rpms for ulogd & its
dependencies for x86_64 architecture. It will help to speed up my
work.
I am not able to find them in rpmfind website.
Thanks & Regards,
On Thu, Jul 19, 2012 at 12:23 PM, Jan Engelhardt <jengelh@inai.de> wrote:
> On Thursday 2012-07-19 19:57, Gomathivinayagam Muthuvinayagam wrote:
>
>>Hi,
>>
>>I'm trying to build ulogd rpm file for a system x86_64 architecture.
>>There is a spec file provided in ulogd tar file.
>>Can I use that and build it? Is it updated one? Or still I have to go
>>through Makefile and find out if anything is missing?
>>
>>Please bear with me, I'm trying to build rpm for the first time.
>
> Doubtful that it is still current.
> What is current though, is
> http://build.opensuse.org/package/show?package=ulogd&project=security:netfilter
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: ulogd - rpm file generation
2012-07-19 19:34 ` Gomathivinayagam Muthuvinayagam
@ 2012-07-19 20:07 ` Jan Engelhardt
2012-07-19 20:14 ` Gomathivinayagam Muthuvinayagam
0 siblings, 1 reply; 14+ messages in thread
From: Jan Engelhardt @ 2012-07-19 20:07 UTC (permalink / raw)
To: Gomathivinayagam Muthuvinayagam; +Cc: netfilter-devel
On Thursday 2012-07-19 21:34, Gomathivinayagam Muthuvinayagam wrote:
>Thank you, Does netfilter maintain the rpms for different
>architectures somewhere?
The NF Project does not officially provide any binaries whatsoever; what
you see on build.opensuse.org is a semi-official courtesy of mine.
>I would be happy if I am able to download all the rpms for ulogd & its
>dependencies for x86_64 architecture. It will help to speed up my
>work.
The packages are there (the webui URL I gave).
http://download.opensuse.org/repositories/security:/netfilter is the
direct DL directory.
>I am not able to find them in rpmfind website.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: ulogd - rpm file generation
2012-07-19 20:07 ` Jan Engelhardt
@ 2012-07-19 20:14 ` Gomathivinayagam Muthuvinayagam
2012-07-19 21:13 ` Gomathivinayagam Muthuvinayagam
0 siblings, 1 reply; 14+ messages in thread
From: Gomathivinayagam Muthuvinayagam @ 2012-07-19 20:14 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: netfilter-devel
Thank you, Possibly, if there is a link in netfilter website for your
opensuse packages page, it will be great.
I did not find this in Google.
I will use the rpms from the provided link.
Thanks & Regards,
On Thu, Jul 19, 2012 at 1:07 PM, Jan Engelhardt <jengelh@inai.de> wrote:
> On Thursday 2012-07-19 21:34, Gomathivinayagam Muthuvinayagam wrote:
>
>>Thank you, Does netfilter maintain the rpms for different
>>architectures somewhere?
>
> The NF Project does not officially provide any binaries whatsoever; what
> you see on build.opensuse.org is a semi-official courtesy of mine.
>
>>I would be happy if I am able to download all the rpms for ulogd & its
>>dependencies for x86_64 architecture. It will help to speed up my
>>work.
>
> The packages are there (the webui URL I gave).
> http://download.opensuse.org/repositories/security:/netfilter is the
> direct DL directory.
>
>
>>I am not able to find them in rpmfind website.
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: ulogd - rpm file generation
2012-07-19 20:14 ` Gomathivinayagam Muthuvinayagam
@ 2012-07-19 21:13 ` Gomathivinayagam Muthuvinayagam
2012-07-19 21:21 ` Jan Engelhardt
0 siblings, 1 reply; 14+ messages in thread
From: Gomathivinayagam Muthuvinayagam @ 2012-07-19 21:13 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: netfilter-devel
For some packages like ulogd, conntrack there is no rpms available for
RHEL5 version.
It says it is disabled. Is there any reason for that?
Thanks & Regards,
On Thu, Jul 19, 2012 at 1:14 PM, Gomathivinayagam Muthuvinayagam
<sankarmail@gmail.com> wrote:
> Thank you, Possibly, if there is a link in netfilter website for your
> opensuse packages page, it will be great.
> I did not find this in Google.
> I will use the rpms from the provided link.
> Thanks & Regards,
>
>
>
>
> On Thu, Jul 19, 2012 at 1:07 PM, Jan Engelhardt <jengelh@inai.de> wrote:
>> On Thursday 2012-07-19 21:34, Gomathivinayagam Muthuvinayagam wrote:
>>
>>>Thank you, Does netfilter maintain the rpms for different
>>>architectures somewhere?
>>
>> The NF Project does not officially provide any binaries whatsoever; what
>> you see on build.opensuse.org is a semi-official courtesy of mine.
>>
>>>I would be happy if I am able to download all the rpms for ulogd & its
>>>dependencies for x86_64 architecture. It will help to speed up my
>>>work.
>>
>> The packages are there (the webui URL I gave).
>> http://download.opensuse.org/repositories/security:/netfilter is the
>> direct DL directory.
>>
>>
>>>I am not able to find them in rpmfind website.
>>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: ulogd - rpm file generation
2012-07-19 21:13 ` Gomathivinayagam Muthuvinayagam
@ 2012-07-19 21:21 ` Jan Engelhardt
2012-07-19 22:52 ` Mr Dash Four
0 siblings, 1 reply; 14+ messages in thread
From: Jan Engelhardt @ 2012-07-19 21:21 UTC (permalink / raw)
To: Gomathivinayagam Muthuvinayagam; +Cc: netfilter-devel
On Thursday 2012-07-19 23:13, Gomathivinayagam Muthuvinayagam wrote:
>For some packages like ulogd, conntrack there is no rpms available for
>RHEL5 version.
>It says it is disabled. Is there any reason for that?
ulogd depends on libnetfilter_acct, which in turn requires glibc >= 2.9,
and RHEL5 is just too damn old.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: ulogd - rpm file generation
2012-07-19 21:21 ` Jan Engelhardt
@ 2012-07-19 22:52 ` Mr Dash Four
2012-07-19 23:16 ` Jan Engelhardt
0 siblings, 1 reply; 14+ messages in thread
From: Mr Dash Four @ 2012-07-19 22:52 UTC (permalink / raw)
To: netfilter-devel
> ulogd depends on libnetfilter_acct, which in turn requires glibc >= 2.9,
> and RHEL5 is just too damn old.
>
Nope! If libnetfilter_acct is compiled from source it does *not* require
glibc >= 2.9 and uses the version of glibc on the host system.
It is how I managed to build (and use) ulogd on one of my FC13-based
machines - built and installed it from source, together with its
immediate dependencies (libnetfilter_acct-devel, libnetfilter_log-devel,
libnfnetlink-devel & libnetfilter_conntrack_devel).
There is currently a "bug" in the main ulogd.spec file (at least for my
Fedora distribution) as it doesn't have a BuildRequires for
libnetfilter_acct-devel - maybe because Fedora people are too lazy and
haven't got arround to create the libnetfilter_acct package yet.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: ulogd - rpm file generation
2012-07-19 22:52 ` Mr Dash Four
@ 2012-07-19 23:16 ` Jan Engelhardt
2012-07-19 23:29 ` Mr Dash Four
0 siblings, 1 reply; 14+ messages in thread
From: Jan Engelhardt @ 2012-07-19 23:16 UTC (permalink / raw)
To: Mr Dash Four; +Cc: netfilter-devel
On Friday 2012-07-20 00:52, Mr Dash Four wrote:
>> ulogd depends on libnetfilter_acct, which in turn requires glibc >= 2.9, and
>> RHEL5 is just too damn old.
>>
> Nope! If libnetfilter_acct is compiled from source
(Well, you can't compile it from anything else than source, so...)
> it does *not* require glibc >= 2.9
libnetfilter_acct.c: In function 'nfacct_nlmsg_build_payload':
libnetfilter_acct.c:348: warning: implicit declaration of function 'htobe64'
and htobe64(3) says htobe64 is available starting glibc-2.9.
Additionally,
../include/linux/netfilter/nfnetlink.h:4:46: error:
linux/netfilter/nfnetlink_compat.h: No such file or directory
so it also requires linux-glibc-devel >= 2.6.24, which RHEL5 also
does not have.
> and uses the version of glibc on the host system.
Who would have thought. There is no other glibc to use in the first place.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: ulogd - rpm file generation
2012-07-19 23:16 ` Jan Engelhardt
@ 2012-07-19 23:29 ` Mr Dash Four
2012-07-20 0:06 ` Jan Engelhardt
0 siblings, 1 reply; 14+ messages in thread
From: Mr Dash Four @ 2012-07-19 23:29 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: netfilter-devel
> libnetfilter_acct.c: In function 'nfacct_nlmsg_build_payload':
> libnetfilter_acct.c:348: warning: implicit declaration of function 'htobe64'
>
> and htobe64(3) says htobe64 is available starting glibc-2.9.
> Additionally,
>
> ../include/linux/netfilter/nfnetlink.h:4:46: error:
> linux/netfilter/nfnetlink_compat.h: No such file or directory
>
> so it also requires linux-glibc-devel >= 2.6.24, which RHEL5 also
> does not have.
>
OK, lets have it then, shall we?
[mockbuild@test1 ~]$ rpm -ivh libnetfilter_acct-1.0.1-0.fc13.src.rpm
1:libnetfilter_acct ###########################################
[100%]
[mockbuild@test1 ~]$ cd build/SPECS/
[mockbuild@test1 SPECS]$
[mockbuild@test1 SPECS]$ rpmbuild -bb libnetfilter_acct.spec
[...lots of output skipped, but could be provided on Mr Engelhardt's
request]
Processing files: libnetfilter_acct-1.0.1-0.fc13.x86_64
Provides: libnetfilter_acct.so.1()(64bit)
libnetfilter_acct.so.1(LIBNETFILTER_ACCT_1.0)(64bit)
libnetfilter_acct.so.1(LIBNETFILTER_ACCT_1.1)(64bit)
Requires(interp): /sbin/ldconfig /sbin/ldconfig
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit) libmnl.so.0()(64bit)
libmnl.so.0(LIBMNL_1.0)(64bit) libnetfilter_acct.so.1()(64bit)
rtld(GNU_HASH)
Processing files: libnetfilter_acct-devel-1.0.1-0.fc13.x86_64
Provides: pkgconfig(libnetfilter_acct) = 1.0.1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(VersionedDependencies) <= 3.0.3-1
Requires: /usr/bin/pkg-config libnetfilter_acct.so.1()(64bit)
Processing files: libnetfilter_acct-debuginfo-1.0.1-0.fc13.x86_64
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/builddir/build/BUILDROOT/libnetfilter_acct-1.0.1-0.fc13.x86_64
Wrote: /builddir/build/RPMS/libnetfilter_acct-1.0.1-0.fc13.x86_64.rpm
Wrote: /builddir/build/RPMS/libnetfilter_acct-devel-1.0.1-0.fc13.x86_64.rpm
Wrote:
/builddir/build/RPMS/libnetfilter_acct-debuginfo-1.0.1-0.fc13.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OOQQCq
+ umask 022
+ cd /builddir/build/BUILD
+ cd libnetfilter_acct-1.0.1
+ /bin/rm -rf
/builddir/build/BUILDROOT/libnetfilter_acct-1.0.1-0.fc13.x86_64
+ exit 0
[mockbuild@test1 SPECS]$ uname -a
Linux test1.my.net 3.3.4-6.fc13.x86_64 #1 SMP Fri Jul 6 00:28:31 BST
2012 x86_64 x86_64 x86_64 GNU/Linux
[mockbuild@test1 SPECS]$ rpm -qa | grep glibc
glibc-headers-2.12.2-1.x86_64
glibc-2.12.2-1.x86_64
glibc-common-2.12.2-1.x86_64
glibc-devel-2.12.2-1.x86_64
glibc-static-2.12.2-1.x86_64
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: ulogd - rpm file generation
2012-07-19 23:29 ` Mr Dash Four
@ 2012-07-20 0:06 ` Jan Engelhardt
2012-07-20 0:12 ` Mr Dash Four
0 siblings, 1 reply; 14+ messages in thread
From: Jan Engelhardt @ 2012-07-20 0:06 UTC (permalink / raw)
To: Mr Dash Four; +Cc: netfilter-devel
On Friday 2012-07-20 01:29, Mr Dash Four wrote:
>> libnetfilter_acct.c: In function 'nfacct_nlmsg_build_payload':
>> libnetfilter_acct.c:348: warning: implicit declaration of function 'htobe64'
>>
>> and htobe64(3) says htobe64 is available starting glibc-2.9.
>> Additionally,
>>
>> ../include/linux/netfilter/nfnetlink.h:4:46: error:
>> linux/netfilter/nfnetlink_compat.h: No such file or directory
>>
>> so it also requires linux-glibc-devel >= 2.6.24, which RHEL5 also
>> does not have.
>>
> OK, lets have it then, shall we?
>
> [mockbuild@test1 ~]$ rpm -ivh libnetfilter_acct-1.0.1-0.fc13.src.rpm
> 1:libnetfilter_acct ########################################### [100%]
> [mockbuild@test1 ~]$ cd build/SPECS/
> [mockbuild@test1 SPECS]$
> [mockbuild@test1 SPECS]$ rpmbuild -bb libnetfilter_acct.spec
>
> [...lots of output skipped, but could be provided on Mr Engelhardt's request]
>
> Processing files: libnetfilter_acct-1.0.1-0.fc13.x86_64
No idea what you patched in the package, or otherwise did to your
system. On a pure Centos 5.8. I did *NOT* talk about fc13.
make[2]: Entering directory `/root/libnetfilter_acct-1.0.0/src'
CC libnetfilter_acct.lo
In file included from libnetfilter_acct.c:18:
../include/linux/netfilter/nfnetlink.h:4:46: error:
linux/netfilter/nfnetlink_compat.h: No such file or directory
libnetfilter_acct.c: In function 'nfacct_nlmsg_build_payload':
libnetfilter_acct.c:348: warning: implicit declaration of function 'htobe64'
libnetfilter_acct.c: In function 'nfacct_nlmsg_parse_payload':
libnetfilter_acct.c:408: warning: implicit declaration of function 'be64toh'
make[2]: *** [libnetfilter_acct.lo] Error 1
make[2]: Leaving directory `/root/libnetfilter_acct-1.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/libnetfilter_acct-1.0.0'
make: *** [all] Error 2
[root@vjng-centos5 libnetfilter_acct-1.0.0]# rpm -q glibc kernel-headers
glibc-2.5-81.el5_8.4
glibc-2.5-81.el5_8.4
kernel-headers-2.6.18-308.11.1.el5
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: ulogd - rpm file generation
2012-07-20 0:06 ` Jan Engelhardt
@ 2012-07-20 0:12 ` Mr Dash Four
2012-07-20 0:18 ` Jan Engelhardt
0 siblings, 1 reply; 14+ messages in thread
From: Mr Dash Four @ 2012-07-20 0:12 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: netfilter-devel
> No idea what you patched in the package, or otherwise did to your
> system. On a pure Centos 5.8. I did *NOT* talk about fc13.
>
I don't give two hoots what is/isn't supported on a bloody CentOS
system, quite frankly! The point I was making is that libnetfilter_acct
does *NOT* depend on glibc 2.9 as evident from my previous post.
Oh, and also:
>
>> ulogd depends on libnetfilter_acct, which in turn requires glibc >=
>> 2.9, and RHEL5 is just too damn old.
>>
> Nope! If libnetfilter_acct is compiled from source it does *not*
> require glibc >= 2.9 and uses the version of glibc on the host system.
>
> It is how I managed to build (and use) ulogd on one of my FC13-based
> machines - built and installed it from source, together with its
> immediate dependencies (libnetfilter_acct-devel,
> libnetfilter_log-devel, libnfnetlink-devel &
> libnetfilter_conntrack_devel).
Can you read?
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: ulogd - rpm file generation
2012-07-20 0:12 ` Mr Dash Four
@ 2012-07-20 0:18 ` Jan Engelhardt
2012-07-20 0:35 ` Mr Dash Four
0 siblings, 1 reply; 14+ messages in thread
From: Jan Engelhardt @ 2012-07-20 0:18 UTC (permalink / raw)
To: Mr Dash Four; +Cc: netfilter-devel
On Friday 2012-07-20 02:12, Mr Dash Four wrote:
>
>> No idea what you patched in the package, or otherwise did to your
>> system. On a pure Centos 5.8. I did *NOT* talk about fc13.
>>
> I don't give two hoots what is/isn't supported on a bloody CentOS system, quite
> frankly! The point I was making is that libnetfilter_acct does *NOT* depend on
> glibc 2.9 as evident from my previous post.
Nothing is evident from your post, except that you were building for
FC13 which shipped glibc-2.12 and thus satisfies ">= 2.9".
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: ulogd - rpm file generation
2012-07-20 0:18 ` Jan Engelhardt
@ 2012-07-20 0:35 ` Mr Dash Four
0 siblings, 0 replies; 14+ messages in thread
From: Mr Dash Four @ 2012-07-20 0:35 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: netfilter-devel
> Nothing is evident from your post, except that you were building for
> FC13 which shipped glibc-2.12 and thus satisfies ">= 2.9".
>
Fair enough! I though FC13 was archaic enough, but Red Hat proved me wrong.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2012-07-20 0:35 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-19 17:57 ulogd - rpm file generation Gomathivinayagam Muthuvinayagam
2012-07-19 19:23 ` Jan Engelhardt
2012-07-19 19:34 ` Gomathivinayagam Muthuvinayagam
2012-07-19 20:07 ` Jan Engelhardt
2012-07-19 20:14 ` Gomathivinayagam Muthuvinayagam
2012-07-19 21:13 ` Gomathivinayagam Muthuvinayagam
2012-07-19 21:21 ` Jan Engelhardt
2012-07-19 22:52 ` Mr Dash Four
2012-07-19 23:16 ` Jan Engelhardt
2012-07-19 23:29 ` Mr Dash Four
2012-07-20 0:06 ` Jan Engelhardt
2012-07-20 0:12 ` Mr Dash Four
2012-07-20 0:18 ` Jan Engelhardt
2012-07-20 0:35 ` Mr Dash Four
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).