-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjadm.shar
69 lines (68 loc) · 2.09 KB
/
jadm.shar
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# 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:
#
# jadm
# jadm/Makefile
# jadm/distinfo
# jadm/pkg-descr
# jadm/pkg-plist
#
echo c - jadm
mkdir -p jadm > /dev/null 2>&1
echo x - jadm/Makefile
sed 's/^X//' >jadm/Makefile << 'a93a80bbbacbb4891325f681cb1ba107'
X# $FreeBSD$
X
XPORTNAME= jadm
XPORTVERSION= 1.0
XCATEGORIES= sysutils python
XMASTER_SITES= CHEESESHOP
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER= [email protected]
XCOMMENT= FreeBSD jail framework with zfs, vnet and jail.conf support
X
XLICENSE= BSD
X
XBUILD_DEPENDS= ${PYTHON_LIBDIR}/site-packages/paramiko/:${PORTSDIR}/security/py-paramiko \
X ${PYTHON_LIBDIR}/site-packages/netifaces.so:${PORTSDIR}/net/py-netifaces \
X ${PYTHON_LIBDIR}/site-packages/tabulate.py:${PORTSDIR}/devel/py-tabulate \
X ${PYTHON_LIBDIR}/site-packages/ipaddress.py:${PORTSDIR}/net/py-ipaddress
X
XUSES= python
XUSE_PYTHON= distutils autoplist
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 901000
XIGNORE= freeBSD before 9.1 is not supported
X.endif
X
Xpre-install:
X ${CP} ${WRKSRC}/man8/jadm.8 ${WRKDIR}/stage${PREFIX}/man/man8
X
Xpost-install:
X# remove jadm.8 installed from setup.py
X ${RM} ${PREFIX}/man/man8/jadm.8
X
X.include <bsd.port.mk>
a93a80bbbacbb4891325f681cb1ba107
echo x - jadm/distinfo
sed 's/^X//' >jadm/distinfo << 'daf430aa89d0599fcf5c43aa8ede0d4b'
XSHA256 (jadm-1.0.tar.gz) = 2c654494feb8d0bf29dc3ebc0f8e0d924c99c9168a62f7edc3a672089612c828
XSIZE (jadm-1.0.tar.gz) = 33335
daf430aa89d0599fcf5c43aa8ede0d4b
echo x - jadm/pkg-descr
sed 's/^X//' >jadm/pkg-descr << '226c8e2ecad53a6032bdb44ee46867e1'
XJadm is python script which pars /etc/jail.conf in his own format.
XUse zfs for jail home also bridge interface and epair interfaces for jail vnet.
226c8e2ecad53a6032bdb44ee46867e1
echo x - jadm/pkg-plist
sed 's/^X//' >jadm/pkg-plist << '8cc1dcd87a88e4e0a88802d8227f426f'
Xman/man8/jadm.8.gz
8cc1dcd87a88e4e0a88802d8227f426f
exit