public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-freebsd/virtio-kmod: metadata.xml virtio-kmod-0.228301.ebuild Manifest ChangeLog
@ 2012-05-19 20:47 Richard Yao (ryao)
  0 siblings, 0 replies; only message in thread
From: Richard Yao (ryao) @ 2012-05-19 20:47 UTC (permalink / raw
  To: gentoo-commits

ryao        12/05/19 20:47:29

  Added:                metadata.xml virtio-kmod-0.228301.ebuild Manifest
                        ChangeLog
  Log:
  New package.
  
  (Portage version: 2.1.10.49/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  sys-freebsd/virtio-kmod/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/virtio-kmod/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/virtio-kmod/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>ryao@gentoo.org</email>
		<name>Richard Yao</name>
	</maintainer>
</pkgmetadata>



1.1                  sys-freebsd/virtio-kmod/virtio-kmod-0.228301.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/virtio-kmod/virtio-kmod-0.228301.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/virtio-kmod/virtio-kmod-0.228301.ebuild?rev=1.1&content-type=text/plain

Index: virtio-kmod-0.228301.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/virtio-kmod/virtio-kmod-0.228301.ebuild,v 1.1 2012/05/19 20:47:29 ryao Exp $

EAPI=4

inherit bsdmk flag-o-matic

DESCRIPTION="Virtio drivers from FreeBSD Ports' emulators/virtio-kmod."
HOMEPAGE="http://www.freshports.org/emulators/virtio-kmod/"
SRC_URI="mirror://freebsd/ports/local-distfiles/kuriyama/virtio-${PV}.tar.gz"

SLOT="0"
KEYWORDS="~x86-fbsd ~amd64-fbsd"
IUSE="custom-cflags +debug"
LICENSE="BSD-2"

DEPEND=">=sys-freebsd/freebsd-sources-8.2"
RDEPEND=""

QA_TEXTRELS="*"
RESTRICT="strip"
S="${WORKDIR}"

NEEDSUBDIRS="conf contrib dev/pci geom kern net netinet netinet6 sys tools vm
	x86 i386 amd64"

src_unpack() {
	default
	CPIO_ARGS="-dump"

	# When hardlinks are possible, use them to avoid copies when FEATURES=userpriv
	test $UID != 0 && export CPIO_ARGS+=l

	cd /usr/src/sys/
	for d in $NEEDSUBDIRS; do
		find $d ! -name @ | cpio --quiet "${CPIO_ARGS}" "${WORKDIR}"
	done

}

src_compile() {

	use debug && export DEBUG_FLAGS="-g"
	use custom-cflags || strip-flags
	append-cflags "-I${WORKDIR}"

	cd "${WORKDIR}/modules/virtio"
	mkmake SYSDIR="${WORKDIR}" LDFLAGS="$(raw-ldflags)" || die "mkmake failed"

}

src_install() {
	# Upstream does not provide an install target
	dodir /boot/modules
	cp "${WORKDIR}"/modules/virtio/*/*.ko{,.symbols} "${ED}/boot/modules"
}

pkg_postinst() {
	# Update linker.hints file
	/usr/sbin/kldxref "${EPREFIX}/boot/modules"

	# Print message from FreeBSD Ports
	elog "$(cat "${FILESDIR}/pkg-message")"
}



1.1                  sys-freebsd/virtio-kmod/Manifest

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/virtio-kmod/Manifest?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-freebsd/virtio-kmod/Manifest?rev=1.1&content-type=text/plain

Index: Manifest
===================================================================
AUX pkg-message 684 RMD160 da9b9023e4aae1485ee2bc24672b68a8c43750da SHA1 233313e81151a551a076a14875b804cf63a647da SHA256 06f89ecca2745a367c883e8e92af10097717807b5bcde619d5e3c3e39a372dae
DIST virtio-0.228301.tar.gz 47262 RMD160 15d6a2f710322cfbc405c56d58ca32c20c1b1e7e SHA1 0d73f1a888ace0fc01c48f750f355ee25f98c06a SHA256 022b05ce98a88096aacc331fb7ba122d935432a87100fcba6a3b3d7e9e9aa0d6
EBUILD virtio-kmod-0.228301.ebuild 1497 RMD160 b2708fdac9caa214b9850af4c9b95878362a575c SHA1 8cdea54b09746973c72f7ed6eed5e88f505ca885 SHA256 330e9df1a2e932e801ba9df1d1e0f9cb7ed9889658b4a5e8c3adf9353e7a2881
MISC metadata.xml 228 RMD160 7f4566d402fa232a1d2bb22589d7fe8cc72a241c SHA1 9a2f59b4e342ac0f1e064255f59b0bdec32ab1a9 SHA256 a317cd066ed83c5b5acf9d49869cb2f153499bb90cee389334bee9781534f5e8



1.1                  sys-freebsd/virtio-kmod/ChangeLog

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

Index: ChangeLog
===================================================================
# ChangeLog for sys-freebsd/virtio-kmod
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/virtio-kmod/ChangeLog,v 1.1 2012/05/19 20:47:29 ryao Exp $

*virtio-kmod-0.228301 (19 May 2012)

  19 May 2012;  <richard@gentoo.org> +files/pkg-message, +metadata.xml,
  +virtio-kmod-0.228301.ebuild:
  New package.







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

only message in thread, other threads:[~2012-05-19 20:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-19 20:47 [gentoo-commits] gentoo-x86 commit in sys-freebsd/virtio-kmod: metadata.xml virtio-kmod-0.228301.ebuild Manifest ChangeLog Richard Yao (ryao)

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