On Tue, 2 Sep 2025, Dan Mahoney (Ports) wrote:

TLDR: New .shar attached to fix a few port weirdnesses involving what looks 
like specifically a weird interaction between poudriere, the linux emulation 
layer and long symlinks.  I think we’re ready to go, but people should read the 
following.

You .shar file had Windows CRLF at the end.

I have also modified it as follows (there are whitespace changes). Full shar 
attached
that passes "port test -L". portlint complains about uncompressed manual pages.

diff -ru shar2/Makefile racadm/Makefile
--- shar2/Makefile      2025-09-02 22:27:29.969388000 +0000
+++ racadm/Makefile     2025-09-02 22:45:30.688442000 +0000
@@ -11,15 +11,15 @@
 WWW=           
https://www.dell.com/support/home/en-us/drivers/driversdetails?driverId=MFV7T

 LICENSE=       DELL
-LICENSE_NAME=   Dell Proprietary License
-LICENSE_TEXT=   This program is NOT in the public domain.\
+LICENSE_NAME=  Dell Proprietary License
+LICENSE_TEXT=  This program is NOT in the public domain.\
                Dell allows free downloads and mirroring of the linux RPMs this 
port is based on,\
                but you should read the full license here:\
                
https://www.dell.com/learn/us/en/uscorp1/legal_terms-conditions_dellgrmwebpage/art-software-license-agreements\
                and determine if it is right for you or your organization.
-LICENSE_PERMS=  dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
+LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept

-ONLY_FOR_ARCHS= amd64
+ONLY_FOR_ARCHS=        amd64
 WRKSRC=                ${WRKDIR}/${PORTNAME}
 NO_WRKSUBDIR=  yes

@@ -32,6 +32,6 @@

 do-install:
        cd ${WRKSRC}; ${CP} -pR * ${STAGEDIR}${PREFIX}
-       ln -s /compat/linux/usr/lib64/libssl.so.3.2.2 
${STAGEDIR}${PREFIX}/opt/dell/srvadmin/lib64/libssl.so
+       ${RLN} ${LINUXBASE}/lib64/libssl.so.3 
${STAGEDIR}${PREFIX}/opt/dell/srvadmin/lib64/openmanage/private/libssl.so

 .include <bsd.port.mk>
diff -ru shar2/pkg-plist racadm/pkg-plist
--- shar2/pkg-plist     2025-09-02 22:27:29.976282000 +0000
+++ racadm/pkg-plist    2025-09-02 22:45:53.931868000 +0000
@@ -2,7 +2,7 @@
 opt/dell/srvadmin/bin/idracadm7
 opt/dell/srvadmin/lib64/openmanage/private/libargtable2.so.0
 opt/dell/srvadmin/lib64/openmanage/private/libargtable2.so.0.1.6
-opt/dell/srvadmin/lib64/libssl.so
+opt/dell/srvadmin/lib64/openmanage/private/libssl.so
 opt/dell/srvadmin/sbin/racadm-wrapper-idrac7
 opt/dell/srvadmin/share/man/man3/argtable.3
 opt/dell/srvadmin/share/man/man3/argtable2.3

I have also installed linux-rl9-ca-certificates package.

Since I don't have any iDRAC, I have tested it via

# /compat/linux/opt/dell/srvadmin/bin/idracadm7 -r localhost getsysinfo

connecting to "openssl s_server -port 443 -key key -cert cert" running on 
localhost

given that my certificate is signed by Let's Encrypt,
I get no warnings from racadm and the SSL connection is established.

That strange relative symbolic link seeps to work:

# find /compat/linux -name 'libssl*' -ls
599103     1266 -rwxr-xr-x    1 root                             wheel          
                   1023516 Feb 11  2025 /compat/linux/usr/lib/libssl.so.3.2.2
599102        1 lrwxr-xr-x    1 root                             wheel             
                     15 Feb 11  2025 /compat/linux/usr/lib/libssl.so.3 -> 
libssl.so.3.2.2
599722     1161 -rwxr-xr-x    1 root                             wheel          
                    957488 Feb 11  2025 /compat/linux/usr/lib64/libssl.so.3.2.2
599721        1 lrwxr-xr-x    1 root                             wheel             
                     15 Feb 11  2025 /compat/linux/usr/lib64/libssl.so.3 -> 
libssl.so.3.2.2
603089        1 lrwxr-xr-x    1 root                             wheel             
                     83 Sep  2 22:48 
