On 2/24/2013 6:27 AM, Hanspeter Niederstrasser wrote:
On 2/24/2013 6:21 AM, Hanspeter Niederstrasser wrote:
During configure:
Where do you keep publicly executable scripts? (~name ok)
[/usr/local/scripts]
which then causes the scripts to be installed into /usr/local/scripts,
and the validator doesn't like it:
Validating .deb dir /sw/build.build/root-perl5124-5.12.4-2...
Error: File installed outside of /sw
Offending file: /usr/
Offending file: /usr/local/
Offending file: /usr/local/scripts/
Offending file: /usr/local/scripts/c2ph
...
Passing -Dscriptdir="%p/bin" to Configure puts them in a happier place.
The attached info/patch files also fix the failing locale test for
perl5124 on Lion (and maybe backportable to perl5123 on ML?)
Hanspeter
Package: perl5124
Version: 5.12.4
Revision: 3
Distribution: 10.7
Depends: %n-core (>= %v-%r)
Conflicts: perl560, perl561, perl580, perl581, perl584, perl586, perl588,
perl5123, perl5124
Replaces: cgi-pm (<= 3.00-1), file-temp-pm560 (<= 0.12-2), filter-simple-pm (<=
0.77-1), getopt-long-pm581-man, libnet-pm560 (<= 1.17-10), libnet-pm581 (<=
1.17-10), memoize-pm581 (<= 1.01-10), test-simple-pm581 (<= 0.47-10),
text-tabs-wrap-pm (<= 2001.0929-1), perl560, perl561, perl580, perl581,
perl584, perl586, perl588, perl5123, perl5124, attribute-handlers-pm, cgi-pm,
digest-md5-pm560, file-spec-pm, file-temp-pm, filter-util-pm560,
getopt-long-pm-man, i18n-langtags-pm, libnet-pm, locale-maketext-pm,
memoize-pm, mime-base64-pm560, mime-base64-pm581, mime-base64-pm581-man,
podparser-pm, scalar-list-utils-pm560, scalar-list-utils-pm581,
test-harness-pm, test-simple-pm, time-hires-pm560, time-hires-pm581,
test-simple-pm581, archive-tar-pm581-bin, archive-tar-pm584-bin,
archive-tar-pm586-bin, archive-tar-pm588-bin, archive-tar-pm5100-bin,
archive-tar-pm5123-bin, archive-tar-pm5124-bin, cpanplus-pm586-bin,
module-build-pm581-bin, module-build-pm584-bin, module-build-pm586-bin,
module-build-pm588-bin, module-build-pm5100-bin, module-build-pm5123-bin,
module-build-pm5124-bin, module-corelist-pm581-bin, module-corelist-pm584-bin,
module-corelist-pm586-bin, module-corelist-pm588-bin,
module-corelist-pm5100-bin, module-corelist-pm5123-bin,
module-corelist-pm5124-bin
License: Artistic
Description: The Perl programming language, v. 5.12.4
DescDetail: <<
Perl is a high-level programming language with roots in C, sed, awk
and shell scripting. Perl is good at handling processes and files,
and is especially good at handling text. Perl's hallmarks are
practicality and efficiency. While it is used to do a lot of
different things, Perl's most common applications are system
administration utilities and web programming. A large proportion of
the CGI scripts on the web are written in Perl.
Fink's perl packages retain the perl version subdirectories in the
lib tree. Without these, upgrading or downgrading Perl breaks all of
the binary modules.
<<
DescPort: <<
This package does not alter /usr/bin/perl. If you wish to use this
version of perl in scripts, the script should begin with #!/sw/bin/perl5.12.4
instead of #!/usr/bin/perl .
Disabled 'make test', since one test fails.
Because the perl build system is designed to download source files for
"extra" perlmodules directly from CPAN, we do not include those "extra"
perlmodules in this package. For that reason, the following packages
which are Provided by Apple's build of perl5.12.4 on XX are not provided
here:
convert-tnef-pm5124, html-parser-pm5124,
perl-objcbridge-pm5124, scalar-list-utils-pm5124, uri-pm5124,
algorithm-diff-pm5124, class-autouse-pm5124, corefoundation-pm5124,
data-hierarcy-pm5124, freezethaw-pm5124, io-pager-pm5124,
locale-maketext-lexicon-pm5124, perlio-eol-pm5124
"be_BY" locales are known broken on Darwin (at least through Darwin 12), so
disable testing them.
http://grokbase.com/t/perl/perl5-porters/1289z1msea/whats-blocking-5-14-3
perl bug #35895
radar://4139653 (?)
<<
DescUsage: <<
Most perl scripts start with #!/usr/bin/perl which will invoke Apple's
/usr/bin/perl. If you wish to use this
version of perl in scripts, the script should begin with #!/sw/bin/perl5.12.4
instead of #!/usr/bin/perl .
<<
Source: mirror:cpan:src/5.0/perl-%v.tar.gz
Source-MD5: fd22aba88e4e27ab879f142eec6452a0
PatchFile: %n.patch
PatchFile-MD5: 9d5b308354973ba7d7c0cd252b6532da
CompileScript: <<
#! /bin/sh -ev
sh Configure -desr -Dcc="gcc" -Dcpp="-gcc -E" -Dprefix=%p
-Dccflags=-I%p/include -Dldflags=-L%p/lib -Dperladmin=none -Uinstallusrbinperl
-Dprivlib="%p/lib/perl5-core/5.12.4"
-Darchlib="%p/lib/perl5-core/5.12.4/darwin-thread-multi-2level"
-Dman3dir="%p/lib/perl5-core/5.12.4/man/man3" -Dscriptdir="%p/bin"
-Dman3ext=3pm -Duseithreads -Dinc_version_list=none
-Adefine:startperl="#!%p/bin/perl5.12.4" -Adefine:perlpath="%p/bin/perl5.12.4"
make
<<
DocFiles: README Copying
InfoTest: <<
TestScript: <<
make test || exit 2
<<
<<
InstallScript: <<
make install DESTDIR=%d
mkdir -p %i/etc/profile.d
echo "append_path MANPATH %p/lib/perl5-core/5.12.4/man" >>
%i/etc/profile.d/%N-core.csh
echo "append_path MANPATH %p/lib/perl5/5.12.4/man" >>
%i/etc/profile.d/%N-core.csh
echo "append_path MANPATH %p/lib/perl5-core/5.12.4/man" >>
%i/etc/profile.d/%N-core.sh
echo "append_path MANPATH %p/lib/perl5/5.12.4/man" >>
%i/etc/profile.d/%N-core.sh
echo "export MANPATH" >> %i/etc/profile.d/%N-core.sh
chmod 755 %i/etc/profile.d/%N-core.*
<<
SplitOff: <<
Package: %N-core
Conflicts: compress-zlib-pm (<= 1.19-2), crypt-ssleay-pm (<= 0.45-2),
dbd-mysql-pm (<= 2.1026-1), dbd-pg-pm (<= 1.21-4), dbd-pg-pm-ssl (<= 1.21-4),
dbi-pm (<= 1:1.35-1), digest-md5-pm (<= 2.24-1), digest-sha1-pm (<= 2.02-1),
egd (<= 0.8-3), eperl-pm (<= 2.2.14-2), filter-util-pm (<= 1.26-1), fribidi-pm
(<= 0.05-2), ftlib-pm (<= 1.2-1), gd-pm (<= 2.06-5), gimp-perl (<= 1.211-4),
gtk-perl-pm (<= 0.7008-7), html-parser-pm (<= 3.27-1), http-ghttp-pm (<=
1.07-1), irssi-ssl (<= 0.8.6-3), irssi (<= 0.8.6-2), jcode-pm (<= 0.82-1),
libapreq-pm (<= 1.0-1), mac-carbon-pm (<= 0.05-1), macosx-file-pm (<= 0.64-1),
mime-base64-pm (<= 2.18-1), net-ssleay-pm (<= 1.22-2), nkf (<= 1.92-1),
params-validate-pm (<= 0.57-1), pdl (<= 2.3.2-1), perlmagick-pm (<= 5.5.4-1),
pgplot-perl (<= 2.18-4), postgresql-perl (<= 7.3.2-7), postgresql-ssl-perl (<=
7.3.2-7), rrdtool-perl (<= 1.0.41-1), scalar-list-utils-pm (<= 1.11-1), sha-pm
(<= 1.2-2), shout-pm (<= 1.0-1), storable-pm (<= 1.0.14-1), string-approx-pm
(<= 3.19-1), template-notex-pm (<= 2.08-13), template-pm (<= 2.08-13),
term-readkey-pm (<= 2.21-1), term-readline-gnu-pm (<= 1.13-1), text-iconv-pm
(<= 1.2-1), time-hires-pm (<= 1.46-1), time-piece-pm (<= 1.08-1), tk-pm (<=
800.024-2), tk-tablematrix-pm (<= 1.01-1), unicode-string-pm (<= 2.07-1),
xml-parser-pm (<= 2.31-4), xmms-pm (<= 0.12-2)
Provides: attribute-handlers-pm5124, cgi-pm5124, data-dumper-pm5124,
db-pm5124, devel-dprof-pm5124, devel-peek-pm5124, digest-pm5124,
digest-md5-pm5124, extutils-makemaker-pm5124, file-find-pm5124,
file-path-pm5124, file-spec-pm5124, file-temp-pm5124, filter-simple-pm5124,
getopt-long-pm5124, i18n-langtags-pm5124, libnet-pm5124, list-util-pm5124,
locale-maketext-pm5124, math-bigint-pm5124, memoize-pm5124, mime-base64-pm5124,
pod-parser-pm5124, switch-pm5124, sys-syslog-pm5124, term-readline-pm5124,
test-harness-pm5124, test-simple-pm5124, text-tabs-pm5124, text-wrap-pm5124,
time-hires-pm5124, unicode-normalize-pm5124, compress-zlib-pm5124, carp-pm5124,
class-isa-pm5124, pod-simple-pm5124, archive-tar-pm5124, cpanplus-pm5124,
cpanplus-dist-build-pm5124, compress-raw-zlib-pm5124, digest-sha-pm5124,
extutils-cbuilder-pm5124, extutils-parsexs-pm5124, io-zlib-pm5124,
locale-maketext-simple-pm5124, module-build-pm5124, module-corelist-pm5124,
module-load-pm5124, module-load-conditional-pm5124, module-pluggable-pm5124,
package-constants-pm5124, params-check-pm5124, pod-escapes-pm5124,
compress-raw-bzip2-pm5124, parse-cpan-meta-pm
Files: bin/perl5.12.4 etc lib/perl5 lib/perl5-core
Description: Core files for perl, v. 5.12.4
DocFiles: README Copying
<<
DescPackaging: <<
We split the perl5.12.4 binary and the files in lib/perl5* off as a separate
"core" package which does not conflict with other versions of perl.
/sw/bin/perl and other binaries remain in the perl5124 package, and
different versions of perl can be selected by installing a different
package instead.
We now use lib/perl5-core as the main installation directory to avoid
conflicts with fink-installed perl modules.
We do not supply perl5124 on XX, since that's the one supplied by Apple.
<<
Homepage: http://www.cpan.org/
Maintainer: Fink Core Group <fink-core@lists.sourceforge.net>
--- a/lib/locale.t 2011-06-07 16:04:05.000000000 -0400
+++ b/lib/locale.t 2013-02-24 07:37:45.000000000 -0500
@@ -460,7 +460,7 @@
if ($v >= 8 and $v < 10) {
debug "# Skipping eu_ES, be_BY locales -- buggy in Darwin\n";
@Locale = grep ! m/^(eu_ES(?:\..*)?|be_BY\.CP1131)$/, @Locale;
- } elsif ($v < 11) {
+ } elsif ($v < 13) {
debug "# Skipping be_BY locales -- buggy in Darwin\n";
@Locale = grep ! m/^be_BY\.CP1131$/, @Locale;
}
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
fink-core mailing list
fink-core@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.core
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-core