[opensuse-packaging] Howto Rebuild clamav srpm requiring sendmail on system with postifx?
![](https://seccdn.libravatar.org/avatar/27aacf61a13c66fcc083fcf8a84823bc.jpg?s=120&d=mm&r=g)
This may be a simple question, But I want to rebuild clamav from the source rpm which requires sendmail as a dependency on a system that uses postfix. sendmail conflicts with postfix. What is the best option? Upload new source rpm to buildservice and build there? Or is there a chroot build environment that I can setup to build in with rpmbuild that won't affect the running system when it installs sendmail for the build? I can create the new source rpm easily with rpmbuild -bs, but that's where I'm stuck. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/9435667f7160374bc34a8600b686aecd.jpg?s=120&d=mm&r=g)
07.07.2019 5:28, David C. Rankin пишет:
This may be a simple question,
But I want to rebuild clamav from the source rpm which requires sendmail as a dependency on a system that uses postfix. sendmail conflicts with postfix. What is the best option? Upload new source rpm to buildservice and build there? Or is there a chroot build environment that I can setup to build in with rpmbuild that won't affect the running system when it installs sendmail for the build?
osc build
I can create the new source rpm easily with rpmbuild -bs, but that's where I'm stuck.
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/5b748275c3dbb1ceee18ed554486547d.jpg?s=120&d=mm&r=g)
On Sunday 2019-07-07 04:28, David C. Rankin wrote:
This may be a simple question,
But I want to rebuild clamav from the source rpm which requires sendmail as a dependency on a system that uses postfix.
Are you sure it requires sendmail, or just the sendmail-like command line interface, /usr/sbin/sendmail? Because postfix provides that too. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/a4139df10120ce151e457fd1faff018d.jpg?s=120&d=mm&r=g)
On 07/07/2019 11:58, David C. Rankin wrote:
This may be a simple question,
But I want to rebuild clamav from the source rpm which requires sendmail as a dependency on a system that uses postfix. sendmail conflicts with postfix. What is the best option? Upload new source rpm to buildservice and build there? Or is there a chroot build environment that I can setup to build in with rpmbuild that won't affect the running system when it installs sendmail for the build?
I can create the new source rpm easily with rpmbuild -bs, but that's where I'm stuck.
The easiest way is probably to branch the package in build service then you can choose to build it there, or locally using the osc command line tool. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/7131ec792f05bac4a6cb0fb370439522.jpg?s=120&d=mm&r=g)
David C. Rankin wrote:
This may be a simple question,
But I want to rebuild clamav from the source rpm which requires sendmail as a dependency on a system that uses postfix. sendmail conflicts with postfix. What is the best option? Upload new source rpm to buildservice and build there? Or is there a chroot build environment that I can setup to build in with rpmbuild that won't affect the running system when it installs sendmail for the build?
Maybe not quite the answer you're looking for, but I always build clamav straight from the tarball. -- Per Jessen, Zürich (16.4°C) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/dc218decb0acde2abf2367960fea5098.jpg?s=120&d=mm&r=g)
Am 2019-07-10 10:27, schrieb Per Jessen:
David C. Rankin wrote:
This may be a simple question,
But I want to rebuild clamav from the source rpm which requires sendmail as a dependency on a system that uses postfix. sendmail conflicts with postfix. What is the best option? Upload new source rpm to buildservice and build there? Or is there a chroot build environment that I can setup to build in with rpmbuild that won't affect the running system when it installs sendmail for the build? Hello David,
Why you not use clamav from security repo? There is the newest version 0.101.2 and you have nothing to do. PS: sendmail is only for build requires but not for install. -- Regards Eric -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/27aacf61a13c66fcc083fcf8a84823bc.jpg?s=120&d=mm&r=g)
On 07/10/2019 07:25 AM, Eric Schirra wrote:
Hello David,
Why you not use clamav from security repo? There is the newest version 0.101.2 and you have nothing to do.
PS: sendmail is only for build requires but not for install.
Oh, sorry, I was building for my 42.3 install until I get time to zypper dup (and fix any gremlins). Yes, I know it was only a build dependency, but until Andrei suggested occ build, I didn't know what to use to isolate the build from my installed system to eliminate the build dependency conflict with postfix. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (6)
-
Andrei Borzenkov
-
David C. Rankin
-
Eric Schirra
-
Jan Engelhardt
-
Per Jessen
-
Simon Lees