diff options
-rw-r--r-- | net-misc/vtun/Manifest | 66 | ||||
-rw-r--r-- | net-misc/vtun/files/digest-vtun-2.5 | 1 | ||||
-rw-r--r-- | net-misc/vtun/files/digest-vtun-2.5-r1 | 1 | ||||
-rw-r--r-- | net-misc/vtun/files/digest-vtun-2.5-r2 | 1 | ||||
-rw-r--r-- | net-misc/vtun/files/vtun-2.5-expect.patch | 11 | ||||
-rw-r--r-- | net-misc/vtun/files/vtun-2.5-makefile.patch | 50 | ||||
-rw-r--r-- | net-misc/vtun/files/vtun-2.5-r2-gentoo-gcc3.1.patch | 22 | ||||
-rw-r--r-- | net-misc/vtun/vtun-2.5-r1.ebuild | 75 | ||||
-rw-r--r-- | net-misc/vtun/vtun-2.5-r2.ebuild | 77 | ||||
-rw-r--r-- | net-misc/vtun/vtun-2.5.ebuild | 65 |
10 files changed, 16 insertions, 353 deletions
diff --git a/net-misc/vtun/Manifest b/net-misc/vtun/Manifest index 24861c77c64a..4a76d8135cba 100644 --- a/net-misc/vtun/Manifest +++ b/net-misc/vtun/Manifest @@ -1,18 +1,6 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX vtun-2.5-expect.patch 334 RMD160 3824e60ef257771e090c534cbd4c5e76f60d964c SHA1 1fd191b7d176b09797b8f0cf77fcbc9c80318e97 SHA256 c58d4c71c2db65e428c33911fa2ca41878b85cbb0b1c57e0a06a13a72b1595fc -MD5 f48bedfa560d860030f8da2155092016 files/vtun-2.5-expect.patch 334 -RMD160 3824e60ef257771e090c534cbd4c5e76f60d964c files/vtun-2.5-expect.patch 334 -SHA256 c58d4c71c2db65e428c33911fa2ca41878b85cbb0b1c57e0a06a13a72b1595fc files/vtun-2.5-expect.patch 334 -AUX vtun-2.5-makefile.patch 1794 RMD160 a760839e51b32de0a6f89369aaa4d47b47ab0aab SHA1 cb4f617c755c41d172a28b29b6881495e0f550ba SHA256 52cedf73ac9991484041c595525654b15970e49b8fcfc8383ebc5458df9e2e09 -MD5 eae860aeae73e470782dd4ece745d0b1 files/vtun-2.5-makefile.patch 1794 -RMD160 a760839e51b32de0a6f89369aaa4d47b47ab0aab files/vtun-2.5-makefile.patch 1794 -SHA256 52cedf73ac9991484041c595525654b15970e49b8fcfc8383ebc5458df9e2e09 files/vtun-2.5-makefile.patch 1794 -AUX vtun-2.5-r2-gentoo-gcc3.1.patch 767 RMD160 2d528053e460002dbbaeb4ccee356f94701cc277 SHA1 aaee3fec1a09ab33f6cdefed9c488771d9423283 SHA256 77e13ed165820e94179ae8ffc557c8c7a7c8a99c34468b3b1a6505a237c11fab -MD5 1e46f74e06c298440ef80e55ea493cbb files/vtun-2.5-r2-gentoo-gcc3.1.patch 767 -RMD160 2d528053e460002dbbaeb4ccee356f94701cc277 files/vtun-2.5-r2-gentoo-gcc3.1.patch 767 -SHA256 77e13ed165820e94179ae8ffc557c8c7a7c8a99c34468b3b1a6505a237c11fab files/vtun-2.5-r2-gentoo-gcc3.1.patch 767 AUX vtun-2.6-lzo2.patch 2547 RMD160 be0b6b2e2d1c3a123adf4a4f5f6bdc9926407f18 SHA1 e4b074adc5a26a40abd12521458ced2ef8365023 SHA256 3ed5678005e3b8ed7d9f0174174652b91a43041dbacf86f5cfa7de965d507568 MD5 3ed66a4e8454320147cdb763731c5b9e files/vtun-2.6-lzo2.patch 2547 RMD160 be0b6b2e2d1c3a123adf4a4f5f6bdc9926407f18 files/vtun-2.6-lzo2.patch 2547 @@ -29,45 +17,23 @@ AUX vtund-start.conf 1174 RMD160 e27c66bb660df80d6444fd4f86aea910a30aa281 SHA1 3 MD5 a806782ec385a60514f85833ed455fbc files/vtund-start.conf 1174 RMD160 e27c66bb660df80d6444fd4f86aea910a30aa281 files/vtund-start.conf 1174 SHA256 fce23e42500ac4b2135dfd4940388e4d05c117bba12446a7e1702c5a3342ab03 files/vtund-start.conf 1174 -DIST vtun-2.5.tar.gz 92510 DIST vtun-2.6.tar.gz 95637 -EBUILD vtun-2.5-r1.ebuild 1928 RMD160 ddcccd5cf60b1ab7f59708e0925ea6f6e10a7994 SHA1 f447c4bd137b146ccde2ac1d8ca7e052b08cf6ca SHA256 4ea142bdcb01a6a860936553912807a82e5524acacc50ef3d07bff35688ada81 -MD5 52c6990c3559940ee57861f87435cf56 vtun-2.5-r1.ebuild 1928 -RMD160 ddcccd5cf60b1ab7f59708e0925ea6f6e10a7994 vtun-2.5-r1.ebuild 1928 -SHA256 4ea142bdcb01a6a860936553912807a82e5524acacc50ef3d07bff35688ada81 vtun-2.5-r1.ebuild 1928 -EBUILD vtun-2.5-r2.ebuild 2031 RMD160 982c54f30527f1e4d4f597ec51873ae5f095654c SHA1 12ca92c69d4976a40f3f2192c41574569d9c0417 SHA256 093d0b8daddcc3b63fbd6cbfc014dd68f38beb491a66f3a00fd4ec8e11f81af7 -MD5 62c38ac4aea9f0af7847f0e1b9babba5 vtun-2.5-r2.ebuild 2031 -RMD160 982c54f30527f1e4d4f597ec51873ae5f095654c vtun-2.5-r2.ebuild 2031 -SHA256 093d0b8daddcc3b63fbd6cbfc014dd68f38beb491a66f3a00fd4ec8e11f81af7 vtun-2.5-r2.ebuild 2031 -EBUILD vtun-2.5.ebuild 1704 RMD160 cef2394dce4073ec31b1a8cd684991ca6a3bc3a2 SHA1 943aed6b2eac013ce16c21abab4bc9d2116db28c SHA256 4adf856b229bb6293366e629baec6320da4589c660ea67214202b173af33c856 -MD5 0cdc5d7ca0eb5bc2f02b0f225e6e6a6b vtun-2.5.ebuild 1704 -RMD160 cef2394dce4073ec31b1a8cd684991ca6a3bc3a2 vtun-2.5.ebuild 1704 -SHA256 4adf856b229bb6293366e629baec6320da4589c660ea67214202b173af33c856 vtun-2.5.ebuild 1704 -EBUILD vtun-2.6-r1.ebuild 1768 RMD160 eeb8194f16d1c2610d63b38c13f294f3197b62e9 SHA1 f1ac8159f53906cf1743cd72a02cd489422d5143 SHA256 73e7a4e002aebf9fed556c2eb24731c4a610099e3412664cdc98a44b9ad06fa9 -MD5 4d4a4d3117d786d1c29f972db31b2e9e vtun-2.6-r1.ebuild 1768 -RMD160 eeb8194f16d1c2610d63b38c13f294f3197b62e9 vtun-2.6-r1.ebuild 1768 -SHA256 73e7a4e002aebf9fed556c2eb24731c4a610099e3412664cdc98a44b9ad06fa9 vtun-2.6-r1.ebuild 1768 -EBUILD vtun-2.6.ebuild 1751 RMD160 54e0ad6d71d532551747d3721c61fbe18dcdb7bf SHA1 ba33b593d0b894cbfdd95e21f4e6fc012073058b SHA256 b20ce6e022c04933f6dbc354f9461238977515b8924b83b99074289b2f18e234 -MD5 139727784b34cbb655e5312a2402b847 vtun-2.6.ebuild 1751 -RMD160 54e0ad6d71d532551747d3721c61fbe18dcdb7bf vtun-2.6.ebuild 1751 -SHA256 b20ce6e022c04933f6dbc354f9461238977515b8924b83b99074289b2f18e234 vtun-2.6.ebuild 1751 -MISC ChangeLog 3549 RMD160 b02a550c2efd7fc327219567501ba7552b8c54c7 SHA1 f3bfa9b52f62876b9c2e40ebf3f41b0e553b2e69 SHA256 88feedb62bcf017f1744cdbdcfce98ada2c110500c5ced203c92652743ab5d96 -MD5 d6dbbca99936b603ff7b62dcfbccec37 ChangeLog 3549 -RMD160 b02a550c2efd7fc327219567501ba7552b8c54c7 ChangeLog 3549 -SHA256 88feedb62bcf017f1744cdbdcfce98ada2c110500c5ced203c92652743ab5d96 ChangeLog 3549 +EBUILD vtun-2.6-r1.ebuild 1778 RMD160 fa7da671c167fccbfece2ff39ef7907f4939e13c SHA1 dbf180c4543da75abc2290c2375d29c4d2a62dff SHA256 8da12772896985a5761a1922e37cdf05ddacbd43e931f6c1cf2a478d5566c936 +MD5 235a0d53b667dd11cbfbdc2822fe19d8 vtun-2.6-r1.ebuild 1778 +RMD160 fa7da671c167fccbfece2ff39ef7907f4939e13c vtun-2.6-r1.ebuild 1778 +SHA256 8da12772896985a5761a1922e37cdf05ddacbd43e931f6c1cf2a478d5566c936 vtun-2.6-r1.ebuild 1778 +EBUILD vtun-2.6.ebuild 1755 RMD160 e28860c884e0faf7d8e868d43b84848c2757764a SHA1 c7fd9ac8e93c846e6dd55a3337739f254629ee08 SHA256 842fdef133575b832225af214cec6df09a9344f13f1e57870d750bb4d7052ec9 +MD5 4540f91ea51dfc30e63ca28de5cd54f2 vtun-2.6.ebuild 1755 +RMD160 e28860c884e0faf7d8e868d43b84848c2757764a vtun-2.6.ebuild 1755 +SHA256 842fdef133575b832225af214cec6df09a9344f13f1e57870d750bb4d7052ec9 vtun-2.6.ebuild 1755 +MISC ChangeLog 3893 RMD160 bc96dddf2b2ece297fa3f154e2d26385706c6dd1 SHA1 4ebbd23b477c0dde957a9c41f4e634bc74e333de SHA256 88f0a064ba869794137ec66e07cd34e01150c2fe3e32940880cbe1a7c2135bed +MD5 c72897ae109bd0e8746ba5f6806e62bc ChangeLog 3893 +RMD160 bc96dddf2b2ece297fa3f154e2d26385706c6dd1 ChangeLog 3893 +SHA256 88f0a064ba869794137ec66e07cd34e01150c2fe3e32940880cbe1a7c2135bed ChangeLog 3893 MISC metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 SHA1 d6147d00f16e8cfeef893d0764b0675a93d62849 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 metadata.xml 160 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e metadata.xml 160 -MD5 e5c8a47e7b30540f4094b1aa6d3f6e5f files/digest-vtun-2.5 59 -RMD160 e570fccbf66248851b0ec97b1dd2d8a4d7fc7898 files/digest-vtun-2.5 59 -SHA256 383efa05d2411a834545c28d102851d6581c14e73a51f8301cfb0a08e72ecdba files/digest-vtun-2.5 59 -MD5 e5c8a47e7b30540f4094b1aa6d3f6e5f files/digest-vtun-2.5-r1 59 -RMD160 e570fccbf66248851b0ec97b1dd2d8a4d7fc7898 files/digest-vtun-2.5-r1 59 -SHA256 383efa05d2411a834545c28d102851d6581c14e73a51f8301cfb0a08e72ecdba files/digest-vtun-2.5-r1 59 -MD5 e5c8a47e7b30540f4094b1aa6d3f6e5f files/digest-vtun-2.5-r2 59 -RMD160 e570fccbf66248851b0ec97b1dd2d8a4d7fc7898 files/digest-vtun-2.5-r2 59 -SHA256 383efa05d2411a834545c28d102851d6581c14e73a51f8301cfb0a08e72ecdba files/digest-vtun-2.5-r2 59 MD5 f6c794a4c6d2965b321514400900e5ef files/digest-vtun-2.6 59 RMD160 b282e0bc0dc2db7c2242b3f64f0dd6f150f0fe4c files/digest-vtun-2.6 59 SHA256 2acad3abe31ab70a5bde1bb0fd9753c1bb919d670734756192549977db9a329f files/digest-vtun-2.6 59 @@ -75,9 +41,9 @@ MD5 f6c794a4c6d2965b321514400900e5ef files/digest-vtun-2.6-r1 59 RMD160 b282e0bc0dc2db7c2242b3f64f0dd6f150f0fe4c files/digest-vtun-2.6-r1 59 SHA256 2acad3abe31ab70a5bde1bb0fd9753c1bb919d670734756192549977db9a329f files/digest-vtun-2.6-r1 59 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux) -iD8DBQFFAyRr10xuJSrg3/sRAoIoAJ9tGx2rYNU01MncExALt+M0C/RC7ACdH0wu -491GC+8w09dca/DqgUhD/2U= -=7Ez4 +iD8DBQFFRHSpmdTrptrqvGERAicIAJwLZUPgW8Ug589ShBOxqavv5U2iowCfb4bs +VdWbZKEyfKhKPQfbNRGEYpY= +=ECCQ -----END PGP SIGNATURE----- diff --git a/net-misc/vtun/files/digest-vtun-2.5 b/net-misc/vtun/files/digest-vtun-2.5 deleted file mode 100644 index abf8dfbce137..000000000000 --- a/net-misc/vtun/files/digest-vtun-2.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 b29bffeb07e66567e247641919c45b23 vtun-2.5.tar.gz 92510 diff --git a/net-misc/vtun/files/digest-vtun-2.5-r1 b/net-misc/vtun/files/digest-vtun-2.5-r1 deleted file mode 100644 index abf8dfbce137..000000000000 --- a/net-misc/vtun/files/digest-vtun-2.5-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 b29bffeb07e66567e247641919c45b23 vtun-2.5.tar.gz 92510 diff --git a/net-misc/vtun/files/digest-vtun-2.5-r2 b/net-misc/vtun/files/digest-vtun-2.5-r2 deleted file mode 100644 index abf8dfbce137..000000000000 --- a/net-misc/vtun/files/digest-vtun-2.5-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 b29bffeb07e66567e247641919c45b23 vtun-2.5.tar.gz 92510 diff --git a/net-misc/vtun/files/vtun-2.5-expect.patch b/net-misc/vtun/files/vtun-2.5-expect.patch deleted file mode 100644 index ce853c464287..000000000000 --- a/net-misc/vtun/files/vtun-2.5-expect.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- vtun-2.5/cfg_file.y Sun Feb 17 22:03:05 2002 -+++ vtun-2.5-expect/cfg_file.y Sun Feb 17 22:03:17 2002 -@@ -68,7 +68,7 @@ - int num; - struct { int num1; int num2; } dnum; - } --%expect 18 -+%expect 20 - - %token K_OPTIONS K_DEFAULT K_PORT K_PERSIST K_TIMEOUT - %token K_PASSWD K_PROG K_PPP K_SPEED K_IFCFG K_FWALL K_ROUTE K_DEVICE diff --git a/net-misc/vtun/files/vtun-2.5-makefile.patch b/net-misc/vtun/files/vtun-2.5-makefile.patch deleted file mode 100644 index e37a6441acd0..000000000000 --- a/net-misc/vtun/files/vtun-2.5-makefile.patch +++ /dev/null @@ -1,50 +0,0 @@ -diff -ruN vtun-2.3.orig/Makefile.in vtun-2.3/Makefile.in ---- vtun-2.3.orig/Makefile.in Mon May 29 15:35:11 2000 -+++ vtun-2.3/Makefile.in Sat Sep 23 14:17:28 2000 -@@ -27,8 +27,9 @@ - LEX = @LEX@ - LEXFLAGS = -t - -+DESTDIR = -+ - INSTALL = @INSTALL@ --INSTALL_OWNER = -o root -g 0 - - prefix = @prefix@ - exec_prefix = @exec_prefix@ -@@ -79,24 +80,20 @@ - rm -f `cat vtun.drivers` - - install_man: -- $(INSTALL) -d -m 755 $(INSTALL_OWNER) $(MAN_DIR)/man8 -- $(INSTALL) -m 644 $(INSTALL_OWNER) vtund.8 $(MAN_DIR)/man8 -- $(INSTALL) -d -m 755 $(INSTALL_OWNER) $(MAN_DIR)/man5 -- $(INSTALL) -m 644 $(INSTALL_OWNER) vtund.conf.5 $(MAN_DIR)/man5 -- rm -f $(MAN_DIR)/man8/vtun.8 -- ln -s vtund.8 $(MAN_DIR)/man8/vtun.8 -+ $(INSTALL) -d -m 755 $(DESTDIR)$(MAN_DIR)/man8 -+ $(INSTALL) -m 644 vtund.8 $(DESTDIR)$(MAN_DIR)/man8 -+ $(INSTALL) -d -m 755 $(DESTDIR)$(MAN_DIR)/man5 -+ $(INSTALL) -m 644 vtund.conf.5 $(DESTDIR)$(MAN_DIR)/man5 - - install_config: -- $(INSTALL) -d -m 755 $(INSTALL_OWNER) $(ETC_DIR) -- if [ ! -f $(ETC_DIR)/vtund.conf ]; then \ -- $(INSTALL) -m 600 $(INSTALL_OWNER) vtund.conf $(ETC_DIR); \ -- fi -+ $(INSTALL) -d -m 755 $(DESTDIR)$(ETC_DIR) -+ $(INSTALL) -m 600 vtund.conf $(DESTDIR)$(ETC_DIR); - - install: vtund install_config install_man -- $(INSTALL) -d -m 755 $(INSTALL_OWNER) $(VAR_DIR)/run -- $(INSTALL) -d -m 755 $(INSTALL_OWNER) $(STAT_DIR) -- $(INSTALL) -d -m 755 $(INSTALL_OWNER) $(LOCK_DIR) -- $(INSTALL) -d -m 755 $(INSTALL_OWNER) $(SBIN_DIR) -- $(INSTALL) -m 755 $(INSTALL_OWNER) vtund $(SBIN_DIR) -+ $(INSTALL) -d -m 755 $(DESTDIR)$(VAR_DIR)/run -+ $(INSTALL) -d -m 755 $(DESTDIR)$(STAT_DIR) -+ $(INSTALL) -d -m 755 $(DESTDIR)$(LOCK_DIR) -+ $(INSTALL) -d -m 755 $(DESTDIR)$(SBIN_DIR) -+ $(INSTALL) -m 755 vtund $(DESTDIR)$(SBIN_DIR) - - # DO NOT DELETE THIS LINE -- make depend depends on it. diff --git a/net-misc/vtun/files/vtun-2.5-r2-gentoo-gcc3.1.patch b/net-misc/vtun/files/vtun-2.5-r2-gentoo-gcc3.1.patch deleted file mode 100644 index 6158949c7315..000000000000 --- a/net-misc/vtun/files/vtun-2.5-r2-gentoo-gcc3.1.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- vtun/configure 2000-12-28 00:35:10.000000000 -0500 -+++ vtun-gentoo/configure 2002-06-06 12:03:43.000000000 -0400 -@@ -1992,7 +1992,9 @@ - - done - if test "$ac_hdr_found" = "yes" ; then -+ if test "$p" != "/usr/include" ; then - CPPFLAGS="$CPPFLAGS -I$p" -+ fi - echo "$ac_t""($p) yes " 1>&6 - echo $ac_n "checking for lzo1x_decompress in -llzo""... $ac_c" 1>&6 - echo "configure:1999: checking for lzo1x_decompress in -llzo" >&5 -@@ -2080,7 +2082,9 @@ - - done - if test "$ac_hdr_found" = "yes" ; then -+ if test "$p" != "/usr/include" ; then - CPPFLAGS="$CPPFLAGS -I$p" -+ fi - echo "$ac_t""($p) yes " 1>&6 - echo $ac_n "checking for BF_set_key in -lcrypto""... $ac_c" 1>&6 - echo "configure:2087: checking for BF_set_key in -lcrypto" >&5 diff --git a/net-misc/vtun/vtun-2.5-r1.ebuild b/net-misc/vtun/vtun-2.5-r1.ebuild deleted file mode 100644 index 87b300b8ff21..000000000000 --- a/net-misc/vtun/vtun-2.5-r1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vtun/vtun-2.5-r1.ebuild,v 1.12 2005/11/13 06:21:54 dragonheart Exp $ - -IUSE="ssl" - -DESCRIPTION="Tunneling software to use the universal tunnel" -HOMEPAGE="http://vtun.sourceforge.net" -KEYWORDS="x86 sparc " -LICENSE="GPL-2" -SLOT="0" -DEPEND=">=sys-libs/zlib-1.1.4 - =dev-libs/lzo-1* - ssl? ( >=dev-libs/openssl-0.9.6c-r1 ) - >=sys-kernel/linux-headers-2.4.18" -#RDEPEND="" -SRC_URI="mirror://sourceforge/vtun/${P}.tar.gz" -S=${WORKDIR}/vtun - -src_compile() { - if ! use ssl - then - use_opts="--disable-ssl" - fi - - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $use_opts || die "./configure failed" - mv config.h config.h.orig - mv cfg_file.y cfg_file.y.orig - sed "s,/* #undef HAVE_LINUX_IF_TUN_H */,#define HAVE_LINUX_IF_TUN_H 1," \ - config.h.orig >config.h - sed "s,expect 18,expect 20," \ - cfg_file.y.orig >cfg_file.y - - # Rename this, because its from cyrus, we want the openssl one. - if [ -f /usr/include/md5.h ]; then - mv /usr/include/md5.h /usr/include/md5.h.vtun_compile - fi - - # If this doesnt work, we only remember that we failed, so - # we always rename the /etc/include/md5.h file back. - emake \ - ETC_DIR=/etc \ - VAR_DIR=/var || FAILED=1 - - # OK, we're done, rename the cyrus one back to what it was. - if [ -f /usr/include/md5.h.vtun_compile -a - ! -f /usr/include/md5.h ]; then - mv /usr/include/md5.h.vtun_compile /usr/include/md5.h - fi - if [ 0$FAILED -ne 0 ]; then - die - fi -} - -src_install () { - make \ - prefix=${D}/usr \ - ETC_DIR=${D}/etc \ - VAR_DIR=${D}/var \ - INFO_DIR=${D}/usr/share/info \ - MAN_DIR=${D}/usr/share/man install || die - - dodoc ChangeLog Credits FAQ README* TODO vtund.conf - - exeinto etc/init.d; - newexe ${FILESDIR}/vtun.rc vtun - - insinto etc - doins ${FILESDIR}/vtund-start.conf -} diff --git a/net-misc/vtun/vtun-2.5-r2.ebuild b/net-misc/vtun/vtun-2.5-r2.ebuild deleted file mode 100644 index 1b5ab896cb79..000000000000 --- a/net-misc/vtun/vtun-2.5-r2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vtun/vtun-2.5-r2.ebuild,v 1.12 2005/11/13 06:21:54 dragonheart Exp $ - -IUSE="ssl" - -DESCRIPTION="Tunneling software to use the universal tunnel" -HOMEPAGE="http://vtun.sourceforge.net" -KEYWORDS="x86 sparc alpha" -LICENSE="GPL-2" -SLOT="0" -DEPEND=">=sys-libs/zlib-1.1.4 - =dev-libs/lzo-1* - ssl? ( >=dev-libs/openssl-0.9.6c-r1 ) - >=sys-kernel/linux-headers-2.4.18" -#RDEPEND="" -SRC_URI="mirror://sourceforge/vtun/${P}.tar.gz" -S=${WORKDIR}/vtun - -src_compile() { - if ! use ssl - then - use_opts="--disable-ssl" - fi - - cat ${FILESDIR}/vtun-2.5-r2-gentoo-gcc3.1.patch | patch -p1 || die "couldn't patch for gcc3.1"; - - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $use_opts || die "./configure failed" - mv config.h config.h.orig - mv cfg_file.y cfg_file.y.orig - sed "s,/* #undef HAVE_LINUX_IF_TUN_H */,#define HAVE_LINUX_IF_TUN_H 1," \ - config.h.orig >config.h - sed "s,expect 18,expect 20," \ - cfg_file.y.orig >cfg_file.y - - # Rename this, because its from cyrus, we want the openssl one. - if [ -f /usr/include/md5.h ]; then - mv /usr/include/md5.h /usr/include/md5.h.vtun_compile - fi - - # If this doesnt work, we only remember that we failed, so - # we always rename the /etc/include/md5.h file back. - emake \ - ETC_DIR=/etc \ - VAR_DIR=/var || FAILED=1 - - # OK, we're done, rename the cyrus one back to what it was. - if [ -f /usr/include/md5.h.vtun_compile -a - ! -f /usr/include/md5.h ]; then - mv /usr/include/md5.h.vtun_compile /usr/include/md5.h - fi - if [ 0$FAILED -ne 0 ]; then - die - fi -} - -src_install () { - make \ - prefix=${D}/usr \ - ETC_DIR=${D}/etc \ - VAR_DIR=${D}/var \ - INFO_DIR=${D}/usr/share/info \ - MAN_DIR=${D}/usr/share/man install || die - - dodoc ChangeLog Credits FAQ README* TODO vtund.conf - - exeinto etc/init.d; - newexe ${FILESDIR}/vtun.rc vtun - - insinto etc - doins ${FILESDIR}/vtund-start.conf -} diff --git a/net-misc/vtun/vtun-2.5.ebuild b/net-misc/vtun/vtun-2.5.ebuild deleted file mode 100644 index 322e7e825661..000000000000 --- a/net-misc/vtun/vtun-2.5.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/vtun/vtun-2.5.ebuild,v 1.16 2005/11/13 06:21:54 dragonheart Exp $ - -IUSE="ssl" - -S=${WORKDIR}/vtun -DESCRIPTION="Create virtual tunnels over TCP/IP networks with traffic shaping, encryption, and compression" -SRC_URI="mirror://sourceforge/vtun/${P}.tar.gz" -HOMEPAGE="http://vtun.sourceforge.net/" -KEYWORDS="x86 sparc " -LICENSE="GPL-2" -SLOT="0" - -# NOTE: you also need the tun/tap driver compiled into your kernel -# to do tun/tap tunneling -DEPEND="virtual/libc - >=sys-libs/zlib-1.1.3 - =dev-libs/lzo-1* - sys-devel/bison - ssl? ( >=dev-libs/openssl-0.9.6c )" - -src_unpack() { - unpack ${A} && cd ${S} || die - patch -p1 < ${FILESDIR}/${PN}-${PV}-expect.patch || die - patch -p1 < ${FILESDIR}/${PN}-${PV}-makefile.patch || die -} - -src_compile() { - local use_opts - use_opts="" - if ! use ssl - then - use_opts="--disable-ssl" - fi - - econf ${use_opts} --with-ssl-headers=/usr/include/openssl || die - - make || die -} - -src_install () { - make DESTDIR=${D} prefix=/usr \ - mandir=/usr/share/man \ - infodir=/usr/share/info \ - datadir=/usr/share \ - sysconfdir=/etc \ - localstatedir=/var/lib \ - install || die - - dodoc ChangeLog Credits FAQ README README.Setup README.Shaper TODO - - exeinto etc/init.d; - newexe ${FILESDIR}/vtun.rc vtun - - insinto etc - doins ${FILESDIR}/vtund-start.conf -} - -pkg_postinst () { - echo ">>> You will need the Universal TUN/TAP driver compiled into" - echo ">>> your kernel or as a module to use the associated tunnel" - echo ">>> modes in vtun. 2.2 users will need to download and install" - echo ">>> the driver from http://vtun.sourceforge.net/tun" -} |