tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: net/samba4 issues



On Sat, 3 Sep 2022 13:47:17 +0200, Hauke Fath wrote:
> I have a set of PRINT_PLIST_AWK lines that helps with supporting the 
> 'lesser' options, [...]

FTR:

<snip>
.if ${SHLIB_TYPE} == "dylib"
SOEXT=          dylib
.else
SOEXT=          so
.endif
PLIST_SUBST+=   SOEXT=${SOEXT}

.if !defined(PWD_MKDB)
PWD_MKDB!=      ${TYPE} pwd_mkdb 2>&1 | \
                ${AWK} '/not found/ { print "pwd_mkdb"; exit } { print 
$$3 }'
MAKEFLAGS+=     PWD_MKDB=${PWD_MKDB:Q}
.endif
FILES_SUBST+=   MKTEMP=${MKTEMP:Q}
FILES_SUBST+=   PWD_MKDB=${PWD_MKDB:Q}

# Library extensions
PRINT_PLIST_AWK+=       /lib\/samba\// { gsub(/\.${SOEXT}$$/, 
".$${SOEXT}"); }

# winbind
PRINT_PLIST_AWK+=       !/rc\.d/ { gsub(/winbindd$$/, 
"$${PLIST.winbind}&"); }

# ldap
PRINT_PLIST_AWK+=       { gsub(/^include\/.+ldap\.h$$/, 
"$${PLIST.ldap}&"); }
PRINT_PLIST_AWK+=       { gsub(/^lib.+libsmbldap/, "$${PLIST.ldap}&"); }
PRINT_PLIST_AWK+=       { gsub(/^share\/.+\/samba\.schema$$/, 
"$${PLIST.ldap}&"); }

# pam
PRINT_PLIST_AWK+=       { gsub(/^lib\/samba\/.+pam/, "$${PLIST.pam}&"); 
}

# In PLIST.linux now
#PRINT_PLIST_AWK+=      { gsub(/^.+\/vfs_snapper\./, 
"$${PLIST.snapper}&"); }
</snip>

-- this is from the 4.13 pkg Makefile.

Cheerio,
Hauke

-- 
Hauke Fath                        <hauke%Espresso.Rhein-Neckar.DE@localhost>
Linnéweg 7
64342 Seeheim-Jugenheim
Germany


Home | Main Index | Thread Index | Old Index