ports/160953: [maintainer] www/p5-RT-Authen-ExternalAuth -- drop rt36, add rt40
Matthew Seaman
m.seaman at infracaninophile.co.uk
Fri Sep 23 20:40:08 UTC 2011
>Number: 160953
>Category: ports
>Synopsis: [maintainer] www/p5-RT-Authen-ExternalAuth -- drop rt36, add rt40
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 23 20:40:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Matthew Seaman
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
Infracaninophile
>Environment:
System: FreeBSD lucid-nonsense.infracaninophile.co.uk 8.2-STABLE FreeBSD 8.2-STABLE #0 r225467: Sat Sep 10 13:30:35 BST 2011 root at lucid-nonsense.infracaninophile.co.uk:/usr/obj/usr/src/sys/LUCID-NONSENSE amd64
>Description:
This is dependent on ports/160901 being committed
Drop support for RT version 3.6.x (www/rt36 port expires as of 2011-09-30)
Add support for RT version 4.0.2
Add missing dependencies from Meta.yaml
Add license
Pet portlint
Files removed:
pkg-plist.rt36
Files renamed
pkg-plist.rt38 to pkg-plist
>How-To-Repeat:
>Fix:
--- p5-RT-Authen-ExternalAuth.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/p5-RT-Authen-ExternalAuth/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- Makefile 28 May 2011 13:21:58 -0000 1.8
+++ Makefile 23 Sep 2011 10:43:51 -0000
@@ -15,44 +15,39 @@
MAINTAINER= m.seaman at infracaninophile.co.uk
COMMENT= RT extension to authenticate users against an external source
-BUILD_DEPENDS= ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap
-RUN_DEPENDS= ${BUILD_DEPENDS}
+LICENSE= GPLv2
+
+BUILD_DEPENDS= ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \
+ p5-DBI>0:${PORTSDIR}/databases/p5-DBI \
+ p5-Net-SSLeay>0:${PORTSDIR}/security/p5-Net-SSLeay
+RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
-OPTIONS= RT36 "Install for rt-3.6.x (default rt-3.8.x)" off
+OPTIONS= RT38 "Install for rt-3.8.x (default rt-4.0.x)" off
.include <bsd.port.options.mk>
-.if defined(WITH_RT36)
-
-PORTVERSION= 0.05
-RTHOME?= rt3
-RT_PM_DIR= ${LOCALBASE}/${RTHOME}/lib
-BUILD_DEPENDS+= ${RT_PM_DIR}/RT.pm:${PORTSDIR}/www/rt36
-PLIST= ${PKGDIR}/pkg-plist.rt36
-MAN3PREFIX= ${PREFIX}/${RTHOME}/local
-
+.if defined(WITH_RT38)
+RT_VER= 38
.else
-
-RTHOME?= share/rt38
-RT_PM_DIR= ${SITE_PERL}
-BUILD_DEPENDS+= ${RT_PM_DIR}/RT.pm:${PORTSDIR}/www/rt38
-PLIST= ${PKGDIR}/pkg-plist.rt38
-MAN3PREFIX= ${PREFIX}
-
+RT_VER= 40
.endif
+BUILD_DEPENDS+= ${SITE_PERL}/RT.pm:${PORTSDIR}/www/rt${RT_VER}
+RUN_DEPENDS+= ${SITE_PERL}/RT.pm:${PORTSDIR}/www/rt${RT_VER}
+
+MAN3PREFIX= ${PREFIX}
MAN3= RT::Authen::ExternalAuth.3
-PLIST_SUB+= RTHOME=${RTHOME}
+PLIST_SUB+= RTHOME=share/rt${RT_VER}
# Note: You can install using an arbitrary $PREFIX but only if it
-# matches the $PREFIX used to install www/rt3{6,8}. Hence ignore
+# matches the $PREFIX used to install www/rt{38,40}. Hence ignore
# $PREFIX in the environment and inherit settings from RT.pm
do-configure:
@cd ${CONFIGURE_WRKSRC} && \
unset PREFIX && \
- ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${RT_PM_DIR} ./${CONFIGURE_SCRIPT} && \
+ ${SETENV} ${CONFIGURE_ENV} ${PERL5} -I${SITE_PERL} ./${CONFIGURE_SCRIPT} && \
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/www/p5-RT-Authen-ExternalAuth/distinfo,v
retrieving revision 1.4
diff -u -u -r1.4 distinfo
--- distinfo 28 May 2011 13:21:58 -0000 1.4
+++ distinfo 23 Sep 2011 10:43:51 -0000
@@ -1,4 +1,2 @@
SHA256 (RT-Authen-ExternalAuth-0.09.tar.gz) = 4b2fd506f55c69b126c191c330f4bdd89ccec364077e1fd035610d19f38319bc
SIZE (RT-Authen-ExternalAuth-0.09.tar.gz) = 56056
-SHA256 (RT-Authen-ExternalAuth-0.05.tar.gz) = e4ef01558d874b438c4818c5de1a373b93b8c2d4abffe9b87f0b88807a93c47e
-SIZE (RT-Authen-ExternalAuth-0.05.tar.gz) = 34653
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ pkg-plist 23 Sep 2011 10:43:51 -0000
@@ -0,0 +1,30 @@
+man/auto/RT/Authen/ExternalAuth/.packlist
+%%RTHOME%%/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm
+%%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/Elements/Header/Head
+%%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth
+%%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Session
+%%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Elements/DoAuth
+%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm
+%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm
+%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI/Cookie.pm
+%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm
+ at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI
+ at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth
+ at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen
+ at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT
+ at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib
+ at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Elements
+ at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler
+ at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/Elements/Header
+ at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/Elements
+ at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth
+ at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks
+ at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html
+ at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/etc
+ at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth
+ at dirrm man/auto/RT/Authen/ExternalAuth
+ at dirrmtry man/auto/RT/Authen
+ at dirrmtry man/auto/RT
+ at dirrmtry man/auto
+ at dirrmtry lib/RT/Authen
+ at dirrmtry lib/RT
Index: pkg-plist.rt36
===================================================================
RCS file: pkg-plist.rt36
diff -N pkg-plist.rt36
--- pkg-plist.rt36 25 Jan 2009 03:51:23 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
-%%RTHOME%%/local/etc/Authen-ExternalAuth/RT_SiteConfig.pm
-%%RTHOME%%/local/lib/RT/Authen/ExternalAuth.pm
-%%RTHOME%%/local/lib/RT/User_Vendor.pm
-%%RTHOME%%/local/man/auto/RT/Authen/ExternalAuth/.packlist
-%%RTHOME%%/share/html/Callbacks/ExternalAuth/autohandler/Auth
- at dirrm %%RTHOME%%/share/html/Callbacks/ExternalAuth/autohandler
- at dirrm %%RTHOME%%/share/html/Callbacks/ExternalAuth
- at dirrmtry %%RTHOME%%/share/html/Callbacks
- at dirrmtry %%RTHOME%%/local/man/man3
- at dirrm %%RTHOME%%/local/man/auto/RT/Authen/ExternalAuth
- at dirrmtry %%RTHOME%%/local/man/auto/RT/Authen
- at dirrmtry %%RTHOME%%/local/man/auto/RT
- at dirrmtry %%RTHOME%%/local/man/auto
- at dirrmtry %%RTHOME%%/local/man
- at dirrm %%RTHOME%%/local/lib/RT/Authen
- at dirrmtry %%RTHOME%%/local/lib/RT
- at dirrm %%RTHOME%%/local/etc/Authen-ExternalAuth
Index: pkg-plist.rt38
===================================================================
RCS file: pkg-plist.rt38
diff -N pkg-plist.rt38
--- pkg-plist.rt38 14 Jan 2010 06:21:03 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,25 +0,0 @@
-man/auto/RT/Authen/ExternalAuth/.packlist
-%%RTHOME%%/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm
-%%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth
-%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm
-%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/User_Vendor.pm
-%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm
-%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI/Cookie.pm
-%%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm
- at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI
- at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth
- at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT/Authen
- at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib/RT
- at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/lib
- at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler
- at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth
- at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html/Callbacks
- at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/html
- at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth/etc
- at dirrm %%RTHOME%%/plugins/RT-Authen-ExternalAuth
- at dirrm man/auto/RT/Authen/ExternalAuth
- at dirrmtry man/auto/RT/Authen
- at dirrmtry man/auto/RT
- at dirrmtry man/auto
- at dirrmtry lib/RT/Authen
- at dirrmtry lib/RT
--- p5-RT-Authen-ExternalAuth.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list