diff options
author | Andrew Savchenko <bircoph@gentoo.org> | 2016-12-26 01:33:46 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gentoo.org> | 2016-12-26 01:33:46 +0300 |
commit | e036baa8ca388a745bcb4781d149ac360bb0c6b6 (patch) | |
tree | 00610bd78382fd941c8a9230b9a06e6662078a03 /app-mobilephone/sobexsrv | |
parent | media-gfx/qrencode: remove old (diff) | |
download | gentoo-e036baa8ca388a745bcb4781d149ac360bb0c6b6.tar.gz gentoo-e036baa8ca388a745bcb4781d149ac360bb0c6b6.tar.bz2 gentoo-e036baa8ca388a745bcb4781d149ac360bb0c6b6.zip |
app-mobilephone/sobexsrv: remove old
Package-Manager: portage-2.3.3
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'app-mobilephone/sobexsrv')
-rw-r--r-- | app-mobilephone/sobexsrv/sobexsrv-1.0.1.ebuild | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/app-mobilephone/sobexsrv/sobexsrv-1.0.1.ebuild b/app-mobilephone/sobexsrv/sobexsrv-1.0.1.ebuild deleted file mode 100644 index 85c22bbb0237..000000000000 --- a/app-mobilephone/sobexsrv/sobexsrv-1.0.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils toolchain-funcs user - -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 - https://dev.gentoo.org/~joker/${P}-fix64.patch" -HOMEPAGE="http://www.mulliner.org/bluetooth/sobexsrv.php" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="amd64 ppc x86" - -DEPEND="dev-libs/openobex - net-wireless/bluez" -RDEPEND="${DEPEND} - 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 ?=/' \ - -e 's/$(CC) $(CFLAGS)/$(CC) $(LDFLAGS) $(CFLAGS)/' \ - -i src/Makefile -} - -src_compile() { - tc-export CC - 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 -} |