Removed obsolete packages.
This commit is contained in:
parent
3eff9c27bb
commit
26f9641216
|
@ -1,3 +0,0 @@
|
|||
DIST apcu-4.0.11.tgz 119535 BLAKE2B 2c1f8a0463b2802b11ae679987807127556b04fb099e4872bff9d1ea51c633140d978b66373eb987d5207403ed9389e58f1afa7ca94360680d9a9693230fb87a SHA512 e3b97066240e33850419e96f0fd9df0e66ee3b0fa238c418e07ac639d07439e9edfa1696e56a620e33f1ffc0993c57bde585b0c170b22995e7d5c0ae550b7899
|
||||
EBUILD pecl-apcu-4.0.11.ebuild 1537 BLAKE2B 36711117b55ff29299313a30dc336805330e38d263f2b1028639c7303293e424147e3bbdbb9be41c8f694ec720901d93367fb5743ee27ecd894835976b0ce8f7 SHA512 82cd877571c42a85a2e5bc31c68bc5ff3521ed77d968984942ecb95ff103e18d3796f32a222a1285e6630f020e4da732ef874a16f49e06d4da75909719e694c3
|
||||
MISC metadata.xml 540 BLAKE2B a29196911604b13d643db1b09cdae2c578c52f3b3ce92f9d6ae534c6fe9872435a46b15dca79ce8ccf5ca02070f2e694f518c69524ea9380eff8e597d8d4124d SHA512 acd09a9a8e52ddc7e4cde2f048db7f7721fcbe3e24b7b628bf1c14b17381a75b463dede6faa0acfecf8e270693001c30b83758f8ad761979fcbdccb454098e56
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
<name>PHP</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="lock-semaphore">Enable semaphore locks instead of fcntl</flag>
|
||||
<flag name="lock-pthreadmutex">Enable pthread mutex locking</flag>
|
||||
<flag name="lock-pthreadrw">Enable pthread read/write locking</flag>
|
||||
<flag name="lock-spinlock">Enable spin locks (EXPERIMENTAL)</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
|
@ -1,77 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PHP_EXT_NAME="apcu"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS=( NOTICE README.md TECHNOTES.txt TODO )
|
||||
|
||||
USE_PHP="php5-6 php7-1 php7-2 php7-3"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
USE_PHP="php5-6"
|
||||
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
DESCRIPTION="Stripped down version of APC supporting only user cache"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
IUSE="+mmap"
|
||||
|
||||
DEPEND=""
|
||||
PDEPEND="
|
||||
php_targets_php7-1? ( dev-php/pecl-apcu:7[php_targets_php7-1] )
|
||||
php_targets_php7-2? ( dev-php/pecl-apcu:7[php_targets_php7-2] )
|
||||
php_targets_php7-3? ( dev-php/pecl-apcu:7[php_targets_php7-3] )
|
||||
"
|
||||
|
||||
LOCKS="pthreadmutex pthreadrw spinlock semaphore"
|
||||
|
||||
LUSE=""
|
||||
for l in ${LOCKS}; do
|
||||
LUSE+="lock-${l} "
|
||||
done
|
||||
|
||||
IUSE+=" ${LUSE/lock-pthreadrw/+lock-pthreadrw}"
|
||||
|
||||
REQUIRED_USE="^^ ( $LUSE )"
|
||||
|
||||
src_prepare() {
|
||||
if use php_targets_php5-6 ; then
|
||||
php-ext-source-r3_src_prepare
|
||||
else
|
||||
eapply_user
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use php_targets_php5-6 ; then
|
||||
local PHP_EXT_ECONF_ARGS=(
|
||||
--enable-apcu
|
||||
$(use_enable mmap apcu-mmap)
|
||||
$(use_enable lock-pthreadrw apcu-rwlocks)
|
||||
$(use_enable lock-spinlock apcu-spinlocks)
|
||||
)
|
||||
|
||||
php-ext-source-r3_src_configure
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use php_targets_php5-6 ; then
|
||||
php-ext-pecl-r3_src_install
|
||||
|
||||
insinto "${PHP_EXT_SHARED_DIR#$EPREFIX}"
|
||||
doins apc.php
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use php_targets_php5-6 ; then
|
||||
elog "The apc.php file shipped with this release of pecl-apcu was"
|
||||
elog "installed into ${PHP_EXT_SHARED_DIR}."
|
||||
fi
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
AUX libspf2-1.2.10-varargs.patch 1385 BLAKE2B 0fcf2c91cc8b01f8d20ec1d7e1896f59c01115de45b505c7cf81e68d0850456a08b87c1e2f59a5e37824298bee969650f9dd391ec25addf5186478e07a07d182 SHA512 886a347c6526c4e81bc035d7e0069f72aaa5ad2103f0e035e46dbd7e1e5f328ebbbc81842fd32397d195a5b18cf841784455a4142291276c1be8942a1c753b4d
|
||||
DIST libspf2-1.2.10.tar.gz 508842 BLAKE2B d15a44f64c5e3da20aa349e61a6cc02a15f83ed3acff93fe4c23970e30533d6424b1db35d7d60ff488c9a239d343f8544426fbf8fcb66271237155e0b57df1b5 SHA512 162ce382628c6fcadac3e11f5a12442db622bb23f7ec503e16f5ba7fc88afdd777bce6b093c12a58210355985fd11b74b140f08fab347334d82d953dd183b130
|
||||
EBUILD libspf2-1.2.10.ebuild 1235 BLAKE2B adcc1f456a4342e364c39e603365906bc48d63a7759573e3f7597832746e82ca84da664fa0e74ecc678affd968de39ac772a41ea8f0fc10da7908dc0a534081f SHA512 1aafa7786af9e8b74a0d241a2b0f2a1faaf7f3bb2fdbe97904c08f12e715c427ab62fa55fc3be6a0c92f313a57ad7ef1984270ca32e3d2e14807c3f09961d035
|
||||
MISC metadata.xml 662 BLAKE2B 93065bf12cb61aa27cb99767141dfef8b60a98b7c69da698ba0080bd5f25bce4df3c9a4284bfdf1d94a3be808876c20cdcb39bbd1536a3231ced1a86a0f49afe SHA512 255a23e45243c57a00be6d18c487a0574c92b16110d31352f83529bbb7fa5386354a4e5b7f5a3575596fa7cb701ddfb4408077393576e60537b6b70c9bda89a3
|
|
@ -1,29 +0,0 @@
|
|||
From 5852828582f556e73751076ad092f72acf7fc8b6 Mon Sep 17 00:00:00 2001
|
||||
From: Shevek <shevek@anarres.org>
|
||||
Date: Tue, 23 Sep 2014 01:03:00 -0700
|
||||
Subject: [PATCH] Fix #4: Use gcc trick for variadic macros. Does this break
|
||||
anyone else?
|
||||
|
||||
---
|
||||
src/include/spf_log.h | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/include/spf_log.h b/src/include/spf_log.h
|
||||
index 0d2adeb..9b09714 100644
|
||||
--- a/src/include/spf_log.h
|
||||
+++ b/src/include/spf_log.h
|
||||
@@ -60,10 +60,10 @@ void SPF_debugv( const char *file, int line, const char *format, va_list ap ) __
|
||||
|
||||
#if defined( __STDC_VERSION__ ) && __STDC_VERSION__ >= 199901L
|
||||
|
||||
-#define SPF_errorf(format, ... ) SPF_errorx( __FILE__, __LINE__, format, __VA_ARGS__ )
|
||||
-#define SPF_warningf(format, ... ) SPF_warningx( __FILE__, __LINE__, format, __VA_ARGS__ )
|
||||
-#define SPF_infof(format, ... ) SPF_infox( __FILE__, __LINE__, format, __VA_ARGS__ )
|
||||
-#define SPF_debugf(format, ... ) SPF_debugx( __FILE__, __LINE__, format, __VA_ARGS__ )
|
||||
+#define SPF_errorf(format, ... ) SPF_errorx( __FILE__, __LINE__, format, ##__VA_ARGS__ )
|
||||
+#define SPF_warningf(format, ... ) SPF_warningx( __FILE__, __LINE__, format, ##__VA_ARGS__ )
|
||||
+#define SPF_infof(format, ... ) SPF_infox( __FILE__, __LINE__, format, ##__VA_ARGS__ )
|
||||
+#define SPF_debugf(format, ... ) SPF_debugx( __FILE__, __LINE__, format, ##__VA_ARGS__ )
|
||||
|
||||
#elif defined( __GNUC__ )
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="libspf2 implements the Sender Policy Framework, a part of the SPF/SRS protocol pair"
|
||||
HOMEPAGE="http://www.libspf2.org"
|
||||
SRC_URI="http://www.libspf2.org/spf/libspf2-${PV}.tar.gz"
|
||||
|
||||
LICENSE="|| ( LGPL-2.1 BSD-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="static static-libs"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!dev-perl/Mail-SPF-Query"
|
||||
REQUIRED_USE="static? ( static-libs )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-1.2.10-varargs.patch"
|
||||
|
||||
if ! use static; then
|
||||
sed -i -e '/bin_PROGRAMS/s/spfquery_static//' src/spfquery/Makefile.am \
|
||||
-e '/bin_PROGRAMS/s/spftest_static//' src/spftest/Makefile.am \
|
||||
-e '/bin_PROGRAMS/s/spfd_static//' src/spfd/Makefile.am \
|
||||
-e '/bin_PROGRAMS/s/spf_example_static//' src/spf_example/Makefile.am \
|
||||
|| die
|
||||
#eautoreconf
|
||||
fi
|
||||
|
||||
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc README TODO INSTALL
|
||||
|
||||
use static-libs || rm -f "${D}"/usr/lib*/libspf2.la
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>net-mail@gentoo.org</email>
|
||||
<name>Net-Mail</name>
|
||||
</maintainer>
|
||||
<longdescription>libspf2 implements the Sender Policy Framework, a part of the SPF/SRS protocol pair. libspf2 is a library which allows email systems such as Sendmail, Postfix, Exim, Zmailer and MS Exchange to check SPF records and make sure that the email is authorized by the domain name that it is coming from. This prevents email forgery, commonly used by spammers, scammers and email viruses/worms.</longdescription>
|
||||
</pkgmetadata>
|
|
@ -1,6 +0,0 @@
|
|||
AUX razor-2.85-cosmetic-pv-fix.patch 616 BLAKE2B 58def0277c1142b664f65ae9f6e7f312f51ae5a926379616818fda3f0c450b7d157b12fb1777603ac70731d55ca9059708c3c70100c930bdb0371ef60d5b23aa SHA512 c7e7985e779185d704d88ff4c39d106df46ba20daee92c4a4410e8a1af7d4c31bdca0646018fb5d1f7d58e106036c8442a0fa2635b39a5e1df2a259f79eced91
|
||||
AUX razor-2.85-fix-makefile.patch 442 BLAKE2B 70158f913fff2313d08ef8067758a38466f690df2756b0e59d6f615a56e3898d30966d0e3055841365d1659a23e0cc36d9b7b71eb64992cea66f349404a85559 SHA512 5e0f9f9a4e59d0e0f243dd70dda14c780abb8b3451dfc35c36dfb3c79ab8911b4657d871c25017bab8d18bbd20d204f35be3beff9b7cd3caf74dbf2cff025811
|
||||
AUX razor-2.85-use-sha-not-sha1.patch 3897 BLAKE2B 5cbdd0cbf6a80f4d2e1eba364d2db5ef972368257110daaf07c8ee6444884b07ff930184a4c92c1b0e7af89cfd5384ada7d00ddd79114c799bc8ad34e8f61a51 SHA512 891a93408f56bb6a7b43814a501cce8775c51abe7cf227c39dd18699ac5f4c1aa5484842435edda58f7141a87e5ebe1496bfe959afab09fb44c3558c66511289
|
||||
DIST razor-agents-2.85.tar.bz2 81691 BLAKE2B fdb389ca4192dc2a3b87935fe97a4750ab715ae163aa1cf8adf5c6dd54e8e2f2ca53f1fcc37505b5ea0ec4e9bdb78a14ae8b30fca770de80a2a69e3e534ec3ab SHA512 31dded1969dde963389a5939514c29638ad07f45dbb2f4c633cf20ebc4abab94e65e9a6d8885233cdde686ef365aab11fa5eba2ca38d79c5b8fab689143ff5db
|
||||
EBUILD razor-2.85-r2.ebuild 2757 BLAKE2B f112237a2c381f1e1f740a2e30792fce5fa0c2dc1a316a8073f208460b33849cd5ffc858d32db357da6c506a5d12949bcefdc6524b29b34c5bbfd1d89b72083e SHA512 cc5fa4467597de39bc2c9f626eb6297284e144f06ff9cee4fde551f918bf9231f2c63e54fd1944bf0388d0c5083f52d43ba35a5ee56b1fb5c7d2d011db4c81e3
|
||||
MISC metadata.xml 705 BLAKE2B d0672ed0f1b55a34b285b706ed221673caf3bdba562c4f981f0e9a711f15a55213058568ff853e0469578bf569c8ae3a8095a27f3791ec3b015482d4ca570d03 SHA512 7634caefc54a09f7c83ae77103110e4f48641b1d6f1a091951a9e969c934303bdb4227120eec35cf46c1000f414782436c7eb8248f59b8bd4dcd4dbcce1047b7
|
|
@ -1,22 +0,0 @@
|
|||
--- a/lib/Razor2/Client/Version.pm 2007-05-10 22:32:10.000000000 +0200
|
||||
+++ b/lib/Razor2/Client/Version.pm 2010-03-25 11:11:36.911409707 +0100
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
$PROTOCOL = 3;
|
||||
|
||||
-$VERSION = '2.84';
|
||||
+$VERSION = '2.85';
|
||||
|
||||
1;
|
||||
|
||||
--- a/META.yml 2007-05-23 20:29:34.000000000 +0200
|
||||
+++ b/META.yml 2010-03-25 11:11:43.691408628 +0100
|
||||
@@ -1,7 +1,7 @@
|
||||
# http://module-build.sourceforge.net/META-spec.html
|
||||
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
|
||||
name: razor-agents
|
||||
-version: 2.84
|
||||
+version: 2.85
|
||||
version_from: lib/Razor2/Client/Version.pm
|
||||
installdirs: site
|
||||
requires:
|
|
@ -1,14 +0,0 @@
|
|||
--- Makefile.PL.orig 2007-05-09 00:47:53.000000000 +0200
|
||||
+++ Makefile.PL 2017-04-25 19:38:38.082079219 +0200
|
||||
@@ -140,9 +140,9 @@
|
||||
my $inherited = $self->SUPER::install(@_);
|
||||
|
||||
my $man5 = q{ \\
|
||||
- $(INST_MAN5DIR) $(INSTALLMAN5DIR)};
|
||||
+ "$(INST_MAN5DIR)" "$(INSTALLMAN5DIR)"};
|
||||
|
||||
- $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN1DIR\))/$1$man5/gm;
|
||||
+ $inherited =~ s/("\$\((?:DEST)?INSTALL\w*MAN1DIR\)")/$1$man5/gm;
|
||||
|
||||
return $inherited;
|
||||
}
|
|
@ -1,119 +0,0 @@
|
|||
Patch-URL: http://cvs.fedoraproject.org/viewvc/devel/perl-Razor-Agent/razor-agents-2.85-use-sha-not-sha1.patch?view=log
|
||||
|
||||
diff -urN razor-agents-2.85.orig/lib/Razor2/Client/Engine.pm razor-agents-2.85/lib/Razor2/Client/Engine.pm
|
||||
--- razor-agents-2.85.orig/lib/Razor2/Client/Engine.pm 2005-06-13 19:42:25.000000000 -0400
|
||||
+++ razor-agents-2.85/lib/Razor2/Client/Engine.pm 2009-11-01 13:45:08.125369192 -0500
|
||||
@@ -1,7 +1,6 @@
|
||||
package Razor2::Client::Engine;
|
||||
|
||||
use strict;
|
||||
-use Digest::SHA1 qw(sha1_hex);
|
||||
use Data::Dumper;
|
||||
use Razor2::Signature::Ephemeral;
|
||||
use Razor2::Engine::VR8;
|
||||
diff -urN razor-agents-2.85.orig/lib/Razor2/Signature/Ephemeral.pm razor-agents-2.85/lib/Razor2/Signature/Ephemeral.pm
|
||||
--- razor-agents-2.85.orig/lib/Razor2/Signature/Ephemeral.pm 2003-03-03 18:09:50.000000000 -0500
|
||||
+++ razor-agents-2.85/lib/Razor2/Signature/Ephemeral.pm 2009-11-01 13:45:08.125369192 -0500
|
||||
@@ -2,9 +2,13 @@
|
||||
|
||||
package Razor2::Signature::Ephemeral;
|
||||
use strict;
|
||||
-use Digest::SHA1;
|
||||
use Data::Dumper;
|
||||
|
||||
+BEGIN {
|
||||
+ eval { require Digest::SHA; import Digest::SHA qw(sha1_hex); 1 }
|
||||
+ or do { require Digest::SHA1; import Digest::SHA1 qw(sha1_hex) }
|
||||
+}
|
||||
+
|
||||
sub new {
|
||||
|
||||
my ($class, %args) = @_;
|
||||
@@ -86,16 +90,12 @@
|
||||
}
|
||||
|
||||
my $digest;
|
||||
- my $ctx = Digest::SHA1->new;
|
||||
|
||||
if ($seclength > 128) {
|
||||
- $ctx->add($section1);
|
||||
- $ctx->add($section2);
|
||||
- $digest = $ctx->hexdigest;
|
||||
+ $digest = sha1_hex($section1, $section2);
|
||||
} else {
|
||||
debug("Sections too small... reverting back to orginal content.");
|
||||
- $ctx->add($content);
|
||||
- $digest = $ctx->hexdigest;
|
||||
+ $digest = sha1_hex($content);
|
||||
}
|
||||
|
||||
debug("Computed e-hash is $digest");
|
||||
diff -urN razor-agents-2.85.orig/lib/Razor2/Signature/Whiplash.pm razor-agents-2.85/lib/Razor2/Signature/Whiplash.pm
|
||||
--- razor-agents-2.85.orig/lib/Razor2/Signature/Whiplash.pm 2007-05-08 18:22:36.000000000 -0400
|
||||
+++ razor-agents-2.85/lib/Razor2/Signature/Whiplash.pm 2009-11-01 13:45:08.124368017 -0500
|
||||
@@ -7,7 +7,10 @@
|
||||
|
||||
package Razor2::Signature::Whiplash;
|
||||
|
||||
-use Digest::SHA1;
|
||||
+BEGIN {
|
||||
+ eval { require Digest::SHA; import Digest::SHA qw(sha1_hex); 1 }
|
||||
+ or do { require Digest::SHA1; import Digest::SHA1 qw(sha1_hex) }
|
||||
+}
|
||||
|
||||
sub new {
|
||||
|
||||
@@ -683,13 +686,8 @@
|
||||
# the value of length to the nearest multiple of ``length_error''.
|
||||
# Take the first 20 hex chars from SHA1 and call it the signature.
|
||||
|
||||
- my $sha1 = Digest::SHA1->new();
|
||||
-
|
||||
- $sha1->add($host);
|
||||
- $sig = substr $sha1->hexdigest, 0, 12;
|
||||
-
|
||||
- $sha1->add($corrected_length);
|
||||
- $sig .= substr $sha1->hexdigest, 0, 4;
|
||||
+ $sig = substr sha1_hex($host), 0, 12;
|
||||
+ $sig .= substr sha1_hex($corrected_length), 0, 4;
|
||||
|
||||
push @sigs, $sig;
|
||||
$sig_meta{$sig} = [$host, $corrected_length];
|
||||
diff -urN razor-agents-2.85.orig/lib/Razor2/String.pm razor-agents-2.85/lib/Razor2/String.pm
|
||||
--- razor-agents-2.85.orig/lib/Razor2/String.pm 2005-06-13 17:09:59.000000000 -0400
|
||||
+++ razor-agents-2.85/lib/Razor2/String.pm 2009-11-01 13:45:08.123368518 -0500
|
||||
@@ -1,11 +1,15 @@
|
||||
# $Id$
|
||||
package Razor2::String;
|
||||
|
||||
-use Digest::SHA1 qw(sha1_hex);
|
||||
use URI::Escape;
|
||||
use Razor2::Preproc::enBase64;
|
||||
use Data::Dumper;
|
||||
|
||||
+BEGIN {
|
||||
+ eval { require Digest::SHA; import Digest::SHA qw(sha1_hex); 1 }
|
||||
+ or do { require Digest::SHA1; import Digest::SHA1 qw(sha1_hex) }
|
||||
+}
|
||||
+
|
||||
#use MIME::Parser;
|
||||
|
||||
require Exporter;
|
||||
@@ -69,15 +73,8 @@
|
||||
return unless $text && $iv1 && $iv2;
|
||||
die "no ref's allowed" if ref($text);
|
||||
|
||||
- my $ctx = Digest::SHA1->new;
|
||||
- $ctx->add($iv2);
|
||||
- $ctx->add($text);
|
||||
- my $digest = $ctx->hexdigest;
|
||||
-
|
||||
- $ctx = Digest::SHA1->new;
|
||||
- $ctx->add($iv1);
|
||||
- $ctx->add($digest);
|
||||
- $digest = $ctx->hexdigest;
|
||||
+ my $digest = sha1_hex($iv2, $text);
|
||||
+ $digest = sha1_hex($iv1, $digest);
|
||||
|
||||
return (hextobase64($digest), $digest);
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>net-mail@gentoo.org</email>
|
||||
<name>Net-Mail</name>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>razor-admin@cloudmark.com</email>
|
||||
<description>
|
||||
A contact designated by upstream developers. This email address
|
||||
should always be added to CC list of any Razor bug that needs
|
||||
upstream care.
|
||||
</description>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">razor</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
|
@ -1,79 +0,0 @@
|
|||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module
|
||||
|
||||
MY_PN="razor-agents"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="Vipul's Razor is a distributed, collaborative spam detection and filtering network"
|
||||
HOMEPAGE="http://razor.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/razor/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
|
||||
# This package warrants IUSE doc
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
RDEPEND="dev-perl/Net-DNS
|
||||
virtual/perl-Net-Ping
|
||||
virtual/perl-Time-HiRes
|
||||
|| ( virtual/perl-Digest-SHA dev-perl/Digest-SHA1 )
|
||||
dev-perl/URI
|
||||
dev-perl/Digest-Nilsimsa"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.85-use-sha-not-sha1.patch"
|
||||
"${FILESDIR}/${PN}-2.85-cosmetic-pv-fix.patch"
|
||||
"${FILESDIR}/${PN}-2.85-fix-makefile.patch"
|
||||
)
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
# Install docs/ content
|
||||
mydoc="docs/*"
|
||||
SRC_TEST="do parallel"
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Run 'razor-admin -create' to create a default config file in your"
|
||||
elog "home directory under /home/user/.razor. (Remember to change user to"
|
||||
elog "your username from root before running razor-admin)"
|
||||
elog
|
||||
elog "Razor v2 requires reporters to be registered so their reputations can"
|
||||
elog "be computed over time and they can participate in the revocation"
|
||||
elog "mechanism. Registration is done with razor-admin -register. It has to be"
|
||||
elog "manually invoked in either of the following ways:"
|
||||
elog
|
||||
elog "To register user foo with 's1kr3t' as password: "
|
||||
elog
|
||||
elog "razor-admin -register -user=foo -pass=s1kr3t"
|
||||
elog
|
||||
elog "To register with an email address and have the password assigned:"
|
||||
elog
|
||||
elog "razor-admin -register -user=foo@bar.com "
|
||||
elog
|
||||
elog "To have both (random) username and password assgined: "
|
||||
elog
|
||||
elog "razor-admin -register "
|
||||
elog
|
||||
elog "razor-admin -register negotiates a registration with the Nomination Server"
|
||||
elog "and writes the identity information in"
|
||||
elog "/home/user/.razor/identity-username, or /etc/razor/identity-username"
|
||||
elog "when invoked as root."
|
||||
elog
|
||||
elog "You can edit razor-agent.conf to change the defaults. Config options"
|
||||
elog "and their values are defined in the razor-agent.conf(5) manpage."
|
||||
elog
|
||||
elog "The next step is to integrate razor-check, razor-report and"
|
||||
elog "razor-revoke in your mail system. If you are running Razor v1, the"
|
||||
elog "change will be transparent, new versions of razor agents will overwrite"
|
||||
elog "the old ones. You would still need to plugin razor-revoke in your MUA,"
|
||||
elog "since it's a new addition in Razor v2. If you are not running Razor v1,"
|
||||
elog "refer to manpages of razor-check(1), razor-report(1), and"
|
||||
elog "razor-revoke(1) for integration instructions."
|
||||
elog
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
DIST xine-lib-1.2.10.tar.xz 5226116 BLAKE2B e1bc088814c951ff56e55b626fe1f6f34c3da744e716de369a68e6c82a5adc414b452675ad19a5f82500bade6795b54efd503de8ffe4f1e65b534317ca0a26af SHA512 1cbe033da606d67a0a59f19968b2fe1cb46eaeb32c4b4aca7b91125b7230e15bd36d1e3e39e48e6eda56e556018f9f9bf84acb0012d3dd634306e7110fdc4c5f
|
||||
EBUILD xine-lib-1.2.10.ebuild 5146 BLAKE2B e69301e844e4bf610228ba272a36b81fd357ef6597d18968f3ff91aa153dc89f85e93f51591959dd6e44aac30df6c51a100cc645e948aadb200764071c829944 SHA512 0a421c1b0775e7012e7cc20cdbf7fb5c71123f81e5101445a3621d79e0ceb91d00d41601b4fb2f50cc12ce6178db207605b79f1f18b73698ecff919c98c5fad9
|
||||
MISC metadata.xml 2498 BLAKE2B 949a34fcf5204424c2a565ce2329b3f878e4ef817882839bbec09a6d721a8756be6dc37eff2a0bb7e007d333e2bc4896ac6c853f7fe5b1f9c8f4ed3a66ada640 SHA512 f975a8763a3f31a27a769e4649cd7c6ecd113cb4fcd36556f5f7830b9de989be219a0c9f90db4a4df87e9ffd584d4c2e86346da084c95d32dc17adcc30f98c28
|
|
@ -1,65 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>media-video@gentoo.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="bluray">
|
||||
Enable playback of Blu-ray filesystems using <pkg>media-libs/libbluray</pkg>
|
||||
</flag>
|
||||
<flag name="dxr3">
|
||||
Enable support for DXR3 mpeg acceleration cards.
|
||||
</flag>
|
||||
<flag name="flac">
|
||||
Build the <pkg>media-libs/flac</pkg> based FLAC demuxer and decoder. This
|
||||
flag is not needed for playing FLAC content, neither standalone nor in Ogg
|
||||
container (OggFLAC), but might have better support for exotic features like
|
||||
24-bit samples or 96kHz sample rates.
|
||||
</flag>
|
||||
<flag name="gtk">
|
||||
Build the gdkpixbuf-based image decoder plugin.
|
||||
</flag>
|
||||
<flag name="imagemagick">
|
||||
Build the ImageMagick-based image decoder plugin.
|
||||
</flag>
|
||||
<flag name="mad">
|
||||
Build the <pkg>media-libs/libmad</pkg> based mp3 decoder. This mp3 decoder
|
||||
has superior support compared to the one coming from FFmpeg that is used as
|
||||
a fallback. If you experience any bad behaviour with mp3 files (skipping,
|
||||
distorted sound) make sure you enabled this USE flag.
|
||||
</flag>
|
||||
<flag name="mmap">
|
||||
Use mmap() function while reading file from local disks. Using mmap() will
|
||||
use more virtual memory space, but leaves to the Kernel the task of caching
|
||||
the file's data. mmap() access should be faster, but might misbehave if the
|
||||
device where the file resides in is removed during playback.
|
||||
</flag>
|
||||
<flag name="truetype">
|
||||
Use <pkg>media-libs/freetype</pkg> for font rendering and
|
||||
<pkg>media-libs/fontconfig</pkg> for font discovery. Enabling this USE flag
|
||||
will allow OSD (such as subtitles) to use more advanced font and to more
|
||||
easily select which font to use. The support for TrueType fonts in xine-lib
|
||||
is still experimental, and might not be as good looking as the bitmap fonts
|
||||
used with this USE flag disabled.
|
||||
</flag>
|
||||
<flag name="vdr">
|
||||
Build the VDR plugin
|
||||
</flag>
|
||||
<flag name="vidix">
|
||||
Enable support for vidix video output.
|
||||
</flag>
|
||||
<flag name="vis">
|
||||
Adds support for SIMD optimizations for UltraSPARC processors.
|
||||
</flag>
|
||||
<flag name="vpx">
|
||||
Enable VP8 codec support via media-libs/libvpx.
|
||||
</flag>
|
||||
<flag name="xvmc">
|
||||
Enable support for XVideo Motion Compensation (accelerated mpeg playback).
|
||||
</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">xine</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
|
@ -1,222 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic libtool
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
EHG_REPO_URI="http://hg.code.sf.net/p/xine/xine-lib-1.2"
|
||||
inherit autotools mercurial
|
||||
unset NLS_IUSE
|
||||
NLS_DEPEND="sys-devel/gettext"
|
||||
NLS_RDEPEND="virtual/libintl"
|
||||
else
|
||||
KEYWORDS="amd64 arm64 ~hppa ppc ppc64 x86"
|
||||
SRC_URI="mirror://sourceforge/xine/${P}.tar.xz"
|
||||
NLS_IUSE="nls"
|
||||
NLS_DEPEND="nls? ( sys-devel/gettext )"
|
||||
NLS_RDEPEND="nls? ( virtual/libintl )"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Core libraries for Xine movie player"
|
||||
HOMEPAGE="http://xine.sourceforge.net/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="1"
|
||||
IUSE="a52 aac aalib +alsa altivec bluray +css dts dvb dxr3 fbcon flac gtk imagemagick ipv6 jack jpeg libcaca mad +mmap mng modplug musepack opengl oss pulseaudio samba sdl sftp speex theora truetype v4l vaapi vcd vdpau vdr vidix +vis vorbis vpx wavpack wayland +X xinerama +xv xvmc ${NLS_IUSE}"
|
||||
|
||||
RDEPEND="${NLS_RDEPEND}
|
||||
dev-libs/libxdg-basedir
|
||||
media-libs/libdvdnav
|
||||
media-video/ffmpeg:0=
|
||||
sys-libs/zlib:=
|
||||
virtual/libiconv
|
||||
a52? ( media-libs/a52dec )
|
||||
aac? ( media-libs/faad2 )
|
||||
aalib? ( media-libs/aalib )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
bluray? ( >=media-libs/libbluray-0.2.1:= )
|
||||
css? ( >=media-libs/libdvdcss-1.2.10 )
|
||||
dts? ( media-libs/libdca )
|
||||
dxr3? ( media-libs/libfame )
|
||||
flac? ( media-libs/flac )
|
||||
gtk? ( x11-libs/gdk-pixbuf:2 )
|
||||
imagemagick? ( virtual/imagemagick-tools )
|
||||
jack? ( virtual/jack )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
libcaca? ( media-libs/libcaca )
|
||||
mad? ( media-libs/libmad )
|
||||
mng? ( media-libs/libmng:= )
|
||||
modplug? ( >=media-libs/libmodplug-0.8.8.1 )
|
||||
musepack? ( >=media-sound/musepack-tools-444 )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
samba? ( net-fs/samba )
|
||||
sdl? ( media-libs/libsdl )
|
||||
sftp? ( net-libs/libssh2 )
|
||||
speex? (
|
||||
media-libs/libogg
|
||||
media-libs/speex
|
||||
)
|
||||
theora? (
|
||||
media-libs/libogg
|
||||
media-libs/libtheora
|
||||
)
|
||||
truetype? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
)
|
||||
v4l? ( media-libs/libv4l )
|
||||
vaapi? ( x11-libs/libva:0=[X,opengl] )
|
||||
vcd? (
|
||||
>=media-video/vcdimager-0.7.23
|
||||
dev-libs/libcdio:0=[-minimal]
|
||||
)
|
||||
vdpau? ( x11-libs/libvdpau )
|
||||
vorbis? (
|
||||
media-libs/libogg
|
||||
media-libs/libvorbis
|
||||
)
|
||||
vpx? ( media-libs/libvpx:0= )
|
||||
wavpack? ( media-sound/wavpack )
|
||||
wayland? ( dev-libs/wayland )
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libxcb
|
||||
)
|
||||
xinerama? ( x11-libs/libXinerama )
|
||||
xv? ( x11-libs/libXv )
|
||||
xvmc? ( x11-libs/libXvMC )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
${NLS_DEPEND}
|
||||
app-arch/xz-utils
|
||||
>=sys-devel/libtool-2.2.6b
|
||||
virtual/pkgconfig
|
||||
oss? ( virtual/os-headers )
|
||||
v4l? ( virtual/os-headers )
|
||||
X? (
|
||||
x11-base/xorg-proto
|
||||
x11-libs/libXt
|
||||
)
|
||||
xv? ( x11-base/xorg-proto )
|
||||
xvmc? ( x11-base/xorg-proto )
|
||||
xinerama? ( x11-base/xorg-proto )
|
||||
"
|
||||
REQUIRED_USE="
|
||||
vidix? ( || ( X fbcon ) )
|
||||
xv? ( X )
|
||||
xinerama? ( X )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e '/define VDR_ABS_FIFO_DIR/s|".*"|"/var/vdr/xine"|' src/vdr/input_vdr.c || die
|
||||
|
||||
if [[ "${PV}" = *9999* ]] ; then
|
||||
eautoreconf
|
||||
else
|
||||
elibtoolize
|
||||
fi
|
||||
|
||||
local x
|
||||
for x in 0 1 2 3; do
|
||||
sed -i -e "/^O${x}_CFLAGS=\"-O${x}\"/d" configure || die
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
[[ ${CHOST} == i?86-* ]] && append-flags -fomit-frame-pointer #422519
|
||||
|
||||
local win32dir #197236
|
||||
if has_multilib_profile; then
|
||||
win32dir=/usr/$(ABI="x86" get_libdir)/win32
|
||||
else
|
||||
win32dir=/usr/$(get_libdir)/win32
|
||||
fi
|
||||
|
||||
local myconf=(
|
||||
--disable-directfb
|
||||
--disable-gnomevfs
|
||||
--disable-optimizations
|
||||
--disable-real-codecs
|
||||
--disable-v4l
|
||||
--disable-w32dll
|
||||
--enable-avformat
|
||||
--with-external-dvdnav
|
||||
--with-real-codecs-path=/usr/$(get_libdir)/codecs
|
||||
--with-w32-path=${win32dir}
|
||||
--with-xv-path=/usr/$(get_libdir)
|
||||
--without-esound
|
||||
--without-fusionsound
|
||||
$(use_enable a52 a52dec)
|
||||
$(use_enable aac faad)
|
||||
$(use_enable aalib)
|
||||
$(use_enable altivec)
|
||||
$(use_enable bluray)
|
||||
$(use_enable dts)
|
||||
$(use_enable dvb)
|
||||
$(use_enable dxr3)
|
||||
$(use_enable fbcon fb)
|
||||
$(use_enable gtk gdkpixbuf)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable jpeg libjpeg)
|
||||
$(use_enable mad)
|
||||
$(use_enable mmap)
|
||||
$(use_enable mng)
|
||||
$(use_enable modplug)
|
||||
$(use_enable musepack)
|
||||
$(use_enable opengl)
|
||||
$(use_enable opengl glu)
|
||||
$(use_enable oss)
|
||||
$(use_enable samba)
|
||||
$(use_enable sftp)
|
||||
$(use_enable v4l libv4l)
|
||||
$(use_enable v4l v4l2)
|
||||
$(use_enable vaapi)
|
||||
$(use_enable vdpau)
|
||||
$(use_enable vis)
|
||||
$(use_enable vidix)
|
||||
$(use_enable xinerama)
|
||||
$(use_enable xvmc)
|
||||
$(use_enable vcd)
|
||||
$(use_enable vdr)
|
||||
$(use_enable vpx)
|
||||
$(use_enable wayland)
|
||||
$(use_with alsa)
|
||||
$(use_with flac libflac)
|
||||
$(use_with imagemagick)
|
||||
$(use_with jack)
|
||||
$(use_with libcaca caca)
|
||||
$(use_with pulseaudio)
|
||||
$(use_with sdl)
|
||||
$(use_with speex)
|
||||
$(use_with theora)
|
||||
$(use_with truetype fontconfig)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with vorbis)
|
||||
$(use_with wavpack)
|
||||
$(use_with X x)
|
||||
$(use_with X xcb)
|
||||
)
|
||||
[[ ${PV} == *9999* ]] || myconf+=( $(use_enable nls) )
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# enable verbose building, bug #448140
|
||||
emake V=1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
rm -f "${ED}"usr/share/doc/${PF}/COPYING || die
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
AUX openssh1-6.7_p1-openssl-ignore-status.patch 765 BLAKE2B 6ddc498cef115a38054eb8f1fddac34048b94592e54f8e31dc11717fe872f3d66a7e6877d2449102fbe18a0ee2a35732991abe946b1fe10abfa48bbec6871b26 SHA512 ab15d6dfdb8d59946684501f6f30ac0eb82676855b7b57f19f2027a7ada072f9062fcb96911111a50cfc3838492faddd282db381ec83d22462644ccddccf0ae7
|
||||
AUX openssh1-7.3-mips-seccomp-n32.patch 634 BLAKE2B 12e931e6c2364d4cdd3f0d9ef8cf72665b65fedc7e8211a75250abe1bf359460afdf9707fdd7f9be8b8f8fd8fe40fdaddcd842da741c4b63fef94c364738cd26 SHA512 eba3e843d3714501a1df3161d02134c54c8ce584db3af698b87d303fc17c16635bd06db4d7c2d9bb47f461c3b211d870b480fd927f4563207e11c9ed2c446770
|
||||
AUX openssh1-7.5_p1-CVE-2017-15906.patch 1180 BLAKE2B 37fca347fc1fa969f410d514a76b3d7133914aa14c7ef577e6eb0b2f96b936313b20635c6cc23b5e91e3643e26c899e992b82769a5df6568d058eb4f7a43fab8 SHA512 dfba25e9962e4398688d5e6f9311de44931ea5292d7d50c69d8056838ceb41ce099c44f849c204f7b421515c3aa40bde6e9b98b80b9e99aa113c222841daecd4
|
||||
AUX openssh1-7.5_p1-GSSAPI-dns.patch 11137 BLAKE2B a54ed4d6f81632ae03523b7b61f750402d178d3213ec310bc0e57c0705ed67607a89a786d429599395722eaf40b2fb591c5b8de87ffc4f1dd7f6713b543c31c2 SHA512 f84e1d3fdda7a534d9351884caaefc136be7599e735200f0393db0acad03a57abe6585f9402018b50e3454e6842c3281d630120d479ff819f591c4693252dd0e
|
||||
AUX openssh1-7.5_p1-cross-cache.patch 1220 BLAKE2B 7176b86024b072ff601421143f8567e4e47de3d89b1d865bc92405da75bf7c64fa50b9f746d9c494dbf64bc09e04afc1960f673e68ea1d072a5381027afea63d SHA512 03cf3b5556fcf43c7053d1550c8aa35189759a0a2274a67427b28176ba7938b8d0019992de25fb614dc556c5f45a67649bb5d2d82889ac2c37edd986fc632550
|
||||
AUX openssh1-7.5_p1-disable-conch-interop-tests.patch 554 BLAKE2B f5f45c000ec26c1f783669c3447ea3c80c5c0f9b971b86ca1e79e99e906a90a519abb6b14db462f5766572e9759180719ea44f048ef5aa8efc37efb61d2b6ef7 SHA512 f35b15f1e8d0eb276d748ee14c71004c6599ddb124c33e2f84623bc9eb02bb4fd4680d25d0ba0289d6a723a526c95c9a56b30496bdaa565bae853bf3d1bab61f
|
||||
AUX openssh1-7.5_p1-hpn-x509-10.2-glue.patch 2847 BLAKE2B 8a6151ab121871e4f2d93ace0e07dce1106c6841031cacfb197e00cc76fc1d0cf153aae52757dcf98a5fb89971125493d0572bd4964d0e59cb3f391fd1256aef SHA512 bc23fdf5995ae38ff166f12f64082f79a2135ca28f2240e89bee42b1e3ba39ce94467ece9ddea99173f1829b09b069dbf56a0bce7dfd1ae5f63c12f73b5ffba7
|
||||
AUX openssh1-7.5_p1-openssl-1.1.patch 112165 BLAKE2B d313d95d1844e0125dcc322f7efa6175a2b22043e323eec28a8fdc5e9eb109476d469e84f946918679d1e9a42c2096f1b0107c290d498b63a6f741932dea33b8 SHA512 88a148992e3c7234135e95701c9724064072e713494dbfcbc29072d2e5c6282605a21ffee5ed0c49a172f05b3a9af09affee7cc4b44924a441dba5f18b90f0fb
|
||||
AUX openssh1-7.5_p1-s390-seccomp.patch 624 BLAKE2B 0bf595d72cd65993dde4e5aae0a3e091bb48021ef8affa84c988d55d9fe6a823b0329b6d9707c88e1556d45c304b6630ade7008f63fd649975594a75f570bb33 SHA512 058dc269eb032151e88e0ac79a0b0fd6fcd56d489e90e299ee431b1475a8f8080e8f4649244864af33e743820b081c9f90b32a1a93b8b60feeb491c0201a4d61
|
||||
AUX openssh1-7.5_p1-ssh1.patch 8014 BLAKE2B a1dcbdf480f5800bc56a41834961c44e8f32ca16758f36155204605ceb3e672c3d86e3042fff42f979a1eecd13de1c155c912cf81b23d29c9fe3590a73c7fcb9 SHA512 73b5a1e3a7d0c241ccf2a7b146d72fa3066e7732a9400845b97a38640ebc4469691c295009dd6a2b58895fc08fd7161ac48b28403ba594cb78bc4062425e05f0
|
||||
AUX openssh1-7.5_p1-x32-typo.patch 772 BLAKE2B 3f27d669ee76e191f2f6f7c7d86b1d9cb7297cecf17b2d88d86ef498c9ca35231adb0edc9fb811698ec86fd65527cc3fe9f2ce514836aebe5dc27bca2a3a55dc SHA512 20d19301873d4b8e908527f462f40c2f4a513d0bb89d4c7b885f9fc7eb5d483eea544eb108d87ff6aaa3d988d360c2029910c18f7125c96e8367485553f59a5e
|
||||
DIST openssh-7.4_p1-sctp.patch.xz 8220 BLAKE2B 2d571cacaab342b7950b42ec826bd896edf78780e9ee73fcd441cbc9764eb59e408e295062862db986918824d10498383bf34ae7c93df0da2c056eaec4d2c031 SHA512 0c199e3b26949482125aeaa88216b2458292589e3eac8908d9134d13a1cae891094fcb0f752ed3009b3126cc72277b460205f39140c251792eb1b545271c3bd4
|
||||
DIST openssh-7.5p1+x509-10.2.diff.gz 467040 BLAKE2B 4048b0f016bf7d43276f88117fc266d1a450d298563bfc6ce705ec2829b8f9d91af5c5232941d55004b5aea2d3e0fb682a9d4acd9510c9761ba7ede2f2f0e37f SHA512 ec760d38771749d09afc8d720120ea2aa065c1c7983898b45dba74a4411f7e61e7705da226864e1e8e62e2261eecc3a4ab654b528c71512a07798824d9fb1a9a
|
||||
DIST openssh-7.5p1-hpnssh14v12.tar.xz 23068 BLAKE2B 15702338877e50c2143b33b93bfc87d0aa0fa55915db1f0cab9c22e55f8aa0c6eeb5a56f438d849544d1650bdc574384b851292d621b79f673b78bc37617aa0b SHA512 45c42090a212b9ce898fbaa8284ddf0f0d17236af13c4a780e00bf265b0c7a4286027e90a7ce9ad70066309db722709dd2f0a7914f57e5364ffbaf7c4859cdf9
|
||||
DIST openssh-7.5p1.tar.gz 1510857 BLAKE2B 505764a210018136456c0f5dd40ad9f1383551c3ae037593d4296305df189e0a6f1383adc89b1970d58b8dcfff391878b7a29b848cc244a99705a164bec5d734 SHA512 58c542e8a110fb4316a68db94abb663fa1c810becd0638d45281df8aeca62c1f705090437a80e788e6c29121769b72a505feced537d3118c933fde01b5285c81
|
||||
DIST openssh-lpk-7.5p1-0.3.14.patch.xz 17040 BLAKE2B 5b2204316dd244bb8dd11db50d5bc3a194e2cc4b64964a2d3df68bbe54c53588f15fc5176dbc3811e929573fa3e41cf91f412aa2513bb9a4b6ed02c2523c1e24 SHA512 9ce5d7e5d831c972f0f866b686bf93a048a03979ab38627973f5491eeeaa45f9faab0520b3a7ed90a13a67213fdc9cd4cf11e423acad441ea91b71037c8b435b
|
||||
EBUILD openssh1-7.5_p1-r5.ebuild 9583 BLAKE2B 4a791054d59bf13cdaef18a445a53e98fe28366eb51b364e9b0ad9cf3960ca3455db1d26f1a430b3aaa6bf6796071edd16b8f4c8a7a8aa112c415ac30025657a SHA512 0d3556af1a92a3a3d1bc78be3e90e7b60fca112c4e699926beb16ebc20ef179adc1dfb3452a7caa44d2155e49feeb93477b55fd6ba7cdf8c7540b7a6e74c3a4e
|
|
@ -1,17 +0,0 @@
|
|||
the last nibble of the openssl version represents the status. that is,
|
||||
whether it is a beta or release. when it comes to version checks in
|
||||
openssh, this component does not matter, so ignore it.
|
||||
|
||||
https://bugzilla.mindrot.org/show_bug.cgi?id=2212
|
||||
|
||||
--- a/openbsd-compat/openssl-compat.c
|
||||
+++ b/openbsd-compat/openssl-compat.c
|
||||
@@ -58,7 +58,7 @@ ssh_compatible_openssl(long headerver, long libver)
|
||||
* For versions >= 1.0.0, major,minor,status must match and library
|
||||
* fix version must be equal to or newer than the header.
|
||||
*/
|
||||
- mask = 0xfff0000fL; /* major,minor,status */
|
||||
+ mask = 0xfff00000L; /* major,minor,status */
|
||||
hfix = (headerver & 0x000ff000) >> 12;
|
||||
lfix = (libver & 0x000ff000) >> 12;
|
||||
if ( (headerver & mask) == (libver & mask) && lfix >= hfix)
|
|
@ -1,21 +0,0 @@
|
|||
https://bugs.gentoo.org/591392
|
||||
https://bugzilla.mindrot.org/show_bug.cgi?id=2590
|
||||
|
||||
7.3 added seccomp support to MIPS, but failed to handled the N32
|
||||
case. This patch is temporary until upstream fixes.
|
||||
|
||||
--- openssh-7.3p1/configure.ac
|
||||
+++ openssh-7.3p1/configure.ac
|
||||
@@ -816,10 +816,10 @@ main() { if (NSVersionOfRunTimeLibrary("
|
||||
seccomp_audit_arch=AUDIT_ARCH_MIPSEL
|
||||
;;
|
||||
mips64-*)
|
||||
- seccomp_audit_arch=AUDIT_ARCH_MIPS64
|
||||
+ seccomp_audit_arch=AUDIT_ARCH_MIPS64N32
|
||||
;;
|
||||
mips64el-*)
|
||||
- seccomp_audit_arch=AUDIT_ARCH_MIPSEL64
|
||||
+ seccomp_audit_arch=AUDIT_ARCH_MIPSEL64N32
|
||||
;;
|
||||
esac
|
||||
if test "x$seccomp_audit_arch" != "x" ; then
|
|
@ -1,31 +0,0 @@
|
|||
From a6981567e8e215acc1ef690c8dbb30f2d9b00a19 Mon Sep 17 00:00:00 2001
|
||||
From: djm <djm@openbsd.org>
|
||||
Date: Tue, 4 Apr 2017 00:24:56 +0000
|
||||
Subject: [PATCH] disallow creation (of empty files) in read-only mode;
|
||||
reported by Michal Zalewski, feedback & ok deraadt@
|
||||
|
||||
---
|
||||
usr.bin/ssh/sftp-server.c | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/usr.bin/ssh/sftp-server.c b/usr.bin/ssh/sftp-server.c
|
||||
index 2510d234a3a..42249ebd60d 100644
|
||||
--- a/usr.bin/ssh/sftp-server.c
|
||||
+++ b/usr.bin/ssh/sftp-server.c
|
||||
@@ -1,4 +1,4 @@
|
||||
-/* $OpenBSD: sftp-server.c,v 1.110 2016/09/12 01:22:38 deraadt Exp $ */
|
||||
+/* $OpenBSD: sftp-server.c,v 1.111 2017/04/04 00:24:56 djm Exp $ */
|
||||
/*
|
||||
* Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
|
||||
*
|
||||
@@ -683,8 +683,8 @@ process_open(u_int32_t id)
|
||||
logit("open \"%s\" flags %s mode 0%o",
|
||||
name, string_from_portable(pflags), mode);
|
||||
if (readonly &&
|
||||
- ((flags & O_ACCMODE) == O_WRONLY ||
|
||||
- (flags & O_ACCMODE) == O_RDWR)) {
|
||||
+ ((flags & O_ACCMODE) != O_RDONLY ||
|
||||
+ (flags & (O_CREAT|O_TRUNC)) != 0)) {
|
||||
verbose("Refusing open request in read-only mode");
|
||||
status = SSH2_FX_PERMISSION_DENIED;
|
||||
} else {
|
|
@ -1,351 +0,0 @@
|
|||
http://bugs.gentoo.org/165444
|
||||
https://bugzilla.mindrot.org/show_bug.cgi?id=1008
|
||||
|
||||
--- a/readconf.c
|
||||
+++ b/readconf.c
|
||||
@@ -148,6 +148,7 @@
|
||||
oClearAllForwardings, oNoHostAuthenticationForLocalhost,
|
||||
oEnableSSHKeysign, oRekeyLimit, oVerifyHostKeyDNS, oConnectTimeout,
|
||||
oAddressFamily, oGssAuthentication, oGssDelegateCreds,
|
||||
+ oGssTrustDns,
|
||||
oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly,
|
||||
oSendEnv, oControlPath, oControlMaster, oControlPersist,
|
||||
oHashKnownHosts,
|
||||
@@ -194,9 +195,11 @@
|
||||
#if defined(GSSAPI)
|
||||
{ "gssapiauthentication", oGssAuthentication },
|
||||
{ "gssapidelegatecredentials", oGssDelegateCreds },
|
||||
+ { "gssapitrustdns", oGssTrustDns },
|
||||
# else
|
||||
{ "gssapiauthentication", oUnsupported },
|
||||
{ "gssapidelegatecredentials", oUnsupported },
|
||||
+ { "gssapitrustdns", oUnsupported },
|
||||
#endif
|
||||
#ifdef ENABLE_PKCS11
|
||||
{ "smartcarddevice", oPKCS11Provider },
|
||||
@@ -930,6 +933,10 @@
|
||||
intptr = &options->gss_deleg_creds;
|
||||
goto parse_flag;
|
||||
|
||||
+ case oGssTrustDns:
|
||||
+ intptr = &options->gss_trust_dns;
|
||||
+ goto parse_flag;
|
||||
+
|
||||
case oBatchMode:
|
||||
intptr = &options->batch_mode;
|
||||
goto parse_flag;
|
||||
@@ -1649,6 +1656,7 @@
|
||||
options->challenge_response_authentication = -1;
|
||||
options->gss_authentication = -1;
|
||||
options->gss_deleg_creds = -1;
|
||||
+ options->gss_trust_dns = -1;
|
||||
options->password_authentication = -1;
|
||||
options->kbd_interactive_authentication = -1;
|
||||
options->kbd_interactive_devices = NULL;
|
||||
@@ -1779,6 +1787,8 @@
|
||||
options->gss_authentication = 0;
|
||||
if (options->gss_deleg_creds == -1)
|
||||
options->gss_deleg_creds = 0;
|
||||
+ if (options->gss_trust_dns == -1)
|
||||
+ options->gss_trust_dns = 0;
|
||||
if (options->password_authentication == -1)
|
||||
options->password_authentication = 1;
|
||||
if (options->kbd_interactive_authentication == -1)
|
||||
--- a/readconf.h
|
||||
+++ b/readconf.h
|
||||
@@ -46,6 +46,7 @@
|
||||
/* Try S/Key or TIS, authentication. */
|
||||
int gss_authentication; /* Try GSS authentication */
|
||||
int gss_deleg_creds; /* Delegate GSS credentials */
|
||||
+ int gss_trust_dns; /* Trust DNS for GSS canonicalization */
|
||||
int password_authentication; /* Try password
|
||||
* authentication. */
|
||||
int kbd_interactive_authentication; /* Try keyboard-interactive auth. */
|
||||
--- a/ssh_config.5
|
||||
+++ b/ssh_config.5
|
||||
@@ -830,6 +830,16 @@
|
||||
Forward (delegate) credentials to the server.
|
||||
The default is
|
||||
.Cm no .
|
||||
+Note that this option applies to protocol version 2 connections using GSSAPI.
|
||||
+.It Cm GSSAPITrustDns
|
||||
+Set to
|
||||
+.Dq yes to indicate that the DNS is trusted to securely canonicalize
|
||||
+the name of the host being connected to. If
|
||||
+.Dq no, the hostname entered on the
|
||||
+command line will be passed untouched to the GSSAPI library.
|
||||
+The default is
|
||||
+.Dq no .
|
||||
+This option only applies to protocol version 2 connections using GSSAPI.
|
||||
.It Cm HashKnownHosts
|
||||
Indicates that
|
||||
.Xr ssh 1
|
||||
--- a/sshconnect2.c
|
||||
+++ b/sshconnect2.c
|
||||
@@ -656,6 +656,13 @@
|
||||
static u_int mech = 0;
|
||||
OM_uint32 min;
|
||||
int ok = 0;
|
||||
+ const char *gss_host;
|
||||
+
|
||||
+ if (options.gss_trust_dns) {
|
||||
+ extern const char *auth_get_canonical_hostname(struct ssh *ssh, int use_dns);
|
||||
+ gss_host = auth_get_canonical_hostname(active_state, 1);
|
||||
+ } else
|
||||
+ gss_host = authctxt->host;
|
||||
|
||||
/* Try one GSSAPI method at a time, rather than sending them all at
|
||||
* once. */
|
||||
@@ -668,7 +674,7 @@
|
||||
/* My DER encoding requires length<128 */
|
||||
if (gss_supported->elements[mech].length < 128 &&
|
||||
ssh_gssapi_check_mechanism(&gssctxt,
|
||||
- &gss_supported->elements[mech], authctxt->host)) {
|
||||
+ &gss_supported->elements[mech], gss_host)) {
|
||||
ok = 1; /* Mechanism works */
|
||||
} else {
|
||||
mech++;
|
||||
|
||||
need to move these two funcs back to canohost so they're available to clients
|
||||
and the server. auth.c is only used in the server.
|
||||
|
||||
--- a/auth.c
|
||||
+++ b/auth.c
|
||||
@@ -784,117 +784,3 @@ fakepw(void)
|
||||
|
||||
return (&fake);
|
||||
}
|
||||
-
|
||||
-/*
|
||||
- * Returns the remote DNS hostname as a string. The returned string must not
|
||||
- * be freed. NB. this will usually trigger a DNS query the first time it is
|
||||
- * called.
|
||||
- * This function does additional checks on the hostname to mitigate some
|
||||
- * attacks on legacy rhosts-style authentication.
|
||||
- * XXX is RhostsRSAAuthentication vulnerable to these?
|
||||
- * XXX Can we remove these checks? (or if not, remove RhostsRSAAuthentication?)
|
||||
- */
|
||||
-
|
||||
-static char *
|
||||
-remote_hostname(struct ssh *ssh)
|
||||
-{
|
||||
- struct sockaddr_storage from;
|
||||
- socklen_t fromlen;
|
||||
- struct addrinfo hints, *ai, *aitop;
|
||||
- char name[NI_MAXHOST], ntop2[NI_MAXHOST];
|
||||
- const char *ntop = ssh_remote_ipaddr(ssh);
|
||||
-
|
||||
- /* Get IP address of client. */
|
||||
- fromlen = sizeof(from);
|
||||
- memset(&from, 0, sizeof(from));
|
||||
- if (getpeername(ssh_packet_get_connection_in(ssh),
|
||||
- (struct sockaddr *)&from, &fromlen) < 0) {
|
||||
- debug("getpeername failed: %.100s", strerror(errno));
|
||||
- return strdup(ntop);
|
||||
- }
|
||||
-
|
||||
- ipv64_normalise_mapped(&from, &fromlen);
|
||||
- if (from.ss_family == AF_INET6)
|
||||
- fromlen = sizeof(struct sockaddr_in6);
|
||||
-
|
||||
- debug3("Trying to reverse map address %.100s.", ntop);
|
||||
- /* Map the IP address to a host name. */
|
||||
- if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name),
|
||||
- NULL, 0, NI_NAMEREQD) != 0) {
|
||||
- /* Host name not found. Use ip address. */
|
||||
- return strdup(ntop);
|
||||
- }
|
||||
-
|
||||
- /*
|
||||
- * if reverse lookup result looks like a numeric hostname,
|
||||
- * someone is trying to trick us by PTR record like following:
|
||||
- * 1.1.1.10.in-addr.arpa. IN PTR 2.3.4.5
|
||||
- */
|
||||
- memset(&hints, 0, sizeof(hints));
|
||||
- hints.ai_socktype = SOCK_DGRAM; /*dummy*/
|
||||
- hints.ai_flags = AI_NUMERICHOST;
|
||||
- if (getaddrinfo(name, NULL, &hints, &ai) == 0) {
|
||||
- logit("Nasty PTR record \"%s\" is set up for %s, ignoring",
|
||||
- name, ntop);
|
||||
- freeaddrinfo(ai);
|
||||
- return strdup(ntop);
|
||||
- }
|
||||
-
|
||||
- /* Names are stored in lowercase. */
|
||||
- lowercase(name);
|
||||
-
|
||||
- /*
|
||||
- * Map it back to an IP address and check that the given
|
||||
- * address actually is an address of this host. This is
|
||||
- * necessary because anyone with access to a name server can
|
||||
- * define arbitrary names for an IP address. Mapping from
|
||||
- * name to IP address can be trusted better (but can still be
|
||||
- * fooled if the intruder has access to the name server of
|
||||
- * the domain).
|
||||
- */
|
||||
- memset(&hints, 0, sizeof(hints));
|
||||
- hints.ai_family = from.ss_family;
|
||||
- hints.ai_socktype = SOCK_STREAM;
|
||||
- if (getaddrinfo(name, NULL, &hints, &aitop) != 0) {
|
||||
- logit("reverse mapping checking getaddrinfo for %.700s "
|
||||
- "[%s] failed.", name, ntop);
|
||||
- return strdup(ntop);
|
||||
- }
|
||||
- /* Look for the address from the list of addresses. */
|
||||
- for (ai = aitop; ai; ai = ai->ai_next) {
|
||||
- if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop2,
|
||||
- sizeof(ntop2), NULL, 0, NI_NUMERICHOST) == 0 &&
|
||||
- (strcmp(ntop, ntop2) == 0))
|
||||
- break;
|
||||
- }
|
||||
- freeaddrinfo(aitop);
|
||||
- /* If we reached the end of the list, the address was not there. */
|
||||
- if (ai == NULL) {
|
||||
- /* Address not found for the host name. */
|
||||
- logit("Address %.100s maps to %.600s, but this does not "
|
||||
- "map back to the address.", ntop, name);
|
||||
- return strdup(ntop);
|
||||
- }
|
||||
- return strdup(name);
|
||||
-}
|
||||
-
|
||||
-/*
|
||||
- * Return the canonical name of the host in the other side of the current
|
||||
- * connection. The host name is cached, so it is efficient to call this
|
||||
- * several times.
|
||||
- */
|
||||
-
|
||||
-const char *
|
||||
-auth_get_canonical_hostname(struct ssh *ssh, int use_dns)
|
||||
-{
|
||||
- static char *dnsname;
|
||||
-
|
||||
- if (!use_dns)
|
||||
- return ssh_remote_ipaddr(ssh);
|
||||
- else if (dnsname != NULL)
|
||||
- return dnsname;
|
||||
- else {
|
||||
- dnsname = remote_hostname(ssh);
|
||||
- return dnsname;
|
||||
- }
|
||||
-}
|
||||
--- a/canohost.c
|
||||
+++ b/canohost.c
|
||||
@@ -202,3 +202,117 @@ get_local_port(int sock)
|
||||
{
|
||||
return get_sock_port(sock, 1);
|
||||
}
|
||||
+
|
||||
+/*
|
||||
+ * Returns the remote DNS hostname as a string. The returned string must not
|
||||
+ * be freed. NB. this will usually trigger a DNS query the first time it is
|
||||
+ * called.
|
||||
+ * This function does additional checks on the hostname to mitigate some
|
||||
+ * attacks on legacy rhosts-style authentication.
|
||||
+ * XXX is RhostsRSAAuthentication vulnerable to these?
|
||||
+ * XXX Can we remove these checks? (or if not, remove RhostsRSAAuthentication?)
|
||||
+ */
|
||||
+
|
||||
+static char *
|
||||
+remote_hostname(struct ssh *ssh)
|
||||
+{
|
||||
+ struct sockaddr_storage from;
|
||||
+ socklen_t fromlen;
|
||||
+ struct addrinfo hints, *ai, *aitop;
|
||||
+ char name[NI_MAXHOST], ntop2[NI_MAXHOST];
|
||||
+ const char *ntop = ssh_remote_ipaddr(ssh);
|
||||
+
|
||||
+ /* Get IP address of client. */
|
||||
+ fromlen = sizeof(from);
|
||||
+ memset(&from, 0, sizeof(from));
|
||||
+ if (getpeername(ssh_packet_get_connection_in(ssh),
|
||||
+ (struct sockaddr *)&from, &fromlen) < 0) {
|
||||
+ debug("getpeername failed: %.100s", strerror(errno));
|
||||
+ return strdup(ntop);
|
||||
+ }
|
||||
+
|
||||
+ ipv64_normalise_mapped(&from, &fromlen);
|
||||
+ if (from.ss_family == AF_INET6)
|
||||
+ fromlen = sizeof(struct sockaddr_in6);
|
||||
+
|
||||
+ debug3("Trying to reverse map address %.100s.", ntop);
|
||||
+ /* Map the IP address to a host name. */
|
||||
+ if (getnameinfo((struct sockaddr *)&from, fromlen, name, sizeof(name),
|
||||
+ NULL, 0, NI_NAMEREQD) != 0) {
|
||||
+ /* Host name not found. Use ip address. */
|
||||
+ return strdup(ntop);
|
||||
+ }
|
||||
+
|
||||
+ /*
|
||||
+ * if reverse lookup result looks like a numeric hostname,
|
||||
+ * someone is trying to trick us by PTR record like following:
|
||||
+ * 1.1.1.10.in-addr.arpa. IN PTR 2.3.4.5
|
||||
+ */
|
||||
+ memset(&hints, 0, sizeof(hints));
|
||||
+ hints.ai_socktype = SOCK_DGRAM; /*dummy*/
|
||||
+ hints.ai_flags = AI_NUMERICHOST;
|
||||
+ if (getaddrinfo(name, NULL, &hints, &ai) == 0) {
|
||||
+ logit("Nasty PTR record \"%s\" is set up for %s, ignoring",
|
||||
+ name, ntop);
|
||||
+ freeaddrinfo(ai);
|
||||
+ return strdup(ntop);
|
||||
+ }
|
||||
+
|
||||
+ /* Names are stored in lowercase. */
|
||||
+ lowercase(name);
|
||||
+
|
||||
+ /*
|
||||
+ * Map it back to an IP address and check that the given
|
||||
+ * address actually is an address of this host. This is
|
||||
+ * necessary because anyone with access to a name server can
|
||||
+ * define arbitrary names for an IP address. Mapping from
|
||||
+ * name to IP address can be trusted better (but can still be
|
||||
+ * fooled if the intruder has access to the name server of
|
||||
+ * the domain).
|
||||
+ */
|
||||
+ memset(&hints, 0, sizeof(hints));
|
||||
+ hints.ai_family = from.ss_family;
|
||||
+ hints.ai_socktype = SOCK_STREAM;
|
||||
+ if (getaddrinfo(name, NULL, &hints, &aitop) != 0) {
|
||||
+ logit("reverse mapping checking getaddrinfo for %.700s "
|
||||
+ "[%s] failed.", name, ntop);
|
||||
+ return strdup(ntop);
|
||||
+ }
|
||||
+ /* Look for the address from the list of addresses. */
|
||||
+ for (ai = aitop; ai; ai = ai->ai_next) {
|
||||
+ if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop2,
|
||||
+ sizeof(ntop2), NULL, 0, NI_NUMERICHOST) == 0 &&
|
||||
+ (strcmp(ntop, ntop2) == 0))
|
||||
+ break;
|
||||
+ }
|
||||
+ freeaddrinfo(aitop);
|
||||
+ /* If we reached the end of the list, the address was not there. */
|
||||
+ if (ai == NULL) {
|
||||
+ /* Address not found for the host name. */
|
||||
+ logit("Address %.100s maps to %.600s, but this does not "
|
||||
+ "map back to the address.", ntop, name);
|
||||
+ return strdup(ntop);
|
||||
+ }
|
||||
+ return strdup(name);
|
||||
+}
|
||||
+
|
||||
+/*
|
||||
+ * Return the canonical name of the host in the other side of the current
|
||||
+ * connection. The host name is cached, so it is efficient to call this
|
||||
+ * several times.
|
||||
+ */
|
||||
+
|
||||
+const char *
|
||||
+auth_get_canonical_hostname(struct ssh *ssh, int use_dns)
|
||||
+{
|
||||
+ static char *dnsname;
|
||||
+
|
||||
+ if (!use_dns)
|
||||
+ return ssh_remote_ipaddr(ssh);
|
||||
+ else if (dnsname != NULL)
|
||||
+ return dnsname;
|
||||
+ else {
|
||||
+ dnsname = remote_hostname(ssh);
|
||||
+ return dnsname;
|
||||
+ }
|
||||
+}
|
|
@ -1,39 +0,0 @@
|
|||
From d588d6f83e9a3d48286929b4a705b43e74414241 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@chromium.org>
|
||||
Date: Wed, 24 May 2017 23:18:41 -0400
|
||||
Subject: [PATCH] configure: actually set cache vars when cross-compiling
|
||||
|
||||
The cross-compiling fallback message says it's assuming the test
|
||||
passed, but it didn't actually set the cache var which causes
|
||||
later tests to fail.
|
||||
---
|
||||
configure.ac | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 5cfea38c0a6c..895c5211ea93 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3162,7 +3162,8 @@ AC_RUN_IFELSE(
|
||||
select_works_with_rlimit=yes],
|
||||
[AC_MSG_RESULT([no])
|
||||
select_works_with_rlimit=no],
|
||||
- [AC_MSG_WARN([cross compiling: assuming yes])]
|
||||
+ [AC_MSG_WARN([cross compiling: assuming yes])
|
||||
+ select_works_with_rlimit=yes]
|
||||
)
|
||||
|
||||
AC_MSG_CHECKING([if setrlimit(RLIMIT_NOFILE,{0,0}) works])
|
||||
@@ -3188,7 +3189,8 @@ AC_RUN_IFELSE(
|
||||
rlimit_nofile_zero_works=yes],
|
||||
[AC_MSG_RESULT([no])
|
||||
rlimit_nofile_zero_works=no],
|
||||
- [AC_MSG_WARN([cross compiling: assuming yes])]
|
||||
+ [AC_MSG_WARN([cross compiling: assuming yes])
|
||||
+ rlimit_nofile_zero_works=yes]
|
||||
)
|
||||
|
||||
AC_MSG_CHECKING([if setrlimit RLIMIT_FSIZE works])
|
||||
--
|
||||
2.12.0
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
Disable conch interop tests which are failing when called
|
||||
via portage for yet unknown reason and because using conch
|
||||
seems to be flaky (test is failing when using Python2 but
|
||||
passing when using Python3).
|
||||
|
||||
Bug: https://bugs.gentoo.org/605446
|
||||
|
||||
--- a/regress/conch-ciphers.sh
|
||||
+++ b/regress/conch-ciphers.sh
|
||||
@@ -3,6 +3,10 @@
|
||||
|
||||
tid="conch ciphers"
|
||||
|
||||
+# https://bugs.gentoo.org/605446
|
||||
+echo "conch interop tests skipped due to Gentoo bug #605446"
|
||||
+exit 0
|
||||
+
|
||||
if test "x$REGRESS_INTEROP_CONCH" != "xyes" ; then
|
||||
echo "conch interop tests not enabled"
|
||||
exit 0
|
|
@ -1,67 +0,0 @@
|
|||
diff -ur a/0003-Add-support-for-the-multi-threaded-AES-CTR-cipher.patch b/0003-Add-support-for-the-multi-threaded-AES-CTR-cipher.patch
|
||||
--- a/0003-Add-support-for-the-multi-threaded-AES-CTR-cipher.patch 2017-03-27 13:31:01.816551100 -0700
|
||||
+++ b/0003-Add-support-for-the-multi-threaded-AES-CTR-cipher.patch 2017-03-27 13:51:03.894805846 -0700
|
||||
@@ -40,7 +40,7 @@
|
||||
@@ -44,7 +44,7 @@ CC=@CC@
|
||||
LD=@LD@
|
||||
CFLAGS=@CFLAGS@
|
||||
- CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@
|
||||
+ CPPFLAGS=-I. -I$(srcdir) @CPPFLAGS@ @LDAP_CPPFLAGS@ $(PATHS) @DEFS@
|
||||
-LIBS=@LIBS@
|
||||
+LIBS=@LIBS@ -lpthread
|
||||
K5LIBS=@K5LIBS@
|
||||
@@ -1023,6 +1023,3 @@
|
||||
do_authenticated(authctxt);
|
||||
|
||||
/* The connection has been terminated. */
|
||||
---
|
||||
-2.12.0
|
||||
-
|
||||
diff -ur a/0004-support-dynamically-sized-receive-buffers.patch b/0004-support-dynamically-sized-receive-buffers.patch
|
||||
--- a/0004-support-dynamically-sized-receive-buffers.patch 2017-03-27 13:31:01.816551100 -0700
|
||||
+++ b/0004-support-dynamically-sized-receive-buffers.patch 2017-03-27 13:49:44.513498976 -0700
|
||||
@@ -926,9 +926,9 @@
|
||||
@@ -526,10 +553,10 @@ send_client_banner(int connection_out, int minor1)
|
||||
/* Send our own protocol version identification. */
|
||||
if (compat20) {
|
||||
- xasprintf(&client_version_string, "SSH-%d.%d-%.100s\r\n",
|
||||
-- PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION);
|
||||
-+ PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE);
|
||||
+ xasprintf(&client_version_string, "SSH-%d.%d-%.100s PKIX[%s]\r\n",
|
||||
+- PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION, PACKAGE_VERSION);
|
||||
++ PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE, PACKAGE_VERSION);
|
||||
} else {
|
||||
xasprintf(&client_version_string, "SSH-%d.%d-%.100s\n",
|
||||
- PROTOCOL_MAJOR_1, minor1, SSH_VERSION);
|
||||
@@ -943,11 +943,11 @@
|
||||
@@ -367,7 +367,7 @@ sshd_exchange_identification(struct ssh *ssh, int sock_in, int sock_out)
|
||||
char remote_version[256]; /* Must be at least as big as buf. */
|
||||
|
||||
- xasprintf(&server_version_string, "SSH-%d.%d-%.100s%s%s\r\n",
|
||||
-- PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_VERSION,
|
||||
-+ PROTOCOL_MAJOR_2, PROTOCOL_MINOR_2, SSH_RELEASE,
|
||||
+ xasprintf(&server_version_string, "SSH-%d.%d-%s%s%s%s%s",
|
||||
+- major, minor, SSH_VERSION, pkix_comment,
|
||||
++ major, minor, SSH_RELEASE, pkix_comment,
|
||||
*options.version_addendum == '\0' ? "" : " ",
|
||||
- options.version_addendum);
|
||||
+ options.version_addendum, newline);
|
||||
|
||||
@@ -1020,6 +1020,8 @@ server_listen(void)
|
||||
int ret, listen_sock, on = 1;
|
||||
@@ -1006,12 +1008,9 @@
|
||||
--- a/version.h
|
||||
+++ b/version.h
|
||||
-@@ -3,4 +3,5 @@
|
||||
+@@ -3,4 +3,6 @@
|
||||
#define SSH_VERSION "OpenSSH_7.5"
|
||||
|
||||
- #define SSH_PORTABLE "p1"
|
||||
--#define SSH_RELEASE SSH_VERSION SSH_PORTABLE
|
||||
+-#define SSH_RELEASE PACKAGE_STRING ", " SSH_VERSION "p1"
|
||||
++#define SSH_X509 ", PKIX-SSH " PACKAGE_VERSION
|
||||
+#define SSH_HPN "-hpn14v12"
|
||||
+#define SSH_RELEASE SSH_VERSION SSH_PORTABLE SSH_HPN
|
||||
---
|
||||
-2.12.0
|
||||
-
|
File diff suppressed because it is too large
Load diff
|
@ -1,27 +0,0 @@
|
|||
From 58b8cfa2a062b72139d7229ae8de567f55776f24 Mon Sep 17 00:00:00 2001
|
||||
From: Damien Miller <djm@mindrot.org>
|
||||
Date: Wed, 22 Mar 2017 12:43:02 +1100
|
||||
Subject: [PATCH] Missing header on Linux/s390
|
||||
|
||||
Patch from Jakub Jelen
|
||||
---
|
||||
sandbox-seccomp-filter.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
|
||||
index a8d472a63ccb..2831e9d1083c 100644
|
||||
--- a/sandbox-seccomp-filter.c
|
||||
+++ b/sandbox-seccomp-filter.c
|
||||
@@ -50,6 +50,9 @@
|
||||
#include <elf.h>
|
||||
|
||||
#include <asm/unistd.h>
|
||||
+#ifdef __s390__
|
||||
+#include <asm/zcrypt.h>
|
||||
+#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
--
|
||||
2.15.1
|
||||
|
|
@ -1,152 +0,0 @@
|
|||
--- openssh-7.5p1/Makefile.in.orig 2017-03-20 03:39:27.000000000 +0100
|
||||
+++ openssh-7.5p1/Makefile.in 2019-12-10 05:50:55.590037728 +0100
|
||||
@@ -62,7 +62,7 @@
|
||||
EXEEXT=@EXEEXT@
|
||||
MANFMT=@MANFMT@
|
||||
|
||||
-TARGETS=ssh$(EXEEXT) sshd$(EXEEXT) ssh-add$(EXEEXT) ssh-keygen$(EXEEXT) ssh-keyscan${EXEEXT} ssh-keysign${EXEEXT} ssh-pkcs11-helper$(EXEEXT) ssh-agent$(EXEEXT) scp$(EXEEXT) sftp-server$(EXEEXT) sftp$(EXEEXT)
|
||||
+TARGETS=ssh$(EXEEXT) ssh-keygen$(EXEEXT) scp$(EXEEXT)
|
||||
|
||||
LIBOPENSSH_OBJS=\
|
||||
ssh_api.o \
|
||||
@@ -112,15 +112,15 @@
|
||||
sandbox-seccomp-filter.o sandbox-capsicum.o sandbox-pledge.o \
|
||||
sandbox-solaris.o
|
||||
|
||||
-MANPAGES = moduli.5.out scp.1.out ssh-add.1.out ssh-agent.1.out ssh-keygen.1.out ssh-keyscan.1.out ssh.1.out sshd.8.out sftp-server.8.out sftp.1.out ssh-keysign.8.out ssh-pkcs11-helper.8.out sshd_config.5.out ssh_config.5.out
|
||||
-MANPAGES_IN = moduli.5 scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh-keyscan.1 ssh.1 sshd.8 sftp-server.8 sftp.1 ssh-keysign.8 ssh-pkcs11-helper.8 sshd_config.5 ssh_config.5
|
||||
+MANPAGES = scp.1.out ssh-keygen.1.out ssh.1.out ssh_config.5.out
|
||||
+MANPAGES_IN = scp.1 ssh-keygen.1 ssh.1 ssh_config.5
|
||||
MANTYPE = @MANTYPE@
|
||||
|
||||
-CONFIGFILES=sshd_config.out ssh_config.out moduli.out
|
||||
-CONFIGFILES_IN=sshd_config ssh_config moduli
|
||||
+CONFIGFILES=ssh_config.out
|
||||
+CONFIGFILES_IN=ssh_config
|
||||
|
||||
PATHSUBS = \
|
||||
- -e 's|/etc/ssh/ssh_config|$(sysconfdir)/ssh_config|g' \
|
||||
+ -e 's|/etc/ssh/ssh_config|$(sysconfdir)/ssh_config1|g' \
|
||||
-e 's|/etc/ssh/ssh_known_hosts|$(sysconfdir)/ssh_known_hosts|g' \
|
||||
-e 's|/etc/ssh/sshd_config|$(sysconfdir)/sshd_config|g' \
|
||||
-e 's|/usr/libexec|$(libexecdir)|g' \
|
||||
@@ -301,71 +301,31 @@
|
||||
$(AUTORECONF)
|
||||
-rm -rf autom4te.cache
|
||||
|
||||
-install: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files install-sysconf host-key check-config
|
||||
+install: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files install-sysconf host-key
|
||||
install-nokeys: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files install-sysconf
|
||||
install-nosysconf: $(CONFIGFILES) $(MANPAGES) $(TARGETS) install-files
|
||||
|
||||
-check-config:
|
||||
- -$(DESTDIR)$(sbindir)/sshd -t -f $(DESTDIR)$(sysconfdir)/sshd_config
|
||||
-
|
||||
install-files:
|
||||
$(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
|
||||
- $(srcdir)/mkinstalldirs $(DESTDIR)$(sbindir)
|
||||
$(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)
|
||||
$(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)1
|
||||
$(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)5
|
||||
- $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/$(mansubdir)8
|
||||
- $(srcdir)/mkinstalldirs $(DESTDIR)$(libexecdir)
|
||||
- (umask 022 ; $(srcdir)/mkinstalldirs $(DESTDIR)$(PRIVSEP_PATH))
|
||||
- $(INSTALL) -m 0755 $(STRIP_OPT) ssh$(EXEEXT) $(DESTDIR)$(bindir)/ssh$(EXEEXT)
|
||||
- $(INSTALL) -m 0755 $(STRIP_OPT) scp$(EXEEXT) $(DESTDIR)$(bindir)/scp$(EXEEXT)
|
||||
- $(INSTALL) -m 0755 $(STRIP_OPT) ssh-add$(EXEEXT) $(DESTDIR)$(bindir)/ssh-add$(EXEEXT)
|
||||
- $(INSTALL) -m 0755 $(STRIP_OPT) ssh-agent$(EXEEXT) $(DESTDIR)$(bindir)/ssh-agent$(EXEEXT)
|
||||
- $(INSTALL) -m 0755 $(STRIP_OPT) ssh-keygen$(EXEEXT) $(DESTDIR)$(bindir)/ssh-keygen$(EXEEXT)
|
||||
- $(INSTALL) -m 0755 $(STRIP_OPT) ssh-keyscan$(EXEEXT) $(DESTDIR)$(bindir)/ssh-keyscan$(EXEEXT)
|
||||
- $(INSTALL) -m 0755 $(STRIP_OPT) sshd$(EXEEXT) $(DESTDIR)$(sbindir)/sshd$(EXEEXT)
|
||||
- $(INSTALL) -m 4711 $(STRIP_OPT) ssh-keysign$(EXEEXT) $(DESTDIR)$(SSH_KEYSIGN)$(EXEEXT)
|
||||
- $(INSTALL) -m 0755 $(STRIP_OPT) ssh-pkcs11-helper$(EXEEXT) $(DESTDIR)$(SSH_PKCS11_HELPER)$(EXEEXT)
|
||||
- $(INSTALL) -m 0755 $(STRIP_OPT) sftp$(EXEEXT) $(DESTDIR)$(bindir)/sftp$(EXEEXT)
|
||||
- $(INSTALL) -m 0755 $(STRIP_OPT) sftp-server$(EXEEXT) $(DESTDIR)$(SFTP_SERVER)$(EXEEXT)
|
||||
- $(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1
|
||||
- $(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1
|
||||
- $(INSTALL) -m 644 ssh-add.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1
|
||||
- $(INSTALL) -m 644 ssh-agent.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-agent.1
|
||||
- $(INSTALL) -m 644 ssh-keygen.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen.1
|
||||
- $(INSTALL) -m 644 ssh-keyscan.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keyscan.1
|
||||
- $(INSTALL) -m 644 moduli.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/moduli.5
|
||||
- $(INSTALL) -m 644 sshd_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/sshd_config.5
|
||||
- $(INSTALL) -m 644 ssh_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/ssh_config.5
|
||||
- $(INSTALL) -m 644 sshd.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8
|
||||
- $(INSTALL) -m 644 sftp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1
|
||||
- $(INSTALL) -m 644 sftp-server.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8
|
||||
- $(INSTALL) -m 644 ssh-keysign.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8
|
||||
- $(INSTALL) -m 644 ssh-pkcs11-helper.8.out $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-pkcs11-helper.8
|
||||
+ $(INSTALL) -m 0755 $(STRIP_OPT) ssh$(EXEEXT) $(DESTDIR)$(bindir)/ssh1$(EXEEXT)
|
||||
+ $(INSTALL) -m 0755 $(STRIP_OPT) scp$(EXEEXT) $(DESTDIR)$(bindir)/scp1$(EXEEXT)
|
||||
+ $(INSTALL) -m 0755 $(STRIP_OPT) ssh-keygen$(EXEEXT) $(DESTDIR)$(bindir)/ssh-keygen1$(EXEEXT)
|
||||
+ $(INSTALL) -m 644 ssh.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh1.1
|
||||
+ $(INSTALL) -m 644 scp.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/scp1.1
|
||||
+ $(INSTALL) -m 644 ssh-keygen.1.out $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen1.1
|
||||
+ $(INSTALL) -m 644 ssh_config.5.out $(DESTDIR)$(mandir)/$(mansubdir)5/ssh_config1.5
|
||||
|
||||
install-sysconf:
|
||||
if [ ! -d $(DESTDIR)$(sysconfdir) ]; then \
|
||||
$(srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir); \
|
||||
fi
|
||||
- @if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_config ]; then \
|
||||
- $(INSTALL) -m 644 ssh_config.out $(DESTDIR)$(sysconfdir)/ssh_config; \
|
||||
- else \
|
||||
- echo "$(DESTDIR)$(sysconfdir)/ssh_config already exists, install will not overwrite"; \
|
||||
- fi
|
||||
- @if [ ! -f $(DESTDIR)$(sysconfdir)/sshd_config ]; then \
|
||||
- $(INSTALL) -m 644 sshd_config.out $(DESTDIR)$(sysconfdir)/sshd_config; \
|
||||
- else \
|
||||
- echo "$(DESTDIR)$(sysconfdir)/sshd_config already exists, install will not overwrite"; \
|
||||
- fi
|
||||
- @if [ ! -f $(DESTDIR)$(sysconfdir)/moduli ]; then \
|
||||
- if [ -f $(DESTDIR)$(sysconfdir)/primes ]; then \
|
||||
- echo "moving $(DESTDIR)$(sysconfdir)/primes to $(DESTDIR)$(sysconfdir)/moduli"; \
|
||||
- mv "$(DESTDIR)$(sysconfdir)/primes" "$(DESTDIR)$(sysconfdir)/moduli"; \
|
||||
- else \
|
||||
- $(INSTALL) -m 644 moduli.out $(DESTDIR)$(sysconfdir)/moduli; \
|
||||
- fi ; \
|
||||
+ @if [ ! -f $(DESTDIR)$(sysconfdir)/ssh_config1 ]; then \
|
||||
+ $(INSTALL) -m 644 ssh_config.out $(DESTDIR)$(sysconfdir)/ssh_config1; \
|
||||
else \
|
||||
- echo "$(DESTDIR)$(sysconfdir)/moduli already exists, install will not overwrite"; \
|
||||
+ echo "$(DESTDIR)$(sysconfdir)/ssh_config1 already exists, install will not overwrite"; \
|
||||
fi
|
||||
|
||||
host-key: ssh-keygen$(EXEEXT)
|
||||
@@ -385,8 +345,7 @@
|
||||
fi
|
||||
|
||||
uninstallall: uninstall
|
||||
- -rm -f $(DESTDIR)$(sysconfdir)/ssh_config
|
||||
- -rm -f $(DESTDIR)$(sysconfdir)/sshd_config
|
||||
+ -rm -f $(DESTDIR)$(sysconfdir)/ssh_config1
|
||||
-rmdir $(DESTDIR)$(sysconfdir)
|
||||
-rmdir $(DESTDIR)$(bindir)
|
||||
-rmdir $(DESTDIR)$(sbindir)
|
||||
@@ -398,26 +357,10 @@
|
||||
uninstall:
|
||||
-rm -f $(DESTDIR)$(bindir)/ssh$(EXEEXT)
|
||||
-rm -f $(DESTDIR)$(bindir)/scp$(EXEEXT)
|
||||
- -rm -f $(DESTDIR)$(bindir)/ssh-add$(EXEEXT)
|
||||
- -rm -f $(DESTDIR)$(bindir)/ssh-agent$(EXEEXT)
|
||||
-rm -f $(DESTDIR)$(bindir)/ssh-keygen$(EXEEXT)
|
||||
- -rm -f $(DESTDIR)$(bindir)/ssh-keyscan$(EXEEXT)
|
||||
- -rm -f $(DESTDIR)$(bindir)/sftp$(EXEEXT)
|
||||
- -rm -f $(DESTDIR)$(sbindir)/sshd$(EXEEXT)
|
||||
- -rm -r $(DESTDIR)$(SFTP_SERVER)$(EXEEXT)
|
||||
- -rm -f $(DESTDIR)$(SSH_KEYSIGN)$(EXEEXT)
|
||||
- -rm -f $(DESTDIR)$(SSH_PKCS11_HELPER)$(EXEEXT)
|
||||
-rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh.1
|
||||
-rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/scp.1
|
||||
- -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-add.1
|
||||
- -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-agent.1
|
||||
-rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keygen.1
|
||||
- -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/sftp.1
|
||||
- -rm -f $(DESTDIR)$(mandir)/$(mansubdir)1/ssh-keyscan.1
|
||||
- -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sshd.8
|
||||
- -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sftp-server.8
|
||||
- -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-keysign.8
|
||||
- -rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/ssh-pkcs11-helper.8
|
||||
|
||||
regress-prep:
|
||||
[ -d `pwd`/regress ] || mkdir -p `pwd`/regress
|
|
@ -1,25 +0,0 @@
|
|||
From 596c432181e1c4a9da354388394f640afd29f44b Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Mon, 20 Mar 2017 14:57:40 -0400
|
||||
Subject: [PATCH] seccomp sandbox: fix typo w/x32 check
|
||||
|
||||
---
|
||||
sandbox-seccomp-filter.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
|
||||
index 3a1aedce72c2..a8d472a63ccb 100644
|
||||
--- a/sandbox-seccomp-filter.c
|
||||
+++ b/sandbox-seccomp-filter.c
|
||||
@@ -235,7 +235,7 @@ static const struct sock_filter preauth_insns[] = {
|
||||
* x86-64 syscall under some circumstances, e.g.
|
||||
* https://bugs.debian.org/849923
|
||||
*/
|
||||
- SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT);
|
||||
+ SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT),
|
||||
#endif
|
||||
|
||||
/* Default deny */
|
||||
--
|
||||
2.12.0
|
||||
|
|
@ -1,288 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils user flag-o-matic multilib autotools pam systemd
|
||||
|
||||
# Make it more portable between straight releases
|
||||
# and _p? releases.
|
||||
PARCH=openssh-7.5p1
|
||||
|
||||
HPN_PATCH="${PARCH}-hpnssh14v12.tar.xz"
|
||||
SCTP_PATCH="openssh-7.4_p1-sctp.patch.xz"
|
||||
LDAP_PATCH="openssh-lpk-7.5p1-0.3.14.patch.xz"
|
||||
X509_VER="10.2" X509_PATCH="openssh-${PV/_}+x509-${X509_VER}.diff.gz"
|
||||
|
||||
DESCRIPTION="Port of OpenBSD's free SSH release"
|
||||
HOMEPAGE="http://www.openssh.org/"
|
||||
SRC_URI="mirror://openbsd/OpenSSH/portable/${PARCH}.tar.gz
|
||||
${SCTP_PATCH:+mirror://gentoo/${SCTP_PATCH}}
|
||||
${HPN_PATCH:+hpn? ( mirror://gentoo/${HPN_PATCH} )}
|
||||
${LDAP_PATCH:+ldap? ( mirror://gentoo/${LDAP_PATCH} )}
|
||||
${X509_PATCH:+X509? ( http://roumenpetrov.info/openssh/x509-${X509_VER}/${X509_PATCH} )}
|
||||
"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
# Probably want to drop ssl defaulting to on in a future version.
|
||||
IUSE="abi_mips_n32 audit bindist debug ${HPN_PATCH:++}hpn kerberos kernel_linux ldap ldns libedit libressl livecd pam +pie sctp selinux skey +ssh1 +ssl static test X X509"
|
||||
REQUIRED_USE="ldns? ( ssl )
|
||||
pie? ( !static )
|
||||
ssh1? ( ssl )
|
||||
static? ( !kerberos !pam )
|
||||
X509? ( !ldap !sctp ssl )
|
||||
test? ( ssl )"
|
||||
|
||||
LIB_DEPEND="
|
||||
audit? ( sys-process/audit[static-libs(+)] )
|
||||
ldns? (
|
||||
net-libs/ldns[static-libs(+)]
|
||||
!bindist? ( net-libs/ldns[ecdsa,ssl(+)] )
|
||||
bindist? ( net-libs/ldns[-ecdsa,ssl(+)] )
|
||||
)
|
||||
libedit? ( dev-libs/libedit:=[static-libs(+)] )
|
||||
sctp? ( net-misc/lksctp-tools[static-libs(+)] )
|
||||
selinux? ( >=sys-libs/libselinux-1.28[static-libs(+)] )
|
||||
skey? ( >=sys-auth/skey-1.1.5-r1[static-libs(+)] )
|
||||
ssl? (
|
||||
!libressl? (
|
||||
>=dev-libs/openssl-1.0.1:0=[bindist=]
|
||||
dev-libs/openssl:0=[static-libs(+)]
|
||||
)
|
||||
libressl? ( dev-libs/libressl:0=[static-libs(+)] )
|
||||
)
|
||||
>=sys-libs/zlib-1.2.3:=[static-libs(+)]"
|
||||
RDEPEND="
|
||||
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
pam? ( sys-libs/pam )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( net-nds/openldap )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )
|
||||
virtual/pkgconfig
|
||||
virtual/os-headers
|
||||
sys-devel/autoconf"
|
||||
RDEPEND="${RDEPEND}
|
||||
pam? ( >=sys-auth/pambase-20081028 )
|
||||
userland_GNU? ( sys-apps/shadow )
|
||||
X? ( x11-apps/xauth )"
|
||||
|
||||
S=${WORKDIR}/${PARCH}
|
||||
|
||||
pkg_pretend() {
|
||||
# this sucks, but i'd rather have people unable to `emerge -u openssh`
|
||||
# than not be able to log in to their server any more
|
||||
maybe_fail() { [[ -z ${!2} ]] && echo "$1" ; }
|
||||
local fail="
|
||||
$(use X509 && maybe_fail X509 X509_PATCH)
|
||||
$(use ldap && maybe_fail ldap LDAP_PATCH)
|
||||
$(use hpn && maybe_fail hpn HPN_PATCH)
|
||||
"
|
||||
fail=$(echo ${fail})
|
||||
if [[ -n ${fail} ]] ; then
|
||||
eerror "Sorry, but this version does not yet support features"
|
||||
eerror "that you requested: ${fail}"
|
||||
eerror "Please mask ${PF} for now and check back later:"
|
||||
eerror " # echo '=${CATEGORY}/${PF}' >> /etc/portage/package.mask"
|
||||
die "booooo"
|
||||
fi
|
||||
}
|
||||
|
||||
save_version() {
|
||||
# version.h patch conflict avoidence
|
||||
mv version.h version.h.$1
|
||||
cp -f version.h.pristine version.h
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/_PATH_XAUTH/s:/usr/X11R6/bin/xauth:${EPREFIX}/usr/bin/xauth:" \
|
||||
pathnames.h || die
|
||||
# keep this as we need it to avoid the conflict between LPK and HPN changing
|
||||
# this file.
|
||||
cp version.h version.h.pristine
|
||||
|
||||
if use X509 ; then
|
||||
if use hpn ; then
|
||||
pushd "${WORKDIR}"/${HPN_PATCH%.*.*} >/dev/null
|
||||
epatch "${FILESDIR}"/${P}-hpn-x509-${X509_VER}-glue.patch
|
||||
popd >/dev/null
|
||||
fi
|
||||
save_version X509
|
||||
epatch "${WORKDIR}"/${X509_PATCH%.*}
|
||||
fi
|
||||
|
||||
if use ldap ; then
|
||||
epatch "${WORKDIR}"/${LDAP_PATCH%.*}
|
||||
save_version LPK
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-7.5_p1-ssh1.patch
|
||||
epatch "${FILESDIR}"/${PN}-7.5_p1-GSSAPI-dns.patch #165444 integrated into gsskex
|
||||
epatch "${FILESDIR}"/${PN}-6.7_p1-openssl-ignore-status.patch
|
||||
epatch "${FILESDIR}"/${PN}-7.5_p1-disable-conch-interop-tests.patch
|
||||
epatch "${FILESDIR}"/${PN}-7.5_p1-cross-cache.patch
|
||||
epatch "${FILESDIR}"/${PN}-7.5_p1-CVE-2017-15906.patch
|
||||
use X509 || epatch "${FILESDIR}"/${PN}-7.5_p1-s390-seccomp.patch # already included in X509 patch set, #644252
|
||||
use X509 || epatch "${WORKDIR}"/${SCTP_PATCH%.*}
|
||||
use X509 || epatch "${FILESDIR}"/${PN}-7.5_p1-x32-typo.patch
|
||||
use abi_mips_n32 && epatch "${FILESDIR}"/${PN}-7.3-mips-seccomp-n32.patch
|
||||
epatch "${FILESDIR}"/${PN}-7.5_p1-openssl-1.1.patch
|
||||
|
||||
if use hpn ; then
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
EPATCH_MULTI_MSG="Applying HPN patchset ..." \
|
||||
epatch "${WORKDIR}"/${HPN_PATCH%.*.*}
|
||||
save_version HPN
|
||||
fi
|
||||
|
||||
tc-export PKG_CONFIG
|
||||
local sed_args=(
|
||||
-e "s:-lcrypto:$(${PKG_CONFIG} --libs openssl):"
|
||||
# Disable PATH reset, trust what portage gives us #254615
|
||||
-e 's:^PATH=/:#PATH=/:'
|
||||
# Disable fortify flags ... our gcc does this for us
|
||||
-e 's:-D_FORTIFY_SOURCE=2::'
|
||||
)
|
||||
# The -ftrapv flag ICEs on hppa #505182
|
||||
use hppa && sed_args+=(
|
||||
-e '/CFLAGS/s:-ftrapv:-fdisable-this-test:'
|
||||
-e '/OSSH_CHECK_CFLAG_LINK.*-ftrapv/d'
|
||||
)
|
||||
# _XOPEN_SOURCE causes header conflicts on Solaris
|
||||
[[ ${CHOST} == *-solaris* ]] && sed_args+=(
|
||||
-e 's/-D_XOPEN_SOURCE//'
|
||||
)
|
||||
sed -i "${sed_args[@]}" configure{.ac,} || die
|
||||
|
||||
epatch_user #473004
|
||||
|
||||
# Now we can build a sane merged version.h
|
||||
(
|
||||
sed '/^#define SSH_RELEASE/d' version.h.* | sort -u
|
||||
macros=()
|
||||
for p in HPN LPK X509; do [[ -e version.h.${p} ]] && macros+=( SSH_${p} ) ; done
|
||||
printf '#define SSH_RELEASE SSH_VERSION SSH_PORTABLE %s\n' "${macros[*]}"
|
||||
) > version.h
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addwrite /dev/ptmx
|
||||
|
||||
use debug && append-cppflags -DSANDBOX_SECCOMP_FILTER_DEBUG
|
||||
use static && append-ldflags -static
|
||||
|
||||
local myconf=(
|
||||
--with-ldflags="${LDFLAGS}"
|
||||
--disable-strip
|
||||
--with-pid-dir="${EPREFIX}"$(usex kernel_linux '' '/var')/run
|
||||
--sysconfdir="${EPREFIX}"/etc/ssh
|
||||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/misc
|
||||
--datadir="${EPREFIX}"/usr/share/openssh
|
||||
--with-sandbox=no
|
||||
$(use_with audit audit linux)
|
||||
$(use_with kerberos kerberos5 "${EPREFIX}"/usr)
|
||||
# We apply the ldap patch conditionally, so can't pass --without-ldap
|
||||
# unconditionally else we get unknown flag warnings.
|
||||
$(use ldap && use_with ldap)
|
||||
$(use_with ldns)
|
||||
$(use_with libedit)
|
||||
$(use_with pam)
|
||||
$(use_with pie)
|
||||
$(use X509 || use_with sctp)
|
||||
$(use_with selinux)
|
||||
$(use_with skey)
|
||||
$(use_with ssh1)
|
||||
$(use_with ssl openssl)
|
||||
$(use_with ssl md5-passwords)
|
||||
$(use_with ssl ssl-engine)
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install-nokeys DESTDIR="${D}"
|
||||
|
||||
cat <<-EOF >> "${ED}"/etc/ssh/ssh_config1
|
||||
|
||||
# Send locale environment variables #367017
|
||||
SendEnv LANG LC_*
|
||||
EOF
|
||||
|
||||
if ! use X509 && [[ -n ${LDAP_PATCH} ]] && use ldap ; then
|
||||
insinto /etc/openldap/schema/
|
||||
newins openssh-lpk_openldap.schema openssh-lpk.schema
|
||||
fi
|
||||
|
||||
dodoc CREDITS OVERVIEW README* TODO
|
||||
use X509 || dodoc ChangeLog
|
||||
|
||||
diropts -m 0700
|
||||
dodir /etc/skel/.ssh
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local t skipped=() failed=() passed=()
|
||||
local tests=( interop-tests compat-tests )
|
||||
|
||||
local shell=$(egetshell "${UID}")
|
||||
if [[ ${shell} == */nologin ]] || [[ ${shell} == */false ]] ; then
|
||||
elog "Running the full OpenSSH testsuite requires a usable shell for the 'portage'"
|
||||
elog "user, so we will run a subset only."
|
||||
skipped+=( tests )
|
||||
else
|
||||
tests+=( tests )
|
||||
fi
|
||||
|
||||
# It will also attempt to write to the homedir .ssh.
|
||||
local sshhome=${T}/homedir
|
||||
mkdir -p "${sshhome}"/.ssh
|
||||
for t in "${tests[@]}" ; do
|
||||
# Some tests read from stdin ...
|
||||
HOMEDIR="${sshhome}" HOME="${sshhome}" \
|
||||
emake -k -j1 ${t} </dev/null \
|
||||
&& passed+=( "${t}" ) \
|
||||
|| failed+=( "${t}" )
|
||||
done
|
||||
|
||||
einfo "Passed tests: ${passed[*]}"
|
||||
[[ ${#skipped[@]} -gt 0 ]] && ewarn "Skipped tests: ${skipped[*]}"
|
||||
[[ ${#failed[@]} -gt 0 ]] && die "Some tests failed: ${failed[*]}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-5.8_p1" ; then
|
||||
elog "Starting with openssh-5.8p1, the server will default to a newer key"
|
||||
elog "algorithm (ECDSA). You are encouraged to manually update your stored"
|
||||
elog "keys list as servers update theirs. See ssh-keyscan(1) for more info."
|
||||
fi
|
||||
if has_version "<${CATEGORY}/${PN}-6.9_p1" ; then
|
||||
elog "Starting with openssh-6.9p1, ssh1 support is disabled by default."
|
||||
fi
|
||||
if has_version "<${CATEGORY}/${PN}-7.0_p1" ; then
|
||||
elog "Starting with openssh-6.7, support for USE=tcpd has been dropped by upstream."
|
||||
elog "Make sure to update any configs that you might have. Note that xinetd might"
|
||||
elog "be an alternative for you as it supports USE=tcpd."
|
||||
fi
|
||||
if has_version "<${CATEGORY}/${PN}-7.1_p1" ; then #557388 #555518
|
||||
elog "Starting with openssh-7.0, support for ssh-dss keys were disabled due to their"
|
||||
elog "weak sizes. If you rely on these key types, you can re-enable the key types by"
|
||||
elog "adding to your sshd_config or ~/.ssh/config files:"
|
||||
elog " PubkeyAcceptedKeyTypes=+ssh-dss"
|
||||
elog "You should however generate new keys using rsa or ed25519."
|
||||
|
||||
elog "Starting with openssh-7.0, the default for PermitRootLogin changed from 'yes'"
|
||||
elog "to 'prohibit-password'. That means password auth for root users no longer works"
|
||||
elog "out of the box. If you need this, please update your sshd_config explicitly."
|
||||
fi
|
||||
if ! use ssl && has_version "${CATEGORY}/${PN}[ssl]" ; then
|
||||
elog "Be aware that by disabling openssl support in openssh, the server and clients"
|
||||
elog "no longer support dss/rsa/ecdsa keys. You will need to generate ed25519 keys"
|
||||
elog "and update all clients/servers that utilize them."
|
||||
fi
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
DIST linux-UFRII-drv-v350-uken.tar.gz 116120579 BLAKE2B fa5f521f4eec375fa0d9efb7b47ff6dd88f47c36fa5750818f7e367058b8ccafce99b9f8f9d9195e1e5e0e2f1b77a7c0cc1524786f111b065204d0472601202b SHA512 2eeb1448cb76ac156e1e5f6df46141ee5605b0bed1c25f31b0f039fb9f579fe3d5732b132cae391e78276c550febc19366f958d1fb53c93f955303f1f5c37ab3
|
||||
EBUILD cndrvcups-common-lb-3.50.ebuild 2910 BLAKE2B 2ee52d961ceacf80d7d4bdeaddabbe9fe4768fc3860194696dbf2206ad908488b39369b3bdf9143471412f6514ee810bf61451e2dcb0f4a22a73aab9f3c1bdd2 SHA512 7737ecd3fde3f68fcc2f8e788a732c75b6c853c0e48d241f5f84a583b1ab090913a4346d9615699cbc372fad0e2eb53402228db2d559192893a15048479a2704
|
||||
MISC metadata.xml 239 BLAKE2B 33a4b7a2007252ef09e319431769f16c7010fc511e2e2ff02853ce5bf064f90b3e3ff088d97510fa0cfdd2dffaf82872f836aff8385efcee22a62d611cc41a21 SHA512 e2741d7308653b7fb13bf9b4af86c5525cea22e23e31925db40ef76a3f228ac5fe520bbf6a0c5b83565e2257e588acaa9a33cc55480138932446642cbbf15623
|
|
@ -1,114 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools versionator
|
||||
|
||||
MY_PV="$(delete_all_version_separators)"
|
||||
SOURCES_NAME="linux-UFRII-drv-v${MY_PV}-uken"
|
||||
|
||||
DESCRIPTION="Common files for Canon drivers"
|
||||
HOMEPAGE="https://www.canon-europe.com/support/products/imagerunner/imagerunner-1133.aspx?type=drivers&language=EN&os=LINUX"
|
||||
SRC_URI="http://gdlp01.c-wss.com/gds/0/0100009240/01/${SOURCES_NAME}.tar.gz"
|
||||
|
||||
# GPL-2 License inside LICENSE-EN.txt files
|
||||
LICENSE="Canon-UFR-II GPL-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.6:2
|
||||
>=gnome-base/libglade-2.4:2.0
|
||||
>=net-print/cups-1.1.17
|
||||
>=x11-libs/gtk+-2.4:2
|
||||
"
|
||||
DEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${SOURCES_NAME}/Sources/${P/-lb-${PV}/-3.90}"
|
||||
|
||||
pkg_setup() {
|
||||
# Don't raise a fuss over pre-built binaries
|
||||
QA_PREBUILT="
|
||||
/usr/libexec/cups/filter/c3pldrv
|
||||
/usr/$(get_abi_LIBDIR x86)/libColorGear.so.0.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libColorGearC.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libc3pl.so.0.0.1
|
||||
/usr/$(get_abi_LIBDIR x86)/libcaepcm.so.1.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcaiousb.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcaiowrap.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcanon_slim.so.1.0.0
|
||||
/usr/$(get_libdir)/libcanonc3pl.so.1.0.0
|
||||
"
|
||||
QA_SONAME="
|
||||
/usr/$(get_abi_LIBDIR x86)/libcaiousb.so.1.0.0
|
||||
"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${WORKDIR}/${SOURCES_NAME}/Sources/" || die
|
||||
unpack ./${P/-lb-${PV}/-3.90}-1.tar.gz
|
||||
}
|
||||
|
||||
change_dir() {
|
||||
for i in cngplp buftool backend; do
|
||||
cd "${i}" || die
|
||||
"${@}"
|
||||
cd "${S}" || die
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e \
|
||||
"s:backenddir = \$(libdir)/cups/backend:backenddir = `cups-config --serverbin`/backend:" \
|
||||
backend/Makefile.am || die
|
||||
|
||||
export "LIBS=-lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lgmodule-2.0"
|
||||
change_dir eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
change_dir econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
change_dir emake
|
||||
|
||||
# Cannot be moved to 'change_dir' as it doesn't need eautoreconf
|
||||
( cd "${S}/c3plmod_ipc" && emake ) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
MAKEOPTS+=" -j1" default
|
||||
|
||||
einstalldocs
|
||||
|
||||
cd "${S}/c3plmod_ipc" || die
|
||||
dolib.so libcanonc3pl.so.1.0.0
|
||||
dosym libcanonc3pl.so.1.0.0 "/usr/$(get_libdir)/libcanonc3pl.so.1"
|
||||
dosym libcanonc3pl.so.1.0.0 "/usr/$(get_libdir)/libcanonc3pl.so"
|
||||
|
||||
cd "${S}/data" || die
|
||||
insinto /usr/share/caepcm
|
||||
doins *
|
||||
|
||||
ABI=x86
|
||||
cd "${S}/libs" || die
|
||||
exeinto $(cups-config --serverbin)/filter
|
||||
doexe c3pldrv
|
||||
dolib.so libcaepcm.so.1.0
|
||||
dosym libcaepcm.so.1.0 "/usr/$(get_libdir)/libcaepcm.so.1"
|
||||
dosym libcaepcm.so.1.0 "/usr/$(get_libdir)/libcaepcm.so"
|
||||
for lib in *.so.?.?.?; do
|
||||
dolib.so "${lib}"
|
||||
dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?}"
|
||||
dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?.?}"
|
||||
done
|
||||
|
||||
# c3pldrv dlopens the absolute path /usr/lib/libc3pl.so :(
|
||||
if [[ "$(get_libdir)" != lib ]]; then
|
||||
dosym "../$(get_libdir)/libc3pl.so" /usr/lib/libc3pl.so
|
||||
fi
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>pacho@gentoo.org</email>
|
||||
<name>Pacho Ramos</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
|
@ -1,3 +0,0 @@
|
|||
DIST linux-UFRIILT-drv-v140_uken.tar.gz 106958045 BLAKE2B 605663beea4737a3d7503340d66106a959167fc60ee8f0bfea514ee320c73ce5488290b2a105d72d0f8257d131656c5cd92f7f025297cb2526a2cf28e1066d3f SHA512 3d25db05dd17a85c299bb1fdab776225be5370e6f1f634496a8b4f7dfd59b7a545bccfeb436656387343238e96d624556448047659968fe8094148937ba04e84
|
||||
EBUILD cndrvcups-common-sfp-1.40.ebuild 2906 BLAKE2B 1432ede749b38bfad70ee62abdbad20e0dbacb6c9f02e50e7abf49e3c5574f89936ad543942a1cdd7f74f9f01595defb639ab79c369fd2c4d4191da2d02967b4 SHA512 e9958ba535eda035d6285816bd0f1c6e4bcf7f2a13269b3c71988eb4a863a87f846ce55056b127581c0b012c91af42c676ff976a26bb8a4ec78a36b296992c02
|
||||
MISC metadata.xml 239 BLAKE2B 33a4b7a2007252ef09e319431769f16c7010fc511e2e2ff02853ce5bf064f90b3e3ff088d97510fa0cfdd2dffaf82872f836aff8385efcee22a62d611cc41a21 SHA512 e2741d7308653b7fb13bf9b4af86c5525cea22e23e31925db40ef76a3f228ac5fe520bbf6a0c5b83565e2257e588acaa9a33cc55480138932446642cbbf15623
|
|
@ -1,112 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools versionator
|
||||
|
||||
MY_PV="$(delete_all_version_separators)"
|
||||
SOURCES_NAME="linux-UFRIILT-drv-v${MY_PV}-uken"
|
||||
|
||||
DESCRIPTION="Common files for Canon drivers"
|
||||
HOMEPAGE="https://www.canon.co.uk/support/consumer_products/products/printers/laser/i-sensys_lbp7110cw.aspx?type=drivers&language=&os=Linux%20(64-bit)"
|
||||
SRC_URI="http://gdlp01.c-wss.com/gds/0/0100005950/08/${SOURCES_NAME/-uken/_uken}.tar.gz"
|
||||
LICENSE="Canon-UFR-II GPL-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.6:2
|
||||
>=gnome-base/libglade-2.4:2.0
|
||||
>=net-print/cups-1.1.17
|
||||
>=x11-libs/gtk+-2.4:2
|
||||
"
|
||||
DEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${SOURCES_NAME}/Sources/${P/-sfp-${PV}/-3.80}"
|
||||
|
||||
pkg_setup() {
|
||||
# Don't raise a fuss over pre-built binaries
|
||||
QA_PREBUILT="
|
||||
/usr/libexec/cups/filter/c3pldrv
|
||||
/usr/$(get_abi_LIBDIR x86)/libColorGear.so.0.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libColorGearC.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libc3pl.so.0.0.1
|
||||
/usr/$(get_abi_LIBDIR x86)/libcaepcm.so.1.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcaiousb.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcaiowrap.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcanon_slim.so.1.0.0
|
||||
/usr/$(get_libdir)/libcanonc3pl.so.1.0.0
|
||||
"
|
||||
QA_SONAME="
|
||||
/usr/$(get_abi_LIBDIR x86)/libcaiousb.so.1.0.0
|
||||
"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${WORKDIR}/${SOURCES_NAME}/Sources/" || die
|
||||
unpack ./${P/-sfp-${PV}/-3.80}-1.tar.gz
|
||||
}
|
||||
|
||||
change_dir() {
|
||||
for i in cngplp buftool backend; do
|
||||
cd "${i}" || die
|
||||
"${@}"
|
||||
cd "${S}" || die
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e \
|
||||
"s:backenddir = \$(libdir)/cups/backend:backenddir = `cups-config --serverbin`/backend:" \
|
||||
backend/Makefile.am || die
|
||||
|
||||
export "LIBS=-lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lgmodule-2.0"
|
||||
change_dir eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
change_dir econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
change_dir emake
|
||||
|
||||
# Cannot be moved to 'change_dir' as it doesn't need eautoreconf
|
||||
( cd "${S}/c3plmod_ipc" && emake ) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
MAKEOPTS+=" -j1" default
|
||||
|
||||
einstalldocs
|
||||
|
||||
cd "${S}/c3plmod_ipc" || die
|
||||
dolib.so libcanonc3pl.so.1.0.0
|
||||
dosym libcanonc3pl.so.1.0.0 "/usr/$(get_libdir)/libcanonc3pl.so.1"
|
||||
dosym libcanonc3pl.so.1.0.0 "/usr/$(get_libdir)/libcanonc3pl.so"
|
||||
|
||||
cd "${S}/data" || die
|
||||
insinto /usr/share/caepcm
|
||||
doins *
|
||||
|
||||
ABI=x86
|
||||
cd "${S}/libs" || die
|
||||
exeinto $(cups-config --serverbin)/filter
|
||||
doexe c3pldrv
|
||||
dolib.so libcaepcm.so.1.0
|
||||
dosym libcaepcm.so.1.0 "/usr/$(get_libdir)/libcaepcm.so.1"
|
||||
dosym libcaepcm.so.1.0 "/usr/$(get_libdir)/libcaepcm.so"
|
||||
for lib in *.so.?.?.?; do
|
||||
dolib.so "${lib}"
|
||||
dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?}"
|
||||
dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?.?}"
|
||||
done
|
||||
|
||||
# c3pldrv dlopens the absolute path /usr/lib/libc3pl.so :(
|
||||
if [[ "$(get_libdir)" != lib ]]; then
|
||||
dosym "../$(get_libdir)/libc3pl.so" /usr/lib/libc3pl.so
|
||||
fi
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>pacho@gentoo.org</email>
|
||||
<name>Pacho Ramos</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
|
@ -1,3 +0,0 @@
|
|||
DIST linux-UFRII-drv-v350-uken.tar.gz 116120579 BLAKE2B fa5f521f4eec375fa0d9efb7b47ff6dd88f47c36fa5750818f7e367058b8ccafce99b9f8f9d9195e1e5e0e2f1b77a7c0cc1524786f111b065204d0472601202b SHA512 2eeb1448cb76ac156e1e5f6df46141ee5605b0bed1c25f31b0f039fb9f579fe3d5732b132cae391e78276c550febc19366f958d1fb53c93f955303f1f5c37ab3
|
||||
EBUILD cndrvcups-lb-3.50.ebuild 2614 BLAKE2B f347fd292c7b582c5e768932b1c7e444fef9d0fb5d415b4325a7f154bac83eae950db7a96e7994cbb1d017973001f1e673cd0af22e0aadb1ce42aa90817f2070 SHA512 0d61406771d9c36418ba1e08ccd188083fa6323fb54aba6fceb74e7e4c231341580bfef7727a11b63e7dd564056e882e97747a648be1eba19f087b1d32d57e5d
|
||||
MISC metadata.xml 239 BLAKE2B 33a4b7a2007252ef09e319431769f16c7010fc511e2e2ff02853ce5bf064f90b3e3ff088d97510fa0cfdd2dffaf82872f836aff8385efcee22a62d611cc41a21 SHA512 e2741d7308653b7fb13bf9b4af86c5525cea22e23e31925db40ef76a3f228ac5fe520bbf6a0c5b83565e2257e588acaa9a33cc55480138932446642cbbf15623
|
|
@ -1,108 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools versionator
|
||||
|
||||
MY_PV="$(delete_all_version_separators)"
|
||||
SOURCES_NAME="linux-UFRII-drv-v${MY_PV}-uken"
|
||||
|
||||
DESCRIPTION="Canon UFR II / LIPSLX Printer Driver for Linux"
|
||||
HOMEPAGE="https://www.canon-europe.com/support/products/imagerunner/imagerunner-1133.aspx?type=drivers&language=EN&os=LINUX"
|
||||
SRC_URI="http://gdlp01.c-wss.com/gds/0/0100009240/01/${SOURCES_NAME}.tar.gz"
|
||||
|
||||
LICENSE="Canon-UFR-II"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)]
|
||||
>=gnome-base/libglade-2.4:2.0
|
||||
>=net-print/cups-1.1.17
|
||||
~net-print/cndrvcups-common-lb-${PV}
|
||||
>=x11-libs/gtk+-2.4:2
|
||||
virtual/jpeg:62[abi_x86_32(-)]
|
||||
"
|
||||
DEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${SOURCES_NAME}/Sources/${P}"
|
||||
|
||||
MAKEOPTS+=" -j1"
|
||||
|
||||
pkg_setup() {
|
||||
# Don't raise a fuss over pre-built binaries
|
||||
QA_PREBUILT="
|
||||
/usr/bin/cnpkbidi
|
||||
/usr/bin/cnpkmoduleufr2
|
||||
/usr/$(get_abi_LIBDIR x86)/libEnoJPEG.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libEnoJBIG.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libufr2filter.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcnlbcm.so.1.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcaiocnpkbidi.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcanonufr2.so.1.0.0
|
||||
"
|
||||
QA_SONAME="/usr/$(get_abi_LIBDIR x86)/libcaiocnpkbidi.so.1.0.0"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${WORKDIR}/${SOURCES_NAME}/Sources/" || die
|
||||
unpack ./${P}-1.tar.gz
|
||||
}
|
||||
|
||||
change_dir() {
|
||||
for i in ppd pstoufr2cpca cngplp cngplp/files cpca ; do
|
||||
cd "${i}" || die
|
||||
"${@}"
|
||||
cd "${S}" || die
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e \
|
||||
"s:filterdir = \$(libdir)/cups/filter:filterdir = `cups-config --serverbin`/filter:" \
|
||||
pstoufr2cpca/filter/Makefile.am || die
|
||||
|
||||
export "LIBS=-lgmodule-2.0"
|
||||
change_dir eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
change_dir econf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
einstalldocs
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
cd "${S}/data" || die
|
||||
insinto /usr/share/caepcm
|
||||
doins *
|
||||
|
||||
cd "${S}/libs" || die
|
||||
insinto /usr/share/cnpkbidi
|
||||
doins cnpkbidi_info*
|
||||
|
||||
insinto /usr/share/ufr2filter
|
||||
doins ThLB*
|
||||
|
||||
ABI=x86
|
||||
dobin cnpkbidi cnpkmoduleufr2
|
||||
dolib.so libcnlbcm.so.1.0
|
||||
dosym libcnlbcm.so.1.0 "/usr/$(get_libdir)/libcnlbcm.so.1"
|
||||
dosym libcnlbcm.so.1.0 "/usr/$(get_libdir)/libcnlbcm.so"
|
||||
for lib in *.so.?.?.?; do
|
||||
dolib.so "${lib}"
|
||||
dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?}"
|
||||
dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?.?}"
|
||||
done
|
||||
|
||||
# c3pldrv dlopens the absolute path /usr/lib/libcnlbcm.so :(
|
||||
if [[ "$(get_libdir)" != lib ]]; then
|
||||
dosym "../$(get_libdir)/libcnlbcm.so" /usr/lib/libcnlbcm.so
|
||||
fi
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>pacho@gentoo.org</email>
|
||||
<name>Pacho Ramos</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
|
@ -1,4 +0,0 @@
|
|||
AUX remove-StatusMonitor.patch 249 BLAKE2B b36889d01f1232987add0e495c147cbd8b9c3515f38935cfc3ce5047a9773cd2673c5348a58169d32592add4b36f7f10f577037482e78c35683a77b66d4ea8ba SHA512 ed6cc24512173635ec7737ff12bbd6f2e5715e38ba72312d31ea22e1419dc7ef9270f7f6f26c28f0587fd9217de126e02a4a31377010d70a00d60b2e0e94b80d
|
||||
DIST linux-UFRIILT-drv-v140_uken.tar.gz 106958045 BLAKE2B 605663beea4737a3d7503340d66106a959167fc60ee8f0bfea514ee320c73ce5488290b2a105d72d0f8257d131656c5cd92f7f025297cb2526a2cf28e1066d3f SHA512 3d25db05dd17a85c299bb1fdab776225be5370e6f1f634496a8b4f7dfd59b7a545bccfeb436656387343238e96d624556448047659968fe8094148937ba04e84
|
||||
EBUILD cndrvcups-sfp-1.40.ebuild 4357 BLAKE2B da0d8ab22d62b2a4adef03a24388cbd3a36af832432fcaa94af6f204a699314e6d4d129a91f02ee9d55d9814684964d589a25385d0755e47d6d0328d8a55d33b SHA512 dad46dd1a89c3bc20665af5cd1d05df2bbe3856e174a9280d5b02fa47122634a600f723784f1a99749327597f75fcfc6fadd3c73f4c72975605f2abdc2a7c82a
|
||||
MISC metadata.xml 239 BLAKE2B 33a4b7a2007252ef09e319431769f16c7010fc511e2e2ff02853ce5bf064f90b3e3ff088d97510fa0cfdd2dffaf82872f836aff8385efcee22a62d611cc41a21 SHA512 e2741d7308653b7fb13bf9b4af86c5525cea22e23e31925db40ef76a3f228ac5fe520bbf6a0c5b83565e2257e588acaa9a33cc55480138932446642cbbf15623
|
|
@ -1,150 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools versionator
|
||||
|
||||
MY_PV="$(delete_all_version_separators)"
|
||||
SOURCES_NAME="linux-UFRIILT-drv-v${MY_PV}-uken"
|
||||
|
||||
DESCRIPTION="Canon UFR II LT Printer Driver for Linux"
|
||||
HOMEPAGE="https://www.canon.co.uk/support/consumer_products/products/printers/laser/i-sensys_lbp7110cw.aspx?type=drivers&language=&os=Linux%20(64-bit)"
|
||||
SRC_URI="http://gdlp01.c-wss.com/gds/0/0100005950/08/${SOURCES_NAME/-uken/_uken}.tar.gz"
|
||||
LICENSE="Canon-UFR-II"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.9.1-r4[abi_x86_32(-)]
|
||||
>=gnome-base/libglade-2.4:2.0
|
||||
>=net-print/cups-1.1.17
|
||||
~net-print/cndrvcups-common-sfp-${PV}
|
||||
>=x11-libs/gtk+-2.4:2
|
||||
virtual/jpeg:62[abi_x86_32(-)]
|
||||
"
|
||||
DEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${SOURCES_NAME}/Sources/${P}"
|
||||
|
||||
MAKEOPTS+=" -j1"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/remove-StatusMonitor.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# Don't raise a fuss over pre-built binaries
|
||||
QA_PREBUILT="
|
||||
/usr/bin/pksmncap
|
||||
/usr/bin/commandfilefilter
|
||||
/usr/bin/cnpkmodulencap
|
||||
/usr/$(get_abi_LIBDIR x86)/libEnoJPEG.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libEnoJBIG.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libncapfilter.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcnncapcm.so.1.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcaio_usb_cdc.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libccpd_util.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcanon_common.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcanonncap.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libCUPS_Communicator.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libCommIsolation.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcomm_ncapcaio.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcomm_stdout.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcomm_usbmlport.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcomm_usbsock.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libcomm_websrv.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libinfo.so.1.0.0
|
||||
/usr/$(get_abi_LIBDIR x86)/libinfo_analyze.so.1.0.0
|
||||
"
|
||||
QA_SONAME="/usr/$(get_abi_LIBDIR x86)/libcaio_usb_cdc.so.1.0.0"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${WORKDIR}/${SOURCES_NAME}/Sources/" || die
|
||||
unpack ./${P}-1.tar.gz
|
||||
}
|
||||
|
||||
change_dir() {
|
||||
for i in ppd pstoncapcpca cngplp cngplp/files cpca ; do
|
||||
cd "${i}" || die
|
||||
"${@}"
|
||||
cd "${S}" || die
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e \
|
||||
"s:filterdir = \$(libdir)/cups/filter:filterdir = `cups-config --serverbin`/filter:" \
|
||||
pstoncapcpca/filter/Makefile.am || die
|
||||
|
||||
export "LIBS=-lgmodule-2.0"
|
||||
change_dir eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
change_dir econf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
einstalldocs
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
newdir /var/cache/Canon/CUPS_SFP
|
||||
|
||||
cd "${S}/rules" || die
|
||||
insinto /usr/share/cups/usb
|
||||
doins canon-sfp-printer.usb-quirks
|
||||
insinto /etc/udev/rules.d
|
||||
doins 80-usb-ncapstatusui.rules
|
||||
|
||||
cd "${S}/data" || die
|
||||
insinto /usr/share/caepcm
|
||||
doins *
|
||||
|
||||
cd "${S}/libs" || die
|
||||
insinto /usr/share/ncapfilter
|
||||
doins ThLB*
|
||||
|
||||
use x86 && libsource=libs
|
||||
use amd64 && libsource=libs64
|
||||
cd "${S}/${libsource}" || die
|
||||
exeinto /usr/lib/Canon/CUPS_SFP/Bins
|
||||
doexe commandfilefilter
|
||||
exeinto /usr/lib/Canon/CUPS_SFP/Utilities
|
||||
doexe pksmncap
|
||||
exeinto /usr/lib/Canon/CUPS_SFP/Bidi
|
||||
for lib in libcomm_*.so.?.?.? libccpd_util.so.?.?.? libcaio_usb_cdc.so.?.?.?; do
|
||||
doexe "${lib}"
|
||||
dosym "${lib}" "/usr/lib/Canon/CUPS_SFP/Bidi/${lib%.?.?}"
|
||||
dosym "${lib}" "/usr/lib/Canon/CUPS_SFP/Bidi/${lib%.?.?.?}"
|
||||
done
|
||||
exeinto /usr/lib/Canon/CUPS_SFP/Libs
|
||||
for lib in libCUPS_Communicator.so.?.?.? libCommIsolation.so.?.?.? libcanon_common.so.?.?.? libinfo*.so.?.?.?; do
|
||||
doexe "${lib}"
|
||||
dosym "${lib}" "/usr/lib/Canon/CUPS_SFP/Libs/${lib%.?.?}"
|
||||
dosym "${lib}" "/usr/lib/Canon/CUPS_SFP/Libs/${lib%.?.?.?}"
|
||||
done
|
||||
cd "${S}/libs" || die
|
||||
exeinto /usr/lib/Canon/CUPS_SFP/Libs
|
||||
for lib in libEno*.so.?.?.?; do
|
||||
doexe "${lib}"
|
||||
dosym "${lib}" "/usr/lib/Canon/CUPS_SFP/Libs/${lib%.?.?}"
|
||||
dosym "${lib}" "/usr/lib/Canon/CUPS_SFP/Libs/${lib%.?.?.?}"
|
||||
done
|
||||
|
||||
ABI=x86
|
||||
dobin cnpkmodulencap
|
||||
dolib.so libcnncapcm.so.1.0
|
||||
dosym libcnncapcm.so.1.0 "/usr/$(get_libdir)/libcnncapcm.so.1"
|
||||
dosym libcnncapcm.so.1.0 "/usr/$(get_libdir)/libcnncapcm.so"
|
||||
for lib in libcnncapcm*.so.?.? libncapfilter.so.?.?.? libcanonncap.so.?.?.?; do
|
||||
dolib.so "${lib}"
|
||||
dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?}"
|
||||
dosym "${lib}" "/usr/$(get_libdir)/${lib%.?.?.?}"
|
||||
done
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
--- a/Makefile 2014-12-08 05:09:22.000000000 +0100
|
||||
+++ b/Makefile 2018-05-30 14:24:12.013657597 +0200
|
||||
@@ -8,7 +8,7 @@
|
||||
PPDDIR = ppd
|
||||
CPCADIR = cpca
|
||||
CNGPLPDIR = cngplp
|
||||
-SMDIR = StatusMonitor
|
||||
+SMDIR =
|
||||
SRCDIRS =\
|
||||
$(FILTERDIR)\
|
||||
$(PPDDIR)\
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>pacho@gentoo.org</email>
|
||||
<name>Pacho Ramos</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Loading…
Reference in a new issue