On Thu, Nov 13, 2003, F. Even wrote: > First off, I would like to say you guys have done an awesome job w/ OpenPKG. > You have saved me lots of trouble having to upgrade my FreeBSD 4.0R box that > is in a remote location. The ports collection no longer works correctly, > packages are hit and miss...but now OpenPKG to the rescue. > > I was trying to install sudo and it would not install due to a generic MTA > dependency. I have one of the latest snapshots of postfix installed on this > machine from source, and do not need an MTA. > > I've seen some references to creating a "virtual package." I've even found > this: > > http://marc.theaimsgroup.com/?l=openpkg-users&m=105800389211960&w=2 > > ...but even with that and all of the documentation (Handbook/FAQ, etc.), the > process for creating these "virtual" packages is vague at best. I would be > one of the very grateful OPKG users if this could be spelled out somewhere > for someone who is not really a programmer, and can make only crude scripts. > > Could someone direct me to a tutorial/quicky FAQ item, something that tells > me how to create a "virtual package" to meet the MTA dependency?
Sorry that our documentation still lacks those details. For your particular situation of importing an external MTA we recently created (at least in OpenPKG-CURRENT) the "openpkg-import" package. If you build this package with "rpm --rebuild --define 'with_mta yes' --define 'with_mta_path /path/to/your/sendmail' openpkg-import-*.src.rpm" you get an openpkg-import package which provides the "MTA" virtual package and later directs sudo to your external Postfix installation. > Also.....given all the documentation, I still really have no clue how to use > lsync. Is there anywhere I can get more information using htat? How does > lsync fit in the process above? lsync is completely separate from RPM. RPM manages everything under <prefix> except for <prefix>/local/. For <prefix>/local/ lsync exists. It is intended as an alternative solution for easily integrating manually installed software into an OpenPKG instance without having to roll real RPM packages. For more details on lsync read its manual page lsync(8) and the section "Integrating unpackaged software" on it in our article http://www.openpkg.org/doc/articles/sysadmin/article.html Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
