public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-apps/epoch: epoch-1.0_rc1.ebuild ChangeLog metadata.xml epoch-9999.ebuild
@ 2013-12-07 21:15 Tom Wijsman (tomwij)
  0 siblings, 0 replies; only message in thread
From: Tom Wijsman (tomwij) @ 2013-12-07 21:15 UTC (permalink / raw
  To: gentoo-commits

tomwij      13/12/07 21:15:59

  Added:                epoch-1.0_rc1.ebuild ChangeLog metadata.xml
                        epoch-9999.ebuild
  Log:
  New ebuild for sys-apps/epoch; an init system, a /sbin/init replacement; designed for simplicity.
  
  (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)

Revision  Changes    Path
1.1                  sys-apps/epoch/epoch-1.0_rc1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/epoch/epoch-1.0_rc1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/epoch/epoch-1.0_rc1.ebuild?rev=1.1&content-type=text/plain

Index: epoch-1.0_rc1.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/epoch/epoch-1.0_rc1.ebuild,v 1.1 2013/12/07 21:15:59 tomwij Exp $

EAPI="5"

inherit eutils linux-info

MY_PV="${PV/rc/RC}"
MY_P="${PN}-${MY_PV}"

DESCRIPTION="An init system, a /sbin/init replacement; designed for simplicity."
HOMEPAGE="http://universe2.us/epoch.html"
SRC_URI="https://github.com/Subsentient/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64"

S="${WORKDIR}/${MY_P}"

pkg_pretend() {
	local CONFIG_CHECK="~PROC_FS"

	[[ ${MERGE_TYPE} != buildonly ]] && check_extra_config
}

src_prepare() {
	epatch "${FILESDIR}"/${P}-fix-CFLAGS.patch
}

src_compile() {
	NEED_EMPTY_CFLAGS=1 sh ./buildepoch.sh || die "Cannot build epoch."
}

newepochins() {
	local type="$1"

	cd ${type} || die "Cannot change directory."
	for file in * ; do
		if [[ "${file}" != "epoch" ]] ; then
			new${type} ${file} epoch-${file}
		fi
	done
	cd .. || die "Cannot change directory."
}

src_install() {
	cd built || die "Cannot change directory."

	dosbin sbin/epoch

	# For now, rename to epoch-* until we can blend in with a standard approach.
	newepochins bin
	newepochins sbin

	insinto /etc/epoch/
	newins "${FILESDIR}"/${P}-epoch.conf epoch.conf
}

pkg_postinst() {
	elog "Make sure to provide /run and /tmp tmpfs mounts using /etc/fstab."
	elog ""
	elog "An example epoch configuration is provided at /etc/epoch/epoch.conf"
	elog "which starts a minimal needed to use Gentoo."
	elog ""
	elog "Additional information about epoch is available at"
	elog "${HOMEPAGE} and configuration documentation at"
	elog "http://universe2.us/epochconfig.html which is useful reading material."
	elog ""
	elog "Its author Subsentient can be contacted at #epoch on irc.freenode.net."
}



1.1                  sys-apps/epoch/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/epoch/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/epoch/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for sys-apps/epoch
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/epoch/ChangeLog,v 1.1 2013/12/07 21:15:59 tomwij Exp $

*epoch-1.0_rc1 (07 Dec 2013)
*epoch-9999 (07 Dec 2013)

  07 Dec 2013; Tom Wijsman <TomWij@gentoo.org> +epoch-1.0_rc1.ebuild,
  +epoch-9999.ebuild, +files/epoch-1.0_rc1-epoch.conf,
  +files/epoch-1.0_rc1-fix-CFLAGS.patch, +metadata.xml:
  New ebuild for sys-apps/epoch; an init system, a /sbin/init replacement;
  designed for simplicity.



1.1                  sys-apps/epoch/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/epoch/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/epoch/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<maintainer>
		<email>TomWij@gentoo.org</email>
		<name>Tom Wijsman</name>
	</maintainer>
	<longdescription>
		Epoch is an init system (analogous to systemd or upstart)
		for Linux by Subsentient. It is intended as a lightweight
		solution for lightweight distributions
		that don't want a huge mess just to boot up.

		It has one unified configuration file, is very small in size,
		and it has no external dependencies besides glibc or similar,
		and although installing a shell for /bin/sh is strongly recommended.
	</longdescription>
	<upstream>
		<remote-id type="github">Subsentient/epoch</remote-id>
		<doc lang="en">http://universe2.us/epochconfig.html</doc>
		<bugs-to>https://github.com/Subsentient/epoch/issues</bugs-to>
		<changelog>https://github.com/Subsentient/epoch/commits/master</changelog>
	</upstream>
</pkgmetadata>



1.1                  sys-apps/epoch/epoch-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/epoch/epoch-9999.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/epoch/epoch-9999.ebuild?rev=1.1&content-type=text/plain

Index: epoch-9999.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/epoch/epoch-9999.ebuild,v 1.1 2013/12/07 21:15:59 tomwij Exp $

EAPI="5"

inherit eutils linux-info git-r3

MY_PV="${PV/rc/RC}"
MY_P="${PN}-${MY_PV}"

DESCRIPTION="An init system, a /sbin/init replacement; designed for simplicity."
HOMEPAGE="http://universe2.us/epoch.html"
EGIT_REPO_URI="https://github.com/Subsentient/epoch.git"

LICENSE="public-domain"
SLOT="0"
KEYWORDS=""

S="${WORKDIR}/${MY_P}"

pkg_pretend() {
	local CONFIG_CHECK="~PROC_FS"

	[[ ${MERGE_TYPE} != buildonly ]] && check_extra_config
}

src_prepare() {
	epatch "${FILESDIR}"/${PN}-1.0_rc1-fix-CFLAGS.patch
}

src_compile() {
	NEED_EMPTY_CFLAGS=1 sh ./buildepoch.sh || die "Cannot build epoch."
}

newepochins() {
	local type="$1"

	cd ${type} || die "Cannot change directory."
	for file in * ; do
		if [[ "${file}" != "epoch" ]] ; then
			new${type} ${file} epoch-${file}
		fi
	done
	cd .. || die "Cannot change directory."
}

src_install() {
	cd built || die "Cannot change directory."

	dosbin sbin/epoch

	# For now, rename to epoch-* until we can blend in with a standard approach.
	newepochins bin
	newepochins sbin

	insinto /etc/epoch/
	newins "${FILESDIR}"/${PN}-1.0_rc1-epoch.conf epoch.conf
}

pkg_postinst() {
	elog "Make sure to provide /run and /tmp tmpfs mounts using /etc/fstab."
	elog ""
	elog "An example epoch configuration is provided at /etc/epoch/epoch.conf"
	elog "which starts a minimal needed to use Gentoo."
	elog ""
	elog "Additional information about epoch is available at"
	elog "${HOMEPAGE} and configuration documentation at"
	elog "http://universe2.us/epochconfig.html which is useful reading material."
	elog ""
	elog "Its author Subsentient can be contacted at #epoch on irc.freenode.net."
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-07 21:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-07 21:15 [gentoo-commits] gentoo-x86 commit in sys-apps/epoch: epoch-1.0_rc1.ebuild ChangeLog metadata.xml epoch-9999.ebuild Tom Wijsman (tomwij)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox