summaryrefslogtreecommitdiff
path: root/perl/Build.PL
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2014-07-16 13:46:50 -0700
committerRuss Allbery <eagle@eyrie.org>2014-07-16 13:46:50 -0700
commit1796d631f0846ec98cd286bc4284898a7300ee78 (patch)
tree6fd42de6dc858ef06c6d270410c32ec61f39e593 /perl/Build.PL
parentf5194217566a6f4cdeffbae551153feb1412210d (diff)
parent6409733ee3b7b1910dc1c166a392cc628834146c (diff)
Merge tag 'upstream/1.1' into debian
Upstream version 1.1 Conflicts: NEWS README client/keytab.c perl/lib/Wallet/ACL.pm perl/sql/Wallet-Schema-0.08-PostgreSQL.sql perl/t/general/admin.t perl/t/verifier/ldap-attr.t Change-Id: I1a1dc09b97c9258e61f1c8877d0837193c8ae2c6
Diffstat (limited to 'perl/Build.PL')
-rw-r--r--perl/Build.PL49
1 files changed, 49 insertions, 0 deletions
diff --git a/perl/Build.PL b/perl/Build.PL
new file mode 100644
index 0000000..968ae37
--- /dev/null
+++ b/perl/Build.PL
@@ -0,0 +1,49 @@
+#!/usr/bin/perl
+#
+# Build script for the wallet distribution.
+#
+# Written by Russ Allbery <eagle@eyrie.org>
+# Copyright 2014
+# The Board of Trustees of the Leland Stanford Junior University
+#
+# See LICENSE for licensing terms.
+
+use 5.006;
+use strict;
+use warnings;
+
+use Module::Build;
+
+# Basic package configuration.
+my $build = Module::Build->new(
+ dist_abstract => 'Secure credential management system',
+ dist_author => 'Russ Allbery <eagle@eyrie.org>',
+ dist_name => 'Wallet',
+ dist_version => '1.01',
+ license => 'mit',
+ module_name => 'Wallet::Server',
+ recursive_test_files => 1,
+
+ # Other package relationships.
+ configure_requires => { 'Module::Build' => 0.28 },
+ requires => {
+ 'Date::Parse' => 0,
+ DateTime => 0,
+ 'DBIx::Class' => 0,
+ DBI => 0,
+ 'Digest::MD5' => 0,
+ 'SQL::Translator' => 0,
+ perl => '5.008',
+ },
+ recommends => {
+ 'Authen::SASL' => 0,
+ 'Heimdal::Kadm5' => 0,
+ 'Net::Duo' => 0,
+ 'Net::LDAP' => 0,
+ 'Net::Remctl' => 0,
+ WebAuth => 0,
+ },
+);
+
+# Generate the build script.
+$build->create_build_script;