version bump
authorDaniel Black <dragonheart@gentoo.org>
Sat, 16 Dec 2006 21:46:57 +0000 (21:46 +0000)
committerDaniel Black <dragonheart@gentoo.org>
Sat, 16 Dec 2006 21:46:57 +0000 (21:46 +0000)
Package-Manager: portage-2.1.2_rc3

net-misc/l7-protocols/ChangeLog
net-misc/l7-protocols/files/digest-l7-protocols-2006.12.12 [new file with mode: 0644]
net-misc/l7-protocols/l7-protocols-2006.12.12.ebuild [new file with mode: 0644]
net-misc/tinc/ChangeLog
net-misc/tinc/files/digest-tinc-1.0.5 [new file with mode: 0644]
net-misc/tinc/tinc-1.0.5.ebuild [new file with mode: 0644]

index df054c110e496182cf7c1a94e1ffb144fb0d3c6a..07cccc428b99e3178c4b87ee7692248987fab81a 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-misc/l7-protocols
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/ChangeLog,v 1.35 2006/11/12 12:10:54 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/ChangeLog,v 1.36 2006/12/16 21:46:18 dragonheart Exp $
+
+*l7-protocols-2006.12.12 (16 Dec 2006)
+
+  16 Dec 2006; Daniel Black <dragonheart@gentoo.org>
+  +l7-protocols-2006.12.12.ebuild:
+  version bump
 
 *l7-protocols-2006.10.18 (12 Nov 2006)
 
diff --git a/net-misc/l7-protocols/files/digest-l7-protocols-2006.12.12 b/net-misc/l7-protocols/files/digest-l7-protocols-2006.12.12
new file mode 100644 (file)
index 0000000..4396530
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 f50105c03ebb470291db4325d34d007c l7-protocols-2006-12-12.tar.gz 119926
+RMD160 a0a3d6922d368577b1fe57ffdabec889f7305f37 l7-protocols-2006-12-12.tar.gz 119926
+SHA256 59876cbb9c3f03d2bb4724b235c69e7423f0abd4b9c0f4049209bd15d8c51b8f l7-protocols-2006-12-12.tar.gz 119926
diff --git a/net-misc/l7-protocols/l7-protocols-2006.12.12.ebuild b/net-misc/l7-protocols/l7-protocols-2006.12.12.ebuild
new file mode 100644 (file)
index 0000000..3260a5d
--- /dev/null
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/l7-protocols/l7-protocols-2006.12.12.ebuild,v 1.1 2006/12/16 21:46:18 dragonheart Exp $
+
+inherit toolchain-funcs
+
+IUSE=""
+
+MY_P=${PN}-${PV//./-}
+
+DESCRIPTION="Protocol definitions of l7-filter kernel modules"
+HOMEPAGE="http://l7-filter.sourceforge.net/protocols"
+
+SRC_URI="mirror://sourceforge/l7-filter/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+       sed -i -e "s/gcc.*-O2/$(tc-getCC) ${CFLAGS}/g" testing/Makefile
+       sed -i -e 's/-1/-n 1/g' testing/*.sh
+       emake -C testing
+}
+
+# NOTE Testing mechanism is currently broken:
+#  stack smashing attack in function main()
+#src_test() {
+#      cd testing
+#      find ${S} -name \*.pat -print -exec ./test_match.sh {} \; \
+#              -exec ./timeit.sh {} \; || die "failed tests"
+#      einfo "patterns past testing"
+#}
+
+src_install() {
+
+       dodir /usr/share/${PN}
+       cd testing
+       cp -pPR randprintable randchars test_speed match README *.sh ${D}/usr/share/${PN}
+       cd ${S}
+
+       dodoc README CHANGELOG HOWTO WANTED
+       newdoc README.weakpatterns
+       newdoc extra/README README.extra
+       newdoc file_types/README README.file_types
+       newdoc malware/README README.malware
+       newdoc testing/README README.testing
+       rm -rf README CHANGELOG HOWTO LICENSE WANTED */README testing
+
+       make PREFIX=${D} install || die
+       rm ${D}/etc/${PN}/Makefile
+       chown -R root:0 ${D}
+}
index 04979c7b6631dbcf27e25a4b300b0240f359469b..291517e5102e11a948201eaa174c10ee04baeb1c 100644 (file)
@@ -1,11 +1,11 @@
 # ChangeLog for net-misc/tinc
 # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/ChangeLog,v 1.9 2006/12/16 21:44:59 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/ChangeLog,v 1.10 2006/12/16 21:46:57 dragonheart Exp $
 
 *tinc-1.0.5 (16 Dec 2006)
 
   16 Dec 2006; Daniel Black <dragonheart@gentoo.org> +tinc-1.0.5.ebuild:
-  version bump
+  version bump.
 
   24 May 2006; Bryan Ã˜stergaard <kloeri@gentoo.org> metadata.xml:
   Remove warpzero from metadata.xml, bug 133117.
diff --git a/net-misc/tinc/files/digest-tinc-1.0.5 b/net-misc/tinc/files/digest-tinc-1.0.5
new file mode 100644 (file)
index 0000000..3adeaef
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 2cad07ff1db887c2e2789231a3f95e0f tinc-1.0.5.tar.gz 490292
+RMD160 fd5965153b1a5c9c6d200c257bc885679c36b174 tinc-1.0.5.tar.gz 490292
+SHA256 6069e560ea114d62b300282a21a515bccc4fb85db6e5694dabb1642067ea051e tinc-1.0.5.tar.gz 490292
diff --git a/net-misc/tinc/tinc-1.0.5.ebuild b/net-misc/tinc/tinc-1.0.5.ebuild
new file mode 100644 (file)
index 0000000..bc5cdbb
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tinc/tinc-1.0.5.ebuild,v 1.1 2006/12/16 21:44:59 dragonheart Exp $
+
+DESCRIPTION="tinc is an easy to configure VPN implementation"
+HOMEPAGE="http://www.tinc-vpn.org/"
+SRC_URI="http://www.tinc-vpn.org/packages/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~arm ~sparc ~x86 ~ppc"
+IUSE="nls"
+
+DEPEND=">=dev-libs/openssl-0.9.7c
+       virtual/linux-sources
+       >=dev-libs/lzo-2
+       >=sys-libs/zlib-1.1.4-r2
+       nls? ( sys-devel/gettext )"
+
+src_compile() {
+       econf --enable-jumbograms $(use_enable nls) || die
+       emake || die
+}
+
+src_install() {
+       make DESTDIR="${D}" install || die
+       dodoc AUTHORS NEWS README THANKS TODO
+       exeinto /etc/init.d ; newexe ${FILESDIR}/tincd tincd
+}
+
+pkg_postinst() {
+       einfo "This package requires the tun/tap kernel device."
+       einfo "Look at http://www.tinc-vpn.org/ for how to configure tinc"
+}