* [gentoo-commits] repo/gentoo:master commit in: app-arch/afio/files/, app-arch/afio/
@ 2017-12-29 13:17 David Seifert
0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2017-12-29 13:17 UTC (permalink / raw
To: gentoo-commits
commit: bc997e1fe5c259b699bb9b137f42c8be63dd9313
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 29 11:35:15 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Dec 29 13:16:04 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc997e1f
app-arch/afio: [QA] Minor touchups
Bug: https://bugs.gentoo.org/429360
Package-Manager: Portage-2.3.19, Repoman-2.3.6
app-arch/afio/afio-2.5.1-r1.ebuild | 9 ++++-----
.../afio/files/afio-2.5.1-fix-build-system.patch | 22 ++++++++++++++++++++++
app-arch/afio/metadata.xml | 12 ++++++------
3 files changed, 32 insertions(+), 11 deletions(-)
diff --git a/app-arch/afio/afio-2.5.1-r1.ebuild b/app-arch/afio/afio-2.5.1-r1.ebuild
index 0c3a74af973..a3e6e5c082e 100644
--- a/app-arch/afio/afio-2.5.1-r1.ebuild
+++ b/app-arch/afio/afio-2.5.1-r1.ebuild
@@ -13,10 +13,9 @@ LICENSE="Artistic LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
-PATCHES=( "${FILESDIR}"/Makefile-r1.patch )
+PATCHES=( "${FILESDIR}"/${PN}-2.5.1-fix-build-system.patch )
-src_prepare() {
- default
+src_configure() {
tc-export CC
}
@@ -27,7 +26,7 @@ src_install() {
local i
for i in {1..4}; do
- docinto "script$i"
- dodoc "script$i"/*
+ docinto "script${i}"
+ dodoc -r "script${i}"/.
done
}
diff --git a/app-arch/afio/files/afio-2.5.1-fix-build-system.patch b/app-arch/afio/files/afio-2.5.1-fix-build-system.patch
new file mode 100644
index 00000000000..5f3e8355c1a
--- /dev/null
+++ b/app-arch/afio/files/afio-2.5.1-fix-build-system.patch
@@ -0,0 +1,22 @@
+--- a/Makefile
++++ b/Makefile
+@@ -71,15 +71,12 @@
+ MW=
+ #MW=-Wtraditional -Wcast-qual -Wcast-align -Wconversion -pedantic -Wlong-long -Wimplicit -Wuninitialized -W -Wshadow -Wsign-compare -Wstrict-prototypes -Wmissing-declarations
+
+-CFLAGS1 = -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer ${LARGEFILEFLAGS} ${MW}
+-
+-CC=gcc
+-
+-CFLAGS = ${CFLAGS1} $1 $2 $3 $4 $5 $6 $7 $8 $9 $a $b $c $d $e ${e2} $f $g $I
+-LDFLAGS =
++CC ?= gcc
++CFLAGS += -Wall -Wstrict-prototypes
++CPPFLAGS += ${LARGEFILEFLAGS} ${2} ${3} ${6} ${8} ${c} ${d} ${e2} ${f} ${g}
+
+ afio : afio.o compfile.o exten.o match.o $M
+- ${CC} ${LDFLAGS} afio.o compfile.o exten.o match.o $M -o afio
++ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@
+
+ clean:
+ rm -f *.o afio
diff --git a/app-arch/afio/metadata.xml b/app-arch/afio/metadata.xml
index b232df5209c..1d91069b9e1 100644
--- a/app-arch/afio/metadata.xml
+++ b/app-arch/afio/metadata.xml
@@ -3,12 +3,12 @@
<pkgmetadata>
<!-- maintainer-needed -->
<longdescription>
-Afio makes cpio-format archives. It deals somewhat gracefully
-with input data corruption, supports multi-volume archives during interactive
-operation, and can make compressed archives that are much safer than compressed
-tar or cpio archives. Afio is best used as an 'archive engine' in a backup
-script.
-</longdescription>
+ Afio makes cpio-format archives. It deals somewhat gracefully
+ with input data corruption, supports multi-volume archives during interactive
+ operation, and can make compressed archives that are much safer than compressed
+ tar or cpio archives. Afio is best used as an 'archive engine' in a backup
+ script.
+ </longdescription>
<upstream>
<remote-id type="freshmeat">afio</remote-id>
</upstream>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-arch/afio/files/, app-arch/afio/
@ 2025-02-26 17:04 Petr Vaněk
0 siblings, 0 replies; 2+ messages in thread
From: Petr Vaněk @ 2025-02-26 17:04 UTC (permalink / raw
To: gentoo-commits
commit: c9e54bc2b49613d2adb7d1956ca6eb8e1cf99f3e
Author: Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 26 17:02:29 2025 +0000
Commit: Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Wed Feb 26 17:02:29 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9e54bc2
app-arch/afio: drop 2.5.1-r2
Bug: https://bugs.gentoo.org/712754
Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>
app-arch/afio/Manifest | 1 -
app-arch/afio/afio-2.5.1-r2.ebuild | 34 ----------------------
.../afio-2.5.1-control-file-warning-fix.patch | 29 ------------------
.../afio/files/afio-2.5.1-fix-build-system.patch | 22 --------------
4 files changed, 86 deletions(-)
diff --git a/app-arch/afio/Manifest b/app-arch/afio/Manifest
index ae4520a84f3d..7b70748037ff 100644
--- a/app-arch/afio/Manifest
+++ b/app-arch/afio/Manifest
@@ -1,2 +1 @@
-DIST afio-2.5.1.tgz 191765 BLAKE2B 48a590c1180942444eb8fc17701563ee822cad9d0ae423e12996e7b3dff16ab7ba13d8041b78fb6415d1a422d14be8ba3443910ae1a57290dca801334ced7ffe SHA512 afa4e01cc9e7da5bff7c96d2da9a41c296e7b89c50484f58a8b011173a99a144a9e77d3ee8136622e490287b99a7ae76c6eba901a2186b5a3a6bab164a37c864
DIST afio-2.5.2.tar.gz 194030 BLAKE2B 7c46162cf8648b9b6c32003032a820a847e4887bb852a49ee878dc3501bad673650f7b64c465c4cea58b4cfd4de74884f903211f298ef94b91d3738f7de29316 SHA512 e0fb9b2d31bb912d7f30d8dd992cffcc99a84424c7386082abb8da82a1911b852c5a80e8135f0b6266113519f582dba45dc3c87c8f3b822a2daa14a1ae1d9944
diff --git a/app-arch/afio/afio-2.5.1-r2.ebuild b/app-arch/afio/afio-2.5.1-r2.ebuild
deleted file mode 100644
index 8b7b67f12a2f..000000000000
--- a/app-arch/afio/afio-2.5.1-r2.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit toolchain-funcs
-
-DESCRIPTION="Afio creates cpio-format archives"
-HOMEPAGE="http://members.chello.nl/k.holtman/afio.html https://github.com/kholtman/afio"
-SRC_URI="http://members.chello.nl/k.holtman/${P}.tgz"
-
-LICENSE="Artistic LGPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~hppa ppc sparc x86"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.5.1-fix-build-system.patch
- "${FILESDIR}"/${PN}-2.5.1-control-file-warning-fix.patch
-)
-
-src_configure() {
- tc-export CC
-}
-
-src_install() {
- dobin "${PN}"
- doman "${PN}.1"
- dodoc ANNOUNCE-* HISTORY README SCRIPTS
-
- local i
- for i in {1..4}; do
- docinto "script${i}"
- dodoc -r "script${i}"/.
- done
-}
diff --git a/app-arch/afio/files/afio-2.5.1-control-file-warning-fix.patch b/app-arch/afio/files/afio-2.5.1-control-file-warning-fix.patch
deleted file mode 100644
index f1c93c8e914c..000000000000
--- a/app-arch/afio/files/afio-2.5.1-control-file-warning-fix.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Only in b: 1
-diff -ubBr a/afio.c b/afio.c
---- a/afio.c 2018-03-23 09:16:07.230401966 -0400
-+++ b/afio.c 2018-03-23 09:20:05.614421756 -0400
-@@ -3724,7 +3724,8 @@
-
- /* ASX check if file changed between the begining
- and end of the backup */
-- if (*fsname)
-+ /* if *fsname==0, it was a control file, so do not check then */
-+ if (*fsname!=0)
- {
- struct stat st;
- /* I must check fsname !
-@@ -3739,13 +3740,10 @@
- if (st.st_mtime!=sb.sb_mtime)
- {
- warn (fsname, "File was modified during its backup");
-+ if(index(ignorewarnings,(int)'d')) warnings--;
- }
- }
- }
-- else
-- {
-- warn (name, "ASX no fsname for this name ??");
-- }
-
- if(aflag && *fsname && ((sb.sb_mode & S_IFMT)==S_IFREG))
- {
diff --git a/app-arch/afio/files/afio-2.5.1-fix-build-system.patch b/app-arch/afio/files/afio-2.5.1-fix-build-system.patch
deleted file mode 100644
index 5f3e8355c1a2..000000000000
--- a/app-arch/afio/files/afio-2.5.1-fix-build-system.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -71,15 +71,12 @@
- MW=
- #MW=-Wtraditional -Wcast-qual -Wcast-align -Wconversion -pedantic -Wlong-long -Wimplicit -Wuninitialized -W -Wshadow -Wsign-compare -Wstrict-prototypes -Wmissing-declarations
-
--CFLAGS1 = -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer ${LARGEFILEFLAGS} ${MW}
--
--CC=gcc
--
--CFLAGS = ${CFLAGS1} $1 $2 $3 $4 $5 $6 $7 $8 $9 $a $b $c $d $e ${e2} $f $g $I
--LDFLAGS =
-+CC ?= gcc
-+CFLAGS += -Wall -Wstrict-prototypes
-+CPPFLAGS += ${LARGEFILEFLAGS} ${2} ${3} ${6} ${8} ${c} ${d} ${e2} ${f} ${g}
-
- afio : afio.o compfile.o exten.o match.o $M
-- ${CC} ${LDFLAGS} afio.o compfile.o exten.o match.o $M -o afio
-+ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@
-
- clean:
- rm -f *.o afio
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-26 17:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-26 17:04 [gentoo-commits] repo/gentoo:master commit in: app-arch/afio/files/, app-arch/afio/ Petr Vaněk
-- strict thread matches above, loose matches on Subject: below --
2017-12-29 13:17 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox