Initial import.
authorTim Harder <radhermit@gentoo.org>
Sat, 15 Oct 2011 06:50:16 +0000 (06:50 +0000)
committerTim Harder <radhermit@gentoo.org>
Sat, 15 Oct 2011 06:50:16 +0000 (06:50 +0000)
Package-Manager: portage-2.2.0_alpha66/cvs/Linux x86_64

app-misc/dateutils/ChangeLog [new file with mode: 0644]
app-misc/dateutils/Manifest [new file with mode: 0644]
app-misc/dateutils/dateutils-0.1.5_rc2.ebuild [new file with mode: 0644]
app-misc/dateutils/files/dateutils-0.1.5_rc2-header.patch [new file with mode: 0644]
app-misc/dateutils/metadata.xml [new file with mode: 0644]

diff --git a/app-misc/dateutils/ChangeLog b/app-misc/dateutils/ChangeLog
new file mode 100644 (file)
index 0000000..c20316e
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for app-misc/dateutils
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dateutils/ChangeLog,v 1.1 2011/10/15 06:50:16 radhermit Exp $
+
+*dateutils-0.1.5_rc2 (15 Oct 2011)
+
+  15 Oct 2011; Tim Harder <radhermit@gentoo.org> +dateutils-0.1.5_rc2.ebuild,
+  +files/dateutils-0.1.5_rc2-header.patch, +metadata.xml:
+  Initial import.
+
diff --git a/app-misc/dateutils/Manifest b/app-misc/dateutils/Manifest
new file mode 100644 (file)
index 0000000..6e9345f
--- /dev/null
@@ -0,0 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
+AUX dateutils-0.1.5_rc2-header.patch 298 RMD160 ad71c5928379adf0f3f85b83ba46ed0a23178274 SHA1 640b4b5aaef66e9fdd5cde9dbbf1f596336d8e4f SHA256 350fc2a657f7ed273b9445cb317419a7323b233c2a9d341c3995138cfe484529
+DIST dateutils-0.1.5rc2.tar.xz 204888 RMD160 b709925474e3c84d347b33a9237c1d276c3a0beb SHA1 5b2d526579a8d58075e118f3c90c50c4e847c16c SHA256 99a0003e7c60d2bf587c965b5dd5149edea48feae49d0100401264218d353d1b
+EBUILD dateutils-0.1.5_rc2.ebuild 641 RMD160 c3fe50009d5fcc7c689a6a31dc051e723fcc06a6 SHA1 620685b3d8e5981a9125e9ecabdf430370f5b81e SHA256 9da6b65de8169473ff7ea6ff77f5c34d07869a9ade3e6245baa1a2b48ce12811
+MISC ChangeLog 403 RMD160 bd249ce7a795012405478b4630cbeb39ab941285 SHA1 af748f13e62b729864737dda94663aec308dcec7 SHA256 b3ad369ff27fafcadc38c202b0eb3ac26796b2e8fdad9f03480630ead7c6ed0a
+MISC metadata.xml 232 RMD160 9725fc18735b1d8d4079f25759ee0823a0c6795d SHA1 ec75efe30e67f74a4f315324afc75ed2a8d30bb4 SHA256 a778e40f66cb2fa35529e4f45cb8356c8b1b109163cd939396f02e8ea6aa5f1a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iQEcBAEBCgAGBQJOmS0yAAoJEEqz6FtPBkyjYaAH/3wBTcO6HokwJGcak4dNXJE7
+Ii2C2r23hd32zQxjStsLghjLOfcEZGc4DB76T0xEwqWZdd0vIKsY/ns/nwZtJceV
+wbApSLzq+3F2Tsk8rSimOVVDgDm8wOPCG9ZSmpEjjzoNJYsSHQJZ5Ix16rsfugwD
+8xj/WP0mNKtUXJAg0H/s3uR2jpTLNMHZoJO/HQHfqYzTYCnws3NKRqIIH6Umfhoz
+rI6i4b6EYgmfH8rAcGZUakYebJ4TWHCmbnMI9Z7drg1/DIHG0311K4SO25VyhzEW
+zKRcm6sSGO/KMFhzh0/DvwvFUGCQ0TRdaV0kNEPiIHEJCO8CL1GfLVoiVsLQU1M=
+=/rU/
+-----END PGP SIGNATURE-----
diff --git a/app-misc/dateutils/dateutils-0.1.5_rc2.ebuild b/app-misc/dateutils/dateutils-0.1.5_rc2.ebuild
new file mode 100644 (file)
index 0000000..9fc096a
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/dateutils/dateutils-0.1.5_rc2.ebuild,v 1.1 2011/10/15 06:50:16 radhermit Exp $
+
+EAPI="4"
+
+inherit eutils
+
+MY_P="${P/_/}"
+DESCRIPTION="Command line date and time utilities"
+HOMEPAGE="http://hroptatyr.github.com/dateutils/"
+SRC_URI="mirror://github/hroptatyr/${PN}/${MY_P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/xz-utils"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-header.patch
+}
+
+src_compile() {
+       emake CFLAGS="${CFLAGS}"
+}
diff --git a/app-misc/dateutils/files/dateutils-0.1.5_rc2-header.patch b/app-misc/dateutils/files/dateutils-0.1.5_rc2-header.patch
new file mode 100644 (file)
index 0000000..0593d27
--- /dev/null
@@ -0,0 +1,12 @@
+Fix for QA warning: implicit declaration of function 'gettimeofday'
+
+--- dateutils-0.1.5rc2/lib/time-core.c.orig
++++ dateutils-0.1.5rc2/lib/time-core.c
+@@ -42,6 +42,7 @@
+ #include <stdio.h>
+ #include <stdbool.h>
+ #include <time.h>
++#include <sys/time.h>
+ #include "strops.h"
+ #if !defined LIKELY
diff --git a/app-misc/dateutils/metadata.xml b/app-misc/dateutils/metadata.xml
new file mode 100644 (file)
index 0000000..157326a
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer>
+               <email>radhermit@gentoo.org</email>
+               <name>Tim Harder</name>
+       </maintainer>
+</pkgmetadata>