1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/net/iet/pkg-plist
Xin LI cf8e8b82a3 iSCSI Enterprise Target, based on a original port by QuadStor Systems [1].
iSCSI Enterprise Target is a simple open source iSCSI target with
professional features, that works well in enterprise environments
under real workloads, and is scalable and versatile enough to meet
the challenge of future storage needs and developments.

Part of additional work was sponsored by iXsystems, Inc.

[1] http://www.quadstor.com/tech-articles/116-iscsi-enterprise-target-iet-on-freebsd.html
2011-02-26 04:58:37 +00:00

22 lines
1.0 KiB
Plaintext

modules/iet.ko
@exec mkdir -p %D/etc/iet
@unexec (cmp -s %D/%%DATADIR%%/ietd.conf %D/etc/iet/ietd.conf && rm -f %D/etc/iet/ietd.conf) || true
%%DATADIR%%/ietd.conf
@exec [ -f %B/ietd.conf ] || cp %B/%f %D/etc/iet/ietd.conf
@unexec (cmp -s %D/%%DATADIR%%/initiators.allow %D/etc/iet/initiators.allow && rm -f %D/etc/iet/initiators.allow) || true
%%DATADIR%%/initiators.allow
@exec [ -f %B/initiators.allow ] || cp %B/%f %D/etc/iet/initiators.allow
@unexec (cmp -s %D/%%DATADIR%%/initiators.deny %D/etc/iet/initiators.deny && rm -f %D/etc/iet/initiators.deny) || true
%%DATADIR%%/initiators.deny
@exec [ -f %B/initiators.deny ] || cp %B/%f %D/etc/iet/initiators.deny
@unexec (cmp -s %D/%%DATADIR%%/targets.allow %D/etc/iet/targets.allow && rm -f %D/etc/iet/targets.allow) || true
%%DATADIR%%/targets.allow
@exec [ -f %B/targets.allow ] || cp %B/%f %D/etc/iet/targets.allow
@dirrmtry etc/iet
@dirrm %%DATADIR%%
sbin/ietd
sbin/ietadm
@exec /usr/sbin/kldxref %%KMODDIR%%
@unexec /usr/sbin/kldxref %%KMODDIR%%
@dirrmtry %%KMODDIR%%