diff options
author | Peter Volkov <pva@gentoo.org> | 2009-01-24 14:22:38 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2009-01-24 14:22:38 +0000 |
commit | 7c980c9a1e4ac854431982cb32078bad8df8ba98 (patch) | |
tree | cc185f88ca22045b365cdddf19a87dd6c36a04fc /www-apache/anyterm | |
parent | ppc stable #255691 (diff) | |
download | gentoo-2-7c980c9a1e4ac854431982cb32078bad8df8ba98.tar.gz gentoo-2-7c980c9a1e4ac854431982cb32078bad8df8ba98.tar.bz2 gentoo-2-7c980c9a1e4ac854431982cb32078bad8df8ba98.zip |
Version bump, #237655, thank Arfrever Frehtes Taifersar Arahesis and Moshe Kamensky.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'www-apache/anyterm')
-rw-r--r-- | www-apache/anyterm/ChangeLog | 12 | ||||
-rw-r--r-- | www-apache/anyterm/anyterm-1.1.28.ebuild | 45 | ||||
-rw-r--r-- | www-apache/anyterm/files/anyterm-1.1.28-respect-LDFLAGS.patch | 26 | ||||
-rw-r--r-- | www-apache/anyterm/files/anyterm.conf.d | 7 | ||||
-rw-r--r-- | www-apache/anyterm/files/anyterm.init.d | 21 |
5 files changed, 109 insertions, 2 deletions
diff --git a/www-apache/anyterm/ChangeLog b/www-apache/anyterm/ChangeLog index 5fbd5ea5bff9..daecdac1ad83 100644 --- a/www-apache/anyterm/ChangeLog +++ b/www-apache/anyterm/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for www-apache/anyterm -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/ChangeLog,v 1.16 2008/08/23 04:33:29 cardoe Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/ChangeLog,v 1.17 2009/01/24 14:22:38 pva Exp $ + +*anyterm-1.1.28 (24 Jan 2009) + + 24 Jan 2009; Peter Volkov <pva@gentoo.org> + +files/anyterm-1.1.28-respect-LDFLAGS.patch, +files/anyterm.conf.d, + +files/anyterm.init.d, +anyterm-1.1.28.ebuild: + Version bump, #237655, thank Arfrever Frehtes Taifersar Arahesis and Moshe + Kamensky. 23 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml: add GLEP 56 USE flag desc from use.local.desc diff --git a/www-apache/anyterm/anyterm-1.1.28.ebuild b/www-apache/anyterm/anyterm-1.1.28.ebuild new file mode 100644 index 000000000000..778182ff46b4 --- /dev/null +++ b/www-apache/anyterm/anyterm-1.1.28.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/anyterm-1.1.28.ebuild,v 1.1 2009/01/24 14:22:38 pva Exp $ + +EAPI=2 +inherit eutils flag-o-matic + +DESCRIPTION="A terminal anywhere." +HOMEPAGE="http://anyterm.org/" +SRC_URI="http://anyterm.org/download/${P}.tbz2" + +LICENSE="GPL-2 Boost-1.0" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=dev-libs/boost-1.34.1 + virtual/ssh" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-respect-LDFLAGS.patch" +} + +src_compile() { + # this package uses `ld -r -b binary` and thus resulting executalbe contains + # executable stack + append-ldflags -Wl,-z,noexecstack + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die +} + +src_install() { + dosbin anytermd || die + dodoc CHANGELOG README || die + doman anytermd.1 || die + newinitd "${FILESDIR}/anyterm.init.d" anyterm || die + newconfd "${FILESDIR}/anyterm.conf.d" anyterm || die +} + +pkg_postinst() { + elog "To proceed installation, read following:" + elog "http://anyterm.org/1.1/install.html" +} diff --git a/www-apache/anyterm/files/anyterm-1.1.28-respect-LDFLAGS.patch b/www-apache/anyterm/files/anyterm-1.1.28-respect-LDFLAGS.patch new file mode 100644 index 000000000000..25a12e756ab0 --- /dev/null +++ b/www-apache/anyterm/files/anyterm-1.1.28-respect-LDFLAGS.patch @@ -0,0 +1,26 @@ +=== modified file 'common.mk' +--- common.mk 2009-01-24 12:40:55 +0000 ++++ common.mk 2009-01-24 14:02:19 +0000 +@@ -71,7 +71,7 @@ + OBJS=$(addsuffix .o,$(notdir $(basename $(CC_SRCS)))) + + %.o: %.cc +- $(CXX) $(CC_COMPILE_FLAGS) -c $< ++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(CC_COMPILE_FLAGS) -c $< + + ifdef HAVE_GNU_LD + %.blob.o: ../browser/% +@@ -87,10 +87,10 @@ + + + anytermd: $(OBJS) $(BLOBS) $(LIBPBE_LIB) +- $(CXX) -o $@ $(OBJS) $(BLOBS) $(LINK_FLAGS) ++ $(CXX) -o $@ $(LDFLAGS) $(OBJS) $(BLOBS) $(LINK_FLAGS) + + %.d: %.cc +- $(CXX) -MM -MG -MT $@ -MT $(<:%.cc=%.o) $(CPP_FLAGS) $(GCC_FLAGS) -o $@ $< ++ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MM -MG -MT $@ -MT $(<:%.cc=%.o) $(CPP_FLAGS) $(GCC_FLAGS) -o $@ $< + + DEPENDS=$(addsuffix .d,$(basename $(OBJS))) + + diff --git a/www-apache/anyterm/files/anyterm.conf.d b/www-apache/anyterm/files/anyterm.conf.d new file mode 100644 index 000000000000..d4aa00bf987b --- /dev/null +++ b/www-apache/anyterm/files/anyterm.conf.d @@ -0,0 +1,7 @@ +# run anytermd as this user +USER='nobody' +# run anyterm on this port +PORT='7676' + +# Other options you wish to pass to anyterm +ANYTERM_OPTIONS="--local-only" diff --git a/www-apache/anyterm/files/anyterm.init.d b/www-apache/anyterm/files/anyterm.init.d new file mode 100644 index 000000000000..19f36ea1cc6d --- /dev/null +++ b/www-apache/anyterm/files/anyterm.init.d @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/www-apache/anyterm/files/anyterm.init.d,v 1.1 2009/01/24 14:22:38 pva Exp $ + +depend() { + need net +} + +start() { + ebegin "Starting ${SVCNAME}" + start-stop-daemon --start --exec /usr/sbin/anytermd -- \ + --user "${USER}" --port ${PORT} ${ANYTERM_OPTIONS} + eend $? +} + +stop() { + ebegin "Stopping ${SVCNAME}" + start-stop-daemon --stop --exec /usr/sbin/anytermd + eend $? +} |