diff options
author | Christian Birchinger <joker@gentoo.org> | 2007-10-26 15:58:37 +0000 |
---|---|---|
committer | Christian Birchinger <joker@gentoo.org> | 2007-10-26 15:58:37 +0000 |
commit | 4e9b969e9bb4a891b455e73615c43fef58b3c7c7 (patch) | |
tree | df47f387e94b8909d183b964d167d0ab3276fb19 /app-mobilephone/sobexsrv | |
parent | Remove old versions. (diff) | |
download | gentoo-2-4e9b969e9bb4a891b455e73615c43fef58b3c7c7.tar.gz gentoo-2-4e9b969e9bb4a891b455e73615c43fef58b3c7c7.tar.bz2 gentoo-2-4e9b969e9bb4a891b455e73615c43fef58b3c7c7.zip |
Version bump and 64bit fixes
(Portage version: 2.1.3.9)
Diffstat (limited to 'app-mobilephone/sobexsrv')
-rw-r--r-- | app-mobilephone/sobexsrv/ChangeLog | 8 | ||||
-rw-r--r-- | app-mobilephone/sobexsrv/files/digest-sobexsrv-1.0.1 | 6 | ||||
-rw-r--r-- | app-mobilephone/sobexsrv/sobexsrv-1.0.1.ebuild | 76 |
3 files changed, 89 insertions, 1 deletions
diff --git a/app-mobilephone/sobexsrv/ChangeLog b/app-mobilephone/sobexsrv/ChangeLog index 67f71c799da1..a34527cba1c5 100644 --- a/app-mobilephone/sobexsrv/ChangeLog +++ b/app-mobilephone/sobexsrv/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-mobilephone/sobexsrv # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/sobexsrv/ChangeLog,v 1.11 2007/02/16 21:50:06 joker Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/sobexsrv/ChangeLog,v 1.12 2007/10/26 15:58:37 joker Exp $ + +*sobexsrv-1.0.1 (26 Oct 2007) + + 26 Oct 2007; Christian Birchinger <joker@gentoo.org> + +sobexsrv-1.0.1.ebuild: + Version bump and 64bit fixes. 16 Feb 2007; Christian Birchinger <joker@gentoo.org> sobexsrv-1.0.0_pre4.ebuild: diff --git a/app-mobilephone/sobexsrv/files/digest-sobexsrv-1.0.1 b/app-mobilephone/sobexsrv/files/digest-sobexsrv-1.0.1 new file mode 100644 index 000000000000..11783f512847 --- /dev/null +++ b/app-mobilephone/sobexsrv/files/digest-sobexsrv-1.0.1 @@ -0,0 +1,6 @@ +MD5 bf7f6ab3e8c89a8088c9de3e97c9b0fc sobexsrv-1.0.1-fix64.patch 25040 +RMD160 ce32a573a5c1fa67fe3b772ecfecfdc535dcb64a sobexsrv-1.0.1-fix64.patch 25040 +SHA256 83e052e7a63fb53b74b81d51cd5d614a5df29626243700b632c0d14832497cf8 sobexsrv-1.0.1-fix64.patch 25040 +MD5 cd04e2670bc4e39875d6209edc8c7810 sobexsrv-1.0.1.tar.gz 27683 +RMD160 9c347c5c32cf4ac1fc19413d63ba408ae5a8c6a5 sobexsrv-1.0.1.tar.gz 27683 +SHA256 d3b6db12eb8d0c06d0b7845ca64213e5beb042dd0f1a2e7a753cb7b4b0596069 sobexsrv-1.0.1.tar.gz 27683 diff --git a/app-mobilephone/sobexsrv/sobexsrv-1.0.1.ebuild b/app-mobilephone/sobexsrv/sobexsrv-1.0.1.ebuild new file mode 100644 index 000000000000..7749b1f69483 --- /dev/null +++ b/app-mobilephone/sobexsrv/sobexsrv-1.0.1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/sobexsrv/sobexsrv-1.0.1.ebuild,v 1.1 2007/10/26 15:58:37 joker Exp $ + +inherit eutils + +MY_P="${P/_pre/pre}" + +IUSE="gtk" + +DESCRIPTION="Scripting/Secure OBEX Server (for BlueZ Linux)" +SRC_URI="http://www.mulliner.org/bluetooth/${MY_P}.tar.gz + http://dev.gentoo.org/~joker/${P}-fix64.patch" +HOMEPAGE="http://www.mulliner.org/bluetooth/sobexsrv.php" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +DEPEND="dev-libs/openobex + net-wireless/bluez-libs" + +RDEPEND="${DEPEND} + net-wireless/bluez-utils + gtk? ( >=dev-python/pygtk-2.2 )" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + enewgroup sobexsrv + enewuser sobexsrv -1 -1 /var/spool/sobexsrv sobexsrv +} + +src_unpack() { + unpack ${A} + + cd "${S}" + + epatch "${DISTDIR}/${P}"-fix64.patch || die "fix64 patch failed" + + sed -e 's:/usr/man/man8:/usr/share/man/man8:' \ + -i Makefile + + sed -e 's/^CFLAGS =/CFLAGS +=/' \ + -e 's/^CC =/CC ?=/' \ + -i src/Makefile +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHOR CHANGELOG CONFIG README SECURITY TODO + + use gtk || rm "${D}/usr/bin/sobexsrv_handler" + + newinitd "${FILESDIR}/init.d_sobexsrv" sobexsrv + newconfd "${FILESDIR}/conf.d_sobexsrv" sobexsrv + + keepdir /var/spool/sobexsrv + fowners sobexsrv:sobexsrv /var/spool/sobexsrv +} + +pkg_postinst() { + elog + elog "/usr/bin/sobexsrv is *NOT* installed set-uid root by" + elog "default. suid is required for the chroot option (-R)." + elog + elog "Execute the following commands to enable suid:" + elog + elog "chown root:sobexsrv /usr/bin/sobexsrv" + elog "chmod 4710 /usr/bin/sobexsrv" + elog +} |