Re: [clamav-users] 99.3 for Ubuntu

2018-01-28 Thread Marcus Schopen
Hi Chris,

Am Sonntag, den 28.01.2018, 09:11 -0600 schrieb Chris:
> On Sun, 2018-01-28 at 00:54 +0100, Marcus Schopen wrote:
> > Am Samstag, den 27.01.2018, 17:22 -0600 schrieb Chris:
> > > 
> > > Thanks so much for this Marcus, seems a lot easier than going
> > > through
> > > using pbuilder.
> > 
> > Never used pbuilder. For sure there are easier ways to build
> > packages.
> > It's just how I build backports or patch packages sometimes.
> > 
> 
> Good morning Marcus. I replied to the email you sent this morning
> however it bounced.

The smtp you used, is blacklisted on http://dnsbl.inps.de/. A BL with a
high weight in my config. That's your message was blocked. ;)


Jan 28 15:55:11 lillith sm-mta[26133]: w0SEt6l6026133: <-- MAIL FROM:
...
Jan 28 15:55:14 lillith sm-mta[26133]: w0SEt6l6026133: --- 551 5.7.1
Bad reputation - mail.onyx.syn-alias.com [206.152.134.66] listed on too
many DNS blacklists: BL_INPS (blhit 4)


>  Please look at the pastebin for the reason:
> 
> https://pastebin.com/8Gm0Hp4Y

Did not run in these problems on 14.04 LTS. Try to remove the old
0.99.2 packages (aptitude remove) and then install your 0.99.3 packages
from clean. Do some backup of your clamav config before remove.

Ciao
Marcus

___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 99.3 for Ubuntu

2018-01-28 Thread Chris
On Sun, 2018-01-28 at 00:54 +0100, Marcus Schopen wrote:
> Am Samstag, den 27.01.2018, 17:22 -0600 schrieb Chris:
> > 
> > Thanks so much for this Marcus, seems a lot easier than going
> > through
> > using pbuilder.
> Never used pbuilder. For sure there are easier ways to build
> packages.
> It's just how I build backports or patch packages sometimes.
> 
Good morning Marcus. I replied to the email you sent this morning
however it bounced. Please look at the pastebin for the reason:

https://pastebin.com/8Gm0Hp4Y

Chris

BTW - it still didn't install correctly - https://pastebin.com/MFrycv7D
 libclamav7... did but not the rest

Chris

-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
09:07:46 up 10:58, 1 user, load average: 0.74, 4.86, 5.48
Description:Ubuntu 16.04.3 LTS, kernel 4.13.0-32-generic


signature.asc
Description: This is a digitally signed message part
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 99.3 for Ubuntu

2018-01-28 Thread Marcus Schopen
Chris,

good morning!

Am Samstag, den 27.01.2018, 20:26 -0600 schrieb Chris:
> 
> Of course I run into problems :(, I always seem to. All the .deb
> packages were made

Perfect, well done! No need to quarrel with yourself. 

> The paste below is the output of sudo dpkg -i 
> 
> https://pastebin.com/xRXXMNrg
> 
> Should I have run dpkg-buildpackage -us -uc as sudo?

I did run the build as root, yes. But that shouldn't be the problem. I
never tested it is as unprivileged user. Will try it next time ;)

Start installing the packages one after another , so that you don't run
into dependency conficts, e.g. milter package depends on base package,
so install base package first. This is my installing history:

 dpkg -i libclamav7_0.99.3-0ubuntu1~binux1_amd64.deb
 dpkg -i clamav-base_0.99.3-0ubuntu1~binux1_all.deb
 dpkg -i clamav-freshclam_0.99.3-0ubuntu1~binux1_amd64.deb
 dpkg -i clamav_0.99.3-0ubuntu1~binux1_amd64.deb
 dpkg -i clamav-daemon_0.99.3-0ubuntu1~binux1_amd64.deb

Good luck
Marcus

___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 99.3 for Ubuntu

