Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= ldapscripts |
8 |
PORTNAME= ldapscripts |
9 |
PORTVERSION= 1.5 |
9 |
PORTVERSION= 1.6 |
10 |
CATEGORIES= net |
10 |
CATEGORIES= net |
11 |
MASTER_SITES= http://contribs.martymac.com/ldapscripts/ \ |
11 |
MASTER_SITES= http://contribs.martymac.com/ldapscripts/ \ |
12 |
${MASTER_SITE_LOCAL} |
12 |
${MASTER_SITE_LOCAL} |
Lines 34-40
Link Here
|
34 |
MAN1= ldapaddgroup.1 ldapaddmachine.1 ldapadduser.1 ldapaddusertogroup.1 \ |
34 |
MAN1= ldapaddgroup.1 ldapaddmachine.1 ldapadduser.1 ldapaddusertogroup.1 \ |
35 |
ldapdeletegroup.1 ldapdeleteuser.1 ldapdeleteuserfromgroup.1 \ |
35 |
ldapdeletegroup.1 ldapdeleteuser.1 ldapdeleteuserfromgroup.1 \ |
36 |
ldaprenameuser.1 ldapsetprimarygroup.1 _lsldap.1 _ldaprenamemachine.1 \ |
36 |
ldaprenameuser.1 ldapsetprimarygroup.1 _lsldap.1 _ldaprenamemachine.1 \ |
37 |
_ldaprenamegroup.1 _ldapinit.1 _ldapdeletemachine.1 _ldappasswd.1 |
37 |
_ldaprenamegroup.1 _ldapinit.1 _ldapdeletemachine.1 _ldappasswd.1 _ldapfinger.1 |
38 |
MAN5= ldapscripts.5 |
38 |
MAN5= ldapscripts.5 |
39 |
|
39 |
|
40 |
# Change /etc to ${LOCALBASE}/etc |
40 |
# Change /etc to ${LOCALBASE}/etc |
Lines 66-71
Link Here
|
66 |
${CP} ${WRKSRC}/bin/_ldaprenamegroup ${PREFIX}/bin |
66 |
${CP} ${WRKSRC}/bin/_ldaprenamegroup ${PREFIX}/bin |
67 |
${CP} ${WRKSRC}/bin/_ldaprenamemachine ${PREFIX}/bin |
67 |
${CP} ${WRKSRC}/bin/_ldaprenamemachine ${PREFIX}/bin |
68 |
${CP} ${WRKSRC}/bin/_ldappasswd ${PREFIX}/bin |
68 |
${CP} ${WRKSRC}/bin/_ldappasswd ${PREFIX}/bin |
|
|
69 |
${CP} ${WRKSRC}/bin/_ldapfinger ${PREFIX}/bin |
69 |
|
70 |
|
70 |
${MKDIR} ${LOCALBASE}/etc/ldapscripts |
71 |
${MKDIR} ${LOCALBASE}/etc/ldapscripts |
71 |
if [ -f ${LOCALBASE}/etc/ldapscripts/ldapscripts.conf ]; then \ |
72 |
if [ -f ${LOCALBASE}/etc/ldapscripts/ldapscripts.conf ]; then \ |
Lines 73-78
Link Here
|
73 |
fi |
74 |
fi |
74 |
${CP} ${WRKSRC}/etc/ldapscripts.conf ${LOCALBASE}/etc/ldapscripts |
75 |
${CP} ${WRKSRC}/etc/ldapscripts.conf ${LOCALBASE}/etc/ldapscripts |
75 |
${CP} ${WRKSRC}/etc/runtime ${LOCALBASE}/etc/ldapscripts |
76 |
${CP} ${WRKSRC}/etc/runtime ${LOCALBASE}/etc/ldapscripts |
|
|
77 |
${CP} ${WRKSRC}/etc/ldapaddgroup.template.sample ${LOCALBASE}/etc/ldapscripts |
78 |
${CP} ${WRKSRC}/etc/ldapadduser.template.sample ${LOCALBASE}/etc/ldapscripts |
79 |
${CP} ${WRKSRC}/etc/ldapaddmachine.template.sample ${LOCALBASE}/etc/ldapscripts |
76 |
${CP} ${WRKSRC}/README ${LOCALBASE}/etc/ldapscripts |
80 |
${CP} ${WRKSRC}/README ${LOCALBASE}/etc/ldapscripts |
77 |
${CP} ${WRKSRC}/CHANGELOG ${LOCALBASE}/etc/ldapscripts |
81 |
${CP} ${WRKSRC}/CHANGELOG ${LOCALBASE}/etc/ldapscripts |
78 |
${CP} ${WRKSRC}/COPYING ${LOCALBASE}/etc/ldapscripts |
82 |
${CP} ${WRKSRC}/COPYING ${LOCALBASE}/etc/ldapscripts |