[arch-commits] Commit in ksmtp/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Dec 23 12:27:03 UTC 2017
Date: Saturday, December 23, 2017 @ 12:27:02
Author: arojas
Revision: 313566
archrelease: copy trunk to extra-x86_64
Added:
ksmtp/repos/extra-x86_64/PKGBUILD
(from rev 313565, ksmtp/trunk/PKGBUILD)
Deleted:
ksmtp/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 78 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 43 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-23 12:26:34 UTC (rev 313565)
+++ PKGBUILD 2017-12-23 12:27:02 UTC (rev 313566)
@@ -1,35 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=ksmtp
-pkgver=17.12.0
-pkgrel=1
-pkgdesc="Job-based library to send email through an SMTP server"
-arch=(x86_64)
-url="https://community.kde.org/KDE_PIM"
-license=(LGPL)
-depends=(kmime kio)
-makedepends=(extra-cmake-modules python)
-source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
-sha256sums=('d84b2e4ddaa5506d977b3bc5608ef89d5ba772f51811febbff78a1e0661c314e'
- 'SKIP')
-validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid at kde.org>
- F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
- cmake ../$pkgname-$pkgver \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DBUILD_TESTING=OFF
- make
-}
-
-package() {
- cd build
- make DESTDIR="$pkgdir" install
-}
Copied: ksmtp/repos/extra-x86_64/PKGBUILD (from rev 313565, ksmtp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-23 12:27:02 UTC (rev 313566)
@@ -0,0 +1,43 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=ksmtp
+pkgver=17.12.0
+pkgrel=2
+pkgdesc="Job-based library to send email through an SMTP server"
+arch=(x86_64)
+url="https://community.kde.org/KDE_PIM"
+license=(LGPL)
+depends=(kmime kio)
+makedepends=(extra-cmake-modules python)
+source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
+ kdebug-388068.patch::"https://cgit.kde.org/ksmtp.git/patch/?id=ec2afd27"
+ kdebug-387926.patch::"https://cgit.kde.org/ksmtp.git/patch/?id=5199ed07")
+sha256sums=('d84b2e4ddaa5506d977b3bc5608ef89d5ba772f51811febbff78a1e0661c314e'
+ 'SKIP'
+ 'c445ed8e7284be8de3117d3174be99729d1234ed624313f24ced66e99594b287'
+ 'a9fe4d38faf0447a1ee96c52bdec7d14e1017657baab94d8650e926c28685e41')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid at kde.org>
+ F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
+
+prepare() {
+ mkdir -p build
+
+ cd $pkgname-$pkgver
+ patch -p1 -i ../kdebug-388068.patch # Fix duplicate authentication
+ patch -p1 -i ../kdebug-387926.patch # Send the correct hostname with the HELO/EHLO command
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list