diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2005-10-06 14:17:02 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2005-10-06 14:17:02 +0000 |
commit | 0d9af563aabc8b61274b3ae4072eb7a4a802a7ec (patch) | |
tree | 675683c9e98d840afc7f5b71efde65c5ae88673f /net-misc | |
parent | new upstream release. (diff) | |
download | historical-0d9af563aabc8b61274b3ae4072eb7a4a802a7ec.tar.gz historical-0d9af563aabc8b61274b3ae4072eb7a4a802a7ec.tar.bz2 historical-0d9af563aabc8b61274b3ae4072eb7a4a802a7ec.zip |
Version bump. Version 0.0.2 stable for x86.
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/ksb26/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/ksb26/Manifest | 8 | ||||
-rw-r--r-- | net-misc/ksb26/files/digest-ksb26-0.0.3 | 1 | ||||
-rw-r--r-- | net-misc/ksb26/ksb26-0.0.2.ebuild | 4 | ||||
-rw-r--r-- | net-misc/ksb26/ksb26-0.0.3.ebuild | 80 |
5 files changed, 96 insertions, 6 deletions
diff --git a/net-misc/ksb26/ChangeLog b/net-misc/ksb26/ChangeLog index 6fa84425321b..d0262a54b908 100644 --- a/net-misc/ksb26/ChangeLog +++ b/net-misc/ksb26/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/ksb26 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ksb26/ChangeLog,v 1.2 2005/07/02 09:35:04 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ksb26/ChangeLog,v 1.3 2005/10/06 14:17:02 s4t4n Exp $ + +*ksb26-0.0.3 (06 Oct 2005) + + 06 Oct 2005; Michele Noberasco <s4t4n@gentoo.org> ksb26-0.0.3.ebuild: + Version bump. + ksb26-0.0.2.ebuild: + stable for x86. 02 Jul 2005; David Holm <dholm@gentoo.org> ksb26-0.0.2.ebuild: Added to ~ppc. diff --git a/net-misc/ksb26/Manifest b/net-misc/ksb26/Manifest index e212e447b640..a2ac2ed6f7fe 100644 --- a/net-misc/ksb26/Manifest +++ b/net-misc/ksb26/Manifest @@ -1,5 +1,7 @@ -MD5 77c279a3971afc32bf223914948275ee ChangeLog 402 -MD5 d2cc3ce4b886088b22867fc6f25ae638 ksb26-0.0.2.ebuild 1512 +MD5 3a8a103d8393e7d74a3e6ce997b92f0f ksb26-0.0.2.ebuild 1511 +MD5 a06e21a688ed867a1bfd316594453753 ksb26-0.0.3.ebuild 1512 +MD5 fb617f51309ba3ed348db5125cc25aab ChangeLog 559 MD5 afc72dba8623e8e3cf89192e2dc879d9 metadata.xml 623 -MD5 813dab5f0615b68f4271fc783965c166 files/digest-ksb26-0.0.2 62 MD5 913c75809106b0a9996d8ac3e2c21f30 files/ksb26-kernel-Makefile 370 +MD5 813dab5f0615b68f4271fc783965c166 files/digest-ksb26-0.0.2 62 +MD5 a2c92c540a6869abaffac8a2583f799c files/digest-ksb26-0.0.3 62 diff --git a/net-misc/ksb26/files/digest-ksb26-0.0.3 b/net-misc/ksb26/files/digest-ksb26-0.0.3 new file mode 100644 index 000000000000..cba37dd66e77 --- /dev/null +++ b/net-misc/ksb26/files/digest-ksb26-0.0.3 @@ -0,0 +1 @@ +MD5 dc111a67806471fd9cd1e6413ac948ec ksb26-0.0.3.tar.gz 19337 diff --git a/net-misc/ksb26/ksb26-0.0.2.ebuild b/net-misc/ksb26/ksb26-0.0.2.ebuild index 0739626d19a4..29090fb97b10 100644 --- a/net-misc/ksb26/ksb26-0.0.2.ebuild +++ b/net-misc/ksb26/ksb26-0.0.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ksb26/ksb26-0.0.2.ebuild,v 1.2 2005/07/02 09:35:04 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/ksb26/ksb26-0.0.2.ebuild,v 1.3 2005/10/06 14:17:02 s4t4n Exp $ inherit linux-mod @@ -9,7 +9,7 @@ HOMEPAGE="http://ksb.sourceforge.net/" SRC_URI="mirror://sourceforge/ksb/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~ppc ~x86" +KEYWORDS="~ppc x86" IUSE="" S=${WORKDIR}/${PN} diff --git a/net-misc/ksb26/ksb26-0.0.3.ebuild b/net-misc/ksb26/ksb26-0.0.3.ebuild new file mode 100644 index 000000000000..c378d05a1580 --- /dev/null +++ b/net-misc/ksb26/ksb26-0.0.3.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/ksb26/ksb26-0.0.3.ebuild,v 1.1 2005/10/06 14:17:02 s4t4n Exp $ + +inherit linux-mod + +DESCRIPTION="A kernel SOCKS bouncer" +HOMEPAGE="http://ksb.sourceforge.net/" +SRC_URI="mirror://sourceforge/ksb/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" +S=${WORKDIR}/${PN} + +DEPEND=">=sys-apps/sed-4" + +pkg_setup() +{ + if ! kernel_is 2 6; then + die "${P} can only be built against a 2.6.x kernel!" + fi + + linux-mod_pkg_setup + + MODULE_NAMES="ksb26(misc:${S}/kernel:${S}/kernel)" + BUILD_TARGETS="all" +} + +src_unpack() +{ + unpack ${A} + + cd ${S} + cp ${FILESDIR}/${PN}-kernel-Makefile kernel/Makefile + sed -i -e "s:@gcc:\${CC} \${CFLAGS}:" user/Makefile +} + +src_compile() +{ + linux-mod_src_compile || die "Kernel module compilation failed!" + + einfo "Preparing userspace tools" + cd ${S}/user + emake || die "Userspace tools compilation failed!" +} + +src_install() +{ + linux-mod_src_install + + cd ${S} + dobin user/ksb26manager + + dodir /etc/ksb26 + insinto /etc/ksb26 + doins thosts.example + + doman ksb26.8.gz + dodoc AUTHOR README TODO +} + +pkg_postinst() +{ + linux-mod_pkg_postinst + + if [ ! -e ${ROOT}/dev/ksb26 ]; then + mknod ${ROOT}/dev/ksb26 c 254 0 + fi + + einfo "Read man page (man ksb26) for informations about the use of ksb26" + einfo "Don't forget to set target hosts in /etc/ksb26/thosts" +} + +pkg_postrm() +{ + if [ -e ${ROOT}/dev/ksb26 ]; then + rm ${ROOT}/dev/ksb26 + fi +} |