Permalink
Fetching contributors…
Cannot retrieve contributors at this time
119 lines (107 sloc) 2.91 KB
#!/usr/bin/perl
use strict;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'PAUSE',
VERSION_FROM => 'lib/PAUSE.pm',
ABSTRACT_FROM => 'lib/PAUSE.pod',
AUTHOR => 'Andreas Koenig <andreas.koenig.7os6VVqR@franz.ak.mind.de>',
LICENSE => 'perl',
PREREQ_PM => { map +($_ => 0), qw(
Apache::DB
Apache::HeavyCGI
Apache::Request
Apache::Session::Counted
BSD::Resource
CPAN::Checksums
CPAN::DistnameInfo
CPAN::Indexer::Mirror
Class::Singleton
Compress::Zlib
Crypt::Eksblowfish::Bcrypt
Cwd
DB_File
DBD::SQLite
DBI
DBIx::RunSQL
Devel::Peek
Dumpvalue
Email::Address
Email::MIME
Email::Sender::Simple
File::Copy::Recursive
File::pushd
File::Rsync::Mirror::Recentfile
File::Which
Git::Wrapper
HTML::Entities
HTTP::Date
IO::Socket::SSL
IPC::Cmd
IPC::Run3
JSON::XS
LWP::UserAgent
LWP::Protocol::https
LWP::UserAgent
Digest::MD5
Mail::Mailer
Mail::Send
Module::Faker::Dist
Module::Signature
MooseX::StrictConstructor
Net::FTP
Parse::CPAN::Packages
Path::Class
Path::Tiny
Set::Crontab
String::Random
Test::Deep
Test::FITesque::Fixture
Test::MockObject
Text::Format
Text::Metaphone
Text::Unidecode
Time::HiRes
URI::Escape
URI::URL
Unicode::Collate
Unicode::String
XML::SAX::Base
XML::SAX::Writer
YAML::XS
)},
SIGN => 1,
($ExtUtils::MakeMaker::VERSION >= 6.4502 ?
(META_ADD => {
resources => {
repository => "git://github.com/andk/pause.git",
},
keywords => ['CPAN','perl','perl authors upload server'],
}) : ()),
);
open my $fh, ">>", "Makefile" or die;
print $fh <<EOF;
cpanshell ::
\t\$(PERL) -MCPAN -e shell
rsynctest ::
\t\$(ECHO) USER=\$(USER) RSYNC_PASSWORD=\$(RSYNC_PASSWORD) ...
\tUSER=\$(USER) RSYNC_PASSWORD=\$(RSYNC_PASSWORD) rsync --port=8732 pause.perl.org::PAUSE/authors/02STAMP
getdump:
rsync -P pause.perl.org::pausedata/moddump.current .
\@echo You need to call next: make recorddump
recorddump: moddump.current
mysql -u root -p mod < moddump.current
stoplave:
mysql -u root -p -e 'stop slave'
startslave:
mysql -u root -p -e 'start slave; show slave status\\G'
doc/mod.schema.txt:
mysqldump -u root -p mod --quote-names=false --no-data --skip-add-drop-table > \$\@
doc/authen_pause.schema.txt:
mysqldump -u root -p authen_pause --quote-names=false --no-data --skip-add-drop-table > \$\@
EOF
print $fh <<'EOF' or die;
htdocs/namingmodules.html: htdocs/namingmodules.pod
-[ -r $@ ] && chmod +w $@
-$(PERL) -MPod::Xhtml -e 'Pod::Xhtml->new->parse_from_file(\*ARGV)' htdocs/namingmodules.pod > $@
EOF