I converted the original qca package to TQt and renamed to tqca.
To anybody interested, the converted sources are here:
http://humanreadable.nfshost.com/trinity/patches/tqt-fixes/
The converted tqca sources build without failures. The final package looks reasonable. Others more qualified than me should validate that the final package is good. I don't know the relationship of the original qca and qca-tls or how the original qca-tls depended upon qca for building. That relationship will have to be validated too. I have no idea how to test either.
I compared the original qca-tls sources to a copy of tqca-tls stripped of the TQt layer. The two source sets are practically identical. Therefore I don't think anything has been done to the converted tqca-tls sources that eliminates the need for a converted qca package. (Francois mentioned he has a patch that does something like that.)
I don't know whether I wasted my time converting the package. If not, then pushing the converted sources to GIT would resolve bug report 817.
Darrell
On 03/26/2012 02:05 PM, Darrell Anderson wrote:
I converted the original qca package to TQt and renamed to tqca.
To anybody interested, the converted sources are here:
http://humanreadable.nfshost.com/trinity/patches/tqt-fixes/
The converted tqca sources build without failures. The final package looks reasonable. Others more qualified than me should validate that the final package is good. I don't know the relationship of the original qca and qca-tls or how the original qca-tls depended upon qca for building. That relationship will have to be validated too. I have no idea how to test either.
I compared the original qca-tls sources to a copy of tqca-tls stripped of the TQt layer. The two source sets are practically identical. Therefore I don't think anything has been done to the converted tqca-tls sources that eliminates the need for a converted qca package. (Francois mentioned he has a patch that does something like that.)
I don't know whether I wasted my time converting the package. If not, then pushing the converted sources to GIT would resolve bug report 817.
Darrell
Darrell,
I don't know what I was doing, but tqca-tls has been building fine without issue on tqt3 for me:
tde-tqca-tls /opt/ tde-tqca-tls /opt/tqt3/ tde-tqca-tls /opt/tqt3/plugins/ tde-tqca-tls /opt/tqt3/plugins/crypto/ tde-tqca-tls /opt/tqt3/plugins/crypto/libqca-tls.so
I haven't tried building your converted package yet, but I was surprised when I read bug 817, because I'm either entirely confused as to what the issue was or I have just been lucky:
from the GIT tree: tqca-tls.tar.gz
[ "$QTDIR" = "" ] && . /etc/profile.d/tqt3.sh [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
./configure --qtdir=${QTDIR} \ --debug
make || return 1
Am I completely missing the point?
I don't know what I was doing, but tqca-tls has been building fine without issue on tqt3 for me:
tde-tqca-tls /opt/ tde-tqca-tls /opt/tqt3/ tde-tqca-tls /opt/tqt3/plugins/ tde-tqca-tls /opt/tqt3/plugins/crypto/ tde-tqca-tls /opt/tqt3/plugins/crypto/libqca-tls.so
I haven't tried building your converted package yet, but I was surprised when I read bug 817, because I'm either entirely confused as to what the issue was or I have just been lucky:
from the GIT tree: tqca-tls.tar.gz
[ "$QTDIR" = "" ] && . /etc/profile.d/tqt3.sh [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
./configure --qtdir=${QTDIR} \ --debug
make || return 1
Am I completely missing the point?
Originally there were two packages: qca and qca-tls.
I can build tqca-tls too and have for some time. My point is the qca package never was converted. I mentioned in my previous post that I don't know whether converting qca to tqca is necessary, but comparing the stripped tqca-tls sources to the original qca-tls sources looks like they are the same package with nothing added that would propose the elimination of the original qca package.
tqca/qca package contents:
/opt/trinity/include/qca.h /opt/trinity/lib/libqca.so.1.0.0* /usr/doc/tqca-R14.0.0/COPYING /usr/doc/tqca-R14.0.0/INSTALL /usr/doc/tqca-R14.0.0/README /usr/doc/tqca-R14.0.0/TODO
The qca.h header file in both packages is the same but building the (t)qca packages provides a lib file the tqca-tls package does not create. Francois mentioned he has a patch to build tqca-tls without tqca. That implies a relationship between the two original packages. I haven't yet tried his patch.
Darrell
On 03/26/2012 05:55 PM, Darrell Anderson wrote:
Originally there were two packages: qca and qca-tls.
I can build tqca-tls too and have for some time. My point is the qca package never was converted. I mentioned in my previous post that I don't know whether converting qca to tqca is necessary, but comparing the stripped tqca-tls sources to the original qca-tls sources looks like they are the same package with nothing added that would propose the elimination of the original qca package.
tqca/qca package contents:
/opt/trinity/include/qca.h /opt/trinity/lib/libqca.so.1.0.0* /usr/doc/tqca-R14.0.0/COPYING /usr/doc/tqca-R14.0.0/INSTALL /usr/doc/tqca-R14.0.0/README /usr/doc/tqca-R14.0.0/TODO
The qca.h header file in both packages is the same but building the (t)qca packages provides a lib file the tqca-tls package does not create. Francois mentioned he has a patch to build tqca-tls without tqca. That implies a relationship between the two original packages. I haven't yet tried his patch.
Darrell
OK,
Thanks, now I know what the issue was. (guess that tells you I can't tell you whether the requirement for tqca remains :)