Mailing List Archive

8.1.17 spec file issue
The spec file included with conserver 8.1.17 references a defaults file
that's supposed to be in contrib/redhat-rpm/conserver.defaults but that
file is missing so the build fails.

-Eric
_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
Re: 8.1.17 spec file issue [ In reply to ]
Hi,

On Tue, Sep 29, 2009 at 11:10:42AM -0700, Eric Heydrick wrote:
> The spec file included with conserver 8.1.17 references a defaults file
> that's supposed to be in contrib/redhat-rpm/conserver.defaults but that
> file is missing so the build fails.

I am responsible for the inclusion of that file.
Either I forgot to include it into my patch, or Bryan did :)

I'll check tomorrow on my side

Sorry for the inconvenience

_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
Re: 8.1.17 spec file issue [ In reply to ]
Ahh! Sorry about that. It was me...I forgot to update my packaging
script. I'll get this fixed and out soon.

Bryan

On Tue, Sep 29, 2009 at 10:17:53PM +0200, Fabien Wernli wrote:
> Hi,
>
> On Tue, Sep 29, 2009 at 11:10:42AM -0700, Eric Heydrick wrote:
> > The spec file included with conserver 8.1.17 references a defaults file
> > that's supposed to be in contrib/redhat-rpm/conserver.defaults but that
> > file is missing so the build fails.
>
> I am responsible for the inclusion of that file.
> Either I forgot to include it into my patch, or Bryan did :)
>
> I'll check tomorrow on my side
>
> Sorry for the inconvenience
>
> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users
_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
Re: 8.1.17 spec file issue [ In reply to ]
Since I've only seen a handful of hits grabbing version 8.1.17, I've
gone ahead and just added the missing file to the tarball. For anyone
that snagged a copy and needs to build using the contributed redhat rpm
files, please get another copy (the new file size is 322906 bytes, for
reference).

Sorry about all that. :-(

Bryan

On Tue, Sep 29, 2009 at 01:26:53PM -0700, Bryan Stansell wrote:
> Ahh! Sorry about that. It was me...I forgot to update my packaging
> script. I'll get this fixed and out soon.
>
> Bryan
>
> On Tue, Sep 29, 2009 at 10:17:53PM +0200, Fabien Wernli wrote:
> > Hi,
> >
> > On Tue, Sep 29, 2009 at 11:10:42AM -0700, Eric Heydrick wrote:
> > > The spec file included with conserver 8.1.17 references a defaults file
> > > that's supposed to be in contrib/redhat-rpm/conserver.defaults but that
> > > file is missing so the build fails.
> >
> > I am responsible for the inclusion of that file.
> > Either I forgot to include it into my patch, or Bryan did :)
> >
> > I'll check tomorrow on my side
> >
> > Sorry for the inconvenience
> >
> > _______________________________________________
> > users mailing list
> > users@conserver.com
> > https://www.conserver.com/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users@conserver.com
> https://www.conserver.com/mailman/listinfo/users
_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
Re: 8.1.17 spec file issue [ In reply to ]
Hello,

I modified the spec file to generate two sub packages

conserver-client and
conserver-server

Because we run a lot of clients that need to run
the "console" binary but no need to run the conserver daemon.

Can somebody include the attached conserver.spec
and make sure that it will be available in further releases, please ?


Thanks & Best regards
Jodok


Reference http://rpm.org/max-rpm-snapshot/s1-rpm-subpack-spec-file-changes.html


# rpm -qlp /usr/src/redhat/RPMS/x86_64/conserver-client-8.1.17-2.x86_64.rpm
/usr/bin/console
/usr/share/doc/conserver-client-8.1.17
/usr/share/doc/conserver-client-8.1.17/CHANGES
/usr/share/doc/conserver-client-8.1.17/FAQ
/usr/share/doc/conserver-client-8.1.17/INSTALL
/usr/share/doc/conserver-client-8.1.17/README
/usr/share/man/man1/console.1.gz

