View | Details | Raw Unified | Return to bug 160953
Collapse All | Expand All

(-)Makefile (-22 / +17 lines)
Lines 15-58 Link Here
15
MAINTAINER=	m.seaman@infracaninophile.co.uk
15
MAINTAINER=	m.seaman@infracaninophile.co.uk
16
COMMENT=	RT extension to authenticate users against an external source
16
COMMENT=	RT extension to authenticate users against an external source
17
17
18
BUILD_DEPENDS=	${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap
18
LICENSE=	GPLv2
19
RUN_DEPENDS=	${BUILD_DEPENDS}
19
20
BUILD_DEPENDS=	${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \
21
		p5-DBI>0:${PORTSDIR}/databases/p5-DBI \
22
		p5-Net-SSLeay>0:${PORTSDIR}/security/p5-Net-SSLeay
23
RUN_DEPENDS:=	${BUILD_DEPENDS}
20
24
21
PERL_CONFIGURE=	yes
25
PERL_CONFIGURE=	yes
22
26
23
OPTIONS=	RT36	"Install for rt-3.6.x (default rt-3.8.x)" off
27
OPTIONS=	RT38	"Install for rt-3.8.x (default rt-4.0.x)" off
24
28
25
.include <bsd.port.options.mk>
29
.include <bsd.port.options.mk>
26
30
27
.if defined(WITH_RT36)
31
.if defined(WITH_RT38)
28
32
RT_VER=		38
29
PORTVERSION=	0.05
30
RTHOME?=	rt3
31
RT_PM_DIR=	${LOCALBASE}/${RTHOME}/lib
32
BUILD_DEPENDS+=	${RT_PM_DIR}/RT.pm:${PORTSDIR}/www/rt36
33
PLIST=		${PKGDIR}/pkg-plist.rt36
34
MAN3PREFIX=	${PREFIX}/${RTHOME}/local
35
36
.else
33
.else
37
34
RT_VER=		40
38
RTHOME?=	share/rt38
39
RT_PM_DIR=	${SITE_PERL}
40
BUILD_DEPENDS+=	${RT_PM_DIR}/RT.pm:${PORTSDIR}/www/rt38
41
PLIST=		${PKGDIR}/pkg-plist.rt38
42
MAN3PREFIX=	${PREFIX}
43
44
.endif
35
.endif
45
36
37
BUILD_DEPENDS+=	${SITE_PERL}/RT.pm:${PORTSDIR}/www/rt${RT_VER}
38
RUN_DEPENDS+=	${SITE_PERL}/RT.pm:${PORTSDIR}/www/rt${RT_VER}
39
40
MAN3PREFIX=	${PREFIX}
46
MAN3=		RT::Authen::ExternalAuth.3
41
MAN3=		RT::Authen::ExternalAuth.3
47
PLIST_SUB+=	RTHOME=${RTHOME}
42
PLIST_SUB+=	RTHOME=share/rt${RT_VER}
48
43
49
# Note: You can install using an arbitrary $PREFIX but only if it
44
# Note: You can install using an arbitrary $PREFIX but only if it
50
# matches the $PREFIX used to install www/rt3{6,8}.  Hence ignore
45
# matches the $PREFIX used to install www/rt{38,40}.  Hence ignore
51
# $PREFIX in the environment and inherit settings from RT.pm
46
# $PREFIX in the environment and inherit settings from RT.pm
52
do-configure:
47
do-configure:
53
	@cd ${CONFIGURE_WRKSRC} && \
48
	@cd ${CONFIGURE_WRKSRC} && \
54
	    unset PREFIX && \
49
	    unset PREFIX && \
55
	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
50
	    ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ./${CONFIGURE_SCRIPT} && \
56
	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
51
	    ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
57
52
58
.include <bsd.port.mk>
53
.include <bsd.port.mk>
(-)distinfo (-2 lines)
Lines 1-4 Link Here
1
SHA256 (RT-Authen-ExternalAuth-0.09.tar.gz) = 4b2fd506f55c69b126c191c330f4bdd89ccec364077e1fd035610d19f38319bc
1
SHA256 (RT-Authen-ExternalAuth-0.09.tar.gz) = 4b2fd506f55c69b126c191c330f4bdd89ccec364077e1fd035610d19f38319bc
2
SIZE (RT-Authen-ExternalAuth-0.09.tar.gz) = 56056
2
SIZE (RT-Authen-ExternalAuth-0.09.tar.gz) = 56056
3
SHA256 (RT-Authen-ExternalAuth-0.05.tar.gz) = e4ef01558d874b438c4818c5de1a373b93b8c2d4abffe9b87f0b88807a93c47e
4
SIZE (RT-Authen-ExternalAuth-0.05.tar.gz) = 34653
(-)pkg-plist (+30 lines)
Added Link Here
1
man/auto/RT/Authen/ExternalAuth/.packlist
2
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm
3
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/Elements/Header/Head
4
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth
5
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Session
6
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Elements/DoAuth
7
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm
8
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm
9
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI/Cookie.pm
10
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm
11
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI
12
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth
13
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen
14
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT
15
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib
16
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Elements
17
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler
18
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/Elements/Header
19
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/Elements
20
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth
21
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks
22
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html
23
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/etc
24
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth
25
@dirrm man/auto/RT/Authen/ExternalAuth
26
@dirrmtry man/auto/RT/Authen
27
@dirrmtry man/auto/RT
28
@dirrmtry man/auto
29
@dirrmtry lib/RT/Authen
30
@dirrmtry lib/RT
(-)pkg-plist.rt36 (-17 lines)
Removed Link Here
1
%%RTHOME%%/local/etc/Authen-ExternalAuth/RT_SiteConfig.pm
2
%%RTHOME%%/local/lib/RT/Authen/ExternalAuth.pm
3
%%RTHOME%%/local/lib/RT/User_Vendor.pm
4
%%RTHOME%%/local/man/auto/RT/Authen/ExternalAuth/.packlist
5
%%RTHOME%%/share/html/Callbacks/ExternalAuth/autohandler/Auth
6
@dirrm %%RTHOME%%/share/html/Callbacks/ExternalAuth/autohandler
7
@dirrm %%RTHOME%%/share/html/Callbacks/ExternalAuth
8
@dirrmtry %%RTHOME%%/share/html/Callbacks
9
@dirrmtry %%RTHOME%%/local/man/man3
10
@dirrm %%RTHOME%%/local/man/auto/RT/Authen/ExternalAuth
11
@dirrmtry %%RTHOME%%/local/man/auto/RT/Authen
12
@dirrmtry %%RTHOME%%/local/man/auto/RT
13
@dirrmtry %%RTHOME%%/local/man/auto
14
@dirrmtry %%RTHOME%%/local/man
15
@dirrm %%RTHOME%%/local/lib/RT/Authen
16
@dirrmtry %%RTHOME%%/local/lib/RT
17
@dirrm %%RTHOME%%/local/etc/Authen-ExternalAuth
(-)pkg-plist.rt38 (-25 lines)
Removed Link Here
1
man/auto/RT/Authen/ExternalAuth/.packlist
2
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm
3
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth
4
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm
5
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm
6
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm
7
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI/Cookie.pm
8
%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm
9
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI
10
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth
11
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen
12
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT
13
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib
14
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler
15
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth
16
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks
17
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html
18
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/etc
19
@dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth
20
@dirrm man/auto/RT/Authen/ExternalAuth
21
@dirrmtry man/auto/RT/Authen
22
@dirrmtry man/auto/RT
23
@dirrmtry man/auto
24
@dirrmtry lib/RT/Authen
25
@dirrmtry lib/RT

Return to bug 160953