[csw-devel] SF.net SVN: gar:[2467] csw/mgar/pkg/clamav/trunk

Trygve Laugstøl trygvel at opencsw.org
Mon Dec 8 19:47:27 CET 2008


Hi Peter

You might want to look into Dago's v2 of GAR to handle the splitting of 
packages. ClamAV should be a good example project for others to look at 
from what I can see.

--
Trygve

bonivart at users.sourceforge.net wrote:
> Revision: 2467
>           http://gar.svn.sourceforge.net/gar/?rev=2467&view=rev
> Author:   bonivart
> Date:     2008-12-07 13:33:00 +0000 (Sun, 07 Dec 2008)
> 
> Log Message:
> -----------
> clamav: multiple packages
> 
> Modified Paths:
> --------------
>     csw/mgar/pkg/clamav/trunk/Makefile
>     csw/mgar/pkg/clamav/trunk/checksums
> 
> Modified: csw/mgar/pkg/clamav/trunk/Makefile
> ===================================================================
> --- csw/mgar/pkg/clamav/trunk/Makefile	2008-12-07 12:47:24 UTC (rev 2466)
> +++ csw/mgar/pkg/clamav/trunk/Makefile	2008-12-07 13:33:00 UTC (rev 2467)
> @@ -1,5 +1,6 @@
> -# add re for update notification
> -# split into multiple packages: clamav, libclamav
> +# clamav, Peter Bonivart
> +# files outside /opt/csw are not included, need to fix gspec and cswproto
> +# split into multiple packages: clamav, libclamav, clamavdb?
>  # put libs in lib/32?
>  # add depend files
>  # add rc/smf support
> @@ -8,6 +9,7 @@
>  # add etc/clamd?
>  # add doc/README.CSW, INSTALL.clamav-milter.CSW
>  # check mantis bugs
> +# + add re for update notification
>  # + add contrib
>  # + add html docs and some pdf:s
>  # + remove *.a, *.la from libs
> @@ -27,9 +29,12 @@
>  
>  MASTER_SITES = http://freshmeat.net/redir/clamav/29355/url_tgz/
>  DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
> +DISTFILES += $(call admfiles,CSWlibclamav,)
>  DISTFILES += $(call admfiles,CSWclamav,)
> -#DISTFILES += $(call admfiles,CSWlibclamav,)
>  
> +# We define upstream file regex so we can be notifed of new upstream software release
> +UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
> +
>  GARCOMPILER = GNU
>  GNU_CC_HOME = /opt/csw/gcc3
>  
> @@ -43,6 +48,9 @@
>  
>  include gar/category.mk
>  
> +PKGFILE_CSWlibclamav_EXCLUSIVE  = $(libdir)/.*
> +PKGFILE_CSWlibclamav_EXCLUSIVE += $(includedir)/.*
> +
>  SPKG_SOURCEURL = http://www.clamav.net/
>  
>  pre-package:
> 
> Modified: csw/mgar/pkg/clamav/trunk/checksums
> ===================================================================
> --- csw/mgar/pkg/clamav/trunk/checksums	2008-12-07 12:47:24 UTC (rev 2466)
> +++ csw/mgar/pkg/clamav/trunk/checksums	2008-12-07 13:33:00 UTC (rev 2467)
> @@ -1,2 +1,3 @@
>  1181e6d62341b84708f126cc353f7ebf  download/clamav-0.94.2.tar.gz
>  df9572dc44907a1ceff3561f9b834e20  download/CSWclamav.gspec
> +6edc8660bde0b27d3676699eacb51884  download/CSWlibclamav.gspec
> 
> 
> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
> _______________________________________________
> devel mailing list
> devel at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/devel




More information about the devel mailing list