/compat/linux/opt/dell/srvadmin/lib64/openmanage/private/libssl.so -> 
../../../../../../../../../../../../../../../compat/linux/usr/lib64/libssl.so.3.2.2
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       racadm
#       racadm/pkg-message
#       racadm/Makefile
#       racadm/distinfo
#       racadm/pkg-plist
#       racadm/pkg-descr
#
echo c - racadm
mkdir -p racadm > /dev/null 2>&1
echo x - racadm/pkg-message
sed 's/^X//' >racadm/pkg-message << '42b24e87c731f3247778358f1d7ddf1c'
X[
X{ type: install
X  message: <<EOM
Xracadm7 has been installed under the linux "compat" tree:
X(by default, /compat/linux/opt/dell/srvadmin/bin/idracadm7) due to linux 
library dependencies.
X
XIt is left to the user to alias/symlink this path in their scripts.
XNote that under FreeBSD this will not work as a "local" racadm (to operate on 
an iDrac installed in the machine where it is run).
XEOM
X}
X]
42b24e87c731f3247778358f1d7ddf1c
echo x - racadm/Makefile
sed 's/^X//' >racadm/Makefile << 'ffd7c1fcbc182dedf1ea4018746dc0d4'
XPORTNAME=      racadm
XPORTVERSION=   11.3
XCATEGORIES=    sysutils linux
XMASTER_SITES=  
https://linux.dell.com/repo/hardware/DSU_25.08.25/os_dependent/RHEL9_64/racadm/
XDISTNAME=      srvadmin-idracadm7-11.3.0.0-795
XDISTFILES=     srvadmin-argtable2-11.3.0.0-795.el9.x86_64.rpm \
X               srvadmin-idracadm7-11.3.0.0-795.el9.x86_64.rpm
X
XMAINTAINER=    [email protected]
XCOMMENT=       Dell remote access controller admin utility
XWWW=           
https://www.dell.com/support/home/en-us/drivers/driversdetails?driverId=MFV7T
X
XLICENSE=       DELL
XLICENSE_NAME=  Dell Proprietary License
XLICENSE_TEXT=  This program is NOT in the public domain.\
X               Dell allows free downloads and mirroring of the linux RPMs this 
port is based on,\
X               but you should read the full license here:\
X               
https://www.dell.com/learn/us/en/uscorp1/legal_terms-conditions_dellgrmwebpage/art-software-license-agreements\
X               and determine if it is right for you or your organization.
XLICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
X
XONLY_FOR_ARCHS=        amd64
XWRKSRC=                ${WRKDIR}/${PORTNAME}
XNO_WRKSUBDIR=  yes
X
XRUN_DEPENDS=   linux_base-rl9>=0:emulators/linux_base-rl9
X
XUSE_LINUX=     rl9
XUSE_LINUX_PREFIX=YES
XUSE_LINUX_RPM=YES
XNO_BUILD=YES
X
Xdo-install:
X       cd ${WRKSRC}; ${CP} -pR * ${STAGEDIR}${PREFIX}
X       ${RLN} ${LINUXBASE}/lib64/libssl.so.3 
${STAGEDIR}${PREFIX}/opt/dell/srvadmin/lib64/openmanage/private/libssl.so
X
X.include <bsd.port.mk>
ffd7c1fcbc182dedf1ea4018746dc0d4
echo x - racadm/distinfo
sed 's/^X//' >racadm/distinfo << 'b531dce60af950fc9e780a2768cbb471'
XTIMESTAMP = 1756768563
XSHA256 (srvadmin-argtable2-11.3.0.0-795.el9.x86_64.rpm) = 
1db4a3431dd6b90a668467a0e623961f8bde9d975f268f6dbb59fde10bece165
XSIZE (srvadmin-argtable2-11.3.0.0-795.el9.x86_64.rpm) = 66651
XSHA256 (srvadmin-idracadm7-11.3.0.0-795.el9.x86_64.rpm) = 
9aaa86556fba84088494618d58a92d0e9ab0949eeb201ec7b0d91d17ffce9047
XSIZE (srvadmin-idracadm7-11.3.0.0-795.el9.x86_64.rpm) = 1142062
b531dce60af950fc9e780a2768cbb471
echo x - racadm/pkg-plist
sed 's/^X//' >racadm/pkg-plist << 'be71b8291e3a8b921704a27fbd8752c2'
Xetc/ld.so.conf.d/srvadmin-idrac7.conf
Xopt/dell/srvadmin/bin/idracadm7
Xopt/dell/srvadmin/lib64/openmanage/private/libargtable2.so.0
Xopt/dell/srvadmin/lib64/openmanage/private/libargtable2.so.0.1.6
Xopt/dell/srvadmin/lib64/openmanage/private/libssl.so
Xopt/dell/srvadmin/sbin/racadm-wrapper-idrac7
Xopt/dell/srvadmin/share/man/man3/argtable.3
Xopt/dell/srvadmin/share/man/man3/argtable2.3
Xusr/lib/.build-id/ca/690910e69bfe67f0f4bd2e4b155adfcf8627d3
Xusr/lib/.build-id/51/8f7b88f8e092b14c16c3454fa89b3e0541645f
Xusr/share/doc/srvadmin-argtable2/AUTHORS
Xusr/share/doc/srvadmin-argtable2/COPYING
Xusr/share/doc/srvadmin-argtable2/ChangeLog
Xusr/share/doc/srvadmin-argtable2/README
be71b8291e3a8b921704a27fbd8752c2
echo x - racadm/pkg-descr
sed 's/^X//' >racadm/pkg-descr << '71059e1067fd9ead6eb7513eae4a908b'
XLinux's cli to interface with Dell's Remote Access Controller (DRAC).
X
XThis is probably only useful in "remote" mode.
71059e1067fd9ead6eb7513eae4a908b
exit

Reply via email to