diff --git a/devel/Makefile b/devel/Makefile --- a/devel/Makefile +++ b/devel/Makefile @@ -2772,6 +2772,7 @@ SUBDIR += p5-Hash-Diff SUBDIR += p5-Hash-FieldHash SUBDIR += p5-Hash-Flatten + SUBDIR += p5-Hash-Merge-Extra SUBDIR += p5-Hash-Merge-Simple SUBDIR += p5-Hash-MoreUtils SUBDIR += p5-Hash-MultiKey diff --git a/devel/p5-Hash-Merge-Extra/Makefile b/devel/p5-Hash-Merge-Extra/Makefile new file mode 100644 --- /dev/null +++ b/devel/p5-Hash-Merge-Extra/Makefile @@ -0,0 +1,20 @@ +PORTNAME= Hash-Merge-Extra +PORTVERSION= 0.06 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= Collection of extra behaviors for Hash::Merge +WWW= https://metacpan.org/dist/Hash-Merge-Extra + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +RUN_DEPENDS= p5-Hash-Merge>0:textproc/p5-Hash-Merge + +NO_ARCH= yes +USES= perl5 +USE_PERL5= configure + +.include diff --git a/devel/p5-Hash-Merge-Extra/distinfo b/devel/p5-Hash-Merge-Extra/distinfo new file mode 100644 --- /dev/null +++ b/devel/p5-Hash-Merge-Extra/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1748633858 +SHA256 (Hash-Merge-Extra-0.06.tar.gz) = e6af2ba357ae6ebd53d810477800a5c8df19243f32fd94acdce901338dcab451 +SIZE (Hash-Merge-Extra-0.06.tar.gz) = 4563 diff --git a/devel/p5-Hash-Merge-Extra/pkg-descr b/devel/p5-Hash-Merge-Extra/pkg-descr new file mode 100644 --- /dev/null +++ b/devel/p5-Hash-Merge-Extra/pkg-descr @@ -0,0 +1 @@ +Collection of extra behaviors for Hash::Merge diff --git a/devel/p5-Hash-Merge-Extra/pkg-plist b/devel/p5-Hash-Merge-Extra/pkg-plist new file mode 100644 --- /dev/null +++ b/devel/p5-Hash-Merge-Extra/pkg-plist @@ -0,0 +1,2 @@ +%%SITE_PERL%%/Hash/Merge/Extra.pm +%%PERL5_MAN3%%/Hash::Merge::Extra.3.gz diff --git a/textproc/Makefile b/textproc/Makefile --- a/textproc/Makefile +++ b/textproc/Makefile @@ -666,6 +666,7 @@ SUBDIR += p5-Makefile-DOM SUBDIR += p5-Makefile-Parser SUBDIR += p5-Markapl + SUBDIR += p5-Markdown-Render SUBDIR += p5-Marpa-HTML SUBDIR += p5-MathML-Entities SUBDIR += p5-Net-Groonga-HTTP diff --git a/textproc/p5-Markdown-Render/Makefile b/textproc/p5-Markdown-Render/Makefile new file mode 100644 --- /dev/null +++ b/textproc/p5-Markdown-Render/Makefile @@ -0,0 +1,32 @@ +PORTNAME= Markdown-Render +PORTVERSION= 1.60.2 +CATEGORIES= textproc www perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:BIGFOOT +PKGNAMEPREFIX= p5- + +MAINTAINER= einar@isnic.is +COMMENT= Render markdown as HTML +WWW= https://metacpan.org/release/Markdown-Render + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +RUN_DEPENDS= p5-Class-Accessor>=0.51:devel/p5-Class-Accessor \ + p5-Config-Tiny>=2.28:devel/p5-Config-Tiny \ + p5-TimeDate>=2.24:devel/p5-TimeDate \ + p5-HTTP-Message>=6.45:www/p5-HTTP-Message \ + p5-IO-Stringy>=2.113:devel/p5-IO-Stringy \ + p5-JSON>=4.10:converters/p5-JSON \ + p5-libwww>=6.77:www/p5-libwww \ + p5-Readonly>=2.05:devel/p5-Readonly + +BUILD_DEPENDS= p5-ExtUtils-MakeMaker>=6.64:devel/p5-ExtUtils-MakeMaker \ + p5-File-ShareDir-Install>0:devel/p5-File-ShareDir-Install + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include diff --git a/textproc/p5-Markdown-Render/distinfo b/textproc/p5-Markdown-Render/distinfo new file mode 100644 --- /dev/null +++ b/textproc/p5-Markdown-Render/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1748692443 +SHA256 (Markdown-Render-1.60.2.tar.gz) = 35309f73f8c5f0b8d2fac5000b26ca9b93c46a374df1386a5ed8f44a39d67fe2 +SIZE (Markdown-Render-1.60.2.tar.gz) = 12514 diff --git a/textproc/p5-Markdown-Render/pkg-descr b/textproc/p5-Markdown-Render/pkg-descr new file mode 100644 --- /dev/null +++ b/textproc/p5-Markdown-Render/pkg-descr @@ -0,0 +1,3 @@ +This module can be used, along with a CSS::Parse::* module, to parse CSS +data and represent it as a tree of objects. Using a CSS::Adaptor::* module, +the CSS data tree can then be transformed into other formats. diff --git a/textproc/p5-Markdown-Render/pkg-plist b/textproc/p5-Markdown-Render/pkg-plist new file mode 100644 --- /dev/null +++ b/textproc/p5-Markdown-Render/pkg-plist @@ -0,0 +1,3 @@ +bin/md-utils.pl +%%SITE_PERL%%/Markdown/Render.pm +%%PERL5_MAN3%%/Markdown::Render.3.gz diff --git a/www/Makefile b/www/Makefile --- a/www/Makefile +++ b/www/Makefile @@ -2010,6 +2010,7 @@ SUBDIR += rsstool SUBDIR += rt44 SUBDIR += rt50 + SUBDIR += rt60 SUBDIR += rubygem-ace-rails-ap SUBDIR += rubygem-actioncable-gitlab SUBDIR += rubygem-actioncable5 diff --git a/www/p5-CSS-Inliner/Makefile b/www/p5-CSS-Inliner/Makefile --- a/www/p5-CSS-Inliner/Makefile +++ b/www/p5-CSS-Inliner/Makefile @@ -1,5 +1,5 @@ PORTNAME= CSS-Inliner -PORTVERSION= 4003 +PORTVERSION= 4027 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- diff --git a/www/p5-CSS-Inliner/distinfo b/www/p5-CSS-Inliner/distinfo --- a/www/p5-CSS-Inliner/distinfo +++ b/www/p5-CSS-Inliner/distinfo @@ -1,2 +1,3 @@ -SHA256 (CSS-Inliner-4003.tar.gz) = 7fc5beaeea31b47fd04dc6ebf84a65716e9f7fdf5c2440a78308f9bdbf96321a -SIZE (CSS-Inliner-4003.tar.gz) = 34186 +TIMESTAMP = 1748857835 +SHA256 (CSS-Inliner-4027.tar.gz) = 1a0f04bd099d72d15c2343d345c4ac17f6fb07b80f09e2dc906b4c22fe23298a +SIZE (CSS-Inliner-4027.tar.gz) = 33199 diff --git a/www/rt60/Makefile b/www/rt60/Makefile new file mode 100644 --- /dev/null +++ b/www/rt60/Makefile @@ -0,0 +1,180 @@ +PORTNAME= rt +DISTVERSION= 6.0.0 +CATEGORIES= www +MASTER_SITES= http://download.bestpractical.com/pub/rt/release/ +PKGNAMESUFFIX= 60 + +MAINTAINER= mikael@FreeBSD.org +COMMENT= Industrial-grade ticketing system written in Perl +WWW= https://www.bestpractical.com/rt/ + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +CONFLICTS_INSTALL= rt44-4.4* rt50 brlcad + +NO_ARCH= yes + +# See docs/web_deployment.pod for info on the choices of webserver / +# webapp combinations. Note: if using apache, apache-2.4+ is +# recommended. For deployment with nginx, use the SPAWN_FCGI method +# or the builtin webserver with a FCGI handler. +# +# The builtin standalone PSGI based webserver is always available, no +# matter what choice of web deployment platform, or none, that you +# make. Best Practical state that this is really only suitable for +# development usage, although I have heard reports of people using it +# successfully for medium sized deployments. If you only want the +# builtin webserver, simply deselect all of the web options. +# +# See docs/full_text_indexing.pod if you need to set up full text +# indexes on your ticket database. PostgreSQL is +# recommended in this case: the MYSQL / SphinxSearch combination +# mentioned in the docs is currently unsupported in the ports, but see +# http://www.infracaninophile.co.uk/articles/sphinxse.html + +OPTIONS_DEFINE= DEVELOPER EXTERNALAUTH GD GPG GRAPHVIZ SMIME DOCS +OPTIONS_SINGLE= DB +OPTIONS_SINGLE_DB= MYSQL PGSQL SQLITE +OPTIONS_RADIO= WEB +OPTIONS_RADIO_WEB= AP_MODFASTCGI AP_MODPERL LIGHTTPD SPAWN_FCGI + +OPTIONS_DEFAULT= AP_MODFASTCGI EXTERNALAUTH GD GPG MYSQL + +USERS?= www +GROUPS?= rt www + +.include "${.CURDIR}/Makefile.cpan" + +RUN_DEPENDS+= ${CLI_DEPS} \ + ${CORE_DEPS} \ + ${DASHBOARDS_DEPS} \ + ${ICAL_DEPS} \ + ${MAILGATE_DEPS} \ + ${REST2_DEPS} \ + ${USERLOGO_DEPS} \ + ${HTML_DOC_DEPS} + +USES= cpe perl5 +CPE_VENDOR= bestpractical + +RT_LAYOUT= FreeBSD +RT_ETC_DIR?= etc/${PORTNAME}${PKGNAMESUFFIX} +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} +DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} +RT_ETC_PATH= ${PREFIX}/${RT_ETC_DIR} + +AP_MODPERL_DESC= Deploy with apache and mod_perl +AP_MODPERL_RUN_DEPENDS= ${MODPERL2_DEPS} + +AP_MODFASTCGI_DESC= Deploy with apache and mod_fastcgi +AP_MODFASTCGI_USES= apache:run +AP_MODFASTCGI_RUN_DEPENDS= ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:www/mod_fastcgi \ + ${FASTCGI_DEPS} + +EXTERNALAUTH_DESC= Extension to authenticate users against an external source +EXTERNALAUTH_RUN_DEPENDS= ${EXTERNALAUTH_DEPS} + +LIGHTTPD_DESC= Deploy with lighttpd and mod_fastcgi +LIGHTTPD_RUN_DEPENDS= ${LOCALBASE}/sbin/lighttpd:www/lighttpd \ + ${FASTCGI_DEPS} + +SPAWN_FCGI_DESC= Deploy with spawn_fcgi +SPAWN_FCGI_RUN_DEPENDS= ${LOCALBASE}/bin/spawn-fcgi:www/spawn-fcgi \ + ${FASTCGI_DEPS} + +MYSQL_RUN_DEPENDS= ${MYSQL_DEPS} +MYSQL_USES= mysql +MYSQL_VARS= DB_TYPE=mysql DB_DBA_USER=root + +PGSQL_RUN_DEPENDS= ${PGSQL_DEPS} +PGSQL_VARS= DB_TYPE=Pg DB_DBA_USER=pgsql + +SQLITE_RUN_DEPENDS= ${SQLITE_DEPS} +SQLITE_VARS= DB_TYPE=SQLite DB_DBA_USER=root + +DEVELOPER_DESC= Configure for Developers +DEVELOPER_RUN_DEPENDS= ${DEVELOPER_DEPS} +DEVELOPER_CONFIGURE_ENABLE= developer + +SMIME_DESC= Enable Secure MIME support +SMIME_RUN_DEPENDS= ${SMIME_DEPS} +SMIME_CONFIGURE_ENABLE= smime + +GRAPHVIZ_RUN_DEPENDS= ${GRAPHVIZ_DEPS} +GRAPHVIZ_CONFIGURE_ENABLE= graphviz + +GPG_DESC= Enable GnuPG support +GPG_RUN_DEPENDS= ${GPG_DEPS} +GPG_CONFIGURE_ENABLE= gpg + +GD_DESC= Enable GD Graphs and Charts +GD_RUN_DEPENDS= ${GD_DEPS} +GD_CONFIGURE_ENABLE= gd + +BUILD_DEPENDS+= ${RUN_DEPENDS} + +DB_DBA_PASSWORD?= +DB_USER?= rt_user +DB_PASSWORD?= rt_pass +DB_HOST?= localhost +DB_DATABASE?= rt6 + +WEB_USER?= ${WWWOWN} +WEB_GROUP?= ${WWWGRP} +LIBS_GROUP?= wheel + +HAS_CONFIGURE= yes +NO_BUILD= yes + +CONFIGURE_ARGS+= --enable-layout=${RT_LAYOUT} \ + --with-web-user=${WEB_USER} \ + --with-web-group=${WEB_GROUP} \ + --with-libs-group=${LIBS_GROUP} \ + --with-db-host=${DB_HOST} \ + --with-db-port=${DB_PORT} \ + --with-db-type=${DB_TYPE} \ + --with-db-rt-user=${DB_USER} \ + --with-db-rt-pass=${DB_PASSWORD} \ + --with-db-database=${DB_DATABASE} \ + --with-db-dba=${DB_DBA_USER} + +CONFIGURE_ENV+= PERL=${LOCALBASE}/bin/perl + +SUB_FILES= pkg-message +SUB_LIST= RT_ETC_PATH=${RT_ETC_PATH} +PLIST_SUB= RT_ETC_DIR=${RT_ETC_DIR} + +pre-fetch: + @${ECHO} "" + @${ECHO} "Additional database related settings you can use:" + @${ECHO} " DB_HOST=hostname The database host (localhost)" + @${ECHO} " DB_PORT=port The database port" + @${ECHO} " DB_DATABASE=dbname The database name (rt5)" + @${ECHO} "" + @${ECHO} " DB_DBA_USER=username Name of database administrator (root)" + @${ECHO} " DB_DBA_PASSWORD=password Password of database administrator" + @${ECHO} " DB_USER=username Name of database user for RT (rt_user)" + @${ECHO} " DB_PASSWORD=password Name of database password for RT (rt_pass)" + +pre-fetch-SQLITE-on: + @${ECHO} "" + @${ECHO} "SQLITE is not recommended for production use" + +post-patch: + @${RM} ${WRKSRC}/lib/RT.pm.in.orig + @${REINPLACE_CMD} -e 's!%%PREFIX%%!${PREFIX}!g' ${WRKSRC}/config.layout + @${REINPLACE_CMD} -e 's!%%SITE_PERL%%!${PREFIX}/${SITE_PERL_REL}!g' ${WRKSRC}/config.layout + @${REINPLACE_CMD} -e 's!/path/to/your/etc!${RT_ETC_PATH}!g' ${WRKSRC}/etc/RT_SiteConfig.pm + @${REINPLACE_CMD} -e 's!RT_ETC_DIR!${RT_ETC_DIR}!' ${WRKSRC}/sbin/rt-test-dependencies.in + +pre-install: + @${RM} ${WRKSRC}/lib/RT.pm.in + +post-install: + @${RM} -r ${STAGEDIR}/${WWWDIR}${PKGNAMESUFFIX} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/upgrade + (cd ${WRKSRC}/etc && \ + ${COPYTREE_SHARE} upgrade ${STAGEDIR}${DOCSDIR} "! -name *\.in") + +.include diff --git a/www/rt60/Makefile.cpan b/www/rt60/Makefile.cpan new file mode 100644 --- /dev/null +++ b/www/rt60/Makefile.cpan @@ -0,0 +1,350 @@ +### See etc/cpanfile for a list of dependencies + +############################################################################### +### --- Core_DEPS --- +### Apache::Session 1.53 +### Business::Hours +### CGI 3.38 perl std (perl<5.22) +### CGI::Cookie 1.20 perl std (perl<5.22) +### CGI::Emulate::PSGI +### CGI::PSGI 0.12 +### Class::Accessor::Fast +### Clone +### Convert::Color +### Imager +### Crypt::Eksblowfish +### CSS::Minifier::XS +### CSS::Squish 0.06 +### CSS::Inliner 4027 +### Data::GUID +### Data::ICal +### Data::Page +### Date::Extract 0.07 +### Date::Manip +### DateTime 0.44 +### DateTime::Format::Natural 0.67 +### DateTime::Locale 0.40 +### DBI 1.37 +### DBIx::SearchBuilder 1.80 +### Devel::GlobalDestruction +### Devel::StackTrace 1.19 +### Digest::base perl std +### Digest::MD5 2.27 perl std +### Digest::SHA perl std +### Email::Address 1.912 +### Email::Address::List 0.06 +### Encode 2.64 perl std (needs newer version) +### Encode::Detect::Detector +### Encode::HanExtra +### Errno perl std +### File::Glob perl std +### File::ShareDir +### File::Spec 0.8 perl std +### File::Temp 0.19 perl std +### Hash::Merge::Extra +### HTML::Entities +### HTML::FormatExternal +### HTML::FormatText::WithLinks 0.14 +### HTML::FormatText::WithLinks::AndTables 0.06 +### HTML::Gumbo +### HTML::Mason 1.43 +### HTML::Mason::PSGIHandler 0.52 +### HTML::Quoted +### HTML::RewriteAttributes 0.06 +### HTML::Scrubber 0.08 +### HTTP::Message 6.46 +### IPC::Run3 +### JavaScript::Minifier::XS +### JSON +### List::MoreUtils 0.420 +### Locale::Maketext 1.06 perl std +### Locale::Maketext::Fuzzy 0.11 +### Locale::Maketext::Lexicon 0.32 +### Log::Dispatch 2.30 +### LWP::Simple +### Mail::Header 2.12 +### Mail::Mailer 1.57 +### MIME::Entity 5.504 +### MIME::Types +### Module::Refresh 0.03 +### Module::Runtime +### Module::Versions::Report 1.05 +### Net::CIDR +### Net::IP +### Parallel::ForkManager +### Plack 1.0002 +### Plack::Handler::Starlet +### Regexp::Common +### Regexp::Common::net::CIDR +### Regexp::IPv6 +### Role::Basic 0.12 +### Scalar::Util perl std +### Scope::Upper +### Storable 2.08 perl std +### Symbol::Global::Name 0.04 +### Sys::Syslog 0.16 perl std +### Text::Password::Pronounceable +### Text::Quoted 2.07 +### Text::Template 1.44 +### Text::WikiFormat 0.76 +### Text::WordDiff +### Text::Wrapper +### Time::Local 1.27 +### Time::HiRes perl std +### Time::ParseDate +### Tree::Simple 1.04 +### URI 1.59 +### URI::QueryParam +### XML::RSS 1.05 + +CORE_DEPS= p5-Apache-Session>=1.53:www/p5-Apache-Session \ + p5-CGI>4.0:www/p5-CGI \ + p5-Business-Hours>0:misc/p5-Business-Hours \ + p5-CGI-Emulate-PSGI>0:www/p5-CGI-Emulate-PSGI \ + p5-CGI-PSGI>=0.12:www/p5-CGI-PSGI \ + p5-CSS-Inliner>=4027:www/p5-CSS-Inliner \ + p5-CSS-Squish>=0.06:textproc/p5-CSS-Squish \ + p5-CSS-Minifier-XS>=0:textproc/p5-CSS-Minifier-XS \ + p5-Class-Accessor>=0:devel/p5-Class-Accessor \ + p5-Clone>=0:devel/p5-Clone \ + p5-Convert-Color>0:graphics/p5-Convert-Color \ + p5-Crypt-Eksblowfish>0:security/p5-Crypt-Eksblowfish \ + p5-DBI>=1.37:databases/p5-DBI \ + p5-DBIx-SearchBuilder>=1.80:databases/p5-DBIx-SearchBuilder \ + p5-Data-GUID>0:devel/p5-Data-GUID \ + p5-Data-ICal>0:deskutils/p5-Data-ICal \ + p5-Data-Page>0:databases/p5-Data-Page \ + p5-Date-Extract>=0.02:devel/p5-Date-Extract \ + p5-Date-Manip>0:devel/p5-Date-Manip \ + p5-DateTime>=0.44:devel/p5-DateTime \ + p5-DateTime-Format-Natural>=0.67:devel/p5-DateTime-Format-Natural \ + p5-DateTime-Locale>=0.40:devel/p5-DateTime-Locale \ + p5-DateTime>=0.44:devel/p5-DateTime \ + p5-Devel-GlobalDestruction>0:devel/p5-Devel-GlobalDestruction \ + p5-Devel-StackTrace>=1.30:devel/p5-Devel-StackTrace \ + p5-Email-Address>=1.912:mail/p5-Email-Address \ + p5-Email-Address-List>=0.06:mail/p5-Email-Address-List \ + p5-Encode-Detect>0:converters/p5-Encode-Detect \ + p5-Encode-HanExtra>0:chinese/p5-Encode-HanExtra \ + p5-File-ShareDir>0:devel/p5-File-ShareDir \ + p5-Hash-Merge-Extra>0:devel/p5-Hash-Merge-Extra \ + p5-HTML-FormatExternal>0:textproc/p5-HTML-FormatExternal \ + p5-HTML-FormatText-WithLinks-AndTables>0:textproc/p5-HTML-FormatText-WithLinks-AndTables \ + p5-HTML-FormatText-WithLinks>=0.14:textproc/p5-HTML-FormatText-WithLinks \ + p5-HTML-Gumbo>0:www/p5-HTML-Gumbo \ + p5-HTML-Mason-PSGIHandler>=0.52:www/p5-HTML-Mason-PSGIHandler \ + p5-HTML-Mason>=1.43:www/p5-HTML-Mason \ + p5-HTML-Parser>0:www/p5-HTML-Parser \ + p5-HTML-Quoted>0:textproc/p5-HTML-Quoted \ + p5-HTML-RewriteAttributes>=0.05:textproc/p5-HTML-RewriteAttributes \ + p5-HTML-Scrubber>=0.08:www/p5-HTML-Scrubber \ + p5-HTTP-Message>=6.07:www/p5-HTTP-Message \ + p5-IPC-Run3>0:devel/p5-IPC-Run3 \ + p5-Imager>0:graphics/p5-Imager \ + p5-JavaScript-Minifier-XS>=0:textproc/p5-JavaScript-Minifier-XS \ + p5-JSON>0:converters/p5-JSON \ + p5-libwww>0:www/p5-libwww \ + p5-List-MoreUtils>0:lang/p5-List-MoreUtils \ + p5-Locale-Maketext-Fuzzy>=0.11:devel/p5-Locale-Maketext-Fuzzy \ + p5-Locale-Maketext-Lexicon>=0.32:devel/p5-Locale-Maketext-Lexicon \ + p5-Log-Dispatch>=2.30:devel/p5-Log-Dispatch \ + p5-MIME-Tools>=5.504,2:mail/p5-MIME-Tools \ + p5-MIME-Types>=0:mail/p5-MIME-Types \ + p5-Mail-Tools>=2.12:mail/p5-Mail-Tools \ + p5-Module-Refresh>=0.03:devel/p5-Module-Refresh \ + p5-Module-Runtime>0:devel/p5-Module-Runtime \ + p5-Module-Versions-Report>=1.05:devel/p5-Module-Versions-Report \ + p5-Net-CIDR>0:net-mgmt/p5-Net-CIDR \ + p5-Net-IP>=0:net-mgmt/p5-Net-IP \ + p5-Parallel-ForkManager>=0:devel/p5-Parallel-ForkManager \ + p5-Plack>=1.0002:www/p5-Plack \ + p5-Pod-Parser>=0:textproc/p5-Pod-Parser \ + p5-Starlet>0:www/p5-Starlet \ + p5-Regexp-Common-net-CIDR>0:textproc/p5-Regexp-Common-net-CIDR \ + p5-Regexp-Common>0:textproc/p5-Regexp-Common \ + p5-Regexp-IPv6>0:textproc/p5-Regexp-IPv6 \ + p5-Role-Basic>=0.12:devel/p5-Role-Basic \ + p5-Scope-Upper>=0.06:devel/p5-Scope-Upper \ + p5-Symbol-Global-Name>=0.05:devel/p5-Symbol-Global-Name \ + p5-Text-Password-Pronounceable>0:security/p5-Text-Password-Pronounceable \ + p5-Text-Quoted>=2.07:textproc/p5-Text-Quoted \ + p5-Text-Template>=1.44:textproc/p5-Text-Template \ + p5-Text-WikiFormat>=0.76:textproc/p5-Text-WikiFormat \ + p5-Text-WordDiff>0:textproc/p5-Text-WordDiff \ + p5-Text-Wrapper>0:textproc/p5-Text-Wrapper \ + p5-Time-modules>0:devel/p5-Time-modules \ + p5-Tree-Simple>=1.04:devel/p5-Tree-Simple \ + p5-URI>=1.59:net/p5-URI \ + p5-XML-RSS>=1.05:textproc/p5-XML-RSS + +### --- MAILGATE --- +### Getopt::Long perl std +### LWP::Protocol::https +### LWP::UserAgent 6.02 +### Mozilla::CA +### Pod::Usage perl std + +MAILGATE_DEPS= p5-libwww>6.02:www/p5-libwww \ + p5-LWP-Protocol-https>0:www/p5-LWP-Protocol-https \ + p5-Mozilla-CA>0:www/p5-Mozilla-CA + +### --- CLI --- +### Getopt::Long 2.24 perl std +### HTTP::Request::Common +### LWP 6.02 +### Term::ReadKey +### Term::ReadLine perl std +### Text::ParseWords perl std + +CLI_DEPS= p5-HTTP-Message>0:www/p5-HTTP-Message \ + p5-libwww>0:www/p5-libwww \ + p5-Term-ReadKey>0:devel/p5-Term-ReadKey + +### --- REST2 --- +### Module::Runtime +### Moose +### MooseX::NonMoose +### MooseX::Role::Parameterized +### namespace::autoclean +### Sub::Exporter +### Web::Machine 0.12 +### Module::Path +### Path::Dispatcher 1.07 + +REST2_DEPS= p5-Module-Runtime>0:devel/p5-Module-Runtime \ + p5-Moose>0:devel/p5-Moose \ + p5-MooseX-NonMoose>0:devel/p5-MooseX-NonMoose \ + p5-MooseX-Role-Parameterized>0:devel/p5-MooseX-Role-Parameterized \ + p5-namespace-autoclean>0:devel/p5-namespace-autoclean \ + p5-Sub-Exporter>0:devel/p5-Sub-Exporter \ + p5-Web-Machine>=0.12:www/p5-Web-Machine \ + p5-Module-Path>0:devel/p5-Module-Path \ + p5-Path-Dispatcher>0:devel/p5-Path-Dispatcher + + +### --- DEVELOPER --- +### Email::Abstract +### File::Find perl std +### File::Which +### HTML::Entities +### Locale::PO +### Log::Dispatch::Perl +### Mojolicious != 8.54 +### Plack::Middleware::Test::StashWarnings 0.08 +### Pod::Simple 3.24 +### Set::Tiny +### String::ShellQuote +### Test::Builder 0.90 perl std +### Test::Deep +### Test::Email +### Test::Expect 0.31 +### Test::LongString +### Test::MockTime +### Test::MockTime::HiRes +### Test::NoWarnings +### Test::Pod +### Test::Warn +### Test::WWW::Mechanize 1.30 +### Test::WWW::Mechanize::PSGI +### Try::Tiny +### WWW::Mechanize 1.80 +### XML::Simple + +DEVELOPER_DEPS= p5-Email-Abstract>0:mail/p5-Email-Abstract \ + p5-File-Which>0:sysutils/p5-File-Which \ + p5-HTML-Parser>0:www/p5-HTML-Parser \ + p5-Locale-PO>0:devel/p5-Locale-PO \ + p5-Log-Dispatch-Perl>0:devel/p5-Log-Dispatch-Perl \ + p5-Mojolicious>0:www/p5-Mojolicious \ + p5-Plack-Middleware-Test-StashWarnings>=0.08:www/p5-Plack-Middleware-Test-StashWarnings \ + p5-Set-Tiny>0:devel/p5-Set-Tiny \ + p5-String-ShellQuote>0:textproc/p5-String-ShellQuote \ + p5-Test-Deep>0:devel/p5-Test-Deep \ + p5-Test-Email>0:mail/p5-Test-Email \ + p5-Test-Expect>=0.31:devel/p5-Test-Expect \ + p5-Test-LongString>0:devel/p5-Test-LongString \ + p5-Test-MockTime>0:devel/p5-Test-MockTime \ + p5-Test-MockTime-HiRes>0:devel/p5-Test-MockTime-HiRes \ + p5-Test-NoWarnings>0:devel/p5-Test-NoWarnings \ + p5-Test-Pod>0:devel/p5-Test-Pod \ + p5-Test-WWW-Mechanize-PSGI>0:devel/p5-Test-WWW-Mechanize-PSGI \ + p5-Test-WWW-Mechanize>=1.30:devel/p5-Test-WWW-Mechanize \ + p5-Test-Warn>0:devel/p5-Test-Warn \ + p5-Try-Tiny>0:lang/p5-Try-Tiny \ + p5-WWW-Mechanize>=1.80:www/p5-WWW-Mechanize \ + p5-XML-Simple>0:textproc/p5-XML-Simple + +### --- FASTCGI --- +### FCGI 0.74 + +FASTCGI_DEPS= p5-FCGI>=0.74:www/p5-FCGI + +### --- MODPERL2 --- +### Apache::DBI + +MODPERL2_DEPS= p5-libapreq2>0:www/p5-libapreq2 \ + p5-Apache-DBI>0:www/p5-Apache-DBI + +### --- MYSQL --- +### DBD::mysql 2.1018 + +MYSQL_DEPS= ${DBD_MYSQL} + +### --- PGSQL --- +### DBD::Pg 1.43 + +PGSQL_DEPS= p5-DBD-Pg>=1.43:databases/p5-DBD-Pg + +### --- SQLITE --- +### DBD::SQLite 1.72 + +SQLITE_DEPS= p5-DBD-SQLite>=1.72:databases/p5-DBD-SQLite + +### --- GPG --- +### File::Which +### GnuPG::Interface 1.00 +### PerlIO::eol + +GPG_DEPS= p5-File-Which>0:sysutils/p5-File-Which \ + p5-GnuPG-Interface>=1.00:security/p5-GnuPG-Interface \ + p5-PerlIO-eol>0:devel/p5-PerlIO-eol + +### --- SMIME--- +### Crypt::X509 +### File::Which +### String::ShellQuote + +SMIME_DEPS= p5-Crypt-X509>0:security/p5-Crypt-X509 \ + p5-File-Which>0:sysutils/p5-File-Which \ + p5-String-ShellQuote>0:textproc/p5-String-ShellQuote + +### --- GRAPHVIZ --- +### GraphViz2 +### IPC::Run 0.90 + +GRAPHVIZ_DEPS= p5-GraphViz2>0:graphics/p5-GraphViz2 \ + p5-IPC-Run>=0.90:devel/p5-IPC-Run + +### -- GD -- +### GD +### GD::Graph 1.56 +### GD::Text + +GD_DEPS= p5-GD>0:graphics/p5-GD \ + p5-GD-Graph>=1.56:graphics/p5-GD-Graph \ + p5-GD-TextUtil>0:graphics/p5-GD-TextUtil + +### --- EXTERNALAUTH --- +# XXX p5-Net-LDAP-Server-Test>0:net/p5-Net-LDAP-Server-Test DEVELOPER + +EXTERNALAUTH_DEPS= p5-Net-SSLeay>0:security/p5-Net-SSLeay \ + p5-perl-ldap>0:net/p5-perl-ldap + +### --- S3 --- +# no port available +# https://metacpan.org/pod/Amazon::S3 + +### --- DROPBOX --- +# no port available +# https://metacpan.org/pod/File::Dropbox + diff --git a/www/rt60/distinfo b/www/rt60/distinfo new file mode 100644 --- /dev/null +++ b/www/rt60/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1748688715 +SHA256 (rt-6.0.0.tar.gz) = 508f9a08f17b20ae8c96faf16da4a0b51e74a5332a69146ccfd3f4596eb5db2d +SIZE (rt-6.0.0.tar.gz) = 13965180 diff --git a/www/rt60/files/patch-Makefile.in b/www/rt60/files/patch-Makefile.in new file mode 100644 --- /dev/null +++ b/www/rt60/files/patch-Makefile.in @@ -0,0 +1,91 @@ +--- Makefile.in.orig 2020-07-14 20:59:31.000000000 +0200 ++++ Makefile.in 2020-07-17 09:19:21.008884000 +0200 +@@ -59,7 +59,7 @@ CONFIG_FILE = $(CONFIG_FILE_PATH)/RT_Config.pm + + CONFIG_FILE_PATH = @CONFIG_FILE_PATH_R@ + CONFIG_FILE = $(CONFIG_FILE_PATH)/RT_Config.pm +-SITE_CONFIG_FILE = $(CONFIG_FILE_PATH)/RT_SiteConfig.pm ++SITE_CONFIG_FILE = $(CONFIG_FILE_PATH)/RT_SiteConfig.pm-dist + + + RT_VERSION_MAJOR = @RT_VERSION_MAJOR@ +@@ -279,16 +279,13 @@ fixdeps: + depends: fixdeps + + fixdeps: +- $(PERL) ./sbin/rt-test-dependencies --install ++ $(PERL) ./sbin/rt-test-dependencies --verbose + + #}}} + + fixperms: + # Make the libraries readable + chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)$(RT_PATH) +- chown -R $(LIBS_OWNER) $(DESTDIR)$(RT_LIB_PATH) +- chgrp -R $(LIBS_GROUP) $(DESTDIR)$(RT_LIB_PATH) +- chmod -R u+rwX,go-w,go+rX $(DESTDIR)$(RT_LIB_PATH) + + + chmod $(RT_READABLE_DIR_MODE) $(DESTDIR)$(RT_BIN_PATH) +@@ -310,12 +307,6 @@ fixperms: + # Make the system binaries executable also + cd $(DESTDIR)$(RT_SBIN_PATH) && ( chmod 0755 $(SYSTEM_BINARIES) ; chown $(BIN_OWNER) $(SYSTEM_BINARIES); chgrp $(RTGROUP) $(SYSTEM_BINARIES)) + +- # Make upgrade scripts executable if they are in the source. +- # +- ( cd etc/upgrade && find . -type f -not -name '*.in' -perm @FINDPERM@0111 -print ) | while read file ; do \ +- chmod a+x "$(DESTDIR)$(RT_ETC_PATH)/upgrade/$$file" ; \ +- done +- + # Make the web ui readable by all. + chmod -R u+rwX,go-w,go+rX $(DESTDIR)$(MASON_HTML_PATH) \ + $(DESTDIR)$(MASON_LOCAL_HTML_PATH) \ +@@ -367,14 +358,14 @@ clean-mason-cache: + rm -rf $(DESTDIR)$(MASON_DATA_PATH)/etc/* + rm -rf $(DESTDIR)$(MASON_DATA_PATH)/obj/* + +-install: testdeps config-install dirs files-install fixperms instruct ++install: config-install dirs files-install + + files-install: libs-install etc-install config-install bin-install sbin-install html-install doc-install font-install po-install static-install + + config-install: +-@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0755 -o $(BIN_OWNER) -g $(RTGROUP) -d $(DESTDIR)$(CONFIG_FILE_PATH) +-@COMMENT_INPLACE_LAYOUT@ -$(INSTALL) -m 0440 -o $(BIN_OWNER) -g $(RTGROUP) etc/RT_Config.pm $(DESTDIR)$(CONFIG_FILE) +-@COMMENT_INPLACE_LAYOUT@ [ -f $(DESTDIR)$(SITE_CONFIG_FILE) ] || $(INSTALL) -m 0640 -o $(BIN_OWNER) -g $(RTGROUP) etc/RT_SiteConfig.pm $(DESTDIR)$(SITE_CONFIG_FILE) ++@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0755 -d $(DESTDIR)$(CONFIG_FILE_PATH) ++@COMMENT_INPLACE_LAYOUT@ -$(INSTALL) -m 0440 etc/RT_Config.pm $(DESTDIR)$(CONFIG_FILE) ++@COMMENT_INPLACE_LAYOUT@ [ -f $(DESTDIR)$(SITE_CONFIG_FILE) ] || $(INSTALL) -m 0640 etc/RT_SiteConfig.pm $(DESTDIR)$(SITE_CONFIG_FILE) + @COMMENT_INPLACE_LAYOUT@ @echo "Installed configuration. About to install RT in $(RT_PATH)" + + test: +@@ -466,19 +457,12 @@ etc-install: + @COMMENT_INPLACE_LAYOUT@ for file in $(ETC_FILES) ; do \ + @COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0644 "etc/$$file" "$(DESTDIR)$(RT_ETC_PATH)/" ; \ + @COMMENT_INPLACE_LAYOUT@ done +-@COMMENT_INPLACE_LAYOUT@ [ -d $(DESTDIR)$(RT_ETC_PATH)/upgrade ] || $(INSTALL) -m 0755 -d $(DESTDIR)$(RT_ETC_PATH)/upgrade +-@COMMENT_INPLACE_LAYOUT@ -( cd etc/upgrade && find . -type d -print ) | while read dir ; do \ +-@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0755 -d "$(DESTDIR)$(RT_ETC_PATH)/upgrade/$$dir" ; \ +-@COMMENT_INPLACE_LAYOUT@ done +-@COMMENT_INPLACE_LAYOUT@ -( cd etc/upgrade && find . -type f -not -name '*.in' -print ) | while read file ; do \ +-@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0644 "etc/upgrade/$$file" "$(DESTDIR)$(RT_ETC_PATH)/upgrade/$$file" ; \ +-@COMMENT_INPLACE_LAYOUT@ done + + + sbin-install: + @COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0755 -d $(DESTDIR)$(RT_SBIN_PATH) + @COMMENT_INPLACE_LAYOUT@ for file in $(SYSTEM_BINARIES) ; do \ +-@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -o $(BIN_OWNER) -g $(RTGROUP) -m 0755 "sbin/$$file" "$(DESTDIR)$(RT_SBIN_PATH)/" ; \ ++@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0755 "sbin/$$file" "$(DESTDIR)$(RT_SBIN_PATH)/" ; \ + @COMMENT_INPLACE_LAYOUT@ done + + +@@ -486,7 +470,7 @@ bin-install: + bin-install: + @COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0755 -d $(DESTDIR)$(RT_BIN_PATH) + @COMMENT_INPLACE_LAYOUT@ for file in $(BINARIES) ; do \ +-@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -o $(BIN_OWNER) -g $(RTGROUP) -m 0755 "bin/$$file" "$(DESTDIR)$(RT_BIN_PATH)/" ; \ ++@COMMENT_INPLACE_LAYOUT@ $(INSTALL) -m 0755 "bin/$$file" "$(DESTDIR)$(RT_BIN_PATH)/" ; \ + @COMMENT_INPLACE_LAYOUT@ done + + diff --git a/www/rt60/files/patch-config.layout b/www/rt60/files/patch-config.layout new file mode 100644 --- /dev/null +++ b/www/rt60/files/patch-config.layout @@ -0,0 +1,44 @@ +--- ./config.layout.orig 2014-05-06 17:59:04 UTC ++++ ./config.layout +@@ -103,31 +103,31 @@ + + + +- prefix: /usr/local ++ prefix: %%PREFIX%% + exec_prefix: ${prefix} + bindir: ${exec_prefix}/bin + sbindir: ${exec_prefix}/sbin + sysconfdir: ${prefix}/etc+ + mandir: ${prefix}/man + plugindir: ${prefix}/plugins +- libdir: ${prefix}/lib+ ++ libdir: %%SITE_PERL%% + datadir: ${prefix}/share+ + htmldir: ${datadir}/html + lexdir: ${datadir}/po +- staticdir: ${datadir}/static ++ staticdir: ${datadir}/static + fontdir: ${datadir}/fonts + manualdir: ${prefix}/share/doc+ + logfiledir: /var/log + localstatedir: /var/run+ + masonstatedir: ${localstatedir}/mason_data + sessionstatedir: ${localstatedir}/session_data +- customdir: ${prefix}/share+ +- custometcdir: ${customdir}/local/etc +- customhtmldir: ${customdir}/local/html +- customlexdir: ${customdir}/local/po +- customstaticdir: ${customdir}/static +- customlibdir: ${customdir}/local/lib +- customplugindir: ${customdir}/local/plugins ++ customdir: ${prefix} ++ custometcdir: ${datadir}/etc ++ customhtmldir: ${customdir}/www+ ++ customlexdir: ${datadir}/po ++ customstaticdir: ${datadir}/static ++ customlibdir: ${datadir}/lib ++ customplugindir: ${datadir}/plugins + + + # RH path layout. diff --git a/www/rt60/files/patch-configure b/www/rt60/files/patch-configure new file mode 100644 --- /dev/null +++ b/www/rt60/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig 2016-07-20 15:48:58 UTC ++++ configure +@@ -2112,7 +2112,7 @@ $as_echo "$as_me: WARNING: Layout file $ + s/^#.*$//m; + s/^\s+//gim; + s/\s+$/\n/gim; +- s/\+$/\/rt3/gim; ++ s/\+$/\/rt60/gim; + # m4 will not let us just use $srcdir/config.layout, we need $1 + s/^\s*((?:bin|sbin|libexec|data|sysconf|sharedstate|localstate|lib|include|oldinclude|info|man|html)dir)\s*:\s*(.*)$/$1=$2/gim; + s/^\s*(.*?)\s*:\s*(.*)$/\(test "x\$$1" = "xNONE" || test "x\$$1" = "x") && $1=$2/gim; diff --git a/www/rt60/files/patch-sbin_rt-test-dependencies.in b/www/rt60/files/patch-sbin_rt-test-dependencies.in new file mode 100644 --- /dev/null +++ b/www/rt60/files/patch-sbin_rt-test-dependencies.in @@ -0,0 +1,11 @@ +--- sbin/rt-test-dependencies.in.orig 2020-10-08 10:56:59 UTC ++++ sbin/rt-test-dependencies.in +@@ -237,7 +237,7 @@ sub read_deps { + }; + + my ($vol, $dir, $path) = File::Spec->splitpath( $script_path ); +- my $ret = do "$dir/../etc/cpanfile"; ++ my $ret = do "$dir/../RT_ETC_DIR/cpanfile"; + die "Failed to load cpanfile: @{[$@ || $!]}" if not defined $ret and ($@ or $!); + + return %deps; diff --git a/www/rt60/files/pkg-message.in b/www/rt60/files/pkg-message.in new file mode 100644 --- /dev/null +++ b/www/rt60/files/pkg-message.in @@ -0,0 +1,52 @@ +[ +{ type: install + message: <