# rpm -qlp /usr/src/redhat/RPMS/x86_64/conserver-server-8.1.17-2.x86_64.rpm
/etc/conserver.cf
/etc/conserver.passwd
/etc/default/conserver
/etc/rc.d/init.d/conserver
/usr/lib64/conserver/convert
/usr/sbin/conserver
/usr/share/doc/conserver-server-8.1.17
/usr/share/doc/conserver-server-8.1.17/CHANGES
/usr/share/doc/conserver-server-8.1.17/FAQ
/usr/share/doc/conserver-server-8.1.17/INSTALL
/usr/share/doc/conserver-server-8.1.17/README
/usr/share/doc/conserver-server-8.1.17/conserver.cf
/usr/share/doc/conserver-server-8.1.17/conserver.cf/INSTALL
/usr/share/doc/conserver-server-8.1.17/conserver.cf/Makefile
/usr/share/doc/conserver-server-8.1.17/conserver.cf/Makefile.in
/usr/share/doc/conserver-server-8.1.17/conserver.cf/conserver.cf
/usr/share/doc/conserver-server-8.1.17/conserver.cf/conserver.cf.man
/usr/share/doc/conserver-server-8.1.17/conserver.cf/conserver.passwd
/usr/share/doc/conserver-server-8.1.17/conserver.cf/conserver.passwd.man
/usr/share/doc/conserver-server-8.1.17/conserver.cf/label.ps
/usr/share/doc/conserver-server-8.1.17/conserver.cf/samples
/usr/share/doc/conserver-server-8.1.17/conserver.cf/samples/README
/usr/share/doc/conserver-server-8.1.17/conserver.cf/samples/average-distributed.cf
/usr/share/doc/conserver-server-8.1.17/conserver.cf/samples/average.cf
/usr/share/doc/conserver-server-8.1.17/conserver.cf/samples/basic.cf
/usr/share/doc/conserver-server-8.1.17/conserver.cf/samples/simple.cf
/usr/share/doc/conserver-server-8.1.17/conserver.cf/test.cf
/usr/share/examples/conserver/conserver.cf
/usr/share/examples/conserver/conserver.passwd
/usr/share/man/man5/conserver.cf.5.gz
/usr/share/man/man5/conserver.passwd.5.gz
/usr/share/man/man8/conserver.8.gz



--
Jodok Ole Müllers
Infrastruktur Manager
Red Hat Certified Engineer
Re: Re: 8.1.17 spec file issue [ In reply to ]
On Wed, Oct 14, 2009 at 01:48:17PM +0200, Jodok Ole Muellers wrote:
> I modified the spec file to generate two sub packages

could you be a little more verbose in the %changelog?

_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users
Re: 8.1.17 spec file issue [ In reply to ]
Hi Fabien,


Wed, 14 Oct 2009 16:39:42 +0200 Fabien Wernli <wernli@in2p3.fr> wrote:

> could you be a little more verbose in the %changelog?

Hups, sure, sorry I missed that.
I just copied and pasted an different changelog
entry from somewhere else and was about to change that but then I forgot it.

I attached a new version.


I did not change much from your original version:

# diff -B conserver.spec.orig conserver.spec
15c15
< %define distver 1
---
> %define distver 2
27d26
< Summary: Serial console server daemon/client
31a31
> Summary: Serial console server daemon/client
50a51,57
> %package server
> Summary: Serial console server daemon
> Group: System Environment/Daemons
>
> %package client
> Summary: Serial console server client
> Group: Applications/Internet
53c60,66
< Conserver is an application that allows multiple users to watch a
---
> Conserver is a daemon that allows multiple users to watch a
> serial console at the same time. It can log the data, allows users to
> take write-access of a console (one at a time), and has a variety of
> bells and whistles to accentuate that basic functionality.
>
> %description server
> conserver-server is a daemon that allows multiple users to watch a
57a71,73
> %description client
> conserver-client to connect to conserver-server using a tcp port.
> Allows multiple users to watch a serial console at the same time.
100c116
< %post
---
> %post server
110c126
< %preun
---
> %preun server
117a134,135
> # we need this even if empty
> #%files
119c137
< %files
---
> %files server
126d143
< %{_bindir}/console
128d144
< %{_mandir}/man1/console.1.gz
135a152,157
> %files client
> %defattr(-,root,root)
> %doc CHANGES FAQ INSTALL README
> %{_bindir}/console
> %{_mandir}/man1/console.1.gz
>
136a159,161
> * Wed Oct 14 2009 Jodok Ole Muellers <muellejo@aschendorff.de> - 8.1.17-2
> - Changed the conserver.spec file to create separate subpackages
> for client and server by using the %package directive.

--
Jodok Ole Müllers
Infrastruktur Manager
Red Hat Certified Engineer