* [gentoo-commits] repo/gentoo:master commit in: app-misc/datefudge/, app-misc/datefudge/files/
@ 2020-03-21 10:12 Mikle Kolyada
0 siblings, 0 replies; 2+ messages in thread
From: Mikle Kolyada @ 2020-03-21 10:12 UTC (permalink / raw
To: gentoo-commits
commit: 04099b3f8ff905bf0d51a7d058c4d9495a8315ff
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 21 10:12:18 2020 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Mar 21 10:12:18 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04099b3f
app-misc/datefudge: Drop old
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
app-misc/datefudge/Manifest | 1 -
app-misc/datefudge/datefudge-1.17.ebuild | 35 --------------
app-misc/datefudge/files/datefudge-1.17-bsd.patch | 58 -----------------------
3 files changed, 94 deletions(-)
diff --git a/app-misc/datefudge/Manifest b/app-misc/datefudge/Manifest
index 26ba7dfe89a..f36e6807492 100644
--- a/app-misc/datefudge/Manifest
+++ b/app-misc/datefudge/Manifest
@@ -1,2 +1 @@
-DIST datefudge_1.17.tar.gz 12606 BLAKE2B 5aef2bab1b434f66bb761dc6858984c4b555aff55f5cf076a6a66af2f17ff7677501ef9a6d9a8aedc7cd531093e7efe59b9146abe250fe2a1fc44e05bbedf313 SHA512 6d335f2c1f42792756d3a81264be0bdf4cde5efab86bec5b62de9ccb2488deaff67e4a4f6c7984fa7a5336156df2d76e366bf486436052d2c5ee5ff88067335e
DIST datefudge_1.22.tar.xz 12964 BLAKE2B 2f76647a3f7c73e43ff6b4fd57d57d21cae75fd8bc304a5cab7c66d9798795e2386f6219a51d71f57e13463e88a3e518160d90ae01bae5253cbcb7c8a3acf763 SHA512 ed67d334ca8296ae1c7b5ee1efc6ec7aafaad0aeb9f0f0387245c2eeea94ccc59ab804778b93ab8b34a512b83a3ec81d10f341d4f4f22b4a07fccdadaefb6d8b
diff --git a/app-misc/datefudge/datefudge-1.17.ebuild b/app-misc/datefudge/datefudge-1.17.ebuild
deleted file mode 100644
index cf9c3d19179..00000000000
--- a/app-misc/datefudge/datefudge-1.17.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit multilib toolchain-funcs eutils
-
-DESCRIPTION="A program (and preload library) to fake system date"
-HOMEPAGE="https://packages.qa.debian.org/d/datefudge.html"
-SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
-IUSE=""
-
-src_prepare() {
- use userland_BSD && epatch "${FILESDIR}"/${P}-bsd.patch
- sed -i \
- -e '/dpkg-parsechangelog/d' \
- -e "s:usr/lib:usr/$(get_libdir):" \
- Makefile || die
-
- if use prefix; then
- sed -i -e '/-o root -g root/d' Makefile || die
- fi
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" VERSION="${PV}"
-}
-
-src_install() {
- emake DESTDIR="${ED}" VERSION="${PV}" install
- dodoc debian/changelog README
-}
diff --git a/app-misc/datefudge/files/datefudge-1.17-bsd.patch b/app-misc/datefudge/files/datefudge-1.17-bsd.patch
deleted file mode 100644
index 2f2a7dac9be..00000000000
--- a/app-misc/datefudge/files/datefudge-1.17-bsd.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-diff --git a/Makefile b/Makefile
-index b2f81bb..35da75e 100644
---- a/Makefile
-+++ b/Makefile
-@@ -12,17 +12,17 @@ compile all: datefudge datefudge.so
-
- install: datefudge datefudge.so datefudge.1
- install -d $(DESTDIR)/usr/lib/datefudge/
-- $(INSTALL_PROGRAM) -o root -g root -m 644 datefudge.so $(DESTDIR)/usr/lib/datefudge/datefudge.so
-+ $(INSTALL_PROGRAM) -o root -g wheel -m 644 datefudge.so $(DESTDIR)/usr/lib/datefudge/datefudge.so
- install -d $(DESTDIR)/usr/bin/
-- $(INSTALL_PROGRAM) -o root -g root -m 755 datefudge $(DESTDIR)/usr/bin
-+ $(INSTALL_PROGRAM) -o root -g wheel -m 755 datefudge $(DESTDIR)/usr/bin
- install -d $(DESTDIR)/usr/share/man/man1
-- install -o root -g root -m 644 datefudge.1 $(DESTDIR)/usr/share/man/man1
-+ install -o root -g wheel -m 644 datefudge.1 $(DESTDIR)/usr/share/man/man1
-
- datefudge: datefudge.sh
- sed -e 's,@VERSION@,$(VERSION),g' < $< > $@
-
- datefudge.so: datefudge.o
-- $(CC) $(LDFLAGS) -o $@ -shared $< -ldl -lc
-+ $(CC) $(LDFLAGS) -o $@ -shared $< -lc
-
- datefudge.o: datefudge.c
- $(CC) $(CFLAGS) -c -o $@ $<
-@@ -39,8 +39,8 @@ test: compile
- export TZ=UTC ;\
- ret1=1; ret2=1 ;\
- for i in 1 2; do \
-- export DATEFUDGE=`LC_ALL=C date --date='yesterday 0:00' +%s` ;\
-- dt=`LC_ALL=C LD_PRELOAD=$(CURDIR)/datefudge.so date --date=12:15 +%F.%T` ;\
-+ export DATEFUDGE=`LC_ALL=C date -v-1d -v0H -v0M +%s` ;\
-+ dt=`LC_ALL=C LD_PRELOAD=$(CURDIR)/datefudge.so date -v12H -v15M +%F.%T` ;\
- exp="1970-01-02.12:15:00" ;\
- [ "$$dt" != "$$exp" ] || { echo "OK"; ret1=0; break; } ;\
- echo "failed: expected: $$exp, actual: $$dt" ;\
-@@ -49,7 +49,7 @@ test: compile
- echo -n "Running a simple perl localtime() test... " ;\
- pscr='@t=localtime(time);$$t[5]+=1900;$$t[4]++;printf "%04d-%02d-%02d\n",$$t[5],$$t[4],$$t[3];';\
- for i in 1 2; do \
-- export DATEFUDGE=`LC_ALL=C date --date='yesterday 0:00' +%s` ;\
-+ export DATEFUDGE=`LC_ALL=C date -v-1d -v0H -v0M +%s` ;\
- dt=`LD_PRELOAD=$(CURDIR)/datefudge.so perl -e "$$pscr"` ;\
- exp="1970-01-02" ;\
- [ "$$dt" != "$$exp" ] || { echo "OK"; ret2=0; break; } ;\
-diff --git a/datefudge.c b/datefudge.c
-index 8c86652..fc7e3d6 100644
---- a/datefudge.c
-+++ b/datefudge.c
-@@ -14,7 +14,6 @@
- #include <stdlib.h>
- #include <dlfcn.h>
- #include <assert.h>
--#include <features.h>
- #include <unistd.h>
- #include <time.h>
- #include <sys/time.h>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/datefudge/, app-misc/datefudge/files/
@ 2021-03-11 11:36 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-03-11 11:36 UTC (permalink / raw
To: gentoo-commits
commit: 229c70fcd2c6e2777ef957dd454894217b29822a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 11 11:11:43 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 11 11:12:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=229c70fc
app-misc/datefudge: drop 1.22
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/datefudge/Manifest | 1 -
app-misc/datefudge/datefudge-1.22.ebuild | 37 --------------
app-misc/datefudge/files/datefudge-1.22-bsd.patch | 60 -----------------------
3 files changed, 98 deletions(-)
diff --git a/app-misc/datefudge/Manifest b/app-misc/datefudge/Manifest
index 153aac25f3c..90fffe75a16 100644
--- a/app-misc/datefudge/Manifest
+++ b/app-misc/datefudge/Manifest
@@ -1,2 +1 @@
-DIST datefudge_1.22.tar.xz 12964 BLAKE2B 2f76647a3f7c73e43ff6b4fd57d57d21cae75fd8bc304a5cab7c66d9798795e2386f6219a51d71f57e13463e88a3e518160d90ae01bae5253cbcb7c8a3acf763 SHA512 ed67d334ca8296ae1c7b5ee1efc6ec7aafaad0aeb9f0f0387245c2eeea94ccc59ab804778b93ab8b34a512b83a3ec81d10f341d4f4f22b4a07fccdadaefb6d8b
DIST datefudge_1.24.tar.xz 14152 BLAKE2B c0a386193e6761abade4643e2f56520738baf4bb739d4c94cec3e47a8feb5ebdf32a6e8b4a0c3dbb9584136b9855abcc68f5134e082083dfb61e977ae45c0bc7 SHA512 cd548a7e8ff10189e101fa339b2845cdd19a59354e43b02cf47e466855ec192dc2084951f7663a94da56a580dd24524047651d8bcb41aa478fe94b24dffaedeb
diff --git a/app-misc/datefudge/datefudge-1.22.ebuild b/app-misc/datefudge/datefudge-1.22.ebuild
deleted file mode 100644
index f0df9cfaaea..00000000000
--- a/app-misc/datefudge/datefudge-1.22.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit multilib toolchain-funcs eutils
-
-DESCRIPTION="A program (and preload library) to fake system date"
-HOMEPAGE="https://packages.qa.debian.org/d/datefudge.html"
-SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
-IUSE=""
-
-PATCHES=()
-
-pkg_setup() {
- use userland_BSD && PATCHES+=( "${FILESDIR}"/${P}-bsd.patch )
-}
-
-src_prepare() {
- default
- sed -i \
- -e '/dpkg-parsechangelog/d' \
- Makefile || die
- use prefix && sed -i -e '/-o root -g root/d' Makefile
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" libdir="/usr/$(get_libdir)" VERSION="${PV}"
-}
-
-src_install() {
- emake DESTDIR="${ED}" CC="$(tc-getCC)" libdir="/usr/$(get_libdir)" install
- einstalldocs
-}
diff --git a/app-misc/datefudge/files/datefudge-1.22-bsd.patch b/app-misc/datefudge/files/datefudge-1.22-bsd.patch
deleted file mode 100644
index 87ce6ddb958..00000000000
--- a/app-misc/datefudge/files/datefudge-1.22-bsd.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From 3731c2da347dfffef34209fd779e67738b34ec88 Mon Sep 17 00:00:00 2001
-From: Alon Bar-Lev <alon.barlev@gmail.com>
-Date: Tue, 24 Jul 2018 22:58:34 +0300
-Subject: [PATCH] bsd support
-
----
- Makefile | 14 +++++++-------
- 1 file changed, 7 insertions(+), 7 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 8855b49..5526cbf 100644
---- a/Makefile
-+++ b/Makefile
-@@ -20,11 +20,11 @@ all compile: datefudge datefudge.so datefudge.1
-
- install: datefudge datefudge.so datefudge.1
- install -d $(DESTDIR)$(libdir)/$(libarch)/datefudge
-- $(INSTALL_PROGRAM) -o root -g root -m 644 datefudge.so $(DESTDIR)$(libdir)/$(libarch)/datefudge/datefudge.so
-+ $(INSTALL_PROGRAM) -o root -g wheel -m 644 datefudge.so $(DESTDIR)$(libdir)/$(libarch)/datefudge/datefudge.so
- install -d $(DESTDIR)$(bindir)
-- $(INSTALL_PROGRAM) -o root -g root -m 755 datefudge $(DESTDIR)$(bindir)
-+ $(INSTALL_PROGRAM) -o root -g wheel -m 755 datefudge $(DESTDIR)$(bindir)
- install -d $(DESTDIR)$(mandir)/man1
-- install -o root -g root -m 644 datefudge.1 $(DESTDIR)$(mandir)/man1
-+ install -o root -g wheel -m 644 datefudge.1 $(DESTDIR)$(mandir)/man1
-
- datefudge: datefudge.sh
- datefudge.1: datefudge.man
-@@ -34,7 +34,7 @@ datefudge datefudge.1:
- < $< > $@
-
- datefudge.so: datefudge.o
-- $(CC) $(LDFLAGS) -o $@ -shared $< -ldl -lc
-+ $(CC) $(LDFLAGS) -o $@ -shared $< -lc
-
- datefudge.o: datefudge.c
- $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
-@@ -48,8 +48,8 @@ test: compile
- export TZ=UTC ;\
- ret1=1; ret2=1 ;\
- for i in 1 2; do \
-- export DATEFUDGE=`LC_ALL=C date --date='yesterday 0:00' +%s` ;\
-- dt=`LC_ALL=C LD_PRELOAD=$(CURDIR)/datefudge.so date --date=12:15 +%F.%T` ;\
-+ export DATEFUDGE=`LC_ALL=C date -v-1d -v0H -v0M +%s` ;\
-+ dt=`LC_ALL=C LD_PRELOAD=$(CURDIR)/datefudge.so date -v12H -v15M +%F.%T` ;\
- exp="1970-01-02.12:15:00" ;\
- [ "$$dt" != "$$exp" ] || { echo "OK"; ret1=0; break; } ;\
- echo "failed: expected: $$exp, actual: $$dt" ;\
-@@ -58,7 +58,7 @@ test: compile
- echo -n "Running a simple perl localtime() test... " ;\
- pscr='@t=localtime(time);$$t[5]+=1900;$$t[4]++;printf "%04d-%02d-%02d\n",$$t[5],$$t[4],$$t[3];';\
- for i in 1 2; do \
-- export DATEFUDGE=`LC_ALL=C date --date='yesterday 0:00' +%s` ;\
-+ export DATEFUDGE=`LC_ALL=C date -v-1d -v0H -v0M +%s` ;\
- dt=`LD_PRELOAD=$(CURDIR)/datefudge.so perl -e "$$pscr"` ;\
- exp="1970-01-02" ;\
- [ "$$dt" != "$$exp" ] || { echo "OK"; ret2=0; break; } ;\
---
-2.16.4
-
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-11 11:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-11 11:36 [gentoo-commits] repo/gentoo:master commit in: app-misc/datefudge/, app-misc/datefudge/files/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2020-03-21 10:12 Mikle Kolyada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox