zmedico 15/05/24 08:37:29
Modified: go-crypto-1.4.2_p20150514.ebuild
go-crypto-9999.ebuild ChangeLog
Log:
Disable broken tests.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key
FDE8EF85AE5719A3)
Revision Changes Path
1.2 dev-go/go-crypto/go-crypto-1.4.2_p20150514.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-crypto/go-crypto-1.4.2_p20150514.ebuild?rev=1.2&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-crypto/go-crypto-1.4.2_p20150514.ebuild?rev=1.2&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-crypto/go-crypto-1.4.2_p20150514.ebuild?r1=1.1&r2=1.2
Index: go-crypto-1.4.2_p20150514.ebuild
===================================================================
RCS file:
/var/cvsroot/gentoo-x86/dev-go/go-crypto/go-crypto-1.4.2_p20150514.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- go-crypto-1.4.2_p20150514.ebuild 21 May 2015 08:23:09 -0000 1.1
+++ go-crypto-1.4.2_p20150514.ebuild 24 May 2015 08:37:29 -0000 1.2
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header:
/var/cvsroot/gentoo-x86/dev-go/go-crypto/go-crypto-1.4.2_p20150514.ebuild,v 1.1
2015/05/21 08:23:09 zmedico Exp $
+# $Header:
/var/cvsroot/gentoo-x86/dev-go/go-crypto/go-crypto-1.4.2_p20150514.ebuild,v 1.2
2015/05/24 08:37:29 zmedico Exp $
EAPI=5
@@ -26,6 +26,19 @@
mv ${MY_PN}-${EGIT_COMMIT} src/${GO_PN} || die
}
+src_prepare() {
+ # disable broken tests
+ sed -e 's:TestAgentForward(:_\0:' -i ssh/test/agent_unix_test.go || die
+ sed -e 's:TestRunCommandSuccess(:_\0:' \
+ -e 's:TestRunCommandStdin(:_\0:' \
+ -e 's:TestRunCommandStdinError(:_\0:' \
+ -e 's:TestRunCommandWeClosed(:_\0:' \
+ -e 's:TestFuncLargeRead(:_\0:' \
+ -e 's:TestKeyChange(:_\0:' \
+ -e 's:TestValidTerminalMode(:_\0:' \
+ -i ssh/test/session_test.go || die
+}
+
src_compile() {
# Create a writable GOROOT in order to avoid sandbox violations.
GOROOT="${WORKDIR}/goroot"
@@ -37,91 +50,7 @@
src_test() {
GOROOT="${GOROOT}" GOPATH=${WORKDIR} \
- go test -run "^"$(
- echo -n 'Example_usage|Test(AcceptClose|AgainstLibOTR|Agent|'
- echo -n 'Append|Append|AppendNoRealloc|Auth|Auth|'
- echo -n 'AuthMethodFallback|AuthMethodInvalidPublicKey|'
- echo -n 'AuthMethodKeyboardInteractive|AuthMethodPassword|'
- echo -n
'AuthMethodRSAandDSA|AuthMethodWrongKeyboardInteractive|'
- echo -n 'AuthMethodWrongPassword|AuthorizedKeyBasic|'
- echo -n 'AuthWithInvalidSpace|AuthWithMissingQuote|'
- echo -n 'AuthWithQuotedCommaInEnv|AuthWithQuotedQuoteInEnv|'
- echo -n 'AuthWithQuotedSpaceInEnv|AutoPortListenBroken|BadSMP|'
- echo -n 'BareMarshal|BareMarshalUnmarshal|BaseScalarMult|'
- echo -n 'Basic|BcryptingIsCorrect|BcryptingIsEasy|Bilinearity|'
- echo -n
'Blocksize|Box|BufferClose|BufferReadwrite|CampbellQuine|'
- echo -n 'CanonicalText|Cert|CertLogin|Cipher|CipherDecrypt|'
- echo -n 'CipherDecrypt|CipherEncrypt|CipherEncrypt|CipherInit|'
- echo -n 'Ciphers|ClientAuthPublicKey|ClientHandlesKeepalives|'
- echo -n 'ClientHMAC|ClientLoginCert|ClientUnsupportedCipher|'
- echo -n 'ClientUnsupportedKex|ClientWriteEOF|Close|Compressed|'
- echo -n
'Conversation|Core208|Cost|CostReturnsWithLeadingZeroes|'
- echo -n 'CostValidationInHash|CurveImpl|CustomClientVersion|'
- echo -n 'Debug|DecodeEncode|DecryptingEncryptedKey|'
- echo -n 'DefaultCiphersExist|DefaultClientVersion|'
- echo -n 'DetachedSignature|DetachedSignatureDSA|Dial|'
- echo -n 'DoubleClose|DSAHashTruncatation|Ecc384Serialize|'
- echo -n 'EncodeDecode|EncryptDecrypt|EncryptingEncryptedKey|'
- echo -n 'Encryption|ExchangeVersions|ExchangeVersionsBasic|'
- echo -n 'ExitSignalAndStatus|ExitStatusNonZero|ExitStatusZero|'
- echo -n 'ExitWithoutStatusOrSignal|ExternallyRevocableKey|Full|'
- echo -n 'G1Identity|G1Marshal|G2Identity|G2Marshal|GetKeyById|'
- echo -n 'GFp12Invert|GFp2Invert|GFp6Invert|Golden|GoodSMP|'
- echo -n 'HandshakeAutoRekeyRead|HandshakeAutoRekeyWrite|'
- echo -n 'HandshakeBasic|HandshakeError|HandshakeTwice|HKDF|'
- echo -n 'HKDFLimit|HKDFMultiRead|HostKeyCert|HostKeyCheck|'
- echo -n 'IdVerification|IntLength|InvalidEntry|'
- echo -n 'InvalidHashErrors|InvalidKeySize|'
- echo -n 'InvalidServerConfiguration|InvalidTerminalMode|'
- echo -n 'IsQuery|Iterated|KeccakKats|Kexes|Key|KeyExpiry|'
- echo -n 'KeyMarshalParse|KeyPresses|KeyRevocation|'
- echo -n 'KeySerialization|KeySignVerify|KeyUsage|'
- echo -n 'KnownExitSignalOnly|Limited|LockClient|LockServer|'
- echo -n 'LongHeader|MACs|MarshalParsePublicKey|MarshalPtr|'
- echo -n 'MarshalUnmarshal|MillionA|MinorNotRequired|'
- echo -n 'MissingHashFunction|MuxChannelCloseWriteUnblock|'
- echo -n 'MuxChannelExtendedThreadSafety|MuxChannelOverflow|'
- echo -n 'MuxChannelRequest|MuxChannelRequestUnblock|'
- echo -n 'MuxCloseChannel|MuxCloseWriteChannel|'
- echo -n 'MuxConnectionCloseWriteUnblock|MuxDisconnect|'
- echo -n 'MuxGlobalRequest|MuxGlobalRequestUnblock|'
- echo -n 'MuxInvalidRecord|MuxMaxPacketSize|MuxReadWrite|'
- echo -n 'MuxReject|NewEntity|NewPublicKey|NewUserId|'
- echo -n 'NewUserIdWithInvalidInput|NoArmoredData|'
- echo -n 'NoPermissionsPassing|OCFB|OCSPDecode|'
- echo -n 'OCSPDecodeWithoutCert|OCSPRequest|'
- echo -n 'OCSPResponse|OCSPSignature|OpaqueParseReason|OrderG1|'
- echo -n 'OrderG2|OrderGT|PacketCiphers|Parse|Parse|ParseCert|'
- echo -n 'ParseCertWithOptions|ParseDSA|ParseECPrivateKey|'
- echo -n 'ParseLibOTRPrivateKey|ParseRSAPrivateKey|'
- echo -n
'ParseUserAttribute|ParseUserId|ParseWithNoNewlineAtEnd|'
- echo -n 'PartialLengthReader|PartialLengths|PasswordNotSaved|'
- echo -n 'PermissionsPassing|PortForward|'
- echo -n 'PortForwardConnectionClose|PrivateKeyRead|'
- echo -n 'PublicKeyRead|PublicKeySerialize|PublicKeyV3Read|'
- echo -n 'PublicKeyV3Serialize|ReadDSAKey|ReadFull|ReadHeader|'
- echo -n 'ReadingArmoredPrivateKey|ReadingArmoredPublicKey|'
- echo -n 'ReadKeyRing|ReadLength|ReadPrivateKeyRing|ReadVersion|'
- echo -n
'ReadVersionError|RereadKeyRing|RunCommandFailed|Salsa20|'
- echo -n
'Salted|SaltedCipher|SaltedCipherKeyLength|Sbox|SealOpen|'
- echo -n
'SealOpen|SecretBox|Serialize|Serialize|SerializeHeader|'
- echo -n 'SerializeSymmetricKeyEncrypted|Server|ServerWindow|'
- echo -n 'SessionCombinedOutput|SessionID|SessionOutput|'
- echo -n 'SessionShell|SessionStdoutPipe|SetupForwardAgent|'
- echo -n 'SignatureRead|SignatureReserialize|SignatureV3Read|'
- echo -n 'SignatureV3Reserialize|SignDetached|SignDetachedDSA|'
- echo -n 'SignedEncryptedMessage|SignedMessage|Signing|'
- echo -n
'SignTextDetached|SignVerify|Squeezing|SubkeyRevocation|'
- echo -n 'Sum|SymmetricallyEncrypted|SymmetricEncryption|'
- echo -n
'SymmetricKeyEncrypted|TerminalSetSize|TextSignedMessage|'
- echo -n 'TooLongPasswordsWork|TransportMaxPacketReader|'
- echo -n 'TransportMaxPacketWrite|TripartiteDiffieHellman|'
- echo -n
'UnknownExitSignal|UnknownHashFunction|UnmarshalEmptyPacket|'
- echo -n 'UnmarshalUnexpectedPacket|UnpaddedBase64Encoding|'
- echo -n 'UnspecifiedRecipient|UnsupportedCurves|ValidateCert|'
- echo -n
'ValidateCertTime|Vectors|VeryShortPasswords|WithHMACSHA1|'
- echo -n 'WithHMACSHA256|XSalsa20|XTS|ZeroWindowAdjust)$') \
- -x -v ${GO_PN}/... || die $?
+ go test -x -v ${GO_PN}/... || die $?
}
src_install() {
1.4 dev-go/go-crypto/go-crypto-9999.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-crypto/go-crypto-9999.ebuild?rev=1.4&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-crypto/go-crypto-9999.ebuild?rev=1.4&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-crypto/go-crypto-9999.ebuild?r1=1.3&r2=1.4
Index: go-crypto-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-crypto/go-crypto-9999.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- go-crypto-9999.ebuild 21 May 2015 08:45:02 -0000 1.3
+++ go-crypto-9999.ebuild 24 May 2015 08:37:29 -0000 1.4
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-go/go-crypto/go-crypto-9999.ebuild,v
1.3 2015/05/21 08:45:02 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-crypto/go-crypto-9999.ebuild,v
1.4 2015/05/24 08:37:29 zmedico Exp $
EAPI=5
inherit git-r3
@@ -19,6 +19,19 @@
EGIT_CHECKOUT_DIR="${S}"
STRIP_MASK="*.a"
+src_prepare() {
+ # disable broken tests
+ sed -e 's:TestAgentForward(:_\0:' -i ssh/test/agent_unix_test.go || die
+ sed -e 's:TestRunCommandSuccess(:_\0:' \
+ -e 's:TestRunCommandStdin(:_\0:' \
+ -e 's:TestRunCommandStdinError(:_\0:' \
+ -e 's:TestRunCommandWeClosed(:_\0:' \
+ -e 's:TestFuncLargeRead(:_\0:' \
+ -e 's:TestKeyChange(:_\0:' \
+ -e 's:TestValidTerminalMode(:_\0:' \
+ -i ssh/test/session_test.go || die
+}
+
src_compile() {
# Create a writable GOROOT in order to avoid sandbox violations.
GOROOT="${WORKDIR}/goroot"
@@ -30,91 +43,7 @@
src_test() {
GOROOT="${GOROOT}" GOPATH=${WORKDIR} \
- go test -run "^"$(
- echo -n 'Example_usage|Test(AcceptClose|AgainstLibOTR|Agent|'
- echo -n 'Append|Append|AppendNoRealloc|Auth|Auth|'
- echo -n 'AuthMethodFallback|AuthMethodInvalidPublicKey|'
- echo -n 'AuthMethodKeyboardInteractive|AuthMethodPassword|'
- echo -n
'AuthMethodRSAandDSA|AuthMethodWrongKeyboardInteractive|'
- echo -n 'AuthMethodWrongPassword|AuthorizedKeyBasic|'
- echo -n 'AuthWithInvalidSpace|AuthWithMissingQuote|'
- echo -n 'AuthWithQuotedCommaInEnv|AuthWithQuotedQuoteInEnv|'
- echo -n 'AuthWithQuotedSpaceInEnv|AutoPortListenBroken|BadSMP|'
- echo -n 'BareMarshal|BareMarshalUnmarshal|BaseScalarMult|'
- echo -n 'Basic|BcryptingIsCorrect|BcryptingIsEasy|Bilinearity|'
- echo -n
'Blocksize|Box|BufferClose|BufferReadwrite|CampbellQuine|'
- echo -n 'CanonicalText|Cert|CertLogin|Cipher|CipherDecrypt|'
- echo -n 'CipherDecrypt|CipherEncrypt|CipherEncrypt|CipherInit|'
- echo -n 'Ciphers|ClientAuthPublicKey|ClientHandlesKeepalives|'
- echo -n 'ClientHMAC|ClientLoginCert|ClientUnsupportedCipher|'
- echo -n 'ClientUnsupportedKex|ClientWriteEOF|Close|Compressed|'
- echo -n
'Conversation|Core208|Cost|CostReturnsWithLeadingZeroes|'
- echo -n 'CostValidationInHash|CurveImpl|CustomClientVersion|'
- echo -n 'Debug|DecodeEncode|DecryptingEncryptedKey|'
- echo -n 'DefaultCiphersExist|DefaultClientVersion|'
- echo -n 'DetachedSignature|DetachedSignatureDSA|Dial|'
- echo -n 'DoubleClose|DSAHashTruncatation|Ecc384Serialize|'
- echo -n 'EncodeDecode|EncryptDecrypt|EncryptingEncryptedKey|'
- echo -n 'Encryption|ExchangeVersions|ExchangeVersionsBasic|'
- echo -n 'ExitSignalAndStatus|ExitStatusNonZero|ExitStatusZero|'
- echo -n 'ExitWithoutStatusOrSignal|ExternallyRevocableKey|Full|'
- echo -n 'G1Identity|G1Marshal|G2Identity|G2Marshal|GetKeyById|'
- echo -n 'GFp12Invert|GFp2Invert|GFp6Invert|Golden|GoodSMP|'
- echo -n 'HandshakeAutoRekeyRead|HandshakeAutoRekeyWrite|'
- echo -n 'HandshakeBasic|HandshakeError|HandshakeTwice|HKDF|'
- echo -n 'HKDFLimit|HKDFMultiRead|HostKeyCert|HostKeyCheck|'
- echo -n 'IdVerification|IntLength|InvalidEntry|'
- echo -n 'InvalidHashErrors|InvalidKeySize|'
- echo -n 'InvalidServerConfiguration|InvalidTerminalMode|'
- echo -n 'IsQuery|Iterated|KeccakKats|Kexes|Key|KeyExpiry|'
- echo -n 'KeyMarshalParse|KeyPresses|KeyRevocation|'
- echo -n 'KeySerialization|KeySignVerify|KeyUsage|'
- echo -n 'KnownExitSignalOnly|Limited|LockClient|LockServer|'
- echo -n 'LongHeader|MACs|MarshalParsePublicKey|MarshalPtr|'
- echo -n 'MarshalUnmarshal|MillionA|MinorNotRequired|'
- echo -n 'MissingHashFunction|MuxChannelCloseWriteUnblock|'
- echo -n 'MuxChannelExtendedThreadSafety|MuxChannelOverflow|'
- echo -n 'MuxChannelRequest|MuxChannelRequestUnblock|'
- echo -n 'MuxCloseChannel|MuxCloseWriteChannel|'
- echo -n 'MuxConnectionCloseWriteUnblock|MuxDisconnect|'
- echo -n 'MuxGlobalRequest|MuxGlobalRequestUnblock|'
- echo -n 'MuxInvalidRecord|MuxMaxPacketSize|MuxReadWrite|'
- echo -n 'MuxReject|NewEntity|NewPublicKey|NewUserId|'
- echo -n 'NewUserIdWithInvalidInput|NoArmoredData|'
- echo -n 'NoPermissionsPassing|OCFB|OCSPDecode|'
- echo -n 'OCSPDecodeWithoutCert|OCSPRequest|'
- echo -n 'OCSPResponse|OCSPSignature|OpaqueParseReason|OrderG1|'
- echo -n 'OrderG2|OrderGT|PacketCiphers|Parse|Parse|ParseCert|'
- echo -n 'ParseCertWithOptions|ParseDSA|ParseECPrivateKey|'
- echo -n 'ParseLibOTRPrivateKey|ParseRSAPrivateKey|'
- echo -n
'ParseUserAttribute|ParseUserId|ParseWithNoNewlineAtEnd|'
- echo -n 'PartialLengthReader|PartialLengths|PasswordNotSaved|'
- echo -n 'PermissionsPassing|PortForward|'
- echo -n 'PortForwardConnectionClose|PrivateKeyRead|'
- echo -n 'PublicKeyRead|PublicKeySerialize|PublicKeyV3Read|'
- echo -n 'PublicKeyV3Serialize|ReadDSAKey|ReadFull|ReadHeader|'
- echo -n 'ReadingArmoredPrivateKey|ReadingArmoredPublicKey|'
- echo -n 'ReadKeyRing|ReadLength|ReadPrivateKeyRing|ReadVersion|'
- echo -n
'ReadVersionError|RereadKeyRing|RunCommandFailed|Salsa20|'
- echo -n
'Salted|SaltedCipher|SaltedCipherKeyLength|Sbox|SealOpen|'
- echo -n
'SealOpen|SecretBox|Serialize|Serialize|SerializeHeader|'
- echo -n 'SerializeSymmetricKeyEncrypted|Server|ServerWindow|'
- echo -n 'SessionCombinedOutput|SessionID|SessionOutput|'
- echo -n 'SessionShell|SessionStdoutPipe|SetupForwardAgent|'
- echo -n 'SignatureRead|SignatureReserialize|SignatureV3Read|'
- echo -n 'SignatureV3Reserialize|SignDetached|SignDetachedDSA|'
- echo -n 'SignedEncryptedMessage|SignedMessage|Signing|'
- echo -n
'SignTextDetached|SignVerify|Squeezing|SubkeyRevocation|'
- echo -n 'Sum|SymmetricallyEncrypted|SymmetricEncryption|'
- echo -n
'SymmetricKeyEncrypted|TerminalSetSize|TextSignedMessage|'
- echo -n 'TooLongPasswordsWork|TransportMaxPacketReader|'
- echo -n 'TransportMaxPacketWrite|TripartiteDiffieHellman|'
- echo -n
'UnknownExitSignal|UnknownHashFunction|UnmarshalEmptyPacket|'
- echo -n 'UnmarshalUnexpectedPacket|UnpaddedBase64Encoding|'
- echo -n 'UnspecifiedRecipient|UnsupportedCurves|ValidateCert|'
- echo -n
'ValidateCertTime|Vectors|VeryShortPasswords|WithHMACSHA1|'
- echo -n 'WithHMACSHA256|XSalsa20|XTS|ZeroWindowAdjust)$') \
- -x -v ${GO_PN}/... || die $?
+ go test -x -v ${GO_PN}/... || die $?
}
src_install() {
1.5 dev-go/go-crypto/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-crypto/ChangeLog?rev=1.5&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-crypto/ChangeLog?rev=1.5&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-crypto/ChangeLog?r1=1.4&r2=1.5
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-crypto/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog 21 May 2015 08:45:02 -0000 1.4
+++ ChangeLog 24 May 2015 08:37:29 -0000 1.5
@@ -1,6 +1,10 @@
# ChangeLog for dev-go/go-crypto
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-go/go-crypto/ChangeLog,v 1.4 2015/05/21
08:45:02 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-crypto/ChangeLog,v 1.5 2015/05/24
08:37:29 zmedico Exp $
+
+ 24 May 2015; Zac Medico <[email protected]>
go-crypto-1.4.2_p20150514.ebuild,
+ go-crypto-9999.ebuild:
+ Disable broken tests.
21 May 2015; Zac Medico <[email protected]> go-crypto-9999.ebuild:
Merge src_test from 1.4.2_p20150514 to 9999.