[arch-commits] Commit in foremost/repos/community-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Sun Jun 3 17:58:37 UTC 2018
Date: Sunday, June 3, 2018 @ 17:58:36
Author: felixonmars
Revision: 339490
archrelease: copy trunk to community-x86_64
Added:
foremost/repos/community-x86_64/PKGBUILD
(from rev 339489, foremost/trunk/PKGBUILD)
foremost/repos/community-x86_64/foremost-makefile.patch
(from rev 339489, foremost/trunk/foremost-makefile.patch)
Deleted:
foremost/repos/community-x86_64/PKGBUILD
foremost/repos/community-x86_64/foremost-makefile.patch
-------------------------+
PKGBUILD | 74 +++++++++++++++++++++++-----------------------
foremost-makefile.patch | 46 ++++++++++++++--------------
2 files changed, 60 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-03 17:58:23 UTC (rev 339489)
+++ PKGBUILD 2018-06-03 17:58:36 UTC (rev 339490)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Jaroslav Lichtblau <svetlemordy at archlinux.org>
-
-pkgname=foremost
-pkgver=1.5.7
-pkgrel=3
-pkgdesc="A console program to recover files based on their headers, footers, and internal data structures"
-arch=('i686' 'x86_64')
-url="http://foremost.sourceforge.net/"
-license=('custom')
-depends=('glibc')
-makedepends=('patch')
-backup=(etc/foremost.conf)
-source=(http://foremost.sourceforge.net/pkg/$pkgname-$pkgver.tar.gz
- $pkgname-makefile.patch)
-sha256sums=('502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34'
- '9073fe84c1355e6b1b1c16ccba06893ebd4d35590e45ecbcb4b89e02083a5848')
-
-prepare() {
- cd "${srcdir}"/$pkgname-$pkgver
- patch -Np0 -i "${srcdir}"/$pkgname-makefile.patch
-}
-
-build() {
- cd "${srcdir}"/$pkgname-$pkgver
- make
-}
-
-package () {
- cd "${srcdir}"/$pkgname-$pkgver
-
- install -d "${pkgdir}"/{etc,usr/bin,usr/share/man/man8,usr/share/licenses/foremost}
- make DESTDIR="${pkgdir}" install
-
-#license
- ./foremost -V > "${pkgdir}"/usr/share/licenses/$pkgname/COPYRIGHT
-}
Copied: foremost/repos/community-x86_64/PKGBUILD (from rev 339489, foremost/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-03 17:58:36 UTC (rev 339490)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemordy at archlinux.org>
+
+pkgname=foremost
+pkgver=1.5.7
+pkgrel=4
+pkgdesc="A console program to recover files based on their headers, footers, and internal data structures"
+arch=('x86_64')
+url="http://foremost.sourceforge.net/"
+license=('custom')
+depends=('glibc')
+makedepends=('patch')
+backup=(etc/foremost.conf)
+source=(http://foremost.sourceforge.net/pkg/$pkgname-$pkgver.tar.gz
+ $pkgname-makefile.patch)
+sha512sums=('8827c29d52496783be26374f3943eb26a154d842f34e50fb489f87b3a5045bf85f1e44d7d8d8b12b2355ba3fe4b06a0db979cc22c0f431593c5976001eb931ab'
+ 'eb3fc70590cafa3fb953946f6d80051ab3d976bcb3687cadb141a72dbd5bf317de68f39db7e28e27b49dd1629cab7e4c0ff5bc83c962c33026e9fe4d4ad2dc96')
+
+prepare() {
+ cd "${srcdir}"/$pkgname-$pkgver
+ patch -Np0 -i "${srcdir}"/$pkgname-makefile.patch
+}
+
+build() {
+ cd "${srcdir}"/$pkgname-$pkgver
+ make
+}
+
+package () {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ install -d "${pkgdir}"/{etc,usr/bin,usr/share/man/man8,usr/share/licenses/foremost}
+ make DESTDIR="${pkgdir}" install
+
+#license
+ ./foremost -V > "${pkgdir}"/usr/share/licenses/$pkgname/COPYRIGHT
+}
Deleted: foremost-makefile.patch
===================================================================
--- foremost-makefile.patch 2018-06-03 17:58:23 UTC (rev 339489)
+++ foremost-makefile.patch 2018-06-03 17:58:36 UTC (rev 339490)
@@ -1,23 +0,0 @@
---- Makefile.orig 2008-10-14 02:09:13.000000000 +0200
-+++ Makefile 2008-10-14 18:31:38.000000000 +0200
-@@ -26,5 +26,5 @@
- # Where we get installed
--BIN = /usr/local/bin
--MAN = /usr/share/man/man8
--CONF= /usr/local/etc
-+BIN = $(DESTDIR)/usr/bin
-+MAN = $(DESTDIR)/usr/share/man/man8
-+CONF= $(DESTDIR)/etc
- # Setup for compiling and cross-compiling for Windows
-diff -uNr foremost-1.4.orig/config.c foremost-1.4/config.c
---- config.c 2006-08-31 17:50:47.000000000 +0100
-+++ config.c 2006-08-31 17:51:09.000000000 +0100
-@@ -288,7 +288,7 @@
- #ifdef __WIN32
- set_config_file(s, "/Program Files/foremost/foremost.conf");
- #else
-- set_config_file(s, "/usr/local/etc/foremost.conf");
-+ set_config_file(s, "/etc/foremost.conf");
- #endif
- if ((f = fopen(get_config_file(s), "r")) == NULL)
- {
Copied: foremost/repos/community-x86_64/foremost-makefile.patch (from rev 339489, foremost/trunk/foremost-makefile.patch)
===================================================================
--- foremost-makefile.patch (rev 0)
+++ foremost-makefile.patch 2018-06-03 17:58:36 UTC (rev 339490)
@@ -0,0 +1,23 @@
+--- Makefile.orig 2008-10-14 02:09:13.000000000 +0200
++++ Makefile 2008-10-14 18:31:38.000000000 +0200
+@@ -26,5 +26,5 @@
+ # Where we get installed
+-BIN = /usr/local/bin
+-MAN = /usr/share/man/man8
+-CONF= /usr/local/etc
++BIN = $(DESTDIR)/usr/bin
++MAN = $(DESTDIR)/usr/share/man/man8
++CONF= $(DESTDIR)/etc
+ # Setup for compiling and cross-compiling for Windows
+diff -uNr foremost-1.4.orig/config.c foremost-1.4/config.c
+--- config.c 2006-08-31 17:50:47.000000000 +0100
++++ config.c 2006-08-31 17:51:09.000000000 +0100
+@@ -288,7 +288,7 @@
+ #ifdef __WIN32
+ set_config_file(s, "/Program Files/foremost/foremost.conf");
+ #else
+- set_config_file(s, "/usr/local/etc/foremost.conf");
++ set_config_file(s, "/etc/foremost.conf");
+ #endif
+ if ((f = fopen(get_config_file(s), "r")) == NULL)
+ {
More information about the arch-commits
mailing list