diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2008-01-24 18:04:38 +0000 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2008-01-24 18:04:38 +0000 |
commit | 61a0c80e48eec569504e18868b6b44afb9f8fe50 (patch) | |
tree | ef86fe6e64c252754c28753d3e7955fb1f2de0f6 /sys-fs/owfs | |
parent | Stable on ppc wrt bug 206770 (diff) | |
download | historical-61a0c80e48eec569504e18868b6b44afb9f8fe50.tar.gz historical-61a0c80e48eec569504e18868b6b44afb9f8fe50.tar.bz2 historical-61a0c80e48eec569504e18868b6b44afb9f8fe50.zip |
version bump
Package-Manager: portage-2.1.4
Diffstat (limited to 'sys-fs/owfs')
-rw-r--r-- | sys-fs/owfs/ChangeLog | 9 | ||||
-rw-r--r-- | sys-fs/owfs/Manifest | 16 | ||||
-rw-r--r-- | sys-fs/owfs/files/digest-owfs-2.7_p3 | 3 | ||||
-rw-r--r-- | sys-fs/owfs/owfs-2.7_p3.ebuild | 118 |
4 files changed, 140 insertions, 6 deletions
diff --git a/sys-fs/owfs/ChangeLog b/sys-fs/owfs/ChangeLog index b346d9c5bb15..8d04143bf991 100644 --- a/sys-fs/owfs/ChangeLog +++ b/sys-fs/owfs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/owfs -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/owfs/ChangeLog,v 1.5 2007/12/17 17:41:51 wschlich Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/owfs/ChangeLog,v 1.6 2008/01/24 18:04:37 wschlich Exp $ + +*owfs-2.7_p3 (24 Jan 2008) + + 24 Jan 2008; Wolfram Schlich <wschlich@gentoo.org> +owfs-2.7_p3.ebuild: + version bump 17 Dec 2007; Wolfram Schlich <wschlich@gentoo.org> files/owfs.confd, files/owfs.initd, files/owftpd.confd, files/owftpd.initd, diff --git a/sys-fs/owfs/Manifest b/sys-fs/owfs/Manifest index ad37ff5ca4a3..751aafbce742 100644 --- a/sys-fs/owfs/Manifest +++ b/sys-fs/owfs/Manifest @@ -31,6 +31,7 @@ MD5 de8e0594db89f71d176bbe06dc21004e files/owserver.initd 836 RMD160 30c60e261c21e8ab31bfd56306dc0db970db44f4 files/owserver.initd 836 SHA256 52d6b43977485bde574889491cceddbca7d8554fa9f314e2d34d9a88ed7eb752 files/owserver.initd 836 DIST owfs-2.7p0.tar.gz 1058362 RMD160 734d385b93611e988499f47f805c4af090ad5bb8 SHA1 4026da34e1b94baa3167414e203e5f56bc24662a SHA256 dc1f7fe5cad844070eabe98149978c513c625a5a072987857bf1bc42eca42f8a +DIST owfs-2.7p3.tar.gz 1158225 RMD160 42b13612551e123d9d3313aa65538c98c5808c93 SHA1 811ae55eec4dbbeb1b36e2331c6438657654a04f SHA256 6dce5cb8514b2cf4167959d2b220c5092dfbe38cf88b44d4f4625fc0ceeec697 EBUILD owfs-2.7_p0-r1.ebuild 3141 RMD160 a30b708d1f69e0f01d70165e7288df525d29cd4e SHA1 35af2425d293c27592e6fe60abc8adb517e0bc97 SHA256 eb884f13b073f08a7fc9e18fa5ac2e761c9341ea5929896d646911b60ee4b616 MD5 51e32491dcf219f1f65d46cee64afe28 owfs-2.7_p0-r1.ebuild 3141 RMD160 a30b708d1f69e0f01d70165e7288df525d29cd4e owfs-2.7_p0-r1.ebuild 3141 @@ -43,10 +44,14 @@ EBUILD owfs-2.7_p0.ebuild 1530 RMD160 b55e810f467b29ee45db27cb537c96758d2691c8 S MD5 e31f88b931797c813557786eb8d69d73 owfs-2.7_p0.ebuild 1530 RMD160 b55e810f467b29ee45db27cb537c96758d2691c8 owfs-2.7_p0.ebuild 1530 SHA256 dd4a41b67667edb00c48da4cecd688c1c0a444a875d25c6122483caa3f577a21 owfs-2.7_p0.ebuild 1530 -MISC ChangeLog 1389 RMD160 551bc6ad444a18a0cdbdc15223a70be18948bf8b SHA1 17944af44bf8aa5927a3588fb9adcc8d9c01f84b SHA256 e88b39f3cdb9ce823baa6831f3fa51af1be0c19501564d3682219a12ffef81ab -MD5 b3fec5c3a5f665607e97212c31ca17cc ChangeLog 1389 -RMD160 551bc6ad444a18a0cdbdc15223a70be18948bf8b ChangeLog 1389 -SHA256 e88b39f3cdb9ce823baa6831f3fa51af1be0c19501564d3682219a12ffef81ab ChangeLog 1389 +EBUILD owfs-2.7_p3.ebuild 3684 RMD160 9fd031a78ae9a95829d0fcee9e5e1499a29f49ab SHA1 ae919c817d54d9610b69778ed7da8c927cac6731 SHA256 78c228290f2f4c9214f4e6e1b23680479722c2a73ea23736ba395702bab9ba7f +MD5 6ccd303a0e3d25433a757d2e0bfd5bd4 owfs-2.7_p3.ebuild 3684 +RMD160 9fd031a78ae9a95829d0fcee9e5e1499a29f49ab owfs-2.7_p3.ebuild 3684 +SHA256 78c228290f2f4c9214f4e6e1b23680479722c2a73ea23736ba395702bab9ba7f owfs-2.7_p3.ebuild 3684 +MISC ChangeLog 1507 RMD160 02d14d705b68f6e2f525f86ef762631497ec7932 SHA1 3ec45a1adc300ac001642e471845ce659ae34f59 SHA256 bd46c576678adf98cabd67e4b1fae4848d009a893e5c5ea0ed874df59bc55915 +MD5 63af29879f1b154803048ff489fd69c3 ChangeLog 1507 +RMD160 02d14d705b68f6e2f525f86ef762631497ec7932 ChangeLog 1507 +SHA256 bd46c576678adf98cabd67e4b1fae4848d009a893e5c5ea0ed874df59bc55915 ChangeLog 1507 MISC metadata.xml 603 RMD160 4a4eded26c136cfb518862d46714f1bc1e207853 SHA1 b3043c8a2a56503064c0c97db0596a0b684c82bc SHA256 aae3ae268a798f00e5f4a33f8338d62c2c2fc7e384313804bf7967725dab4623 MD5 5f4010812ff21627cee10573aaa5645b metadata.xml 603 RMD160 4a4eded26c136cfb518862d46714f1bc1e207853 metadata.xml 603 @@ -60,3 +65,6 @@ SHA256 a774b0d778926dcfae10eb071853901de952dec716880d32524da122a3baff55 files/di MD5 6d58dd137a5399ce8b3f967b5125bc9f files/digest-owfs-2.7_p0-r2 235 RMD160 7ee34802e559f989bd0c607c65dd66c0cd6d1b94 files/digest-owfs-2.7_p0-r2 235 SHA256 a774b0d778926dcfae10eb071853901de952dec716880d32524da122a3baff55 files/digest-owfs-2.7_p0-r2 235 +MD5 2670b1ae7f21e973d9272afd391db0c0 files/digest-owfs-2.7_p3 235 +RMD160 5d1ee69809271bc58cc27f829e8bdb650f2c8d27 files/digest-owfs-2.7_p3 235 +SHA256 3c0d645582db5ce55eca8145ec4c173da656d71280f12821b7f828ce882b2cda files/digest-owfs-2.7_p3 235 diff --git a/sys-fs/owfs/files/digest-owfs-2.7_p3 b/sys-fs/owfs/files/digest-owfs-2.7_p3 new file mode 100644 index 000000000000..d7115f5cca2f --- /dev/null +++ b/sys-fs/owfs/files/digest-owfs-2.7_p3 @@ -0,0 +1,3 @@ +MD5 b220ed66242a38213d867ce2f9d10005 owfs-2.7p3.tar.gz 1158225 +RMD160 42b13612551e123d9d3313aa65538c98c5808c93 owfs-2.7p3.tar.gz 1158225 +SHA256 6dce5cb8514b2cf4167959d2b220c5092dfbe38cf88b44d4f4625fc0ceeec697 owfs-2.7p3.tar.gz 1158225 diff --git a/sys-fs/owfs/owfs-2.7_p3.ebuild b/sys-fs/owfs/owfs-2.7_p3.ebuild new file mode 100644 index 000000000000..f0f3da543dd2 --- /dev/null +++ b/sys-fs/owfs/owfs-2.7_p3.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/owfs/owfs-2.7_p3.ebuild,v 1.1 2008/01/24 18:04:37 wschlich Exp $ + +inherit eutils + +MY_P=${P/_/} + +DESCRIPTION="Access 1-Wire devices like a filesystem" +SRC_URI="mirror://sourceforge/owfs/${MY_P}.tar.gz" +HOMEPAGE="http://www.owfs.org/ http://owfs.sourceforge.net/" +LICENSE="GPL-2" +DEPEND="fuse? ( sys-fs/fuse ) + perl? ( dev-lang/perl dev-lang/swig ) + php? ( dev-lang/php dev-lang/swig ) + python? ( dev-lang/python dev-lang/swig ) + tcl? ( dev-lang/tcl ) + usb? ( dev-libs/libusb ) + zeroconf? ( || ( net-dns/avahi net-misc/mDNSResponder ) )" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="debug fuse ftpd httpd parport perl php python server tcl usb zeroconf" + +S=${WORKDIR}/${MY_P} + +OWUID=${OWUID:-owfs} +OWGID=${OWGID:-owfs} + +pkg_setup() { + if use php && has_version dev-lang/php && ! built_with_use dev-lang/php cli; then + eerror "${PN} needs the command line interface (CLI) of php" + eerror "Please re-emerge dev-lang/php with USE=cli" + die "need dev-lang/php built with cli USE flag" + fi + if use zeroconf && has_version net-dns/avahi && ! built_with_use net-dns/avahi mdnsresponder-compat; then + eerror "You need to recompile net-dns/avahi with mdnsresponder-compat USE flag" + die "net-dns/avahi is missing required mdnsresponder-compat support for USE=zeroconf" + fi + enewgroup ${OWGID} 150 + enewuser ${OWUID} 150 -1 -1 ${OWGID} +} + +src_compile() { + econf \ + $(use_enable debug) \ + $(use_enable fuse owfs) \ + $(use_enable ftpd owftpd) \ + $(use_enable httpd owhttpd) \ + $(use_enable parport) \ + $(use_enable perl owperl) \ + $(use_enable php owphp) \ + $(use_enable python owpython) \ + $(use_enable server owserver) \ + $(use_enable tcl owtcl) \ + $(use_enable zeroconf zero) \ + $(use_enable usb) \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README NEWS ChangeLog AUTHORS + if use server || use httpd || use ftpd || use fuse; then + diropts -m 0750 -o ${OWUID} -g ${OWGID} + dodir /var/run/owfs + for i in server httpd ftpd; do + if use ${i}; then + newinitd "${FILESDIR}"/ow${i}.initd ow${i} + newconfd "${FILESDIR}"/ow${i}.confd ow${i} + fi + done + if use fuse; then + dodir /var/lib/owfs + dodir /var/lib/owfs/mnt + newinitd "${FILESDIR}"/owfs.initd owfs + newconfd "${FILESDIR}"/owfs.confd owfs + fi + fi +} + +pkg_postinst() { + if use server || use httpd || use ftpd || use fuse; then + echo + einfo + einfo "Be sure to check/edit the following files," + einfo "e.g. to fit your 1 wire bus controller" + einfo "device or daemon network settings:" + for i in server httpd ftpd; do + if use ${i}; then + einfo "- ${ROOT%/}/etc/conf.d/ow${i}" + fi + done + if use fuse; then + einfo "- ${ROOT%/}/etc/conf.d/owfs" + fi + einfo + echo + if [[ ${OWUID} != root ]]; then + ewarn + ewarn "In order to allow the OWFS daemon user '${OWUID}' to read" + ewarn "from and/or write to a 1 wire bus controller device, make" + ewarn "sure the user has appropriate permission to access the" + ewarn "corresponding device node/path (e.g. /dev/ttyS0), for example" + ewarn "by adding the user to the group 'uucp' (for serial devices)" + ewarn "or 'usb' (for USB devices accessed via usbfs on /proc/bus/usb)." + ewarn + if use fuse; then + ewarn "In order to allow regular users to read from and/or write to" + ewarn "1 wire bus devices accessible via the owfs FUSE filesystem" + ewarn "client and its filesystem mountpoint, make sure the user is" + ewarn "a member of the group '${OWGID}'." + ewarn + fi + echo + fi + fi +} |