Bug 57371 - Update security/clamav-devel
Summary: Update security/clamav-devel
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-29 20:50 UTC by rob
Modified: 2003-09-30 09:20 UTC (History)
1 user (show)

See Also:


Attachments
clamav-devel.patch (5.76 KB, patch)
2003-09-29 20:50 UTC, rob
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rob 2003-09-29 20:50:24 UTC
Update security/clamav-devel
- use included libtool (seems heavily patched)
- make packageable and include a working configure file
- don't install useless .la files
- use DATADIR
- 510001 is FreeBSD 5.10, 5.1-CURRENT is 501100
- Change log and pid file location to more universal one
- RC-ng scripts for clamd and clamav-milter are planned

- Thanks to Oliver Eikemeier from whom I stole most (clamav-port)

Fix: Create a file files/patch-ltmain.sh
and then apply this diff
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2003-09-30 04:13:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

I will take care of it.
Comment 2 Oliver Eikemeier 2003-09-30 04:32:18 UTC
Hi Rob,

> - Thanks to Oliver Eikemeier from whom I stole most (clamav-port)
Nice that you like my patch...

> +.ifdef USE_LIBTOOL_VER
> +	@${REINPLACE_CMD} -e '/^LIBTOOL=/s|\$$(top_builddir)/libtool|${LIBTOOL}|' \
> +		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
> +.endif

This only makes sense with the comment `#USE_LIBTOOL_VER=14' above. It basically says:

- normally you don't need files/patch-ltmain.sh, it's supposed to be
  USE_LIBTOOL_VER=14
  @${REINPLACE_CMD} -e '/^LIBTOOL=/s|\$$(top_builddir)/libtool|${LIBTOOL}|' \
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

- but this didn't work and I was to lazy to fix it, so I just patched ltmain.sh

- the commented USE_LIBTOOL_VER=14 (and ifdef'd REINPLACE_CMD) is an incitement
  for someone to find out what went wrong and fix it.

probably you should just omit these lines, they look strange without the #USE_LIBTOOL_VER=14
(or fix it and omit files/patch-ltmain.sh ;-)...

> +++ clamav-devel/pkg-plist	Mon Sep 29 18:27:22 2003
> [...]
>  @unexec echo ""
>  @unexec echo "========================================================="
>  @unexec echo " If you want to deinstall this package permanently then"

I won't expect this in an pkg-plist, a `packing list' is supposed to be
concerned with the package files, not messages. Just a style question,
but I think you should use a pkg-deinstall (POST-DEINSTALL) script here.
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2003-09-30 04:39:44 UTC
State Changed
From-To: open->closed

committed, thanks.
Comment 4 rob 2003-09-30 09:11:14 UTC
Oliver Eikemeier wrote:
> Hi Rob,
> 
>> - Thanks to Oliver Eikemeier from whom I stole most (clamav-port)
> 
> Nice that you like my patch...
> 
>> +.ifdef USE_LIBTOOL_VER
>> +    @${REINPLACE_CMD} -e 
>> '/^LIBTOOL=/s|\$$(top_builddir)/libtool|${LIBTOOL}|' \
>> +        ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
>> +.endif
> 
> 
> This only makes sense with the comment `#USE_LIBTOOL_VER=14' above. It 
> basically says:
> 
> - normally you don't need files/patch-ltmain.sh, it's supposed to be
>  USE_LIBTOOL_VER=14
>  @${REINPLACE_CMD} -e 
> '/^LIBTOOL=/s|\$$(top_builddir)/libtool|${LIBTOOL}|' \
>         ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
> 
> - but this didn't work and I was to lazy to fix it, so I just patched 
> ltmain.sh
> 
> - the commented USE_LIBTOOL_VER=14 (and ifdef'd REINPLACE_CMD) is an 
> incitement
>  for someone to find out what went wrong and fix it.
> 
> probably you should just omit these lines, they look strange without the 
> #USE_LIBTOOL_VER=14
> (or fix it and omit files/patch-ltmain.sh ;-)...
> 
>> +++ clamav-devel/pkg-plist    Mon Sep 29 18:27:22 2003
>> [...]
>>  @unexec echo ""
>>  @unexec echo "========================================================="
>>  @unexec echo " If you want to deinstall this package permanently then"
> 
> 
> I won't expect this in an pkg-plist, a `packing list' is supposed to be
> concerned with the package files, not messages. Just a style question,
> but I think you should use a pkg-deinstall (POST-DEINSTALL) script here.
> 


Hi Oliver,

I'm contacting you through this list because your server doesn't allow 
my IP ;-((. Maybe it's a good idea to get this patch in the clamav tree ?
I'd be happy to send in the patch.

Rob Evers