2018-01-27 Thread Chris
On Sun, 2018-01-28 at 00:54 +0100, Marcus Schopen wrote:
> Am Samstag, den 27.01.2018, 17:22 -0600 schrieb Chris:
> > 
> > Thanks so much for this Marcus, seems a lot easier than going
> > through
> > using pbuilder.
> Never used pbuilder. For sure there are easier ways to build
> packages.
> It's just how I build backports or patch packages sometimes.
> 
> > 
> >  One question. I'm at step 7, what should go after
> > --local? Not sure what you mean by ~yoursuffix.
> It's your personal choice, e.g. dch --local ~chris+
> 
> The package name would be
> 
>   clamav_0.99.3-0ubuntu1~chris+1_amd64.deb
> 
> then. The tilde ~ makes the package inferior in version, which should
> allow a proper package upgrade when you upgrade to the next debian
> release (e.g. your package will be replaced with the official debian
> package).
> 
> Ciao!
> Marcus
> 
Of course I run into problems :(, I always seem to. All the .deb
packages were made

-rw-r--r-- 1 chris chris   328660 Jan 27 19:28 clamav_0.99.3-
0ubuntu1~chris+1_amd64.deb
-rw-r--r-- 1 chris chris   346694 Jan 27 19:27 clamav-base_0.99.3-
0ubuntu1~chris+1_all.deb
-rw-r--r-- 1 chris chris   389936 Jan 27 19:28 clamav-daemon_0.99.3-
0ubuntu1~chris+1_amd64.deb
-rw-r--r-- 1 chris chris 23766966 Jan 27 19:29 clamav-dbg_0.99.3-
0ubuntu1~chris+1_amd64.deb
-rw-r--r-- 1 chris chris  1255582 Jan 27 19:27 clamav-docs_0.99.3-
0ubuntu1~chris+1_all.deb
-rw-r--r-- 1 chris chris   347408 Jan 27 19:28 clamav-freshclam_0.99.3-
0ubuntu1~chris+1_amd64.deb
-rw-r--r-- 1 chris chris   387718 Jan 27 19:28 clamav-milter_0.99.3-
0ubuntu1~chris+1_amd64.deb
-rw-r--r-- 1 chris chris  3108276 Jan 27 19:27 clamav-testfiles_0.99.3-
0ubuntu1~chris+1_all.deb
-rw-r--r-- 1 chris chris  3525498 Jan 27 19:28 libclamav7_0.99.3-
0ubuntu1~chris+1_amd64.deb
-rw-r--r-- 1 chris chris   253482 Jan 27 19:28 libclamav-dev_0.99.3-
0ubuntu1~chris+1_amd64.deb 

The paste below is the output of sudo dpkg -i 

https://pastebin.com/xRXXMNrg

Should I have run dpkg-buildpackage -us -uc as sudo?

-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
20:06:49 up 1 day, 11:54, 1 user, load average: 1.30, 1.67, 3.11
Description:Ubuntu 16.04.3 LTS, kernel 4.13.0-32-generic


signature.asc
Description: This is a digitally signed message part
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 99.3 for Ubuntu

2018-01-27 Thread Marcus Schopen
Am Samstag, den 27.01.2018, 17:22 -0600 schrieb Chris:
> Thanks so much for this Marcus, seems a lot easier than going through
> using pbuilder.

Never used pbuilder. For sure there are easier ways to build packages.
It's just how I build backports or patch packages sometimes.

>  One question. I'm at step 7, what should go after
> --local? Not sure what you mean by ~yoursuffix.

It's your personal choice, e.g. dch --local ~chris+

The package name would be

  clamav_0.99.3-0ubuntu1~chris+1_amd64.deb

then. The tilde ~ makes the package inferior in version, which should
allow a proper package upgrade when you upgrade to the next debian
release (e.g. your package will be replaced with the official debian
package).

Ciao!
Marcus


___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 99.3 for Ubuntu

2018-01-27 Thread Chris
On Sat, 2018-01-27 at 23:22 +0100, Marcus Schopen wrote:
> Am Freitag, den 26.01.2018, 16:25 +0100 schrieb Reindl Harald:
> > 
> > 
> > if you use distribution packages you are supposed to wait for a
> > update 
> > from the distribution or learn to proper package at your own
> > 
> > i heard that's not that easy as on Redhat systems because you don't
> > have 
> > everything in a .src.rpm and just need to replace the tarball
> > after 
> > unpack the src.rpm and edit the version in the spec file but again:
> That's not right. Building a 0.99.3 deb package based on the current
> 0.99.2 deb source package are just a few shell commands, e.g.:
> 
> 0. set up an build environment e.g. on a fresh box:
> 
>  aptitude install dpkg-dev devscripts equivs quilt
> 
>  export QUILT_PATCHES=debian/patches
> 
> 1. get the current 0.99.2 clamav src package, e.g. for 14.04 TLS from
> 
>  https://packages.ubuntu.com/source/trusty/clamav
> 
> wget http://archive.ubuntu.com/ubuntu/pool/main/c/clamav/clamav_0.99.
> 2+
> addedllvm-0ubuntu0.14.04.2.dsc
> 
> wget http://archive.ubuntu.com/ubuntu/pool/main/c/clamav/clamav_0.99.
> 2+
> addedllvm.orig.tar.xz
> 
> wget http://archive.ubuntu.com/ubuntu/pool/main/c/clamav/clamav_0.99.
> 2+
> addedllvm-0ubuntu0.14.04.2.debian.tar.gz
> 
> 2. unpack the source package
>  
>  dpkg-source -x clamav_0.99.2+addedllvm-0ubuntu0.14.04.2.dsc
> 
> 3. download the new original 0.99.3 clamav source
> 
>  http://www.clamav.net/downloads/production/clamav-0.99.3.tar.gz
> 
> 4. upgrade the old 0.99.2 deb source package
> 
>  cd clamav-0.99.2+addedllvm
>  uupdate -v 0.99.3 ../clamav-0.99.3.tar.gz
> 
> 5. enter the new 0.99.3 deb source package dir
> 
>   cd ../clamav-0.99.3
> 
> 6. remove old patches from ./debian/patches dir which are not longer
> needed. 
> 
>  In this case (to my mind) on 14.04 LTS CVE-2017-6418 and CVE-2017-
> 6420 
> are already patched in 0.99.3. Unsure about CVE-2017-6419 (didn't
> find
> it in the README); I removed it, because 0.99.3 original source
> doesn't
> come up with this patch. May be someone knows better.
> 
>  quilt pop -a
>  quilt delete -r CVE-2017-6418
>  quilt delete -r CVE-2017-6419
>  quilt delete -r CVE-2017-6420
>  quilt delete -r CVE-2017-6420-2
> 
> 7. maintenance debian/changelog and add your suffix, e.g.
> 
>  dch --local ~yoursuffix
> 
Thanks so much for this Marcus, seems a lot easier than going through
using pbuilder. One question. I'm at step 7, what should go after
--local? Not sure what you mean by ~yoursuffix.

> 8. finally build new deb package
> 
>  dpkg-buildpackage -us -uc
> 
> That's it. So basically it's replacing the orig tar ball and update
> changelog too.
> 
> Ciao
> Marcus
> 
> 
> ___
> clamav-users mailing list
> clamav-users@lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> 
> 
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> 
> http://www.clamav.net/contact.html#ml
-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
17:20:28 up 1 day, 9:08, 1 user, load average: 0.78, 0.69, 0.74
Description:Ubuntu 16.04.3 LTS, kernel 4.13.0-32-generic


signature.asc
Description: This is a digitally signed message part
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 99.3 for Ubuntu

2018-01-27 Thread Marcus Schopen
Am Freitag, den 26.01.2018, 16:25 +0100 schrieb Reindl Harald:
> 
> if you use distribution packages you are supposed to wait for a
> update 
> from the distribution or learn to proper package at your own
> 
> i heard that's not that easy as on Redhat systems because you don't
> have 
> everything in a .src.rpm and just need to replace the tarball after 
> unpack the src.rpm and edit the version in the spec file but again:

That's not right. Building a 0.99.3 deb package based on the current
0.99.2 deb source package are just a few shell commands, e.g.:

0. set up an build environment e.g. on a fresh box:

 aptitude install dpkg-dev devscripts equivs quilt

 export QUILT_PATCHES=debian/patches

1. get the current 0.99.2 clamav src package, e.g. for 14.04 TLS from

 https://packages.ubuntu.com/source/trusty/clamav

wget http://archive.ubuntu.com/ubuntu/pool/main/c/clamav/clamav_0.99.2+
addedllvm-0ubuntu0.14.04.2.dsc

wget http://archive.ubuntu.com/ubuntu/pool/main/c/clamav/clamav_0.99.2+
addedllvm.orig.tar.xz

wget http://archive.ubuntu.com/ubuntu/pool/main/c/clamav/clamav_0.99.2+
addedllvm-0ubuntu0.14.04.2.debian.tar.gz

2. unpack the source package
 
 dpkg-source -x clamav_0.99.2+addedllvm-0ubuntu0.14.04.2.dsc

3. download the new original 0.99.3 clamav source

 http://www.clamav.net/downloads/production/clamav-0.99.3.tar.gz

4. upgrade the old 0.99.2 deb source package

 cd clamav-0.99.2+addedllvm
 uupdate -v 0.99.3 ../clamav-0.99.3.tar.gz

5. enter the new 0.99.3 deb source package dir

  cd ../clamav-0.99.3

6. remove old patches from ./debian/patches dir which are not longer
needed. 

 In this case (to my mind) on 14.04 LTS CVE-2017-6418 and CVE-2017-6420 
are already patched in 0.99.3. Unsure about CVE-2017-6419 (didn't find
it in the README); I removed it, because 0.99.3 original source doesn't
come up with this patch. May be someone knows better.

 quilt pop -a
 quilt delete -r CVE-2017-6418
 quilt delete -r CVE-2017-6419
 quilt delete -r CVE-2017-6420
 quilt delete -r CVE-2017-6420-2

7. maintenance debian/changelog and add your suffix, e.g.

 dch --local ~yoursuffix

8. finally build new deb package

 dpkg-buildpackage -us -uc

That's it. So basically it's replacing the orig tar ball and update
changelog too.

Ciao
Marcus


___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 99.3 for Ubuntu

2018-01-26 Thread Chris
On Fri, 2018-01-26 at 16:25 +0100, Reindl Harald wrote:
> 
> Am 26.01.2018 um 16:15 schrieb Chris:
> > 
> > On Fri, 2018-01-26 at 15:37 +0100, Tilman Schmidt wrote:
> > > 
> > > Ubuntu doesn't have 0.99.3 release yet.
> > > You need to go to http://www.clamav.net/downloads
> > That will get me the newest source however I need this as I don't
> > really want to install from source:
> > 
> > clamav_0.99.3~beta1+dfsg-2ubuntu1.dsc
> > 
> > Not the beta of course but the clamav_0.99.3+dfsg-2ubuntu1.dsc or
> > something to that effect (I just pasted the '...99.2..dsc file name
> > here for reference). I guess then I'll have to wait to see when I
> > can
> > download the Ubuntu source (clamav_0.99.3+dfsg-
> > 2ubuntu1.debian.tar.xz
> > and the .dsc file
> if you use distribution packages you are supposed to wait for a
> update 
> from the distribution or learn to proper package at your own
> 
That's what pbuiler is for, building the Ubuntu package. It takes the
Ubuntu source w/patches and builds it. So, I'll just have to wait for
the 99.3 Ubuntu source not the Ubuntu beta source.

-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
10:27:13 up 2:14, 1 user, load average: 0.82, 0.57, 0.43
Description:Ubuntu 16.04.3 LTS, kernel 4.13.0-32-generic


signature.asc
Description: This is a digitally signed message part
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 99.3 for Ubuntu

2018-01-26 Thread Reindl Harald



Am 26.01.2018 um 16:15 schrieb Chris:

On Fri, 2018-01-26 at 15:37 +0100, Tilman Schmidt wrote:

Ubuntu doesn't have 0.99.3 release yet.
You need to go to http://www.clamav.net/downloads


That will get me the newest source however I need this as I don't
really want to install from source:

clamav_0.99.3~beta1+dfsg-2ubuntu1.dsc

Not the beta of course but the clamav_0.99.3+dfsg-2ubuntu1.dsc or
something to that effect (I just pasted the '...99.2..dsc file name
here for reference). I guess then I'll have to wait to see when I can
download the Ubuntu source (clamav_0.99.3+dfsg-2ubuntu1.debian.tar.xz
and the .dsc file


if you use distribution packages you are supposed to wait for a update 
from the distribution or learn to proper package at your own


i heard that's not that easy as on Redhat systems because you don't have 
everything in a .src.rpm and just need to replace the tarball after 
unpack the src.rpm and edit the version in the spec file but again:


it's up to your distribution - whatever "pull-lp-source" does the Ubuntu 
package is pretty sure full of patches and so on


so again: build your own package diretcly from the tarball or wait as 
others do for upgrades over the regular channels of your OS, otherwise 
you will end here again sooner or later asking how to fix the fallout 
you produce with doing something you are not firm with

___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 99.3 for Ubuntu

2018-01-26 Thread Chris
On Fri, 2018-01-26 at 15:37 +0100, Tilman Schmidt wrote:
> Ubuntu doesn't have 0.99.3 release yet.
> You need to go to http://www.clamav.net/downloads

That will get me the newest source however I need this as I don't
really want to install from source:

clamav_0.99.3~beta1+dfsg-2ubuntu1.dsc

Not the beta of course but the clamav_0.99.3+dfsg-2ubuntu1.dsc or
something to that effect (I just pasted the '...99.2..dsc file name
here for reference). I guess then I'll have to wait to see when I can
download the Ubuntu source (clamav_0.99.3+dfsg-2ubuntu1.debian.tar.xz
and the .dsc file.

> 
> Am 26.01.2018 um 15:31 schrieb Chris:
> > 
> > On Thu, 2018-01-25 at 19:18 -0800, Al Varnell wrote:
> > > 
> > > Are you sure you have the correct 0.99.3 download released late
> > > today
> > > from ?
> > > 
> > Hi Al, when trying to get the release source via "pull-lp-source
> > clamav" I instead get the beta1 source:
> > 
> > pull-lp-source clamav
> > pull-lp-source: Downloading clamav version 0.99.3~beta1+dfsg-
> > 2ubuntu1
> [...]
> 
> ___
> clamav-users mailing list
> clamav-users@lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> 
> 
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> 
> http://www.clamav.net/contact.html#ml
-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
09:03:45 up 51 min, 1 user, load average: 4.53, 2.48, 1.45
Description:Ubuntu 16.04.3 LTS, kernel 4.13.0-32-generic


signature.asc
Description: This is a digitally signed message part
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 99.3 for Ubuntu

2018-01-26 Thread Tilman Schmidt
Ubuntu doesn't have 0.99.3 release yet.
You need to go to http://www.clamav.net/downloads

Am 26.01.2018 um 15:31 schrieb Chris:
> On Thu, 2018-01-25 at 19:18 -0800, Al Varnell wrote:
>> Are you sure you have the correct 0.99.3 download released late today
>> from ?
>>
> Hi Al, when trying to get the release source via "pull-lp-source
> clamav" I instead get the beta1 source:
> 
> pull-lp-source clamav
> pull-lp-source: Downloading clamav version 0.99.3~beta1+dfsg-2ubuntu1
[...]

___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 99.3 for Ubuntu

2018-01-26 Thread Chris
On Fri, 2018-01-26 at 08:41 +0100, Matus UHLAR - fantomas wrote:
> > 
> > > 
> > > On January 25, 2018 11:18:41 PM UTC, Chris  > > om>
> > > wrote:
> > > > 
> > > > I'm trying to build 99.3 for Ubuntu 16.04LTS. I had no problems
> > > > building 99.2 with pbuilder. When downloading the source I got
> > 
> > > 
> > > > 
> > > > https://pastebin.com/K1LfbwXX
> > 
> > On Fri, 2018-01-26 at 00:46 +, Scott Kitterman wrote:
> > > 
> > > From the pastebin:
> > > 
> > > Depends: llvm-3.9-dev
> > > 
> > > That's not available on 16.04.  Change it to the version that is
> > > available there (I don't track Ubuntu things anymore, so I don't
> > > know
> > > which one that is.
> On 25.01.18 20:46, Chris wrote:
> > 
> > Thanks for the reply Scott. According to this:
> > 
> > apt-cache policy llvm-3.9
> > llvm-3.9:
> >   Installed: 1:3.9.1-4ubuntu3~16.04.2
> >   Candidate: 1:3.9.1-4ubuntu3~16.04.2
> > 
> > apt-cache policy llvm-3.9-dev
> > llvm-3.9-dev:
> >   Installed: 1:3.9.1-4ubuntu3~16.04.2
> >   Candidate: 1:3.9.1-4ubuntu3~16.04.2
> > 
> > But then the pbuilder output says - Depends: llvm-3.9-dev
> because it needs it to build clamav. this has nothign with internal
> clamav
> issued.
> 
> do:
> 
> apt-get install llvm-3.9-dev
> 
> and see what it does.
Hi Matus, I do have it installed:

sudo apt install llvm-3.9-dev
[sudo] password for chris: 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
llvm-3.9-dev is already the newest version (1:3.9.1-4ubuntu3~16.04.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I think the problem is that when I run "pull-lp-source clamav" I'm
getting the beta1 source and not the release source.

Chris

-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
08:22:09 up 9 min, 1 user, load average: 0.95, 2.43, 1.78
Description:Ubuntu 16.04.3 LTS, kernel 4.13.0-32-generic


signature.asc
Description: This is a digitally signed message part
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 99.3 for Ubuntu

2018-01-26 Thread Chris
On Thu, 2018-01-25 at 19:18 -0800, Al Varnell wrote:
> Are you sure you have the correct 0.99.3 download released late today
> from ?
> 
Hi Al, when trying to get the release source via "pull-lp-source
clamav" I instead get the beta1 source:

pull-lp-source clamav
pull-lp-source: Downloading clamav version 0.99.3~beta1+dfsg-2ubuntu1
pull-lp-source: Downloading clamav_0.99.3~beta1+dfsg.orig.tar.xz from
archive.ubuntu.com (5.611 MiB)
pull-lp-source: Downloading clamav_0.99.3~beta1+dfsg-
2ubuntu1.debian.tar.xz from archive.ubuntu.com (0.207 MiB)
gpgv: Signature made Thu 23 Nov 2017 02:02:52 AM CST using RSA key ID
8280B242
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on
./clamav_0.99.3~beta1+dfsg-2ubuntu1.dsc
dpkg-source: info: extracting clamav in clamav-0.99.3~beta1+dfsg
dpkg-source: info: unpacking clamav_0.99.3~beta1+dfsg.orig.tar.xz
dpkg-source: info: unpacking clamav_0.99.3~beta1+dfsg-
2ubuntu1.debian.tar.xz
dpkg-source: info: applying Change-paths-in-sample-conf-file-to-match-
Debian.patch
dpkg-source: info: applying add-support-for-system-tomsfastmath.patch
dpkg-source: info: applying
clamd_dont_depend_on_clamav_demon_socket.patch
dpkg-source: info: applying Add-support-for-LLVM-3.7.patch
dpkg-source: info: applying Add-support-for-LLVM-3.8.patch
dpkg-source: info: applying Add-support-for-LLVM-3.9.patch
dpkg-source: info: applying Fix_detection_of_libcurl.patch
dpkg-source: info: applying clamsubmit-add-JSON-libs-to-
clamsubmit.patch
dpkg-source: info: applying fix_newer_zlib.patch

I tried again just now to get the release source and still got beta1.



> That README only contains the following:
> 
> > 
> > 0.99.3
> > --
> > 
> > ClamAV 0.99.3 is a hotfix release to patch a set of
> > vulnerabilities.
> > 
> > - fixes for the following CVE's: CVE-2017-6418, CVE-2017-6420, 
> >   CVE-2017-12374, CVE-2017-12375, CVE-2017-12376, CVE-2017-
> > 12377, 
> >   CVE-2017-12378, CVE-2017-12379, CVE-2017-12380. 
> > - also included are 2 minor fixes to properly detect openssl
> > install
> >   locations on FreeBSD 11, and prevent false warnings about
> > zlib 1.2.1#
> >   version numbers. 
> > 
> > Thank you to the following ClamAV community members for your code
> > submissions and bug reports! 
> > 
> > Alberto Garcia
> > Daniel J. Luke
> > Francisco Oca
> > Sebastian A. Siewior
> > Suleman Ali
> > 
> > Special thanks to Offensive Research at Salesforce.com for
> > responsible disclosure.
> -Al-
> 
> On Thu, Jan 25, 2018 at 06:46 PM, Chris wrote:
> > 
> > 
> > I noticed this in the README:
> > 
> > Additionally, we have introduced important changes and new features
> > in
> > ClamAV 0.99.3, including:
> > - Deprecating internal LLVM code support. The configure script
> > has
> > changed to search the system for an installed instance of the LLVM
> > development libraries, and to otherwise use the bytecode
> > interpreter
> > for ClamAV bytecode signatures. To use the LLVM Just-In-Time
> > compiler
> > for executing bytecode signatures, please ensure that the LLVM
> > development package at version 3.6 or lower is installed. Using the
> > deprecated LLVM code is possible with the command: './configure --
> > with-
> > system-llvm=no', but it no longer compiles on all platforms.
> > 
> > If I read the above correctly - 
> > 
> > To use the LLVM Just-In-Time compiler for executing bytecode
> > signatures, please ensure that the LLVM development package at
> > version
> > 3.6 or lower is installed. Using the deprecated LLVM code is
> > possible
> > with the command: './configure --with-system-llvm=no', but it no
> > longer
> > compiles on all platforms.
> > 
> > But then the pbuilder output says - Depends: llvm-3.9-dev
> ___
> clamav-users mailing list
> clamav-users@lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> 
> 
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> 
> http://www.clamav.net/contact.html#ml
-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
08:22:56 up 10 min, 1 user, load average: 0.51, 2.11, 1.70
Description:Ubuntu 16.04.3 LTS, kernel 4.13.0-32-generic


signature.asc
Description: This is a digitally signed message part
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 99.3 for Ubuntu

2018-01-25 Thread Matus UHLAR - fantomas

On January 25, 2018 11:18:41 PM UTC, Chris 
wrote:
> I'm trying to build 99.3 for Ubuntu 16.04LTS. I had no problems
> building 99.2 with pbuilder. When downloading the source I got



> https://pastebin.com/K1LfbwXX



On Fri, 2018-01-26 at 00:46 +, Scott Kitterman wrote:

From the pastebin:

Depends: llvm-3.9-dev

That's not available on 16.04.  Change it to the version that is
available there (I don't track Ubuntu things anymore, so I don't know
which one that is.


On 25.01.18 20:46, Chris wrote:

Thanks for the reply Scott. According to this:

apt-cache policy llvm-3.9
llvm-3.9:
  Installed: 1:3.9.1-4ubuntu3~16.04.2
  Candidate: 1:3.9.1-4ubuntu3~16.04.2

apt-cache policy llvm-3.9-dev
llvm-3.9-dev:
  Installed: 1:3.9.1-4ubuntu3~16.04.2
  Candidate: 1:3.9.1-4ubuntu3~16.04.2



But then the pbuilder output says - Depends: llvm-3.9-dev


because it needs it to build clamav. this has nothign with internal clamav
issued.

do:

apt-get install llvm-3.9-dev

and see what it does.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
99 percent of lawyers give the rest a bad name. 
___

clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 99.3 for Ubuntu

2018-01-25 Thread Al Varnell
Are you sure you have the correct 0.99.3 download released late today from 
?

That README only contains the following:

> 0.99.3
> --
> 
> ClamAV 0.99.3 is a hotfix release to patch a set of vulnerabilities.
> 
> - fixes for the following CVE's: CVE-2017-6418, CVE-2017-6420, 
>   CVE-2017-12374, CVE-2017-12375, CVE-2017-12376, CVE-2017-12377, 
>   CVE-2017-12378, CVE-2017-12379, CVE-2017-12380. 
> - also included are 2 minor fixes to properly detect openssl install
>   locations on FreeBSD 11, and prevent false warnings about zlib 1.2.1#
>   version numbers. 
> 
> Thank you to the following ClamAV community members for your code
> submissions and bug reports! 
> 
> Alberto Garcia
> Daniel J. Luke
> Francisco Oca
> Sebastian A. Siewior
> Suleman Ali
> 
> Special thanks to Offensive Research at Salesforce.com for responsible 
> disclosure.

-Al-

On Thu, Jan 25, 2018 at 06:46 PM, Chris wrote:
> 
> I noticed this in the README:
> 
> Additionally, we have introduced important changes and new features in
> ClamAV 0.99.3, including:
> - Deprecating internal LLVM code support. The configure script has
> changed to search the system for an installed instance of the LLVM
> development libraries, and to otherwise use the bytecode interpreter
> for ClamAV bytecode signatures. To use the LLVM Just-In-Time compiler
> for executing bytecode signatures, please ensure that the LLVM
> development package at version 3.6 or lower is installed. Using the
> deprecated LLVM code is possible with the command: './configure --with-
> system-llvm=no', but it no longer compiles on all platforms.
> 
> If I read the above correctly - 
> 
> To use the LLVM Just-In-Time compiler for executing bytecode
> signatures, please ensure that the LLVM development package at version
> 3.6 or lower is installed. Using the deprecated LLVM code is possible
> with the command: './configure --with-system-llvm=no', but it no longer
> compiles on all platforms.
> 
> But then the pbuilder output says - Depends: llvm-3.9-dev
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 99.3 for Ubuntu

2018-01-25 Thread Chris
On Fri, 2018-01-26 at 00:46 +, Scott Kitterman wrote:
> 
> On January 25, 2018 11:18:41 PM UTC, Chris 
> wrote:
> > 
> > I'm trying to build 99.3 for Ubuntu 16.04LTS. I had no problems
> > building 99.2 with pbuilder. When downloading the source I got
> > 
> > pull-lp-source clamav
> > pull-lp-source: Downloading clamav version 0.99.3~beta1+dfsg-
> > 2ubuntu1
> > pull-lp-source: Downloading clamav_0.99.3~beta1+dfsg.orig.tar.xz
> > from
> > archive.ubuntu.com (5.611 MiB)
> > pull-lp-source: Downloading clamav_0.99.3~beta1+dfsg-
> > 2ubuntu1.debian.tar.xz from archive.ubuntu.com (0.207 MiB)
> > 
> > whereas with 99.2 I got the non-beta source files. I figured I'd go
> > ahead and build the beta, I could always upgrade to the non-beta
> > version. When attempting to build I got the errors shown here but
> > as I
> > pasted at the bottom of the paste file I have all the dependencies
> > listed:
> > 
> > https://pastebin.com/K1LfbwXX
> > 
> > I may have to post this to the ubuntu-users list but I'm hoping
> > someone
> > here can set me straight.
> From the pastebin:
> 
> Depends: llvm-3.9-dev
> 
> That's not available on 16.04.  Change it to the version that is
> available there (I don't track Ubuntu things anymore, so I don't know
> which one that is.
> 
> Scott K
Thanks for the reply Scott. According to this:

apt-cache policy llvm-3.9
llvm-3.9:
  Installed: 1:3.9.1-4ubuntu3~16.04.2
  Candidate: 1:3.9.1-4ubuntu3~16.04.2

apt-cache policy llvm-3.9-dev
llvm-3.9-dev:
  Installed: 1:3.9.1-4ubuntu3~16.04.2
  Candidate: 1:3.9.1-4ubuntu3~16.04.2

I noticed this in the README:

Additionally, we have introduced important changes and new features in
ClamAV 0.99.3, including:
- Deprecating internal LLVM code support. The configure script has
changed to search the system for an installed instance of the LLVM
development libraries, and to otherwise use the bytecode interpreter
for ClamAV bytecode signatures. To use the LLVM Just-In-Time compiler
for executing bytecode signatures, please ensure that the LLVM
development package at version 3.6 or lower is installed. Using the
deprecated LLVM code is possible with the command: './configure --with-
system-llvm=no', but it no longer compiles on all platforms.

If I read the above correctly - 

To use the LLVM Just-In-Time compiler for executing bytecode
signatures, please ensure that the LLVM development package at version
3.6 or lower is installed. Using the deprecated LLVM code is possible
with the command: './configure --with-system-llvm=no', but it no longer
compiles on all platforms.

But then the pbuilder output says - Depends: llvm-3.9-dev

-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
20:20:34 up 12:21, 1 user, load average: 0.91, 1.54, 1.98
Description:Ubuntu 16.04.3 LTS, kernel 4.13.0-31-generic


signature.asc
Description: This is a digitally signed message part
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


Re: [clamav-users] 99.3 for Ubuntu

2018-01-25 Thread Scott Kitterman


On January 25, 2018 11:18:41 PM UTC, Chris  wrote:
>I'm trying to build 99.3 for Ubuntu 16.04LTS. I had no problems
>building 99.2 with pbuilder. When downloading the source I got
>
>pull-lp-source clamav
>pull-lp-source: Downloading clamav version 0.99.3~beta1+dfsg-2ubuntu1
>pull-lp-source: Downloading clamav_0.99.3~beta1+dfsg.orig.tar.xz from
>archive.ubuntu.com (5.611 MiB)
>pull-lp-source: Downloading clamav_0.99.3~beta1+dfsg-
>2ubuntu1.debian.tar.xz from archive.ubuntu.com (0.207 MiB)
>
>whereas with 99.2 I got the non-beta source files. I figured I'd go
>ahead and build the beta, I could always upgrade to the non-beta
>version. When attempting to build I got the errors shown here but as I
>pasted at the bottom of the paste file I have all the dependencies
>listed:
>
>https://pastebin.com/K1LfbwXX
>
>I may have to post this to the ubuntu-users list but I'm hoping someone
>here can set me straight.

>From the pastebin:

Depends: llvm-3.9-dev

That's not available on 16.04.  Change it to the version that is available 
there (I don't track Ubuntu things anymore, so I don't know which one that is.

Scott K
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml


[clamav-users] 99.3 for Ubuntu

2018-01-25 Thread Chris
I'm trying to build 99.3 for Ubuntu 16.04LTS. I had no problems
building 99.2 with pbuilder. When downloading the source I got

pull-lp-source clamav
pull-lp-source: Downloading clamav version 0.99.3~beta1+dfsg-2ubuntu1
pull-lp-source: Downloading clamav_0.99.3~beta1+dfsg.orig.tar.xz from
archive.ubuntu.com (5.611 MiB)
pull-lp-source: Downloading clamav_0.99.3~beta1+dfsg-
2ubuntu1.debian.tar.xz from archive.ubuntu.com (0.207 MiB)

whereas with 99.2 I got the non-beta source files. I figured I'd go
ahead and build the beta, I could always upgrade to the non-beta
version. When attempting to build I got the errors shown here but as I
pasted at the bottom of the paste file I have all the dependencies
listed:

https://pastebin.com/K1LfbwXX

I may have to post this to the ubuntu-users list but I'm hoping someone
here can set me straight.

-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
17:03:22 up 9:04, 1 user, load average: 1.10, 0.60, 0.51
Description:Ubuntu 16.04.3 LTS, kernel 4.13.0-31-generic


signature.asc
Description: This is a digitally signed message part
___
clamav-users mailing list
clamav-users@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml