Skip to content

Commit cc6e9f4

Browse files
author
hauke
committed
Clean up build warnings:
Remove a dangling symlink Reset non-executable files' executable bit
1 parent e82a835 commit cc6e9f4

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

sysutils/tsm8/Makefile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
# $NetBSD: Makefile,v 1.14 2024/09/18 11:34:25 hauke Exp $
1+
# $NetBSD: Makefile,v 1.15 2024/09/18 16:58:33 hauke Exp $
22

33
DISTNAME= tsm-${PKGVER}
44
PKGVER= 8.1.23.0
55
PKGNAME= ${DISTNAME:C/-/8-/}
6+
PKGREVISION= 1
67
CATEGORIES= sysutils
78
MASTER_SITES= https://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v8r1/Linux/LinuxX86/BA/v8123/
89
DISTFILES= ${PKGVER}-TIV-TSMBAC-LinuxX86.tar
@@ -89,14 +90,21 @@ do-extract:
8990
cd ${WRKDIR} && ${EXTRACTOR} ${DISTDIR}/${DISTFILES:Q}
9091

9192
post-install:
93+
test -h ${DESTDIR}${PREFIX}/emul/linux/etc/init.d/dsmcad && \
94+
rm ${DESTDIR}${PREFIX}/emul/linux/etc/init.d/dsmcad
9295
.if empty(PKG_OPTIONS:Mjava)
9396
for bb in `${SED} -e '/^[$$]{PLIST\\.java}/!d' -e 's/^[$$]{PLIST\\.java}//g' ${PLIST_SRC}`; do \
9497
${RM} -f ${DESTDIR}${PREFIX}/$${bb}; \
9598
done
9699
.else
97100
find ${DESTDIR}${PREFIX} -name \*.jar -exec chmod -x {} \;
98101
.endif
99-
find ${DESTDIR}${PREFIX} -name \*.txt -exec chmod -x {} \;
102+
find ${DESTDIR}${PREFIX} \( -name \*.txt -or -name \*.bat -or \
103+
-name \*.vbs -or -name \*.lic -or -name \*.properties \) \
104+
-exec chmod -x {} \;
105+
(cd ${DESTDIR}${PREFIX}/emul/linux/opt/tivoli/tsm/client/ba/bin/ \
106+
&& chmod -x *.sh commonFunctions configFile )
107+
chmod -x ${DESTDIR}${PREFIX}/emul/linux/usr/local/ibm/gsk8_64/copyright
100108
.for lt in ${LICENSE_TEXTS}
101109
${INSTALL_DATA} ${DOC_SRCDIR}/${lt} ${DESTDIR}${PREFIX}/${DOC_DIR}
102110
.endfor

sysutils/tsm8/PLIST

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
@comment $NetBSD: PLIST,v 1.9 2024/09/18 11:34:25 hauke Exp $
1+
@comment $NetBSD: PLIST,v 1.10 2024/09/18 16:58:33 hauke Exp $
22
bin/dsmc
33
${PLIST.java}bin/dsmj
4-
emul/linux/etc/init.d/dsmcad
54
emul/linux/etc/ld.so.conf.d/tsm_ld.so.conf
65
emul/linux/opt/tivoli/tsm/client/api/README_api.htm
76
emul/linux/opt/tivoli/tsm/client/api/bin64/CS_CZ/dscjres.txt

0 commit comments

Comments
 (0)