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 | 1f211e95bd1ec9d1aa92668a3c97c766dfd1fab1 (patch) | |
tree | e617ad4b5600acbbbd1fc0fe71571cc17b3fa9ea /app-admin | |
parent | Fix nsplugin flag (bug #147280) (diff) | |
download | gentoo-2-1f211e95bd1ec9d1aa92668a3c97c766dfd1fab1.tar.gz gentoo-2-1f211e95bd1ec9d1aa92668a3c97c766dfd1fab1.tar.bz2 gentoo-2-1f211e95bd1ec9d1aa92668a3c97c766dfd1fab1.zip |
initial version
(Portage version: 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..b7aafa99808e --- /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 1117 RMD160 628dcacf3aade028488ae2b1e3dea8b461357d2e SHA1 80053081b0fe26ebb83dd21e96c712647d659916 SHA256 0c2d247f0aa360a621badc53421291a9b1b57101e0eedeee089879faa3381e62 +MD5 f7cbed9300ddaeb2610795e5aac27704 rmake-0.9.6.ebuild 1117 +RMD160 628dcacf3aade028488ae2b1e3dea8b461357d2e rmake-0.9.6.ebuild 1117 +SHA256 0c2d247f0aa360a621badc53421291a9b1b57101e0eedeee089879faa3381e62 rmake-0.9.6.ebuild 1117 +MISC ChangeLog 253 RMD160 64e63345cecf577ada4177225afd9c3a1a99b59e SHA1 6da5e11e1f2e1e82d78e714ac55c5951df29b855 SHA256 61ae1c3b3ab5348ad2baef1d259a7485cfaa8034bb8c7223efbbcec4751ebded +MD5 04014863aea7d3fb3ddf82d15a13a751 ChangeLog 253 +RMD160 64e63345cecf577ada4177225afd9c3a1a99b59e ChangeLog 253 +SHA256 61ae1c3b3ab5348ad2baef1d259a7485cfaa8034bb8c7223efbbcec4751ebded ChangeLog 253 +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" +} |