On Tue, August 15, 2006 14:05, Dickson, Paul wrote:
> Not to rain on your parade, but it seems kinda silly to have a port of
> it.  As long as perl and the co-ordinating modules are installed, all
> that needs to be done is to extract the zip to /usr/local/assp and run
> it from there...
>

It's not "port" or anything fancy.  The ebuild just runs sed to modify
file paths to where Gentoo usually keeps them.  Every distro is a bit
different.  Then it keeps track of the files like any other package
system.

example:
    sed -i -e "/foreach /s:('.':('/var/lib/assp/':" \
        -e 's:$base/$pidfile:/var/run/$pidfile:' \
        -e "s:'pid':'asspd.pid':" \
        -e 's:$base/images:/usr/share/assp/images:' \
        -e 's:"maillog.log":"/var/log/assp/maillog.log":' \
        -e 's:"$base/$maillog/:"/var/log/assp/$maillog/:' \
        -e "/AsADaemon,'As a Daemon',0,checkbox/s:checkbox,0,:checkbox,1,:" \
        -e ":[AvPath,':s:'':/var/lib/clamav/:" \
        -e '/($fil=/s:$fil=.*):$fil!~/.*\\.(css|gif|jpg|png)$/i):' \
        "${S}"/assp.pl || die "sed failed"



>
> I suppose you could create a package called something like "asspprereqs"
> to install the perl base, and all needed modules if your hell bent on
> making one.
>

No need, those are already in portage.  Except Mail-SRS which I added.

Greg


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to