[arch-commits] Commit in mg/repos (8 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Wed Oct 30 11:23:29 UTC 2013


    Date: Wednesday, October 30, 2013 @ 12:23:28
  Author: spupykin
Revision: 99592

archrelease: copy trunk to community-i686, community-x86_64

Added:
  mg/repos/community-i686/PKGBUILD
    (from rev 99591, mg/trunk/PKGBUILD)
  mg/repos/community-i686/cleanup.patch
    (from rev 99591, mg/trunk/cleanup.patch)
  mg/repos/community-x86_64/PKGBUILD
    (from rev 99591, mg/trunk/PKGBUILD)
  mg/repos/community-x86_64/cleanup.patch
    (from rev 99591, mg/trunk/cleanup.patch)
Deleted:
  mg/repos/community-i686/PKGBUILD
  mg/repos/community-i686/cleanup.patch
  mg/repos/community-x86_64/PKGBUILD
  mg/repos/community-x86_64/cleanup.patch

--------------------------------+
 /PKGBUILD                      |   76 +++++++++++++++++++++++++++++++++++++++
 /cleanup.patch                 |   72 ++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD        |   38 -------------------
 community-i686/cleanup.patch   |   21 ----------
 community-x86_64/PKGBUILD      |   38 -------------------
 community-x86_64/cleanup.patch |   21 ----------
 6 files changed, 148 insertions(+), 118 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-10-30 11:22:39 UTC (rev 99591)
+++ community-i686/PKGBUILD	2013-10-30 11:23:28 UTC (rev 99592)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Hannes Rist <hrist at phreeknet.org>
-
-pkgname=mg
-pkgver=20130922
-pkgrel=1
-pkgdesc="mg is Micro GNU/emacs, this is a portable version of the mg maintained by the OpenBSD team."
-arch=('i686' 'x86_64')
-url="http://homepage.boetes.org/software/mg/"
-depends=('ncurses' 'libbsd')
-makedepends=('bmake' 'libclens')
-license=('custom')
-options=(!libtool)
-source=(http://homepage.boetes.org/software/mg/mg-$pkgver.tar.gz
-	cleanup.patch)
-md5sums=('35bd196ab32bae3531d6bc48be8779d0'
-         '163ca88d422cf0cf0a3a44de9a2a3ac3')
-
-prepare() {
-  cd $srcdir/$pkgname-$pkgver
-  patch -p1 <$srcdir/cleanup.patch
-}
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-  bmake prefix=/usr
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-
-  mkdir -p $pkgdir/usr/bin
-  bmake install INSTALL=install prefix=/usr DESTDIR=$pkgdir BINDIR=/usr/bin
-
-  mkdir -p $pkgdir/usr/share/
-  install -D -m0644 README $pkgdir/usr/share/licenses/$pkgname/README
-}

Copied: mg/repos/community-i686/PKGBUILD (from rev 99591, mg/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-10-30 11:23:28 UTC (rev 99592)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Hannes Rist <hrist at phreeknet.org>
+
+pkgname=mg
+pkgver=20130922
+pkgrel=2
+pkgdesc="mg is Micro GNU/emacs, this is a portable version of the mg maintained by the OpenBSD team."
+arch=('i686' 'x86_64')
+url="http://homepage.boetes.org/software/mg/"
+depends=('ncurses' 'libbsd')
+makedepends=('bmake' 'libclens')
+license=('custom')
+options=(!libtool)
+source=(http://homepage.boetes.org/software/mg/mg-$pkgver.tar.gz
+	cleanup.patch)
+md5sums=('35bd196ab32bae3531d6bc48be8779d0'
+         'abcea6e34c05425a52101b7c7fb60e7a')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  patch -p1 <$srcdir/cleanup.patch
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  bmake prefix=/usr
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  mkdir -p $pkgdir/usr/bin
+  bmake install INSTALL=install prefix=/usr DESTDIR=$pkgdir BINDIR=/usr/bin
+
+  mkdir -p $pkgdir/usr/share/
+  install -D -m0644 README $pkgdir/usr/share/licenses/$pkgname/README
+}

Deleted: community-i686/cleanup.patch
===================================================================
--- community-i686/cleanup.patch	2013-10-30 11:22:39 UTC (rev 99591)
+++ community-i686/cleanup.patch	2013-10-30 11:23:28 UTC (rev 99592)
@@ -1,21 +0,0 @@
-diff -wbBur mg-20130922/Makefile mg-20130922.y/Makefile
---- mg-20130922/Makefile	2013-09-22 18:06:43.000000000 +0400
-+++ mg-20130922.y/Makefile	2013-10-29 15:18:18.795139731 +0400
-@@ -4,7 +4,7 @@
- NOGCCERROR= true
- PROG=	mg
- 
--LDADD+=	-lcurses -lutil -lclens
-+LDADD+=	-lcurses -lutil -lclens -lbsd
- DPADD+=	${LIBCURSES} ${LIBUTIL}
- 
- # (Common) compile-time options:
-@@ -17,7 +17,7 @@
- #
- CFLAGS  = -O2
- CFLAGS += -Wall -DFKEYS -DREGEX -DXKEYS
--CFLAGS += -I/usr/local/include/clens
-+CFLAGS += -I/usr/include/clens -isystem /usr/include/bsd -DLIBBSD_OVERLAY
- 
- SRCS=	autoexec.c basic.c bell.c buffer.c cinfo.c dir.c display.c \
- 	echo.c extend.c file.c fileio.c funmap.c help.c kbd.c keymap.c \

Copied: mg/repos/community-i686/cleanup.patch (from rev 99591, mg/trunk/cleanup.patch)
===================================================================
--- community-i686/cleanup.patch	                        (rev 0)
+++ community-i686/cleanup.patch	2013-10-30 11:23:28 UTC (rev 99592)
@@ -0,0 +1,36 @@
+diff -wbBur mg-20130922/file.c mg-20130922.q/file.c
+--- mg-20130922/file.c	2013-09-22 13:09:36.000000000 +0400
++++ mg-20130922.q/file.c	2013-10-30 15:20:47.927840374 +0400
+@@ -669,9 +669,9 @@
+ {
+ 	struct stat	statbuf;
+ 	int	 s;
+-	char    *dp;
++	char    *dp = malloc(strlen(fn) + 1);
+ 
+-	dp = dirname(fn);
++	xdirname(dp, fn, strlen(fn));
+ 
+ 	if (stat(fn, &statbuf) == -1 && errno == ENOENT) {
+ 		errno = 0;
+diff -wbBur mg-20130922/Makefile mg-20130922.q/Makefile
+--- mg-20130922/Makefile	2013-09-22 18:06:43.000000000 +0400
++++ mg-20130922.q/Makefile	2013-10-30 15:20:34.201173866 +0400
+@@ -4,7 +4,7 @@
+ NOGCCERROR= true
+ PROG=	mg
+ 
+-LDADD+=	-lcurses -lutil -lclens
++LDADD+=	-lcurses -lutil -lclens -lbsd
+ DPADD+=	${LIBCURSES} ${LIBUTIL}
+ 
+ # (Common) compile-time options:
+@@ -17,7 +17,7 @@
+ #
+ CFLAGS  = -O2
+ CFLAGS += -Wall -DFKEYS -DREGEX -DXKEYS
+-CFLAGS += -I/usr/local/include/clens
++CFLAGS += -I/usr/include/clens -isystem /usr/include/bsd -DLIBBSD_OVERLAY
+ 
+ SRCS=	autoexec.c basic.c bell.c buffer.c cinfo.c dir.c display.c \
+ 	echo.c extend.c file.c fileio.c funmap.c help.c kbd.c keymap.c \

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-10-30 11:22:39 UTC (rev 99591)
+++ community-x86_64/PKGBUILD	2013-10-30 11:23:28 UTC (rev 99592)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Hannes Rist <hrist at phreeknet.org>
-
-pkgname=mg
-pkgver=20130922
-pkgrel=1
-pkgdesc="mg is Micro GNU/emacs, this is a portable version of the mg maintained by the OpenBSD team."
-arch=('i686' 'x86_64')
-url="http://homepage.boetes.org/software/mg/"
-depends=('ncurses' 'libbsd')
-makedepends=('bmake' 'libclens')
-license=('custom')
-options=(!libtool)
-source=(http://homepage.boetes.org/software/mg/mg-$pkgver.tar.gz
-	cleanup.patch)
-md5sums=('35bd196ab32bae3531d6bc48be8779d0'
-         '163ca88d422cf0cf0a3a44de9a2a3ac3')
-
-prepare() {
-  cd $srcdir/$pkgname-$pkgver
-  patch -p1 <$srcdir/cleanup.patch
-}
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-  bmake prefix=/usr
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-
-  mkdir -p $pkgdir/usr/bin
-  bmake install INSTALL=install prefix=/usr DESTDIR=$pkgdir BINDIR=/usr/bin
-
-  mkdir -p $pkgdir/usr/share/
-  install -D -m0644 README $pkgdir/usr/share/licenses/$pkgname/README
-}

Copied: mg/repos/community-x86_64/PKGBUILD (from rev 99591, mg/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-10-30 11:23:28 UTC (rev 99592)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Hannes Rist <hrist at phreeknet.org>
+
+pkgname=mg
+pkgver=20130922
+pkgrel=2
+pkgdesc="mg is Micro GNU/emacs, this is a portable version of the mg maintained by the OpenBSD team."
+arch=('i686' 'x86_64')
+url="http://homepage.boetes.org/software/mg/"
+depends=('ncurses' 'libbsd')
+makedepends=('bmake' 'libclens')
+license=('custom')
+options=(!libtool)
+source=(http://homepage.boetes.org/software/mg/mg-$pkgver.tar.gz
+	cleanup.patch)
+md5sums=('35bd196ab32bae3531d6bc48be8779d0'
+         'abcea6e34c05425a52101b7c7fb60e7a')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  patch -p1 <$srcdir/cleanup.patch
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  bmake prefix=/usr
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  mkdir -p $pkgdir/usr/bin
+  bmake install INSTALL=install prefix=/usr DESTDIR=$pkgdir BINDIR=/usr/bin
+
+  mkdir -p $pkgdir/usr/share/
+  install -D -m0644 README $pkgdir/usr/share/licenses/$pkgname/README
+}

Deleted: community-x86_64/cleanup.patch
===================================================================
--- community-x86_64/cleanup.patch	2013-10-30 11:22:39 UTC (rev 99591)
+++ community-x86_64/cleanup.patch	2013-10-30 11:23:28 UTC (rev 99592)
@@ -1,21 +0,0 @@
-diff -wbBur mg-20130922/Makefile mg-20130922.y/Makefile
---- mg-20130922/Makefile	2013-09-22 18:06:43.000000000 +0400
-+++ mg-20130922.y/Makefile	2013-10-29 15:18:18.795139731 +0400
-@@ -4,7 +4,7 @@
- NOGCCERROR= true
- PROG=	mg
- 
--LDADD+=	-lcurses -lutil -lclens
-+LDADD+=	-lcurses -lutil -lclens -lbsd
- DPADD+=	${LIBCURSES} ${LIBUTIL}
- 
- # (Common) compile-time options:
-@@ -17,7 +17,7 @@
- #
- CFLAGS  = -O2
- CFLAGS += -Wall -DFKEYS -DREGEX -DXKEYS
--CFLAGS += -I/usr/local/include/clens
-+CFLAGS += -I/usr/include/clens -isystem /usr/include/bsd -DLIBBSD_OVERLAY
- 
- SRCS=	autoexec.c basic.c bell.c buffer.c cinfo.c dir.c display.c \
- 	echo.c extend.c file.c fileio.c funmap.c help.c kbd.c keymap.c \

Copied: mg/repos/community-x86_64/cleanup.patch (from rev 99591, mg/trunk/cleanup.patch)
===================================================================
--- community-x86_64/cleanup.patch	                        (rev 0)
+++ community-x86_64/cleanup.patch	2013-10-30 11:23:28 UTC (rev 99592)
@@ -0,0 +1,36 @@
+diff -wbBur mg-20130922/file.c mg-20130922.q/file.c
+--- mg-20130922/file.c	2013-09-22 13:09:36.000000000 +0400
++++ mg-20130922.q/file.c	2013-10-30 15:20:47.927840374 +0400
+@@ -669,9 +669,9 @@
+ {
+ 	struct stat	statbuf;
+ 	int	 s;
+-	char    *dp;
++	char    *dp = malloc(strlen(fn) + 1);
+ 
+-	dp = dirname(fn);
++	xdirname(dp, fn, strlen(fn));
+ 
+ 	if (stat(fn, &statbuf) == -1 && errno == ENOENT) {
+ 		errno = 0;
+diff -wbBur mg-20130922/Makefile mg-20130922.q/Makefile
+--- mg-20130922/Makefile	2013-09-22 18:06:43.000000000 +0400
++++ mg-20130922.q/Makefile	2013-10-30 15:20:34.201173866 +0400
+@@ -4,7 +4,7 @@
+ NOGCCERROR= true
+ PROG=	mg
+ 
+-LDADD+=	-lcurses -lutil -lclens
++LDADD+=	-lcurses -lutil -lclens -lbsd
+ DPADD+=	${LIBCURSES} ${LIBUTIL}
+ 
+ # (Common) compile-time options:
+@@ -17,7 +17,7 @@
+ #
+ CFLAGS  = -O2
+ CFLAGS += -Wall -DFKEYS -DREGEX -DXKEYS
+-CFLAGS += -I/usr/local/include/clens
++CFLAGS += -I/usr/include/clens -isystem /usr/include/bsd -DLIBBSD_OVERLAY
+ 
+ SRCS=	autoexec.c basic.c bell.c buffer.c cinfo.c dir.c display.c \
+ 	echo.c extend.c file.c fileio.c funmap.c help.c kbd.c keymap.c \




More information about the arch-commits mailing list