diff options
author | Jonathan Smith <smithj@gentoo.org> | 2006-10-16 00:12:00 +0000 |
---|---|---|
committer | Jonathan Smith <smithj@gentoo.org> | 2006-10-16 00:12:00 +0000 |
commit | f9234c408737c8a45bd283eb616170af1113dc94 (patch) | |
tree | 57634ecab0a06932b92a2940ac51eb264a34f2bc /app-admin | |
parent | Fix nsplugin flag (bug #147280) (diff) | |
download | historical-f9234c408737c8a45bd283eb616170af1113dc94.tar.gz historical-f9234c408737c8a45bd283eb616170af1113dc94.tar.bz2 historical-f9234c408737c8a45bd283eb616170af1113dc94.zip |
initial version
Package-Manager: portage-2.1.1
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/rmake/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/rmake/Manifest | 20 | ||||
-rw-r--r-- | app-admin/rmake/files/digest-rmake-0.9.6 | 3 | ||||
-rwxr-xr-x | app-admin/rmake/files/rmake | 102 | ||||
-rw-r--r-- | app-admin/rmake/metadata.xml | 7 | ||||
-rw-r--r-- | app-admin/rmake/rmake-0.9.6.ebuild | 43 |
6 files changed, 185 insertions, 0 deletions
diff --git a/app-admin/rmake/ChangeLog b/app-admin/rmake/ChangeLog new file mode 100644 index 000000000000..e93aa12e142c --- /dev/null +++ b/app-admin/rmake/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-admin/rmake +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/rmake/ChangeLog,v 1.1 2006/10/16 00:11:59 smithj Exp $ + +*rmake-0.9.6 (16 Oct 2006) + + 16 Oct 2006; <smithj@gentoo.org> +files/rmake, +metadata.xml, + +rmake-0.9.6.ebuild: + -m initial version + diff --git a/app-admin/rmake/Manifest b/app-admin/rmake/Manifest new file mode 100644 index 000000000000..198d812f8038 --- /dev/null +++ b/app-admin/rmake/Manifest @@ -0,0 +1,20 @@ +AUX rmake 1715 RMD160 7dd65b34579e1bb69a5debd5ae1424b869c6eb46 SHA1 2339c0d68564f488f4d5c5ab837c3c80fa0600df SHA256 b7269fb0e4be3819bd445bb4b975803fbdded54b0fdf236a1338f08e80c4f4bd +MD5 258d73d65e65d5001bf59b04cec38069 files/rmake 1715 +RMD160 7dd65b34579e1bb69a5debd5ae1424b869c6eb46 files/rmake 1715 +SHA256 b7269fb0e4be3819bd445bb4b975803fbdded54b0fdf236a1338f08e80c4f4bd files/rmake 1715 +DIST rmake-0.9.6.tar.bz2 80943 RMD160 51841914fa0fe5eefa4c16263e81a9fcaa67370d SHA1 edf0804922196f68300c2a8319007792d617f7fe SHA256 66f7a3c00affde33b836fef247ad440979062ac38ab775bbf9dd3b23e8e69c44 +EBUILD rmake-0.9.6.ebuild 1115 RMD160 7b2b8fd1cb8600c6e322533053d0c8880181abbf SHA1 aa15b2c3e729f69fef44e0602b0b2117278450b5 SHA256 1d6d7b268abb7886cc0bff45da1557d5f5b08298e75f219fcf27fb642bb27b62 +MD5 6321d790e48f0acd3555eef40461f3e2 rmake-0.9.6.ebuild 1115 +RMD160 7b2b8fd1cb8600c6e322533053d0c8880181abbf rmake-0.9.6.ebuild 1115 +SHA256 1d6d7b268abb7886cc0bff45da1557d5f5b08298e75f219fcf27fb642bb27b62 rmake-0.9.6.ebuild 1115 +MISC ChangeLog 340 RMD160 63142e92d04c501bb522d1e9d9e52881f66fbd62 SHA1 9559a518d87120e170dddad4fe214f155d97874c SHA256 1f0a2ed61b7d03b92f97eb074f3b0550ea52e52ca1a4fea6eba74407db0021a3 +MD5 7949cb3a1b8077562cdb021e4eb57416 ChangeLog 340 +RMD160 63142e92d04c501bb522d1e9d9e52881f66fbd62 ChangeLog 340 +SHA256 1f0a2ed61b7d03b92f97eb074f3b0550ea52e52ca1a4fea6eba74407db0021a3 ChangeLog 340 +MISC metadata.xml 199 RMD160 aaee744c7db89193043ff000736a3c64d0447f62 SHA1 b8078e224df98edc318ce3750a0a5a29e066b23f SHA256 0e5372ed9ee3778180e9e7e7468d1330ba433304fd63c1566b3ed03cc28fe8b1 +MD5 d876cb2a6593b89e19e1110331203d39 metadata.xml 199 +RMD160 aaee744c7db89193043ff000736a3c64d0447f62 metadata.xml 199 +SHA256 0e5372ed9ee3778180e9e7e7468d1330ba433304fd63c1566b3ed03cc28fe8b1 metadata.xml 199 +MD5 499528d1c70ac92300dab8c3a34dcb34 files/digest-rmake-0.9.6 235 +RMD160 e032532addd7c47cee3001f50458d90ea0cb1b81 files/digest-rmake-0.9.6 235 +SHA256 1ba27621a8b1a8fc87bdc1ccf4680ad501d9df1e72362c8092b73dc3bb0898ca files/digest-rmake-0.9.6 235 diff --git a/app-admin/rmake/files/digest-rmake-0.9.6 b/app-admin/rmake/files/digest-rmake-0.9.6 new file mode 100644 index 000000000000..79cd30424b77 --- /dev/null +++ b/app-admin/rmake/files/digest-rmake-0.9.6 @@ -0,0 +1,3 @@ +MD5 2a10db02cc0e8d0c21f4bab0fafff658 rmake-0.9.6.tar.bz2 80943 +RMD160 51841914fa0fe5eefa4c16263e81a9fcaa67370d rmake-0.9.6.tar.bz2 80943 +SHA256 66f7a3c00affde33b836fef247ad440979062ac38ab775bbf9dd3b23e8e69c44 rmake-0.9.6.tar.bz2 80943 diff --git a/app-admin/rmake/files/rmake b/app-admin/rmake/files/rmake new file mode 100755 index 000000000000..2d0f5502f888 --- /dev/null +++ b/app-admin/rmake/files/rmake @@ -0,0 +1,102 @@ +#/sbin/runscript +# +# Copyright (c) 2006 rPath, Inc. +# +# Distributed under the terms of the Common Public License, version 1.0 +# A copy can be found here: http://www.rpath.com/permanent/cpl-license.html +# +# Gentoo Linux style initscript + +if [ -e /etc/sysconfig/rmake ] ; then + . /etc/sysconfig/rmake +fi + +depend() { + use logger +} + +config() { + cd /etc/rmake; + /usr/sbin/rmake-server config + return $? +} + + +start() { + ebegin "Starting rMake Server and Repository:" + cd /etc/rmake; + /usr/sbin/rmake-server start + RETVAL=$? + [ $RETVAL = 0 ] && touch /var/lock/subsys/rmake + eend $RETVAL +} + +startdebug() { + ebegin "Starting rMake Server and Repository in debug mode:" + cd /etc/rmake; + /usr/sbin/rmake-server start -n -d + RETVAL=$? + eend $RETVAL +} + + + +stop() { + ebegin "Shutting down rMake Server and Repository: " + cd /etc/rmake; + /usr/sbin/rmake-server stop + RETVAL=$? + [ $RETVAL = 0 ] && rm -f /var/lock/subsys/rmake + eend $RETVAL +} + +restart() { + stop + start +} + +reset() { + stop + resetinternal || return $? + start || return $? +} + +resetinternal() { + ebegin "Flushing rMake internal repository and database" + cd /etc/rmake; + /usr/sbin/rmake-server reset + RETVAL=$? + eend $RETVAL +} + +RETVAL=0 + +# See how we were called. +case "$1" in + config) + config + ;; + start) + start + ;; + stop) + stop + ;; + debug) + startdebug + ;; + status) + status rmake-server + ;; + restart|reload) + restart + ;; + reset) + reset + ;; + *) + echo "Usage: $0 {start|stop|debug|status|restart|reload|config|reset}" + exit 1 +esac + +exit $? diff --git a/app-admin/rmake/metadata.xml b/app-admin/rmake/metadata.xml new file mode 100644 index 000000000000..12a45338f044 --- /dev/null +++ b/app-admin/rmake/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>smithj@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/app-admin/rmake/rmake-0.9.6.ebuild b/app-admin/rmake/rmake-0.9.6.ebuild new file mode 100644 index 000000000000..9049c94a6b0e --- /dev/null +++ b/app-admin/rmake/rmake-0.9.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 2006-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/rmake/rmake-0.9.6.ebuild,v 1.1 2006/10/16 00:11:59 smithj Exp $ + +inherit eutils + +DESCRIPTION="repository-based build system" +HOMEPAGE="http://wiki.rpath.com/wiki/Conary:About_rMake" +SRC_URI="ftp://download.rpath.com/${PN}/${P}.tar.bz2" + +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="=dev-lang/python-2.4* + sys-libs/libcap + app-admin/conary" + +src_compile() { + emake || die "Make failure" +} + +src_install() { + make DESTDIR=${D} install || die "install failed" + chmod 04755 ${D}/usr/libexec/rmake/chroothelper + for x in ${D}/var/{rmake,{log,lib,run}/rmake} ${D}/{etc,srv}/rmake;do + mkdir -p $x + chown rmake:rmake $x + touch ${x}/.keep + done + chmod 700 ${D}/var/rmake + # replace with updstream-provided in next release... see + # https://issues.rpath.com/browse/RMK-242 + doinitd ${FILESDIR}/rmake +} + +pkg_setup() { + enewgroup rmake + enewgroup rmake-chroot + enewuser rmake -1 -1 /srv/rmake "rmake" + enewuser rmake-chroot -1 -1 / "rmake-chroot" +} |