Add -docs.
Patch from Ian McWilliam, thanks!
This commit is contained in:
parent
b491ffb319
commit
886063dc52
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2014/05/05 14:03:09 zhuk Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2014/05/06 11:29:34 zhuk Exp $
|
||||
|
||||
SHARED_ONLY = Yes
|
||||
VERSION = 4.0.17
|
||||
@ -10,6 +10,7 @@ COMMENT-ldb = LDAP-like embedded database
|
||||
COMMENT-tdb = trivial database library
|
||||
COMMENT-tevent = event system based on talloc
|
||||
COMMENT-util = common libraries for Samba suite
|
||||
COMMENT-docs = additional documentation and examples for Samba
|
||||
|
||||
PKGNAME-main = ${PKGNAME}
|
||||
PKGNAME-ldb = ldb-${LDB_V}
|
||||
@ -17,6 +18,9 @@ PKGNAME-ldb = ldb-${LDB_V}
|
||||
PKGNAME-tdb = tdb-${TDB_V}
|
||||
PKGNAME-tevent = tevent-${TEVENT_V}
|
||||
PKGNAME-util = samba-util-${TALLOC_V}
|
||||
PKGNAME-docs = samba-docs-${VERSION}
|
||||
|
||||
PKG_ARCH-docs = *
|
||||
|
||||
LDB_V = 1.1.16
|
||||
#NTDB_V = 0.9
|
||||
@ -111,10 +115,12 @@ WANTLIB-tevent += ${UTIL_WANTLIB}
|
||||
|
||||
WANTLIB-util = ${WANTLIB-common}
|
||||
|
||||
WANTLIB-docs =
|
||||
|
||||
MASTER_SITES = http://ftp.samba.org/pub/samba/stable/ \
|
||||
http://ftp.samba.org/pub/samba/old-versions/
|
||||
|
||||
MULTI_PACKAGES = -main -ldb -tdb -tevent -util
|
||||
MULTI_PACKAGES = -main -ldb -tdb -tevent -util -docs
|
||||
#MULTI_PACKAGES += -ntdb # disabled by default in Samba4
|
||||
|
||||
MODULES = devel/gettext lang/python perl
|
||||
@ -125,6 +131,8 @@ BUILD_DEPENDS = net/py-dnspython \
|
||||
|
||||
RUN_DEPENDS-main = net/py-dnspython
|
||||
|
||||
RUN_DEPENDS-docs =
|
||||
|
||||
LIB_DEPENDS-main = ${BUILD_PKGPATH},-ldb>=${LDB_V} \
|
||||
${BUILD_PKGPATH},-tdb>=${TDB_V} \
|
||||
${BUILD_PKGPATH},-util>=${TALLOC_V} \
|
||||
@ -153,6 +161,8 @@ LIB_DEPENDS-tevent = ${BUILD_PKGPATH},-util>=${TALLOC_V}
|
||||
|
||||
LIB_DEPENDS-util = ${MODPY_LIB_DEPENDS}
|
||||
|
||||
LIB_DEPENDS-docs =
|
||||
|
||||
CONFIGURE_STYLE = simple
|
||||
|
||||
CONFIGURE_ARGS = --enable-fhs \
|
||||
@ -223,9 +233,14 @@ post-install:
|
||||
.for _l in ${UTIL_LIBS}
|
||||
cd ${PREFIX}/lib && ln -fs samba/lib${_l}.so.${LIB${_l}_VERSION}
|
||||
.endfor
|
||||
# installing sample config
|
||||
# install samba docs and sample config
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/samba
|
||||
@cp -R ${WRKDIST}/examples/* ${PREFIX}/share/examples/samba
|
||||
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/examples/samba
|
||||
@find ${PREFIX}/share/examples/samba -type f | \
|
||||
xargs chmod ${SHAREMODE}
|
||||
@find ${PREFIX}/share/examples/samba -type d | \
|
||||
xargs chmod ${DIRMODE}
|
||||
@sed -e 's:/usr/spool/samba:/var/spool/samba:g' \
|
||||
-e 's:/usr/local/samba/var/log:${SAMBA_LOGDIR}/smbd:g' \
|
||||
-e 's:MYGROUP:WORKGROUP:' \
|
||||
|
2
net/samba4/pkg/DESCR-docs
Normal file
2
net/samba4/pkg/DESCR-docs
Normal file
@ -0,0 +1,2 @@
|
||||
Additional Samba documentation in HTML and PDF format. Also contains
|
||||
the online help for SWAT.
|
192
net/samba4/pkg/PLIST-docs
Normal file
192
net/samba4/pkg/PLIST-docs
Normal file
@ -0,0 +1,192 @@
|
||||
@comment $OpenBSD: PLIST-docs,v 1.1 2014/05/06 11:29:34 zhuk Exp $
|
||||
@pkgpath net/samba,-docs
|
||||
share/examples/samba/LDAP/
|
||||
share/examples/samba/LDAP/README
|
||||
share/examples/samba/LDAP/convertSambaAccount
|
||||
share/examples/samba/LDAP/get_next_oid
|
||||
share/examples/samba/LDAP/ol-schema-migrate.pl
|
||||
share/examples/samba/LDAP/samba-nds.schema
|
||||
share/examples/samba/LDAP/samba-schema-FDS.ldif
|
||||
share/examples/samba/LDAP/samba-schema-netscapeds5.x.README
|
||||
share/examples/samba/LDAP/samba-schema.IBMSecureWay
|
||||
share/examples/samba/LDAP/samba.ldif
|
||||
share/examples/samba/LDAP/samba.schema
|
||||
share/examples/samba/LDAP/samba.schema.at.IBM-DS
|
||||
share/examples/samba/LDAP/samba.schema.oc.IBM-DS
|
||||
share/examples/samba/README
|
||||
share/examples/samba/VFS/
|
||||
share/examples/samba/VFS/Makefile.in
|
||||
share/examples/samba/VFS/README
|
||||
share/examples/samba/VFS/autogen.sh
|
||||
share/examples/samba/VFS/config.guess
|
||||
share/examples/samba/VFS/config.sub
|
||||
share/examples/samba/VFS/configure
|
||||
share/examples/samba/VFS/configure.in
|
||||
share/examples/samba/VFS/install-sh
|
||||
share/examples/samba/VFS/module_config.h.in
|
||||
share/examples/samba/VFS/shadow_copy_test.c
|
||||
share/examples/samba/VFS/skel_opaque.c
|
||||
share/examples/samba/VFS/skel_transparent.c
|
||||
share/examples/samba/VFS/wscript_build
|
||||
share/examples/samba/auth/
|
||||
share/examples/samba/auth/Makefile
|
||||
share/examples/samba/auth/auth_skel.c
|
||||
share/examples/samba/auth/crackcheck/
|
||||
share/examples/samba/auth/crackcheck/Makefile
|
||||
share/examples/samba/auth/crackcheck/crackcheck.c
|
||||
share/examples/samba/auth/wscript_build
|
||||
share/examples/samba/autofs/
|
||||
share/examples/samba/autofs/auto.smb
|
||||
share/examples/samba/dce-dfs/
|
||||
share/examples/samba/dce-dfs/README
|
||||
share/examples/samba/dce-dfs/smb.conf
|
||||
share/examples/samba/libsmbclient/
|
||||
share/examples/samba/libsmbclient/Makefile
|
||||
share/examples/samba/libsmbclient/Makefile.internal.in
|
||||
share/examples/samba/libsmbclient/README
|
||||
share/examples/samba/libsmbclient/get_auth_data_fn.h
|
||||
share/examples/samba/libsmbclient/testacl.c
|
||||
share/examples/samba/libsmbclient/testacl2.c
|
||||
share/examples/samba/libsmbclient/testacl3.c
|
||||
share/examples/samba/libsmbclient/testbrowse.c
|
||||
share/examples/samba/libsmbclient/testbrowse2.c
|
||||
share/examples/samba/libsmbclient/testchmod.c
|
||||
share/examples/samba/libsmbclient/testctx.c
|
||||
share/examples/samba/libsmbclient/testfstatvfs.c
|
||||
share/examples/samba/libsmbclient/testread.c
|
||||
share/examples/samba/libsmbclient/testsmbc.c
|
||||
share/examples/samba/libsmbclient/teststat.c
|
||||
@comment share/examples/samba/libsmbclient/teststat.c.orig
|
||||
share/examples/samba/libsmbclient/teststat2.c
|
||||
@comment share/examples/samba/libsmbclient/teststat2.c.orig
|
||||
share/examples/samba/libsmbclient/teststat3.c
|
||||
share/examples/samba/libsmbclient/teststatvfs.c
|
||||
share/examples/samba/libsmbclient/testtruncate.c
|
||||
share/examples/samba/libsmbclient/testutime.c
|
||||
@comment share/examples/samba/libsmbclient/testutime.c.orig
|
||||
share/examples/samba/libsmbclient/testwrite.c
|
||||
share/examples/samba/libsmbclient/tree.c
|
||||
share/examples/samba/libsmbclient/wscript_build
|
||||
share/examples/samba/logon/
|
||||
share/examples/samba/logon/genlogon/
|
||||
share/examples/samba/logon/genlogon/genlogon.pl
|
||||
share/examples/samba/logon/mklogon/
|
||||
share/examples/samba/logon/mklogon/mklogon.conf
|
||||
share/examples/samba/logon/mklogon/mklogon.pl
|
||||
share/examples/samba/logon/ntlogon/
|
||||
share/examples/samba/logon/ntlogon/README
|
||||
share/examples/samba/logon/ntlogon/ntlogon.conf
|
||||
share/examples/samba/logon/ntlogon/ntlogon.py
|
||||
share/examples/samba/misc/
|
||||
share/examples/samba/misc/adssearch.pl
|
||||
share/examples/samba/misc/check_multiple_LDAP_entries.pl
|
||||
share/examples/samba/misc/cldap.pl
|
||||
share/examples/samba/misc/extra_smbstatus
|
||||
share/examples/samba/misc/swat.pl
|
||||
share/examples/samba/misc/wall.perl
|
||||
share/examples/samba/nss/
|
||||
share/examples/samba/nss/nss_winbind.c
|
||||
share/examples/samba/nss/nss_winbind.h
|
||||
share/examples/samba/nss/wbtest.c
|
||||
@comment share/examples/samba/pam_winbind/
|
||||
@comment share/examples/samba/pam_winbind/pam_winbind.conf
|
||||
share/examples/samba/pcap2nbench/
|
||||
share/examples/samba/pcap2nbench/COPYING
|
||||
share/examples/samba/pcap2nbench/Makefile
|
||||
share/examples/samba/pcap2nbench/README
|
||||
share/examples/samba/pcap2nbench/closerequest.cpp
|
||||
share/examples/samba/pcap2nbench/closerequest.hpp
|
||||
share/examples/samba/pcap2nbench/ethernet.cpp
|
||||
share/examples/samba/pcap2nbench/ethernet.hpp
|
||||
share/examples/samba/pcap2nbench/ip.cpp
|
||||
share/examples/samba/pcap2nbench/ip.hpp
|
||||
share/examples/samba/pcap2nbench/main.cpp
|
||||
share/examples/samba/pcap2nbench/ntcreateandxrequest.cpp
|
||||
share/examples/samba/pcap2nbench/ntcreateandxrequest.hpp
|
||||
share/examples/samba/pcap2nbench/ntcreateandxresponse.cpp
|
||||
share/examples/samba/pcap2nbench/ntcreateandxresponse.hpp
|
||||
share/examples/samba/pcap2nbench/readandxrequest.cpp
|
||||
share/examples/samba/pcap2nbench/readandxrequest.hpp
|
||||
share/examples/samba/pcap2nbench/readandxresponse.hpp
|
||||
share/examples/samba/pcap2nbench/smb.cpp
|
||||
share/examples/samba/pcap2nbench/smb.hpp
|
||||
share/examples/samba/pcap2nbench/tcp.cpp
|
||||
share/examples/samba/pcap2nbench/tcp.hpp
|
||||
share/examples/samba/pcap2nbench/writeandxrequest.cpp
|
||||
share/examples/samba/pcap2nbench/writeandxrequest.hpp
|
||||
share/examples/samba/pdb/
|
||||
share/examples/samba/pdb/Makefile
|
||||
share/examples/samba/pdb/README
|
||||
share/examples/samba/pdb/test.c
|
||||
share/examples/samba/pdb/wscript_build
|
||||
share/examples/samba/perfcounter/
|
||||
share/examples/samba/perfcounter/Makefile
|
||||
share/examples/samba/perfcounter/perf.h
|
||||
share/examples/samba/perfcounter/perf_writer.c
|
||||
share/examples/samba/perfcounter/perf_writer_cpu.c
|
||||
share/examples/samba/perfcounter/perf_writer_disk.c
|
||||
share/examples/samba/perfcounter/perf_writer_mem.c
|
||||
share/examples/samba/perfcounter/perf_writer_process.c
|
||||
share/examples/samba/perfcounter/perf_writer_util.c
|
||||
share/examples/samba/perfcounter/perfcountd.init
|
||||
share/examples/samba/printer-accounting/
|
||||
share/examples/samba/printer-accounting/README
|
||||
share/examples/samba/printer-accounting/acct-all
|
||||
share/examples/samba/printer-accounting/acct-sum
|
||||
share/examples/samba/printer-accounting/hp5-redir
|
||||
share/examples/samba/printer-accounting/lp-acct
|
||||
share/examples/samba/printer-accounting/printcap
|
||||
share/examples/samba/printing/
|
||||
share/examples/samba/printing/VampireDriversFunctions
|
||||
share/examples/samba/printing/prtpub.c
|
||||
share/examples/samba/printing/readme.prtpub
|
||||
@comment share/examples/samba/printing/smbprint.sysv
|
||||
share/examples/samba/scripts/
|
||||
@comment share/examples/samba/scripts/debugging/
|
||||
@comment share/examples/samba/scripts/debugging/linux/
|
||||
@comment share/examples/samba/scripts/debugging/linux/backtrace
|
||||
@comment share/examples/samba/scripts/debugging/solaris/
|
||||
@comment share/examples/samba/scripts/debugging/solaris/README
|
||||
@comment share/examples/samba/scripts/debugging/solaris/solaris-oops.sh
|
||||
share/examples/samba/scripts/eventlog/
|
||||
share/examples/samba/scripts/eventlog/parselog.pl
|
||||
share/examples/samba/scripts/idmap/
|
||||
share/examples/samba/scripts/idmap/README
|
||||
share/examples/samba/scripts/idmap/idmap_nis.sh
|
||||
@comment share/examples/samba/scripts/mount/
|
||||
@comment share/examples/samba/scripts/mount/mount.smbfs
|
||||
share/examples/samba/scripts/printing/
|
||||
share/examples/samba/scripts/printing/cups/
|
||||
share/examples/samba/scripts/printing/cups/smbaddprinter.pl
|
||||
share/examples/samba/scripts/printing/cups/smbdelprinter.pl
|
||||
share/examples/samba/scripts/shares/
|
||||
share/examples/samba/scripts/shares/perl/
|
||||
share/examples/samba/scripts/shares/perl/modify_samba_config.pl
|
||||
share/examples/samba/scripts/shares/python/
|
||||
share/examples/samba/scripts/shares/python/SambaConfig.py
|
||||
share/examples/samba/scripts/shares/python/SambaParm.py
|
||||
share/examples/samba/scripts/shares/python/generate_parm_table.py
|
||||
share/examples/samba/scripts/shares/python/modify_samba_config.py
|
||||
share/examples/samba/scripts/shares/python/smbparm.py
|
||||
share/examples/samba/scripts/users_and_groups/
|
||||
share/examples/samba/scripts/users_and_groups/adduserstogroups.pl
|
||||
share/examples/samba/scripts/users_and_groups/createdomobj.pl
|
||||
share/examples/samba/scripts/vfs/
|
||||
share/examples/samba/scripts/vfs/media_harmony/
|
||||
share/examples/samba/scripts/vfs/media_harmony/trigger_avid_update.py
|
||||
share/examples/samba/scripts/wins_hook/
|
||||
share/examples/samba/scripts/wins_hook/README
|
||||
share/examples/samba/scripts/wins_hook/dns_update
|
||||
share/examples/samba/tridge/
|
||||
share/examples/samba/tridge/README
|
||||
share/examples/samba/tridge/smb.conf
|
||||
share/examples/samba/tridge/smb.conf.WinNT
|
||||
share/examples/samba/tridge/smb.conf.fjall
|
||||
share/examples/samba/tridge/smb.conf.lapland
|
||||
share/examples/samba/tridge/smb.conf.vittjokk
|
||||
share/examples/samba/validchars/
|
||||
share/examples/samba/validchars/msdos70.out
|
||||
share/examples/samba/validchars/nwdos70.out
|
||||
share/examples/samba/validchars/readme
|
||||
share/examples/samba/validchars/validchr.c
|
||||
share/examples/samba/validchars/validchr.com
|
Loading…
Reference in New Issue
Block a user