[arch-commits] Commit in libxdg-basedir/repos/community-x86_64 (5 files)
Antonio Rojas
arojas at archlinux.org
Thu Apr 22 20:40:34 UTC 2021
Date: Thursday, April 22, 2021 @ 20:40:33
Author: arojas
Revision: 921679
archrelease: copy trunk to community-x86_64
Added:
libxdg-basedir/repos/community-x86_64/LICENSE
(from rev 921678, libxdg-basedir/trunk/LICENSE)
libxdg-basedir/repos/community-x86_64/PKGBUILD
(from rev 921678, libxdg-basedir/trunk/PKGBUILD)
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 | 72 ++++++++++++++++--------------------
xdgGetRelativeHome-overflow.patch | 11 -----
3 files changed, 56 insertions(+), 75 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2021-04-22 20:40:22 UTC (rev 921678)
+++ LICENSE 2021-04-22 20:40:33 UTC (rev 921679)
@@ -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 921678, libxdg-basedir/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2021-04-22 20:40:33 UTC (rev 921679)
@@ -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 2021-04-22 20:40:22 UTC (rev 921678)
+++ PKGBUILD 2021-04-22 20:40:33 UTC (rev 921679)
@@ -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=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
-}
-
Copied: libxdg-basedir/repos/community-x86_64/PKGBUILD (from rev 921678, libxdg-basedir/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-22 20:40:33 UTC (rev 921679)
@@ -0,0 +1,32 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Ondrej Martinak <omartinak at gmail.com>
+
+pkgname=libxdg-basedir
+pkgver=1.2.3
+pkgrel=1
+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
+ 'LICENSE')
+sha512sums=('e672da0d9cd3c27c9113f6053b79127e615e5d84bde81305242f506e930869d8492304aac26a0296528d5a32530e4a743acecb6a25f58372ac597af284429f7c'
+ '772afb3c9aefe6ed6b941faf582ea74582c3e7042237701f7e02d4f237d3e4ec528ebc7caf5adb2c1a0adc398fae52e172c009ad962de0620b0376123d76b2d6')
+
+build() {
+ cd ${pkgname}-${pkgname}-${pkgver}
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${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 2021-04-22 20:40:22 UTC (rev 921678)
+++ xdgGetRelativeHome-overflow.patch 2021-04-22 20:40:33 UTC (rev 921679)
@@ -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);
- }
More information about the arch-commits
mailing list