perl-ktphn
This commit is contained in:
parent
2154411b6c
commit
2e523f01de
|
@ -0,0 +1,20 @@
|
||||||
|
# Tanım: Perl/CPAN Module Convert::ASN1 : Standard endecode of ASN1 structures
|
||||||
|
# URL: http://search.cpan.org/dist/Convert-ASN1
|
||||||
|
# Paketçi: milisarge
|
||||||
|
# Gerekler:
|
||||||
|
# Grup: kütüphane
|
||||||
|
|
||||||
|
isim=perl-convert-asn1
|
||||||
|
surum=0.27
|
||||||
|
devir=1
|
||||||
|
kaynak=(http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Convert-ASN1-$surum.tar.gz)
|
||||||
|
|
||||||
|
derle() {
|
||||||
|
cd "$SRC"/Convert-ASN1-$surum
|
||||||
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make
|
||||||
|
cd "$SRC"/Convert-ASN1-$surum
|
||||||
|
make pure_install doc_install DESTDIR="$PKG"
|
||||||
|
find "$PKG" -name '.packlist' -delete
|
||||||
|
find "$PKG" -name '*.pod' -delete
|
||||||
|
}
|
|
@ -1,20 +1,23 @@
|
||||||
# Tanım: OpenSSL'nin çok düzeltmeli tam sayı aritmetiği
|
# Tanım: OpenSSL's multiprecision integer arithmetic
|
||||||
# URL: http://search.cpan.org/
|
# URL: https://metacpan.org/release/Crypt-OpenSSL-Bignum
|
||||||
# Paketçi: milisarge
|
# Paketçi: milisarge
|
||||||
# Gerekler:
|
# Gerekler:
|
||||||
|
# Grup: kütüphane
|
||||||
|
|
||||||
isim=perl-crypt-openssl-bignum
|
isim=perl-crypt-openssl-bignum
|
||||||
surum=0.04
|
surum=0.08
|
||||||
devir=1
|
devir=1
|
||||||
|
kaynak=(http://search.cpan.org/CPAN/authors/id/K/KM/KMX/Crypt-OpenSSL-Bignum-$surum.tar.gz)
|
||||||
kaynak=(http://www.cpan.org/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Bignum-$surum.tar.gz)
|
|
||||||
|
|
||||||
derle() {
|
derle() {
|
||||||
cd Crypt-OpenSSL-Bignum-$surum
|
_ddir="Crypt-OpenSSL-Bignum-$surum"
|
||||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
cd "$SRC/$_ddir"
|
||||||
make
|
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
|
||||||
make pure_install doc_install DESTDIR=$PKG
|
unset PERL5LIB PERL_MM_OPT
|
||||||
|
/usr/bin/perl Makefile.PL
|
||||||
find $PKG -name '.packlist' -delete
|
make
|
||||||
find $PKG -name '*.pod' -delete
|
export PERL_MM_USE_DEFAULT=1
|
||||||
|
unset PERL5LIB
|
||||||
|
make test
|
||||||
|
make install INSTALLDIRS=vendor DESTDIR="$PKG"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,20 +1,25 @@
|
||||||
# Tanım: OpenSSL PRNG yöntemlerine Arayüz
|
# Tanım: Routines for accessing the OpenSSL pseudo-random number generator
|
||||||
# URL: http://search.cpan.org/
|
# URL: https://metacpan.org/release/Crypt-OpenSSL-Random
|
||||||
# Paketçi: milisarge
|
# Paketçi: milisarge
|
||||||
# Gerekler:
|
# Gerekler:
|
||||||
|
# Grup: kütüphane
|
||||||
|
|
||||||
isim=perl-crypt-openssl-random
|
isim=perl-crypt-openssl-random
|
||||||
surum=0.06
|
surum=0.11
|
||||||
devir=1
|
devir=1
|
||||||
|
|
||||||
kaynak=(http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/Crypt-OpenSSL-Random-$surum.tar.gz)
|
kaynak=(http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/Crypt-OpenSSL-Random-$surum.tar.gz)
|
||||||
|
|
||||||
derle() {
|
derle() {
|
||||||
cd Crypt-OpenSSL-Random-$surum
|
_ddir="Crypt-OpenSSL-Random-$surum"
|
||||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
cd "$SRC/$_ddir"
|
||||||
make
|
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
|
||||||
make pure_install doc_install DESTDIR=$PKG
|
unset PERL5LIB PERL_MM_OPT
|
||||||
|
/usr/bin/perl Makefile.PL
|
||||||
find $PKG -name '.packlist' -delete
|
make
|
||||||
find $PKG -name '*.pod' -delete
|
cd "$SRC/$_ddir"
|
||||||
|
export PERL_MM_USE_DEFAULT=1
|
||||||
|
unset PERL5LIB
|
||||||
|
make test
|
||||||
|
cd "$SRC/$_ddir"
|
||||||
|
make install INSTALLDIRS=vendor DESTDIR="$PKG"
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,185 @@
|
||||||
|
From b3747e625780be90dcff11c2d9e91048016bb4d0 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||||
|
Date: Thu, 13 Oct 2016 18:14:17 +0200
|
||||||
|
Subject: [PATCH] Adapt to OpenSSL 1.1.0
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
OpenSSL 1.1.0 hid structure internals and provided methods for getting
|
||||||
|
and settting the internal values. This patch modifes the code so that
|
||||||
|
it can be built with OpenSSL 1.1.0 as well as with the older one.
|
||||||
|
|
||||||
|
CPAN RT#117481
|
||||||
|
|
||||||
|
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||||
|
---
|
||||||
|
RSA.xs | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
|
||||||
|
1 file changed, 73 insertions(+), 16 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/RSA.xs b/RSA.xs
|
||||||
|
index de512e7..9bf6f01 100644
|
||||||
|
--- a/RSA.xs
|
||||||
|
+++ b/RSA.xs
|
||||||
|
@@ -49,7 +49,13 @@ void croakSsl(char* p_file, int p_line)
|
||||||
|
|
||||||
|
char _is_private(rsaData* p_rsa)
|
||||||
|
{
|
||||||
|
- return(p_rsa->rsa->d != NULL);
|
||||||
|
+ const BIGNUM *d;
|
||||||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
+ d = p_rsa->rsa->d;
|
||||||
|
+#else
|
||||||
|
+ RSA_get0_key(p_rsa->rsa, NULL, NULL, &d);
|
||||||
|
+#endif
|
||||||
|
+ return(d != NULL);
|
||||||
|
}
|
||||||
|
|
||||||
|
SV* make_rsa_obj(SV* p_proto, RSA* p_rsa)
|
||||||
|
@@ -136,7 +142,7 @@ unsigned char* get_message_digest(SV* text_SV, int hash_method)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
-SV* bn2sv(BIGNUM* p_bn)
|
||||||
|
+SV* bn2sv(const BIGNUM* p_bn)
|
||||||
|
{
|
||||||
|
return p_bn != NULL
|
||||||
|
? sv_2mortal(newSViv((IV) BN_dup(p_bn)))
|
||||||
|
@@ -317,6 +323,9 @@ _new_key_from_parameters(proto, n, e, d, p, q)
|
||||||
|
BN_CTX* ctx;
|
||||||
|
BIGNUM* p_minus_1 = NULL;
|
||||||
|
BIGNUM* q_minus_1 = NULL;
|
||||||
|
+ BIGNUM* dmp1 = NULL;
|
||||||
|
+ BIGNUM* dmq1 = NULL;
|
||||||
|
+ BIGNUM* iqmp = NULL;
|
||||||
|
int error;
|
||||||
|
CODE:
|
||||||
|
{
|
||||||
|
@@ -325,8 +334,10 @@ _new_key_from_parameters(proto, n, e, d, p, q)
|
||||||
|
croak("At least a modulous and public key must be provided");
|
||||||
|
}
|
||||||
|
CHECK_OPEN_SSL(rsa = RSA_new());
|
||||||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
rsa->n = n;
|
||||||
|
rsa->e = e;
|
||||||
|
+#endif
|
||||||
|
if (p || q)
|
||||||
|
{
|
||||||
|
error = 0;
|
||||||
|
@@ -341,8 +352,12 @@ _new_key_from_parameters(proto, n, e, d, p, q)
|
||||||
|
q = BN_new();
|
||||||
|
THROW(BN_div(q, NULL, n, p, ctx));
|
||||||
|
}
|
||||||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
rsa->p = p;
|
||||||
|
rsa->q = q;
|
||||||
|
+#else
|
||||||
|
+ THROW(RSA_set0_factors(rsa, p, q));
|
||||||
|
+#endif
|
||||||
|
THROW(p_minus_1 = BN_new());
|
||||||
|
THROW(BN_sub(p_minus_1, p, BN_value_one()));
|
||||||
|
THROW(q_minus_1 = BN_new());
|
||||||
|
@@ -353,17 +368,32 @@ _new_key_from_parameters(proto, n, e, d, p, q)
|
||||||
|
THROW(BN_mul(d, p_minus_1, q_minus_1, ctx));
|
||||||
|
THROW(BN_mod_inverse(d, e, d, ctx));
|
||||||
|
}
|
||||||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
rsa->d = d;
|
||||||
|
- THROW(rsa->dmp1 = BN_new());
|
||||||
|
- THROW(BN_mod(rsa->dmp1, d, p_minus_1, ctx));
|
||||||
|
- THROW(rsa->dmq1 = BN_new());
|
||||||
|
- THROW(BN_mod(rsa->dmq1, d, q_minus_1, ctx));
|
||||||
|
- THROW(rsa->iqmp = BN_new());
|
||||||
|
- THROW(BN_mod_inverse(rsa->iqmp, q, p, ctx));
|
||||||
|
+#else
|
||||||
|
+ THROW(RSA_set0_key(rsa, n, e, d));
|
||||||
|
+#endif
|
||||||
|
+ THROW(dmp1 = BN_new());
|
||||||
|
+ THROW(BN_mod(dmp1, d, p_minus_1, ctx));
|
||||||
|
+ THROW(dmq1 = BN_new());
|
||||||
|
+ THROW(BN_mod(dmq1, d, q_minus_1, ctx));
|
||||||
|
+ THROW(iqmp = BN_new());
|
||||||
|
+ THROW(BN_mod_inverse(iqmp, q, p, ctx));
|
||||||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
+ rsa->dmp1 = dmp1;
|
||||||
|
+ rsa->dmq1 = dmq1;
|
||||||
|
+ rsa->iqmp = iqmp;
|
||||||
|
+#else
|
||||||
|
+ THROW(RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp));
|
||||||
|
+#endif
|
||||||
|
+ dmp1 = dmq1 = iqmp = NULL;
|
||||||
|
THROW(RSA_check_key(rsa) == 1);
|
||||||
|
err:
|
||||||
|
if (p_minus_1) BN_clear_free(p_minus_1);
|
||||||
|
if (q_minus_1) BN_clear_free(q_minus_1);
|
||||||
|
+ if (dmp1) BN_clear_free(dmp1);
|
||||||
|
+ if (dmq1) BN_clear_free(dmq1);
|
||||||
|
+ if (iqmp) BN_clear_free(iqmp);
|
||||||
|
if (ctx) BN_CTX_free(ctx);
|
||||||
|
if (error)
|
||||||
|
{
|
||||||
|
@@ -373,7 +403,11 @@ _new_key_from_parameters(proto, n, e, d, p, q)
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
rsa->d = d;
|
||||||
|
+#else
|
||||||
|
+ CHECK_OPEN_SSL(RSA_set0_key(rsa, n, e, d));
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
RETVAL = make_rsa_obj(proto, rsa);
|
||||||
|
}
|
||||||
|
@@ -383,18 +417,41 @@ _new_key_from_parameters(proto, n, e, d, p, q)
|
||||||
|
void
|
||||||
|
_get_key_parameters(p_rsa)
|
||||||
|
rsaData* p_rsa;
|
||||||
|
+PREINIT:
|
||||||
|
+ const BIGNUM* n;
|
||||||
|
+ const BIGNUM* e;
|
||||||
|
+ const BIGNUM* d;
|
||||||
|
+ const BIGNUM* p;
|
||||||
|
+ const BIGNUM* q;
|
||||||
|
+ const BIGNUM* dmp1;
|
||||||
|
+ const BIGNUM* dmq1;
|
||||||
|
+ const BIGNUM* iqmp;
|
||||||
|
PPCODE:
|
||||||
|
{
|
||||||
|
RSA* rsa;
|
||||||
|
rsa = p_rsa->rsa;
|
||||||
|
- XPUSHs(bn2sv(rsa->n));
|
||||||
|
- XPUSHs(bn2sv(rsa->e));
|
||||||
|
- XPUSHs(bn2sv(rsa->d));
|
||||||
|
- XPUSHs(bn2sv(rsa->p));
|
||||||
|
- XPUSHs(bn2sv(rsa->q));
|
||||||
|
- XPUSHs(bn2sv(rsa->dmp1));
|
||||||
|
- XPUSHs(bn2sv(rsa->dmq1));
|
||||||
|
- XPUSHs(bn2sv(rsa->iqmp));
|
||||||
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
+ n = rsa->n;
|
||||||
|
+ e = rsa->e;
|
||||||
|
+ d = rsa->d;
|
||||||
|
+ p = rsa->p;
|
||||||
|
+ q = rsa->q;
|
||||||
|
+ dmp1 = rsa->dmp1;
|
||||||
|
+ dmq1 = rsa->dmq1;
|
||||||
|
+ iqmp = rsa->iqmp;
|
||||||
|
+#else
|
||||||
|
+ RSA_get0_key(rsa, &n, &e, &d);
|
||||||
|
+ RSA_get0_factors(rsa, &p, &q);
|
||||||
|
+ RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp);
|
||||||
|
+#endif
|
||||||
|
+ XPUSHs(bn2sv(n));
|
||||||
|
+ XPUSHs(bn2sv(e));
|
||||||
|
+ XPUSHs(bn2sv(d));
|
||||||
|
+ XPUSHs(bn2sv(p));
|
||||||
|
+ XPUSHs(bn2sv(q));
|
||||||
|
+ XPUSHs(bn2sv(dmp1));
|
||||||
|
+ XPUSHs(bn2sv(dmq1));
|
||||||
|
+ XPUSHs(bn2sv(iqmp));
|
||||||
|
}
|
||||||
|
|
||||||
|
SV*
|
||||||
|
--
|
||||||
|
2.7.4
|
||||||
|
|
|
@ -1,20 +1,23 @@
|
||||||
# Tanım: OpenSSL RSA yöntemlerine arabirim
|
# Tanım: Interface to OpenSSL RSA methods
|
||||||
# URL: http://search.cpan.org/
|
# URL: http://search.cpan.org/dist/Crypt-OpenSSL-RSA
|
||||||
# Paketçi: milisarge
|
# Paketçi: milisarge
|
||||||
# Gerekler: perl-crypt-openssl-random perl-crypt-openssl-bignum
|
# Gerekler: perl-crypt-openssl-random perl-crypt-openssl-bignum
|
||||||
|
# Grup: kütüphane
|
||||||
|
|
||||||
isim=perl-crypt-openssl-rsa
|
isim=perl-crypt-openssl-rsa
|
||||||
surum=0.28
|
surum=0.28
|
||||||
devir=1
|
devir=1
|
||||||
|
kaynak=(http://search.cpan.org/CPAN/authors/id/P/PE/PERLER/Crypt-OpenSSL-RSA-$surum.tar.gz
|
||||||
kaynak=(http://search.cpan.org/CPAN/authors/id/P/PE/PERLER/Crypt-OpenSSL-RSA-$surum.tar.gz)
|
0001-Adapt-to-OpenSSL-1.1.0.patch)
|
||||||
|
|
||||||
derle() {
|
derle() {
|
||||||
cd Crypt-OpenSSL-RSA-$surum
|
cd "$SRC/Crypt-OpenSSL-RSA-$surum"
|
||||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
patch -p1 -i "$SRC/0001-Adapt-to-OpenSSL-1.1.0.patch"
|
||||||
make
|
cd "$SRC/Crypt-OpenSSL-RSA-$surum"
|
||||||
make pure_install doc_install DESTDIR=$PKG
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make
|
||||||
find "$PKG" -name '.packlist' -delete
|
cd "$SRC/Crypt-OpenSSL-RSA-$surum"
|
||||||
find "$PKG" -name '*.pod' -delete
|
make test
|
||||||
|
cd "$SRC/Crypt-OpenSSL-RSA-$surum"
|
||||||
|
make pure_install doc_install DESTDIR="$PKG"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,22 +1,18 @@
|
||||||
# Tanım: "IO::Socket::INET" için neredeyse şeffaf SSL kapsülleme
|
# Tanım: Nearly transparent SSL encapsulation for IO::Socket::INET
|
||||||
# URL: http://search.cpan.org/dist/IO-Socket-SSL/
|
# URL: http://search.cpan.org/dist/IO-Socket-SSL/
|
||||||
# Paketçi: milisarge
|
# Paketçi: milisarge
|
||||||
# Gerekler: perl-net-ssleay perl-uri
|
# Gerekler: perl-net-ssleay perl-uri
|
||||||
|
# Grup:
|
||||||
|
|
||||||
isim=perl-io-socket-ssl
|
isim=perl-io-socket-ssl
|
||||||
surum=1.988
|
surum=2.055
|
||||||
devir=1
|
devir=1
|
||||||
|
|
||||||
kaynak=(http://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-$surum.tar.gz)
|
kaynak=(http://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-$surum.tar.gz)
|
||||||
|
|
||||||
derle() {
|
derle() {
|
||||||
cd IO-Socket-SSL-$surum
|
cd IO-Socket-SSL-${surum}
|
||||||
yes | perl Makefile.PL INSTALLDIRS=vendor
|
yes | perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make test
|
||||||
|
make DESTDIR="${PKG}" install
|
||||||
find $PKG \
|
|
||||||
-name '*.bs' -or \
|
|
||||||
-name .packlist -or \
|
|
||||||
-name perllocal.pod | xargs rm
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
# Tanım: Use Cpanel::JSON::XS with a fallback to JSON::XS and JSON::PP
|
||||||
|
# URL: https://metacpan.org/release/JSON-MaybeXS
|
||||||
|
# Paketçi: milisarge
|
||||||
|
# Gerekler:
|
||||||
|
# Grup:
|
||||||
|
|
||||||
|
isim=perl-json-maybexs
|
||||||
|
surum=1.003008
|
||||||
|
devir=1
|
||||||
|
kaynak=(http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/JSON-MaybeXS-$surum.tar.gz)
|
||||||
|
|
||||||
|
derle() {
|
||||||
|
_distdir="JSON-MaybeXS-$surum"
|
||||||
|
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
|
||||||
|
PERL_AUTOINSTALL=--skipdeps \
|
||||||
|
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$PKG'" \
|
||||||
|
PERL_MB_OPT="--installdirs vendor --destdir '$PKG'" \
|
||||||
|
MODULEBUILDRC=/dev/null
|
||||||
|
cd "$SRC/$_distdir"
|
||||||
|
/usr/bin/perl Makefile.PL
|
||||||
|
make
|
||||||
|
)
|
||||||
|
cd "$SRC/$_distdir"
|
||||||
|
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
|
||||||
|
make test
|
||||||
|
cd "$SRC/$_distdir"
|
||||||
|
make install
|
||||||
|
find "$PKG" -name .packlist -o -name perllocal.pod -delete
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Tanım: Log4j implementation for Perl
|
||||||
|
# URL: https://metacpan.org/release/Log-Log4perl
|
||||||
|
# Paketçi: milisarge
|
||||||
|
# Gerekler:
|
||||||
|
# Grup: kütüphane
|
||||||
|
|
||||||
|
isim=perl-log-log4perl
|
||||||
|
surum=1.49
|
||||||
|
devir=1
|
||||||
|
kaynak=(http://search.cpan.org/CPAN/authors/id/M/MS/MSCHILLI/Log-Log4perl-$surum.tar.gz)
|
||||||
|
|
||||||
|
derle() {
|
||||||
|
cd Log-Log4perl-$surum
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make
|
||||||
|
make test
|
||||||
|
make DESTDIR="$PKG" install
|
||||||
|
}
|
|
@ -1,24 +1,17 @@
|
||||||
# Tanım: PEM formatında Mozilla CA sertifika paketi
|
# Tanım: Mozilla's CA cert bundle in PEM format
|
||||||
# URL: http://search.cpan.org/
|
# URL: https://metacpan.org/release/Mozilla-CA
|
||||||
# Paketçi: milisarge
|
# Paketçi: milisarge
|
||||||
# Gerekler:
|
# Gerekler:
|
||||||
|
# Grup: kütüphane
|
||||||
|
|
||||||
isim=perl-mozilla-ca
|
isim=perl-mozilla-ca
|
||||||
surum=20130114
|
surum=20160104
|
||||||
devir=1
|
devir=1
|
||||||
|
|
||||||
kaynak=(http://search.cpan.org/CPAN/authors/id/A/AB/ABH/Mozilla-CA-$surum.tar.gz)
|
kaynak=(http://search.cpan.org/CPAN/authors/id/A/AB/ABH/Mozilla-CA-$surum.tar.gz)
|
||||||
|
|
||||||
derle() {
|
derle() {
|
||||||
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
|
cd Mozilla-CA-$surum
|
||||||
unset PERL5LIB PERL_MM_OPT
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make
|
||||||
cd Mozilla-CA-$surum
|
make install DESTDIR="$PKG"
|
||||||
perl Makefile.PL
|
|
||||||
make
|
|
||||||
make install INSTALLDIRS=vendor DESTDIR=$PKG
|
|
||||||
find $PKG \
|
|
||||||
-name '*.bs' -or \
|
|
||||||
-name '.packlist' -or \
|
|
||||||
-name 'perllocal.pod' | xargs rm
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue