Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=685f2c02961caf30214e3a16bbd00521c3e7f9f7

commit 685f2c02961caf30214e3a16bbd00521c3e7f9f7
Author: kikadf <[email protected]>
Date:   Thu Dec 4 14:05:43 2014 +0100

mutt-1.4.2.3-3-x86_64

* Remove, replaced by mutt-devel

diff --git a/source/network-extra/mutt/FrugalBuild 
b/source/network-extra/mutt/FrugalBuild
deleted file mode 100644
index 440a0a9..0000000
--- a/source/network-extra/mutt/FrugalBuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Compiling Time: 0.2 SBU
-# Contributor: Miklos Vajna <[email protected]>
-# Maintainer: voroskoi <[email protected]>
-
-pkgname=mutt
-pkgver=1.4.2.3
-pkgrel=3
-pkgdesc="A small but very powerful text-based mail client."
-url="http://www.mutt.org/";
-groups=('network-extra')
-archs=('i686' 'x86_64')
-depends=('openssl>=1.0.0' 'ncurses')
-conflicts=('mutt-devel' 'mutt-ng')
-up2date="lynx -dump $url/download.html |grep tar |sed -ne 
's/.*-\(.*\).t.*/\1/;1p'"
-source=(ftp://ftp.mutt.org/$pkgname/$pkgname-${pkgver}.tar.gz SA22613.patch)
-
-build() {
-       Fbuild --enable-pop \
-               --enable-imap \
-               --enable-mailtool \
-               --with-ssl
-}
-sha1sums=('b23e46873f0247e85a4417cf338d64ea698c9b2c' \
-          'b0bd9c4e83813d1ecac35a7d284e9ee4c48335e5')
-
-# optimization OK
diff --git a/source/network-extra/mutt/SA22613.patch 
b/source/network-extra/mutt/SA22613.patch
deleted file mode 100644
index f6d1a39..0000000
--- a/source/network-extra/mutt/SA22613.patch
+++ /dev/null
@@ -1,95 +0,0 @@
-Index: lib.c
-===================================================================
-RCS file: /cvs/mutt/mutt/lib.c,v
-retrieving revision 3.20
-diff -u -r3.20 lib.c
---- lib.c       18 May 2006 17:35:29 -0000      3.20
-+++ lib.c       5 Oct 2006 08:20:38 -0000
-@@ -481,14 +481,85 @@
-   return 0;
- }
-
-+/* Create a temporary directory next to a file name */
-+
-+int mutt_mkwrapdir (const char *path, char *newfile, size_t nflen,
-+                   char *newdir, size_t ndlen)
-+{
-+  const char *basename;
-+  char parent[_POSIX_PATH_MAX];
-+  char *p;
-+  int rv;
-+
-+  strfcpy (parent, NONULL (path), sizeof (parent));
-+
-+  if ((p = strrchr (parent, '/')))
-+  {
-+    *p = '\0';
-+    basename = p + 1;
-+  }
-+  else
-+  {
-+    strfcpy (parent, ".", sizeof (parent));
-+    basename = path;
-+  }
-+
-+  do
-+  {
-+    snprintf (newdir, ndlen, "%s/%s", parent, ".muttXXXXXX");
-+    mktemp (newdir);
-+  }
-+  while ((rv = mkdir (newdir, 0700)) == -1 && errno == EEXIST);
-+
-+  if (rv == -1)
-+    return -1;
-+
-+  snprintf (newfile, nflen, "%s/%s", newdir, NONULL(basename));
-+  return 0;
-+}
-+
-+int mutt_put_file_in_place (const char *path, const char *safe_file, const 
char *safe_dir)
-+{
-+  int rv;
-+
-+  rv = safe_rename (safe_file, path);
-+  unlink (safe_file);
-+  rmdir (safe_dir);
-+  return rv;
-+}
-+
- int safe_open (const char *path, int flags)
- {
-   struct stat osb, nsb;
-   int fd;
-
--  if ((fd = open (path, flags, 0600)) < 0)
--    return fd;
-+  if (flags & O_EXCL)
-+  {
-+    char safe_file[_POSIX_PATH_MAX];
-+    char safe_dir[_POSIX_PATH_MAX];
-
-+    if (mutt_mkwrapdir (path, safe_file, sizeof (safe_file),
-+                       safe_dir, sizeof (safe_dir)) == -1)
-+      return -1;
-+
-+    if ((fd = open (safe_file, flags, 0600)) < 0)
-+    {
-+      rmdir (safe_dir);
-+      return fd;
-+    }
-+
-+    if (mutt_put_file_in_place (path, safe_file, safe_dir) == -1)
-+    {
-+      close (fd);
-+      return -1;
-+    }
-+  }
-+  else
-+  {
-+    if ((fd = open (path, flags, 0600)) < 0)
-+      return fd;
-+  }
-+
-   /* make sure the file is not symlink */
-   if (lstat (path, &osb) < 0 || fstat (fd, &nsb) < 0 ||
-       compare_stat(&osb, &nsb) == -1)
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to