Browse Source

xap/heybuddy: Upgraded to heybuddy-0.2.5.

slackware-14.2
Damien Goutte-Gattat 8 years ago
parent
commit
3aed76edb8
  1. 18
      xap/heybuddy/heybuddy-0.2.3-ssl-cert-validation.patch
  2. 1
      xap/heybuddy/heybuddy-0.2.3.tgz.sha1
  3. 1
      xap/heybuddy/heybuddy-0.2.5.tgz.sha1
  4. 7
      xap/heybuddy/heybuddy.SlackBuild
  5. 4
      xap/heybuddy/slack-desc

18
xap/heybuddy/heybuddy-0.2.3-ssl-cert-validation.patch

@ -1,18 +0,0 @@
diff -Naur heybuddy-0.2.3.orig/CertificateValidatingHTTPSHandler.py heybuddy-0.2.3/CertificateValidatingHTTPSHandler.py
--- heybuddy-0.2.3.orig/CertificateValidatingHTTPSHandler.py 2011-11-28 06:12:18.000000000 +0100
+++ heybuddy-0.2.3/CertificateValidatingHTTPSHandler.py 2012-02-20 23:38:15.285754790 +0100
@@ -52,12 +52,8 @@
self.cert_reqs = ssl.CERT_NONE
def _GetValidHostsForCert(self, cert):
- if 'subjectAltName' in cert:
- return [x[1] for x in cert['subjectAltName']
- if x[0].lower() == 'dns']
- else:
- return [x[0][1] for x in cert['subject']
- if x[0][0].lower() == 'commonname']
+ return [x[0][1] for x in cert['subject']
+ if x[0][0].lower() == 'commonname']
def _ValidateCertificateHostname(self, cert, hostname):
hosts = self._GetValidHostsForCert(cert)

1
xap/heybuddy/heybuddy-0.2.3.tgz.sha1

@ -1 +0,0 @@
812020b60549828c2f327162dc8a34ecb05e2672 heybuddy-0.2.3.tgz

1
xap/heybuddy/heybuddy-0.2.5.tgz.sha1

@ -0,0 +1 @@
e65fe8c133d937744d7ed611dc081352f2beaf86 heybuddy-0.2.5.tgz

7
xap/heybuddy/heybuddy.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2011,2012 Damien Goutte-Gattat
# Copyright (C) 2011,2012,2013 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,7 +27,7 @@
# Source package infos
NAMESRC=${NAMESRC:-heybuddy}
VERSION=${VERSION:-0.2.3}
VERSION=${VERSION:-0.2.5}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tgz}
WGET=${WGET:-http://launchpad.net/heybuddy/0.2/$VERSION/+download/$ARCHIVE}
@ -68,9 +68,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
# Temporary fix for validation of SSL certificate with subjectAltName
# set to an email address instead of hostname
patch -p 1 < $CWD/heybuddy-0.2.3-ssl-cert-validation.patch
mkdir -p $PKG/usr/share/heybuddy
cp -r *.py README.txt _dev assets locales $PKG/usr/share/heybuddy

4
xap/heybuddy/slack-desc

@ -1,8 +1,8 @@
|-----handy-ruler-----------------------------------------------------|
heybuddy: heybuddy (Status.net client)
heybuddy:
heybuddy: Heybuddy is a *supposedly* light, feature free, Status.net client
heybuddy: licensed under GNU GPL v3 and written in Python.
heybuddy: Heybuddy is a light, feature free, Status.net client licensed under
heybuddy: GNU GPL v3 and written in Python.
heybuddy:
heybuddy:
heybuddy:

Loading…
Cancel
Save