diff options
author | Julian Ospald <hasufell@gentoo.org> | 2012-12-26 20:38:32 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2012-12-26 20:38:32 +0000 |
commit | d5a7d757617b35027e901d2797290bfaa81a53db (patch) | |
tree | 6a91c2732ec46225bde247d72b2c65fa380a218f /app-admin/verynice | |
parent | Initial import. Dependency for forthcoming dev-ruby/rails:4. (diff) | |
download | historical-d5a7d757617b35027e901d2797290bfaa81a53db.tar.gz historical-d5a7d757617b35027e901d2797290bfaa81a53db.tar.bz2 historical-d5a7d757617b35027e901d2797290bfaa81a53db.zip |
fix stuff!
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'app-admin/verynice')
-rw-r--r-- | app-admin/verynice/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/verynice/Manifest | 18 | ||||
-rw-r--r-- | app-admin/verynice/files/verynice-1.1-build.patch | 73 | ||||
-rw-r--r-- | app-admin/verynice/verynice-1.1-r1.ebuild | 32 |
4 files changed, 122 insertions, 9 deletions
diff --git a/app-admin/verynice/ChangeLog b/app-admin/verynice/ChangeLog index fdff08d90340..ff05069e302b 100644 --- a/app-admin/verynice/ChangeLog +++ b/app-admin/verynice/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/verynice # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/ChangeLog,v 1.18 2012/12/26 19:40:58 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/ChangeLog,v 1.19 2012/12/26 20:38:24 hasufell Exp $ + +*verynice-1.1-r1 (26 Dec 2012) + + 26 Dec 2012; Julian Ospald <hasufell@gentoo.org> +verynice-1.1-r1.ebuild, + +files/verynice-1.1-build.patch: + fix stuff! 26 Dec 2012; Julian Ospald <hasufell@gentoo.org> metadata.xml: GRAB IT! GRAB IT! diff --git a/app-admin/verynice/Manifest b/app-admin/verynice/Manifest index 4efd070ce9fb..4177097cccca 100644 --- a/app-admin/verynice/Manifest +++ b/app-admin/verynice/Manifest @@ -2,18 +2,20 @@ Hash: SHA256 AUX verynice 482 SHA256 41f9470919f2e30dd23e01b6af2f2027f018e827568c7ed3c83336076056ed3a SHA512 37b45f4f031d29400aa5c09b8f15e47a5cd4cd47d958e4f3f46d8764a96cb2cb6b2cf5b779f0b90cbaee0bd7dd907fcdce89651dcdf5731d36fa5b40bb163941 WHIRLPOOL e95ae80f659ab37a0bc5f720fd5609f3bb24db54fabd1e33e917808c2c13cef0f7f005a89b39c3c4d51cea5373085bbe32a066675fbceeee4a24c90a397535cd +AUX verynice-1.1-build.patch 2525 SHA256 672c404f155a8be7e0ffa91997f25d2a13d16475a4c5821fead89108d3dd82c4 SHA512 8421776550e74a0d409cc3a02e65e96a047571abf0a7d5f0f1c97217978a150711bb7dd68b77abac044b4b7844970bed969151b166f91da20cd36c2c491bdee6 WHIRLPOOL 0bfea97c64dd76096150dc088c70dbf3ed62c25c46447a38aa23d08fcf439813ab04eccbed98daa4178659b6fa1184755bd9c238ea3f3a8d0968af658ba059a8 DIST verynice-1.1.tar.gz 37576 SHA256 5830fd4ac14ba3677e49159adbb7cd61e3d42d1f0b9aa73e4ed0aa154af6cd8d SHA512 731fa22162bb4f48b943839ccf8ccdc769587e323da11e4a77ad14539a724ffbb89e5f4122e1ab36df3306c507afc958d1125160d34d9cbf55df4dc69e4a0139 WHIRLPOOL ed1b7790aa333497e869830b2aacc3fa2289864e363bef3362ffee115c8afa0eb36b8cc29f255d87b929bb3dec3f8d9e839f30668c4572bccfdfb61f95da07c3 +EBUILD verynice-1.1-r1.ebuild 802 SHA256 aa0054008a54805c4e5ffcefcea3b578c541501f063be525e75fc4a58800f16e SHA512 59a427f5c48c7069354c00f981c453b716e30ebd7af9a2570bdab5208d1e28416f39492c327ceaad366f559f1ae7e0195fb807491ca29d7bd24c454b10da54a7 WHIRLPOOL 6e477e49f0a829f3d73d2f11bea7436c518c211a10044681eb3d9886bd931c1c351f9c27a7891aad9ad2dbb935a6f7f61088893cdc87827eec351c1c5048c3a3 EBUILD verynice-1.1.ebuild 1179 SHA256 4f7e402c954f441f235c7658b88ead07ec88b5682cd3d90a4f4c7084380fbf08 SHA512 eb8da360b867c27445e0035ff86428531714f0834448270509563c7a29c7e8d3e0d4fbfe25b31202960b2001faf07f57424d5e3ca5c1e8e4d9bb36c6b116e479 WHIRLPOOL 098cf696a304cd5c638d5ed087b1d7ab066d1ce3132181c3808aedf38484fd88dd4f2680f9d7f3804b4dc083cee87fd6e8f8f0000d2814b840ec26b86c2b9bc9 -MISC ChangeLog 2086 SHA256 b6038637f186426f491fdde050dc78f688e6087a0b485d98c444ec2618a5f988 SHA512 c120fa51fbc7d3763664eee5ef208f063a4fa60bccf71352e120af8215f92a98c102b43e4714a024ddb1d358b3a5bb136185f90baf1b540b2f7d1b8f1d106a8b WHIRLPOOL 4a0e5da45bf257294e06e8fe299467f5a84d6d8c95286f419b8145800ca045c4c65dc7245f899c3d2bbac586e7f8c021cdb2de1d49e304fa8d8d02c4e18b9b4a +MISC ChangeLog 2243 SHA256 a6a0b9a46b1173f74ea1f705e4b249e15d4edc6f3ee8def2f90f406208cbe02c SHA512 09cc6a5761255323b67bf9f29526a458a7bad967f2519d6e192858c8b26a8d25eb762aa4b8aeacafc08dd1e422336e4be4aa499613e477bf566de124eadacf12 WHIRLPOOL 9efe8dbc648215823d252811f1076e3a95ca58dbb9f4dddf18f68c11102c7f104c697fb655d94f20572a66bd1b513200884c9f8e2e3199793272345d10a39174 MISC metadata.xml 356 SHA256 6e8d66dd876aee03ea5a74b1b9d2cc15c528ff95b2b534719ea11fc8232cc86c SHA512 254c087a67c211201643cd084c6bf4391608e6d56ed06a2dbd58eee68408f8e0a8673bfa9a960652bd83372c2fc9457829f1c5b45d684b05d527cf8535421067 WHIRLPOOL afd49131b1444bf7225d09d842ed0995b885fab62970bbd8143f930fb9298d24a21dd7273abb6fc614653c5f3f397e15471a44a81704c51d0d045690ec96e278 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBCAAGBQJQ21LNAAoJEFpvPKfnPDWzbFcH/1jpNFsnSkhb2rQr4UGjIxkS -0NlEvASM8vqETl59x/iiWMcQodu3Bcb5yvCxWjbpwcvA+EWuVTkIgddQH9kHcPSE -TfRL3+M9DDOd/1mjDlPmVr07qsYLzU3xGZX/txCMSf19c9lW9njbDp5wt4D6kKVo -94dUqr6YZiUW1P7T4BI1/q2/G4WhryL8FXJprP5fPlBIJJE4/eBkgDuKAsUEQIz2 -LaHFjhkS1GLSWKzhlcKgC9hdnNK5addCwIVrbQW6oDxI8TGpzckJnjDYB2ABsItq -XFtAWAeVoS+JYklX8Booxfux+d71Nbg6KAaWMrsz2H3M+h87JZGGMXxVVNCbzh8= -=jeVN +iQEcBAEBCAAGBQJQ22BIAAoJEFpvPKfnPDWz+wYH/jbrG/RfwvtFTFapBwbZeRYI +tCHvi4CpF5AOWsunkNmkB1pJvTKaTgqkvSGExyYZoC5TWIs3MG2VYsGlyKsyViSz +HIbKT34dJ5Scx8FycKxLkM7JJiMe0qWM7eE6WKmuRqBGxb/61vqoX5Rha6+rb3P6 +04HfbUU69YjurpRWimJ6TNWHfwkC2RCAM/K9BcRvd3CucQlfKrPFe6xWa9waFLmq +eKfZSSyb+sAUkwVk8ZHNdDJEVf0y/bunjYUJ47HLuDKedY1+8ips1T5XTW8nHgo0 +Oz0bfvs19CVEQBWvEcoRRKurwxohpNzcUJbLlXENN1sgqy8RBrN8qsJfvTNi5LE= +=W2zQ -----END PGP SIGNATURE----- diff --git a/app-admin/verynice/files/verynice-1.1-build.patch b/app-admin/verynice/files/verynice-1.1-build.patch new file mode 100644 index 000000000000..a70202b99300 --- /dev/null +++ b/app-admin/verynice/files/verynice-1.1-build.patch @@ -0,0 +1,73 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Wed Dec 26 19:46:44 UTC 2012 +Subject: build system + +respect flags, add LDFLAGS to linker line +fix install rules + +--- Makefile ++++ Makefile +@@ -15,13 +15,15 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +-CC = gcc ++CC ?= gcc + + + RPM_BUILD_ROOT= + + # PREFIX is usually either /usr or /usr/local + PREFIX=/usr/local ++BINDIR=$(PREFIX)/sbin ++ETCDIR=/etc + TARGET=linux + + +@@ -32,8 +34,8 @@ + VERSION=1.1 + + #CFLAGS= -I../include/ -O3 -Wimplicit +-CFLAGS= -I../include/ -g -Wimplicit -DPREFIX=\"$(PREFIX)\" -DTARGET_$(TARGET) -DVERSION=\"$(VERSION)\" +-LINK = gcc ++CFLAGS += -Wimplicit ++CPPFLAGS = -I../include/ -DPREFIX=\"$(PREFIX)\" -DTARGET_$(TARGET) -DVERSION=\"$(VERSION)\" + AG = /home3/sdh4/anagram/ag_unix_dev/ag + + +@@ -55,20 +57,15 @@ + (cd .. ; tar cvzf verynice-$(VERSION).tar.gz verynice/ ) + + install: +- $(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/sbin +- $(INSTALL) verynice $(RPM_BUILD_ROOT)$(PREFIX)/sbin +- if [ $(PREFIX) = "/usr" ]; then \ +- mv -f $(RPM_BUILD_ROOT)/etc/verynice.conf $(RPM_BUILD_ROOT)/etc/verynice.conf~ ; \ +- $(INSTALL) verynice.conf $(RPM_BUILD_ROOT)/etc ; \ +- else \ +- $(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/etc ; \ +- mv -f $(RPM_BUILD_ROOT)$(PREFIX)/etc/verynice.conf $(RPM_BUILD_ROOT)$(PREFIX)/etc/verynice.conf~ ; \ +- $(INSTALL) -m 644 verynice.conf $(RPM_BUILD_ROOT)$(PREFIX)/etc ; \ +- fi ++ $(INSTALL) -d $(RPM_BUILD_ROOT)$(BINDIR) ++ $(INSTALL) verynice $(RPM_BUILD_ROOT)$(BINDIR) ++ $(INSTALL) -d $(RPM_BUILD_ROOT)$(ETCDIR) ++ $(INSTALL) -m 644 verynice.conf $(RPM_BUILD_ROOT)$(ETCDIR) + $(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/share + $(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/share/doc + $(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION) +- $(INSTALL) -m 644 verynice.html $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION) ++ $(INSTALL) -d $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION)/html ++ $(INSTALL) -m 644 verynice.html $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION)/html + $(INSTALL) -m 644 README $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION) + $(INSTALL) -m 644 README.SYN $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION) + $(INSTALL) -m 644 COPYING $(RPM_BUILD_ROOT)$(PREFIX)/share/doc/verynice-$(VERSION) +@@ -95,7 +92,7 @@ + $(AG) $* + + verynice: verynice.o config.o linklist.o stringstack.o +- $(LINK) -g -o $@ $^ -lm ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ -lm + + + diff --git a/app-admin/verynice/verynice-1.1-r1.ebuild b/app-admin/verynice/verynice-1.1-r1.ebuild new file mode 100644 index 000000000000..43a5204dcc45 --- /dev/null +++ b/app-admin/verynice/verynice-1.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/verynice-1.1-r1.ebuild,v 1.1 2012/12/26 20:38:24 hasufell Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="A tool for dynamically adjusting the nice-level of processes" +HOMEPAGE="http://thermal.cnde.iastate.edu/~sdh4/verynice/" +SRC_URI="http://thermal.cnde.iastate.edu/~sdh4/verynice/down/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + tc-export CC + emake RPM_BUILD_ROOT="${D}" PREFIX=/usr +} + +src_install(){ + emake RPM_BUILD_ROOT="${D}" PREFIX=/usr VERSION=${PVR} install + doinitd "${FILESDIR}"/verynice +} |