[arch-commits] Commit in libxdg-basedir/repos/community-x86_64 (6 files)

Kpcyrd kpcyrd at archlinux.org
Tue May 5 18:17:24 UTC 2020


    Date: Tuesday, May 5, 2020 @ 18:17:24
  Author: kpcyrd
Revision: 624950

archrelease: copy trunk to community-x86_64

Added:
  libxdg-basedir/repos/community-x86_64/LICENSE
    (from rev 624949, libxdg-basedir/trunk/LICENSE)
  libxdg-basedir/repos/community-x86_64/PKGBUILD
    (from rev 624949, libxdg-basedir/trunk/PKGBUILD)
  libxdg-basedir/repos/community-x86_64/xdgGetRelativeHome-overflow.patch
    (from rev 624949, libxdg-basedir/trunk/xdgGetRelativeHome-overflow.patch)
Deleted:
  libxdg-basedir/repos/community-x86_64/LICENSE
  libxdg-basedir/repos/community-x86_64/PKGBUILD
  libxdg-basedir/repos/community-x86_64/xdgGetRelativeHome-overflow.patch

-----------------------------------+
 LICENSE                           |   48 ++++++++++-----------
 PKGBUILD                          |   80 ++++++++++++++++++------------------
 xdgGetRelativeHome-overflow.patch |   22 ++++-----
 3 files changed, 75 insertions(+), 75 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2020-05-05 18:17:14 UTC (rev 624949)
+++ LICENSE	2020-05-05 18:17:24 UTC (rev 624950)
@@ -1,24 +0,0 @@
-/* Copyright (c) 2007 Mark Nevill
- *
- * Permission is hereby granted, free of charge, to any person
- * obtaining a copy of this software and associated documentation
- * files (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use,
- * copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following
- * conditions:
- *
- * The above copyright notice and this permission notice shall be
- * included in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
- * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
- * OTHER DEALINGS IN THE SOFTWARE.
- */
-

Copied: libxdg-basedir/repos/community-x86_64/LICENSE (from rev 624949, libxdg-basedir/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2020-05-05 18:17:24 UTC (rev 624950)
@@ -0,0 +1,24 @@
+/* Copyright (c) 2007 Mark Nevill
+ *
+ * Permission is hereby granted, free of charge, to any person
+ * obtaining a copy of this software and associated documentation
+ * files (the "Software"), to deal in the Software without
+ * restriction, including without limitation the rights to use,
+ * copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following
+ * conditions:
+ *
+ * The above copyright notice and this permission notice shall be
+ * included in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ */
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-05 18:17:14 UTC (rev 624949)
+++ PKGBUILD	2020-05-05 18:17:24 UTC (rev 624950)
@@ -1,40 +0,0 @@
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: Ondrej Martinak <omartinak at gmail.com>
-
-pkgname=libxdg-basedir
-pkgver=1.2.0
-pkgrel=4
-pkgdesc="An implementation of the XDG Base Directory specifications."
-arch=('x86_64')
-#url="http://n.ethz.ch/student/nevillm/download/libxdg-basedir"
-url="https://github.com/devnev/$pkgname"
-license=('MIT')
-depends=('glibc')
-source=(https://github.com/devnev/$pkgname/archive/$pkgname-$pkgver.tar.gz
-        'xdgGetRelativeHome-overflow.patch'
-        'LICENSE')
-sha512sums=('8584405d45e0b57e570666b6eab6d99d70411d00f88965826c9ed0292372385668f190157a10ff536f3a5a59fd0031b332ecbb8a38ac64eda1b04a0603997406'
-            '0e7b7a1d2e3dd1362201d67c6a24e276c43c50effd360248ebc1a33d82dba348d3389ce753d12a2a1d16ff384243faf208e6c345d90489a00db23e00492ff9c7'
-            '772afb3c9aefe6ed6b941faf582ea74582c3e7042237701f7e02d4f237d3e4ec528ebc7caf5adb2c1a0adc398fae52e172c009ad962de0620b0376123d76b2d6')
-
-prepare() {
-   cd "${srcdir}/$pkgname-$pkgname-$pkgver"
-
-#   FS#39490: Fix buffer overflow
-   patch -Np0 -i "${srcdir}/xdgGetRelativeHome-overflow.patch"
-}
-
-build() {
-   cd "${srcdir}/$pkgname-$pkgname-$pkgver"
-   ./autogen.sh --prefix=/usr
-   make
-}
-
-package() {
-   cd "${srcdir}/$pkgname-$pkgname-$pkgver"
-   make DESTDIR=${pkgdir} install
-
-   # Install MIT license
-   install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
-}
-

Copied: libxdg-basedir/repos/community-x86_64/PKGBUILD (from rev 624949, libxdg-basedir/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-05 18:17:24 UTC (rev 624950)
@@ -0,0 +1,40 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Ondrej Martinak <omartinak at gmail.com>
+
+pkgname=libxdg-basedir
+pkgver=1.2.0
+pkgrel=5
+pkgdesc="An implementation of the XDG Base Directory specifications."
+arch=('x86_64')
+#url="http://n.ethz.ch/student/nevillm/download/libxdg-basedir"
+url="https://github.com/devnev/$pkgname"
+license=('MIT')
+depends=('glibc')
+source=(https://github.com/devnev/$pkgname/archive/$pkgname-$pkgver.tar.gz
+        'xdgGetRelativeHome-overflow.patch'
+        'LICENSE')
+sha512sums=('8584405d45e0b57e570666b6eab6d99d70411d00f88965826c9ed0292372385668f190157a10ff536f3a5a59fd0031b332ecbb8a38ac64eda1b04a0603997406'
+            '0e7b7a1d2e3dd1362201d67c6a24e276c43c50effd360248ebc1a33d82dba348d3389ce753d12a2a1d16ff384243faf208e6c345d90489a00db23e00492ff9c7'
+            '772afb3c9aefe6ed6b941faf582ea74582c3e7042237701f7e02d4f237d3e4ec528ebc7caf5adb2c1a0adc398fae52e172c009ad962de0620b0376123d76b2d6')
+
+prepare() {
+   cd "${srcdir}/$pkgname-$pkgname-$pkgver"
+
+#   FS#39490: Fix buffer overflow
+   patch -Np0 -i "${srcdir}/xdgGetRelativeHome-overflow.patch"
+}
+
+build() {
+   cd "${srcdir}/$pkgname-$pkgname-$pkgver"
+   ./autogen.sh --prefix=/usr
+   make
+}
+
+package() {
+   cd "${srcdir}/$pkgname-$pkgname-$pkgver"
+   make DESTDIR=${pkgdir} install
+
+   # Install MIT license
+   install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
+

Deleted: xdgGetRelativeHome-overflow.patch
===================================================================
--- xdgGetRelativeHome-overflow.patch	2020-05-05 18:17:14 UTC (rev 624949)
+++ xdgGetRelativeHome-overflow.patch	2020-05-05 18:17:24 UTC (rev 624950)
@@ -1,11 +0,0 @@
---- src/basedir.c.orig	2014-03-16 20:26:36.938576209 +0100
-+++ src/basedir.c	2014-03-16 20:27:50.212192889 +0100
-@@ -574,7 +574,7 @@
- 		unsigned int homelen;
- 		if (!(home = xdgGetEnv("HOME")))
- 			return NULL;
--		if (!(relhome = (char*)malloc((homelen = strlen(home))+fallbacklength))) return NULL;
-+		if (!(relhome = (char*)malloc((homelen = strlen(home))+fallbacklength+1))) return NULL;
- 		memcpy(relhome, home, homelen);
- 		memcpy(relhome+homelen, relativefallback, fallbacklength+1);
- 	}

Copied: libxdg-basedir/repos/community-x86_64/xdgGetRelativeHome-overflow.patch (from rev 624949, libxdg-basedir/trunk/xdgGetRelativeHome-overflow.patch)
===================================================================
--- xdgGetRelativeHome-overflow.patch	                        (rev 0)
+++ xdgGetRelativeHome-overflow.patch	2020-05-05 18:17:24 UTC (rev 624950)
@@ -0,0 +1,11 @@
+--- src/basedir.c.orig	2014-03-16 20:26:36.938576209 +0100
++++ src/basedir.c	2014-03-16 20:27:50.212192889 +0100
+@@ -574,7 +574,7 @@
+ 		unsigned int homelen;
+ 		if (!(home = xdgGetEnv("HOME")))
+ 			return NULL;
+-		if (!(relhome = (char*)malloc((homelen = strlen(home))+fallbacklength))) return NULL;
++		if (!(relhome = (char*)malloc((homelen = strlen(home))+fallbacklength+1))) return NULL;
+ 		memcpy(relhome, home, homelen);
+ 		memcpy(relhome+homelen, relativefallback, fallbacklength+1);
+ 	}



More information about the arch-commits mailing list