From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-misc/pps-tools/Manifest | 7 +++ .../files/pps-tools-0.0.20120407-build.patch | 53 ++++++++++++++++++++++ .../files/pps-tools-0.0.20120407-install.patch | 28 ++++++++++++ net-misc/pps-tools/metadata.xml | 11 +++++ net-misc/pps-tools/pps-tools-0.0.20120407.ebuild | 26 +++++++++++ 5 files changed, 125 insertions(+) create mode 100644 net-misc/pps-tools/Manifest create mode 100644 net-misc/pps-tools/files/pps-tools-0.0.20120407-build.patch create mode 100644 net-misc/pps-tools/files/pps-tools-0.0.20120407-install.patch create mode 100644 net-misc/pps-tools/metadata.xml create mode 100644 net-misc/pps-tools/pps-tools-0.0.20120407.ebuild (limited to 'net-misc/pps-tools') diff --git a/net-misc/pps-tools/Manifest b/net-misc/pps-tools/Manifest new file mode 100644 index 000000000000..014544edf24c --- /dev/null +++ b/net-misc/pps-tools/Manifest @@ -0,0 +1,7 @@ +AUX pps-tools-0.0.20120407-build.patch 1268 SHA256 825557e79c640edcf92e35986e51c74b609f549b08d9fd4b22c56e262c5ecb23 SHA512 942f1a94e4f0811a82e7b15905c84050e9990266690bb26f4145ecd5c29a9804dd5917158f925cf0df3908f3d2eee67c7df6daef32e745cec574f9169c6f0818 WHIRLPOOL 5e2d560e7477be1fa63a22ccf463907725f37c5b156e31064a18c21fe38ad7b949def508731ec6408acd4f5ebec9c608443facee4c54c62270ecc1589d9a75d8 +AUX pps-tools-0.0.20120407-install.patch 740 SHA256 95e567de9cc958dcd8b926d91bb35ae5989685593dfd288a973101edb990a8aa SHA512 0f08cd8018ec279751d297c0392bb685488e44aea0b03f754e7f81cc020a5d8872b4aad362c59eebe857a3ea0127827a66567f70f269fcbd0961fb4fe284dce2 WHIRLPOOL be1264b5d2f43f33b1537606526c06a7d1993e361ac38bc9ac7f0e3794b8bd5e3a87b873428411c3924b46731f02f515cbf662a1c73e05272403880651d168b4 +DIST pps-tools-git-0.0.20120407.tar.gz 13619 SHA256 eb020d40a3938546620889bb6ecdeead2c188e87ffd43c3ae04a41e5998e7997 SHA512 d2014262b0594959f337c25df859591d0737994decec663389392d3c7e53376ded2485713f6364c4833d8d7c40b4b0c3b88865ab85e481bcc2e81e35931d84de WHIRLPOOL 03ff250da63ff2ca2f9111b8207608e0e989c376a5af51b919d4fb8889936e00db2b15d14309dda68e92e13c7478f81e5a2d72544eefa73eb93287dd0396fc14 +EBUILD pps-tools-0.0.20120407.ebuild 662 SHA256 a3af0baf7feb85ed8f700d2fe598901df81bb5db55b27038f3a1753b832b99ab SHA512 0e13fdd0be326f43b216075377e29bd1c9cf99ba940733e04a0b52f575820f19144e5480b9e4702196657b21a8befe9ed437f43bce4ecea1f96353267c7433a4 WHIRLPOOL 8b929c4b5e195aa18ec03c38d7247cbe8b412d2b37d31be645fa08c62322a083f13039acf04e7cd76671db4c089cf91a6e41a882a6e711c161c5bb64a0559605 +MISC ChangeLog 3418 SHA256 4524cb154ade79fdeea9223c9a86edaf25f4a8b2b3e726be3c77c9051957732a SHA512 9cdf52965e2fa0943dabbc69e298df089b9d88a46ef0ea101d511ce16b7880e646fa83f659debcbe4de72902f0c4da9627a8f6dc85172eea0676ed82dc3d8cf7 WHIRLPOOL 5b62242024470b157e55a233a2b22b053d94b8b1e2d6e6fe430b5fd4452ccf4f53e391b24990ef76d27ee5095571188732731bcd408e126f3661134145519dd0 +MISC ChangeLog-2015 1273 SHA256 1690d73a6fc856daa756ef6edd964d0c05e50000287c353e4528c73b39cccdaf SHA512 df57b5b31c187d47531afea58db95659705d227f9d0605478050e919c5446304693bcc9069bb5195ef0461210e547d9758508905036a5c106768703cf64179e8 WHIRLPOOL 9133660f5baa5b40c9bcab0cecfd790ce78ae9efbbb1155aa970091abb8d5e660ed8ed5144c74ebcacd84d323cbc627af673f2be1d0088f2fe57cdb45a3503f0 +MISC metadata.xml 345 SHA256 6420fa692cd0acfc0c009ea153ef2d05dff469420f95ebb1ecd8c40751c2adfc SHA512 cd79fd584727403db3f11615834967c49fd5bfb191ef1eb347ac6908db75f34358d0a8480e749bfc7c0ab7e0a4dc4afc7ccdac65c624c249ed95faf40a06878b WHIRLPOOL 1d2a202c7eebdd3ac95bf261e2eb303e24ac90e52b05e0cfc43960bb1e19166ab9c238752fb9faebb1c3b0dae42669b56312de64d687a7a7a85dca3ebfa15e67 diff --git a/net-misc/pps-tools/files/pps-tools-0.0.20120407-build.patch b/net-misc/pps-tools/files/pps-tools-0.0.20120407-build.patch new file mode 100644 index 000000000000..5a27bb65184b --- /dev/null +++ b/net-misc/pps-tools/files/pps-tools-0.0.20120407-build.patch @@ -0,0 +1,53 @@ +From f4133df52856adfe9ffa2152f0e449f2f8adb49d Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Sat, 18 Aug 2012 17:04:43 -0400 +Subject: [PATCH] fix up makefile + +Make sure we respect CFLAGS/CPPFLAGS properly. + +Also fix up the depend include so we get reproducible behavior -- +the depend file is generated & included first, and we don't get +weird behavior when we run: + git clean -x -d + make + make + +Signed-off-by: Mike Frysinger +--- + Makefile | 13 +++++-------- + 1 file changed, 5 insertions(+), 8 deletions(-) + +diff --git a/Makefile b/Makefile +index 0fb84b4..a07156f 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,9 +1,8 @@ + TARGETS = ppstest ppsctl ppswatch + +-CFLAGS += -Wall -O2 -D_GNU_SOURCE +-CFLAGS += -I . +-CFLAGS += -ggdb +-CFLAGS += -D__N_PPS=18 ++CFLAGS ?= -O2 -ggdb ++CFLAGS += -Wall ++CPPFLAGS += -D_GNU_SOURCE -I. -D__N_PPS=18 + + # -- Actions section -- + +@@ -12,11 +11,9 @@ CFLAGS += -D__N_PPS=18 + all : .depend $(TARGETS) + + .depend depend dep : +- $(CC) $(CFLAGS) -M $(TARGETS:=.c) > .depend ++ $(CC) $(CPPFLAGS) $(CFLAGS) -M $(TARGETS:=.c) > .depend + +-ifeq (.depend,$(wildcard .depend)) +-include .depend +-endif ++-include .depend + + install : all + install -m 755 -t $(DESTDIR)/usr/bin ppsfind $(TARGETS) +-- +1.7.9.7 + diff --git a/net-misc/pps-tools/files/pps-tools-0.0.20120407-install.patch b/net-misc/pps-tools/files/pps-tools-0.0.20120407-install.patch new file mode 100644 index 000000000000..e268d6622a94 --- /dev/null +++ b/net-misc/pps-tools/files/pps-tools-0.0.20120407-install.patch @@ -0,0 +1,28 @@ +From 0b3a849153ffb42fb22fe42dc2b9e59ca23cec8c Mon Sep 17 00:00:00 2001 +From: Mike Frysinger +Date: Sat, 18 Aug 2012 17:15:19 -0400 +Subject: [PATCH] fix DESTDIR installs + +Make sure the dirs we install into exist first: + make install DESTDIR=$PWD/foo + +Signed-off-by: Mike Frysinger +--- + Makefile | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Makefile b/Makefile +index a07156f..bebcce7 100644 +--- a/Makefile ++++ b/Makefile +@@ -16,6 +16,7 @@ all : .depend $(TARGETS) + -include .depend + + install : all ++ mkdir -p -m 755 $(DESTDIR)/usr/bin $(DESTDIR)/usr/include/sys + install -m 755 -t $(DESTDIR)/usr/bin ppsfind $(TARGETS) + install -m 644 -t $(DESTDIR)/usr/include/sys timepps.h + +-- +1.7.9.7 + diff --git a/net-misc/pps-tools/metadata.xml b/net-misc/pps-tools/metadata.xml new file mode 100644 index 000000000000..53886946600b --- /dev/null +++ b/net-misc/pps-tools/metadata.xml @@ -0,0 +1,11 @@ + + + + + base-system@gentoo.org + Gentoo Base System + + + ago/pps-tools + + diff --git a/net-misc/pps-tools/pps-tools-0.0.20120407.ebuild b/net-misc/pps-tools/pps-tools-0.0.20120407.ebuild new file mode 100644 index 000000000000..1129176e3db8 --- /dev/null +++ b/net-misc/pps-tools/pps-tools-0.0.20120407.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils + +GITHUB_USER="ago" +PV_COMMIT='0deb9c7e135e9380a6d09e9d2e938a146bb698c8' + +DESCRIPTION="User-space tools for LinuxPPS" +HOMEPAGE="http://wiki.enneenne.com/index.php/LinuxPPS_installation" +SRC_URI="https://github.com/${GITHUB_USER}/${PN}/tarball/${PV_COMMIT} -> ${PN}-git-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ppc ppc64 x86" +IUSE="" + +S="${WORKDIR}/${GITHUB_USER}-${PN}-${PV_COMMIT:0:7}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch + epatch "${FILESDIR}"/${P}-install.patch + tc-export CC +} -- cgit v1.2.3