Compare commits
49 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f702d5111 | ||
|
|
4fa3359af5 | ||
|
|
82540dc397 | ||
|
|
aa8d4bc89e | ||
| 81e15b3a03 | |||
|
|
78922f8841 | ||
| c9ea8c1304 | |||
|
|
5c99ad0f2b | ||
|
|
51f51041d2 | ||
|
|
7f161bf488 | ||
|
|
b51c8f84af | ||
|
|
f288dfa08f | ||
|
|
4fcfb7b375 | ||
|
|
8014407ad0 | ||
|
|
f4f3570aab | ||
|
|
266a063f3a | ||
|
|
7ab437d651 | ||
|
|
2e411b90b7 | ||
|
|
83ee6d9c2f | ||
|
|
98ee663d07 | ||
|
|
95e451ea73 | ||
|
|
e19ff0f94c | ||
|
|
eebb079d6d | ||
|
|
c0f984cb7f | ||
|
|
ccddc64d07 | ||
|
|
740551ea7f | ||
|
|
44a6fe09a2 | ||
| 17436fe7f3 | |||
|
|
86d3c3baf5 | ||
|
|
2cf07ebcdf | ||
|
|
1a765e55e2 | ||
|
|
794bfef1f2 | ||
|
|
9c5bf51bf9 | ||
|
|
fe5b51eb26 | ||
|
|
4da605e27f | ||
|
|
4520a2ee1d | ||
|
|
0194da417f | ||
|
|
734c174a9d | ||
|
|
c8ccdd92b1 | ||
|
|
b6d68f70e8 | ||
|
|
12ebc68780 | ||
|
|
1cc0a9b399 | ||
|
|
e9e197c5fb | ||
|
|
b3fcd3083f | ||
|
|
1818248db3 | ||
|
|
be06e01b13 | ||
|
|
8657652c05 | ||
|
|
a5773110a4 | ||
|
|
925b8ac123 |
7 changed files with 1 additions and 225 deletions
|
|
@ -1 +0,0 @@
|
|||
vtun-3.0.1.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: vtun
|
||||
# $Id$
|
||||
NAME := vtun
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Orphaned for 6+ weeks
|
||||
|
|
@ -1 +0,0 @@
|
|||
vtun-3_0_1-3_fc8:HEAD:vtun-3.0.1-3.fc8.src.rpm:1227105889
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
c342ffe77055d4248a38f0b380f28c1b vtun-3.0.1.tar.gz
|
||||
91
vtun.spec
91
vtun.spec
|
|
@ -1,91 +0,0 @@
|
|||
Name: vtun
|
||||
Version: 3.0.1
|
||||
Release: 7%{?dist}
|
||||
Summary: Virtual tunnel over TCP/IP networks
|
||||
License: GPLv2+
|
||||
Group: System Environment/Daemons
|
||||
Url: http://vtun.sourceforge.net
|
||||
Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
Source1: vtund.init
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Requires: xinetd
|
||||
Requires(post): /sbin/chkconfig
|
||||
Requires(preun): /sbin/service /sbin/chkconfig
|
||||
Requires(postun): /sbin/service
|
||||
BuildRequires: zlib-devel lzo-devel openssl-devel bison flex
|
||||
|
||||
%description
|
||||
VTun provides a method for creating Virtual Tunnels over TCP/IP networks
|
||||
and allows one to shape, compress, and encrypt traffic in those tunnels.
|
||||
Supported types of tunnels are: PPP, IP, Ethernet and most other serial
|
||||
protocols and programs.
|
||||
VTun is easily and highly configurable: it can be used for various
|
||||
network tasks like VPN, Mobile IP, Shaped Internet access, IP address
|
||||
saving, etc. It is completely a user space implementation and does not
|
||||
require modification to any kernel parts.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%{__rm} -rf %{buildroot}
|
||||
%{__install} -D -m 0755 -p %{SOURCE1} %{buildroot}/%{_initrddir}/vtund
|
||||
%{__install} -D -m 0644 -p scripts/vtund.xinetd %{buildroot}/%{_sysconfdir}/xinetd.d/vtun
|
||||
%{__sed} -i 's:/usr/local:%{_prefix}:' %{buildroot}/%{_sysconfdir}/xinetd.d/vtun
|
||||
%{__make} install DESTDIR=%{buildroot} INSTALL_OWNER= INSTALL="/usr/bin/install -p"
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%post
|
||||
if [ $1 -eq 1 ]; then
|
||||
/sbin/chkconfig --add vtund || :
|
||||
fi
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
/sbin/service vtund stop >/dev/null 2>&1 || :
|
||||
/sbin/chkconfig --del vtund || :
|
||||
fi
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 1 ]; then
|
||||
/sbin/service vtund condrestart >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog Credits FAQ README README.LZO README.Setup README.Shaper TODO vtund.conf
|
||||
%config(noreplace) %{_sysconfdir}/vtund.conf
|
||||
%config(noreplace) %{_sysconfdir}/xinetd.d/vtun
|
||||
%{_initrddir}/vtund
|
||||
%{_sbindir}/vtund
|
||||
%dir %{_localstatedir}/log/vtund
|
||||
%dir %{_localstatedir}/lock/vtund
|
||||
%{_mandir}/man5/vtund.conf.5*
|
||||
%{_mandir}/man8/vtun.8*
|
||||
%{_mandir}/man8/vtund.8*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 3.0.1-7
|
||||
- rebuilt with new openssl
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Sun Jan 18 2009 Tomas Mraz <tmraz@redhat.com> 3.0.1-4
|
||||
- rebuild with new openssl
|
||||
|
||||
* Mon Nov 17 2008 Gabriel Somlo <somlo at cmu.edu> 3.0.1-3
|
||||
- scriptlets fixes
|
||||
* Fri Nov 14 2008 Gabriel Somlo <somlo at cmu.edu> 3.0.1-2
|
||||
- spec file fixes: defattr, -p flag to install program
|
||||
* Mon Oct 20 2008 Gabriel Somlo <somlo at cmu.edu> 3.0.1-1
|
||||
- initial fedora package
|
||||
110
vtund.init
110
vtund.init
|
|
@ -1,110 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# vtund Startup script for the virtual tunnel daemon
|
||||
#
|
||||
# chkconfig: - 55 45
|
||||
# description: Virtual Tunnel Daemon provides the facility to create \
|
||||
# virtual tunnels over TCP/IP networks and allows for \
|
||||
# shaping, compression, and encryption of tunneled traffic.
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides:
|
||||
# Required-Start:
|
||||
# Required-Stop:
|
||||
# Should-Start:
|
||||
# Should-Stop:
|
||||
# Default-Start:
|
||||
# Default-Stop:
|
||||
# Short-Description:
|
||||
# Description:
|
||||
### END INIT INFO
|
||||
|
||||
# Source function library.
|
||||
. /etc/rc.d/init.d/functions
|
||||
|
||||
exec="/usr/sbin/vtund"
|
||||
prog="vtund"
|
||||
config="/etc/vtund.conf"
|
||||
|
||||
[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
|
||||
|
||||
lockfile=/var/lock/subsys/$prog
|
||||
|
||||
start() {
|
||||
[ -x $exec ] || exit 5
|
||||
[ -f $config ] || exit 6
|
||||
echo -n $"Starting $prog: "
|
||||
daemon $exec -s
|
||||
retval=$?
|
||||
echo
|
||||
[ $retval -eq 0 ] && touch $lockfile
|
||||
return $retval
|
||||
}
|
||||
|
||||
stop() {
|
||||
echo -n $"Stopping $prog: "
|
||||
killproc $prog
|
||||
retval=$?
|
||||
echo
|
||||
[ $retval -eq 0 ] && rm -f $lockfile
|
||||
return $retval
|
||||
}
|
||||
|
||||
restart() {
|
||||
stop
|
||||
start
|
||||
}
|
||||
|
||||
reload() {
|
||||
echo -n $"Reloading config for $prog: "
|
||||
killproc $prog -HUP
|
||||
retval=$?
|
||||
echo
|
||||
return $retval
|
||||
}
|
||||
|
||||
force_reload() {
|
||||
restart
|
||||
}
|
||||
|
||||
rh_status() {
|
||||
# run checks to determine if the service is running or use generic status
|
||||
status $prog
|
||||
}
|
||||
|
||||
rh_status_q() {
|
||||
rh_status >/dev/null 2>&1
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
rh_status_q && exit 0
|
||||
$1
|
||||
;;
|
||||
stop)
|
||||
rh_status_q || exit 0
|
||||
$1
|
||||
;;
|
||||
restart)
|
||||
$1
|
||||
;;
|
||||
reload)
|
||||
rh_status_q || exit 7
|
||||
$1
|
||||
;;
|
||||
force-reload)
|
||||
force_reload
|
||||
;;
|
||||
status)
|
||||
rh_status
|
||||
;;
|
||||
condrestart|try-restart)
|
||||
rh_status_q || exit 0
|
||||
restart
|
||||
;;
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
|
||||
exit 2
|
||||
esac
|
||||
exit $?
|
||||
Loading…
Add table
Add a link
Reference in a new issue