Compare commits
37 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 |
6 changed files with 1 additions and 133 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,2 +0,0 @@
|
|||
vtun-3.0.1.tar.gz
|
||||
/vtun-3.0.1.tar.gz
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Orphaned for 6+ weeks
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
c342ffe77055d4248a38f0b380f28c1b vtun-3.0.1.tar.gz
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
[Unit]
|
||||
Description=Virtual Tunnels over TCP/IP networks
|
||||
After=local-fs.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/vtund -i
|
||||
StandardInput=socket
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
[Unit]
|
||||
Description=Vtun Activation Socket
|
||||
|
||||
[Socket]
|
||||
ListenStream=5000
|
||||
Accept=true
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
114
vtun.spec
114
vtun.spec
|
|
@ -1,114 +0,0 @@
|
|||
Name: vtun
|
||||
Version: 3.0.1
|
||||
Release: 15%{?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: vtun.socket
|
||||
Source2: vtun.service
|
||||
|
||||
Requires(preun): systemd-units
|
||||
Requires(postun): systemd-units
|
||||
BuildRequires: zlib-devel lzo-devel openssl-devel bison flex systemd-units
|
||||
|
||||
%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
|
||||
install -D -m 0644 -p %{SOURCE1} %{buildroot}/%{_unitdir}/vtun.socket
|
||||
install -D -m 0644 -p %{SOURCE2} %{buildroot}/%{_unitdir}/vtun.service
|
||||
make install DESTDIR=%{buildroot} INSTALL_OWNER= INSTALL="/usr/bin/install -p"
|
||||
|
||||
%post
|
||||
if [ $1 -eq 1 ]; then
|
||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
/bin/systemctl --no-reload disable vtun.socket >/dev/null 2>&1 || :
|
||||
/bin/systemctl --no-reload disable vtun.service >/dev/null 2>&1 || :
|
||||
/bin/systemctl stop vtun.socket >/dev/null 2>&1 || :
|
||||
/bin/systemctl stop vtun.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 1 ]; then
|
||||
/bin/systemctl try-restart vtun.socket >/dev/null 2>&1 || :
|
||||
/bin/systemctl try-restart vtun.service >/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
|
||||
%{_unitdir}/vtun.socket
|
||||
%{_unitdir}/vtun.service
|
||||
%{_sbindir}/vtund
|
||||
%dir %{_localstatedir}/log/vtund
|
||||
%ghost %dir %{_localstatedir}/lock/vtund
|
||||
%{_mandir}/man5/vtund.conf.5*
|
||||
%{_mandir}/man8/vtun.8*
|
||||
%{_mandir}/man8/vtund.8*
|
||||
|
||||
%changelog
|
||||
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Mon May 21 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 3.0.1-14
|
||||
- Fix unit file location, cleanup and modernise spec
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Sat Sep 10 2011 Gabriel Somlo <somlo at cmu.edu> 3.0.1-12
|
||||
- removed xinetd and sysvinit support
|
||||
|
||||
* Sat Sep 10 2011 Gabriel Somlo <somlo at cmu.edu> 3.0.1-11
|
||||
- update support for systemd (#737195)
|
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Thu Jan 06 2011 Gabriel Somlo <somlo at cmu.edu> 3.0.1-9
|
||||
- add support for systemd (#661331)
|
||||
|
||||
* Tue Nov 30 2010 Gabriel Somlo <somlo at cmu.edu> 3.0.1-8
|
||||
- using %ghost on /var/lock/vtund directory (#656720)
|
||||
|
||||
* 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue