1 |
commit: e036baa8ca388a745bcb4781d149ac360bb0c6b6 |
2 |
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 25 22:33:46 2016 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 25 22:33:46 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e036baa8 |
7 |
|
8 |
app-mobilephone/sobexsrv: remove old |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> |
12 |
|
13 |
app-mobilephone/sobexsrv/sobexsrv-1.0.1.ebuild | 76 -------------------------- |
14 |
1 file changed, 76 deletions(-) |
15 |
|
16 |
diff --git a/app-mobilephone/sobexsrv/sobexsrv-1.0.1.ebuild b/app-mobilephone/sobexsrv/sobexsrv-1.0.1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 85c22bb..00000000 |
19 |
--- a/app-mobilephone/sobexsrv/sobexsrv-1.0.1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,76 +0,0 @@ |
22 |
-# Copyright 1999-2012 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
-# $Id$ |
25 |
- |
26 |
-inherit eutils toolchain-funcs user |
27 |
- |
28 |
-MY_P="${P/_pre/pre}" |
29 |
- |
30 |
-IUSE="gtk" |
31 |
- |
32 |
-DESCRIPTION="Scripting/Secure OBEX Server (for BlueZ Linux)" |
33 |
-SRC_URI="http://www.mulliner.org/bluetooth/${MY_P}.tar.gz |
34 |
- https://dev.gentoo.org/~joker/${P}-fix64.patch" |
35 |
-HOMEPAGE="http://www.mulliner.org/bluetooth/sobexsrv.php" |
36 |
- |
37 |
-SLOT="0" |
38 |
-LICENSE="GPL-2" |
39 |
-KEYWORDS="amd64 ppc x86" |
40 |
- |
41 |
-DEPEND="dev-libs/openobex |
42 |
- net-wireless/bluez" |
43 |
-RDEPEND="${DEPEND} |
44 |
- gtk? ( >=dev-python/pygtk-2.2 )" |
45 |
- |
46 |
-S="${WORKDIR}/${MY_P}" |
47 |
- |
48 |
-pkg_setup() { |
49 |
- enewgroup sobexsrv |
50 |
- enewuser sobexsrv -1 -1 /var/spool/sobexsrv sobexsrv |
51 |
-} |
52 |
- |
53 |
-src_unpack() { |
54 |
- unpack ${A} |
55 |
- |
56 |
- cd "${S}" |
57 |
- |
58 |
- epatch "${DISTDIR}/${P}"-fix64.patch || die "fix64 patch failed" |
59 |
- |
60 |
- sed -e 's:/usr/man/man8:/usr/share/man/man8:' \ |
61 |
- -i Makefile |
62 |
- |
63 |
- sed -e 's/^CFLAGS =/CFLAGS +=/' \ |
64 |
- -e 's/^CC =/CC ?=/' \ |
65 |
- -e 's/$(CC) $(CFLAGS)/$(CC) $(LDFLAGS) $(CFLAGS)/' \ |
66 |
- -i src/Makefile |
67 |
-} |
68 |
- |
69 |
-src_compile() { |
70 |
- tc-export CC |
71 |
- emake || die "emake failed" |
72 |
-} |
73 |
- |
74 |
-src_install() { |
75 |
- make DESTDIR="${D}" install || die "make install failed" |
76 |
- dodoc AUTHOR CHANGELOG CONFIG README SECURITY TODO |
77 |
- |
78 |
- use gtk || rm "${D}/usr/bin/sobexsrv_handler" |
79 |
- |
80 |
- newinitd "${FILESDIR}/init.d_sobexsrv" sobexsrv |
81 |
- newconfd "${FILESDIR}/conf.d_sobexsrv" sobexsrv |
82 |
- |
83 |
- keepdir /var/spool/sobexsrv |
84 |
- fowners sobexsrv:sobexsrv /var/spool/sobexsrv |
85 |
-} |
86 |
- |
87 |
-pkg_postinst() { |
88 |
- elog |
89 |
- elog "/usr/bin/sobexsrv is *NOT* installed set-uid root by" |
90 |
- elog "default. suid is required for the chroot option (-R)." |
91 |
- elog |
92 |
- elog "Execute the following commands to enable suid:" |
93 |
- elog |
94 |
- elog "chown root:sobexsrv /usr/bin/sobexsrv" |
95 |
- elog "chmod 4710 /usr/bin/sobexsrv" |
96 |
- elog |
97 |
-} |