summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2011-01-10 15:09:40 +0100
committerSebastian Pipping <sebastian@pipping.org>2011-01-10 15:09:40 +0100
commite24bfcd41d13c5135dcba8904423982b92e417bd (patch)
tree42c66d917fd5a9569201d56a254042648cbdd38d /app-misc/memlockd
parentgames-action/supertuxkart-speedhack: 0.6.2, copied from main tree (diff)
downloadbetagarden-e24bfcd41d13c5135dcba8904423982b92e417bd.tar.gz
betagarden-e24bfcd41d13c5135dcba8904423982b92e417bd.tar.bz2
betagarden-e24bfcd41d13c5135dcba8904423982b92e417bd.zip
app-misc/memlockd: 0.05
Diffstat (limited to 'app-misc/memlockd')
-rw-r--r--app-misc/memlockd/ChangeLog10
-rw-r--r--app-misc/memlockd/Manifest5
-rw-r--r--app-misc/memlockd/files/memlockd-0.05-compile-flags.patch11
-rw-r--r--app-misc/memlockd/memlockd-0.05.ebuild32
-rw-r--r--app-misc/memlockd/metadata.xml9
5 files changed, 67 insertions, 0 deletions
diff --git a/app-misc/memlockd/ChangeLog b/app-misc/memlockd/ChangeLog
new file mode 100644
index 0000000..10fe3a2
--- /dev/null
+++ b/app-misc/memlockd/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-misc/memlockd
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*memlockd-0.05 (10 Jan 2011)
+
+ 10 Jan 2011; Sebastian Pipping <sping@gentoo.org> +memlockd-0.05.ebuild,
+ +files/memlockd-0.05-compile-flags.patch, +metadata.xml:
+ New package
+
diff --git a/app-misc/memlockd/Manifest b/app-misc/memlockd/Manifest
new file mode 100644
index 0000000..cb44ba4
--- /dev/null
+++ b/app-misc/memlockd/Manifest
@@ -0,0 +1,5 @@
+AUX memlockd-0.05-compile-flags.patch 281 RMD160 c4b60633d321af6bf9e5468e6f65faa26d2a71b1 SHA1 58b0e842e013f217e096f547ea1defed20247a3f SHA256 d35a08bf264a04e156cdb33775eec3c8945cea6a642713b1a4173fe3528593b0
+DIST memlockd_0.05.tar.gz 7973 RMD160 e9fe05c346d3afa90c9736a854b990f50ce5addb SHA1 491d093afe7131eba2301fa1eeb580e611822f9e SHA256 25c48806d4e517cd9c64485330b02d23e596ba74b8318743118ce338c0c0b46f
+EBUILD memlockd-0.05.ebuild 680 RMD160 c1fc0236437d5aa03ed9049ecc281e5d3a600464 SHA1 e100b6084cdb0a7a211dddb0080ff23cb1479876 SHA256 1bf477bd620c02533f0358f848b641a924ed338004da0c5ee39b91bb6f592375
+MISC ChangeLog 297 RMD160 9bc6b95c7a82aa8cba710c1248e16b6d7ecf35e2 SHA1 23333c2616f21b0164b17b82914010a719e6878a SHA256 749237099dceac2f753e97987cd6175b7080e6ecad5a2a3160affa1161ca1b7e
+MISC metadata.xml 257 RMD160 04e4c6e678ba8e8ffde93f57d06a40b60f9eaa69 SHA1 e3c39bf9a25beebbe626726bb94f6e22db4fa06d SHA256 b4a209de2bfbbcc5ceab61bf458a1ee79da4c60a30e4aabf54b76e9709b56db8
diff --git a/app-misc/memlockd/files/memlockd-0.05-compile-flags.patch b/app-misc/memlockd/files/memlockd-0.05-compile-flags.patch
new file mode 100644
index 0000000..3e09685
--- /dev/null
+++ b/app-misc/memlockd/files/memlockd-0.05-compile-flags.patch
@@ -0,0 +1,11 @@
+--- Makefile 2011-01-10 14:40:23.200048888 +0100
++++ Makefile 2011-01-10 14:41:46.032647208 +0100
+@@ -5,7 +5,7 @@
+
+
+ memlockd: memlockd.cpp
+- g++ -O2 memlockd.cpp -o memlockd $(WFLAGS)
++ $(CXX) $(WFLAGS) $(CXXFLAGS) $(LDFLAGS) memlockd.cpp -o memlockd
+
+ clean:
+ rm -f memlockd
diff --git a/app-misc/memlockd/memlockd-0.05.ebuild b/app-misc/memlockd/memlockd-0.05.ebuild
new file mode 100644
index 0000000..a91da45
--- /dev/null
+++ b/app-misc/memlockd/memlockd-0.05.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit base
+
+DESCRIPTION="Daemon that locks files into memory"
+HOMEPAGE="http://doc.coker.com.au/projects/memlockd/"
+SRC_URI="http://www.coker.com.au/${PN}/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2" # source: debian/copyright
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+PATCHES=( "${FILESDIR}"/${P}-compile-flags.patch )
+
+src_install() {
+ doman memlockd.8 || die
+ newdoc changes.txt ChangeLog || die
+
+ # TODO: adjust default config to Gentoo
+ insinto /etc/
+ doins memlockd.cfg || die
+
+ dosbin memlockd || die
+
+ # TODO: add custom init script
+}
diff --git a/app-misc/memlockd/metadata.xml b/app-misc/memlockd/metadata.xml
new file mode 100644
index 0000000..328fbd1
--- /dev/null
+++ b/app-misc/memlockd/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+</pkgmetadata>