Some notes from Ralph...

wdyt?

It's easily handled in the maven plugin...it's catch
all beibee...but some of the other stuff may require
some feedback from us.


Note: forwarded message attached.



 
____________________________________________________________________________________
Everyone is raving about the all-new Yahoo! Mail 
(http://advision.webevents.yahoo.com/mailbeta/)
--- Begin Message ---
Yes, +1, tomcat5 is a good starting point.
There may be cases though, where the defacto tomcat package standard
will no fit exactly.
I am now facing such a forced (slight) deviation with apacheds started
under commons-daemon-jsvc:

- there MUST be a %{homedir}/var because certain files (.lock) are
placed there.
- opted to place %{homedir}/var --> %{_localstatedir}/%{name} for FHS
reasons
- only below %{homedir}/var --> %{_localstatedir}/%{name} we can refine
the redirection such as

/var/apacheds/apacheds.lock
/var/apacheds/log -> /var/log/apacheds
/var/apacheds/partitions
/var/apacheds/run
/var/apacheds/tmp -> /var/tmp

- possibly /var/apacheds/run should point to /var/run/apacheds, a 
  directory with apacheds ownership, or another solution like touching
  and chmoding all necessary files directly in /var/run, but "shutdownPort"
  may be too general a file name for /var/run


This is all to say that

right, proceed, but don't expect absence of problems.

Cheers,

Ralph 


On Sat, 2006-10-28 at 11:45 -0700, Ole Ersoy wrote:
> Hey Guys,
> 
> I assume it's safe to make the following a "Standard"
> in the maven plugin for daemon packages.
> 
> %define confdir %{_sysconfdir}/%{name}
> %define logdir %{_localstatedir}/log/%{name}
> %define homedir %{_datadir}/%{name}
> %define bindir %{_datadir}/%{name}/bin
> 
> In other words these directories for JPackage daemons
> are equivalent to the Maven standard directories like
> 
> src/main/java/
> src/main/config/
> src/main/test/
> 
> etc.
> 
> In particular, a good rule seems to be to use %name
> as the namespace for the daemon under the listed
> directories.
> 
> I assume the default then would be to always include
> this line in the spec file:
> 
> install -d -m 755
> $RPM_BUILD_ROOT{%{confdir},%{logdir},%{homedir},%{bindir}}
> 
> 
> I've only looked at the Tomcat Spec file so far as a
> reference, so I wanted to float this in case it
> requires refinement.
> 
> Cheers,
> - Ole
> 
> P.S. I was asked about the scope of the Plugin, and I
> said it should be a catchall...thus it's suitable for
> generating RPMS for Daemons, libraries, etc.  Please
> let me know if there are any concerns, or refinements
> that should be added to the assumption.
> 
> 
>  
> ____________________________________________________________________________________
> Low, Low, Low Rates! Check out Yahoo! Messenger's cheap PC-to-Phone call 
> rates 
> (http://voice.yahoo.com)
> 
> _______________________________________________
> JPackage-discuss mailing list
> [EMAIL PROTECTED]
> https://www.zarb.org/mailman/listinfo/jpackage-discuss

_______________________________________________
JPackage-discuss mailing list
[EMAIL PROTECTED]
https://www.zarb.org/mailman/listinfo/jpackage-discuss

--- End Message ---

Reply via email to