Compare commits

...

No commits in common. "c8" and "c10s" have entirely different histories.
c8 ... c10s

10 changed files with 166 additions and 18 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/pptp-1.10.0.tar.gz pptp-*.tar.gz

View File

@ -1 +0,0 @@
173c9b7d204c89fd1538116f165bba1e9101b51c SOURCES/pptp-1.10.0.tar.gz

1
ci.fmf Normal file
View File

@ -0,0 +1 @@
resultsdb-testcase: separate

25
gating.yaml Normal file
View File

@ -0,0 +1,25 @@
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_testing
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
#Rawhide
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
#gating rhel
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-public.functional}
- !PassingTestCaseRule {test_case_name: osci.brew-build./plans/tier1-internal.functional}

36
plans.fmf Normal file
View File

@ -0,0 +1,36 @@
/tier1-internal:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/pptp.git
name: /plans/tier1/internal
/tier1-public:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/pptp.git
name: /plans/tier1/public
/tier2-tier3-internal:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/pptp.git
name: /plans/tier2-tier3/internal
/tier2-tier3-public:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/pptp.git
name: /plans/tier2-tier3/public
/others-internal:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/pptp.git
name: /plans/others/internal
/others-public:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/pptp.git
name: /plans/others/public

33
pptp-1.10.0-man-fix.patch Normal file
View File

@ -0,0 +1,33 @@
diff --git a/pptp.8 b/pptp.8
index 017b5db..9407a2a 100644
--- a/pptp.8
+++ b/pptp.8
@@ -119,6 +119,15 @@ Sets the number of packets to pass before causing a reordering test.
Default is 100. Has no effect if test-type is zero. The result of
test types 2 and 3 are undefined if this value is less than ten.
+.TP
+.B \-\-missing-window <n>
+Enable 'missing window' validation and set packet tolerance
+(300=default, 6000=recommended).
+
+.TP
+.B \-\-version
+Display version.
+
.SH "ROUTING"
When PPTP is used in conjunction with a default route on top of the
diff --git a/pptp.c b/pptp.c
index 92e3170..25f385c 100644
--- a/pptp.c
+++ b/pptp.c
@@ -127,7 +127,7 @@ void usage(char *progname)
" --test-type <type> Damage the packet stream by reordering\n"
" --test-rate <n> Do the test every n packets\n"
" --missing-window <n> Enable 'missing window' validation and set packet\n"
- " polerance (300=default, 6000=recommended)\n",
+ " tolerance (300=default, 6000=recommended)\n",
version, progname, progname);
log("%s called with wrong arguments, program not started.", progname);

View File

@ -1,17 +1,18 @@
Name: pptp Name: pptp
Version: 1.10.0 Version: 1.10.0
Release: 4%{?dist} Release: 22%{?dist}
Summary: Point-to-Point Tunneling Protocol (PPTP) Client Summary: Point-to-Point Tunneling Protocol (PPTP) Client
Group: Applications/Internet License: gpl-2.0-or-later
License: GPLv2+
URL: http://pptpclient.sourceforge.net/ URL: http://pptpclient.sourceforge.net/
Source0: http://downloads.sf.net/pptpclient/pptp-%{version}.tar.gz Source0: http://downloads.sf.net/pptpclient/pptp-%{version}.tar.gz
Source1: pptp-tmpfs.conf Source1: pptp-tmpfs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildRequires: make
BuildRequires: /usr/bin/pod2man BuildRequires: /usr/bin/pod2man
BuildRequires: perl-generators BuildRequires: gcc, perl-generators
Requires: ppp >= 2.4.2, /sbin/ip Requires: ppp >= 2.4.2, /sbin/ip
Requires: systemd-units Requires: systemd-units
# Patch sent upstream
Patch0: pptp-1.10.0-man-fix.patch
%description %description
Client for the proprietary Microsoft Point-to-Point Tunneling Client for the proprietary Microsoft Point-to-Point Tunneling
@ -20,7 +21,6 @@ by employers and some cable and ADSL service providers.
%package setup %package setup
Summary: PPTP Tunnel Configuration Script Summary: PPTP Tunnel Configuration Script
Group: Applications/Internet
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description setup %description setup
@ -30,27 +30,25 @@ tunnels.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .man-fix
# Pacify rpmlint # Pacify rpmlint
perl -pi -e 's/install -o root -m 555 pptp/install -m 755 pptp/;' Makefile perl -pi -e 's/install -o root -m 555 pptp/install -m 755 pptp/;' Makefile
%build %build
OUR_CFLAGS="-Wall %{optflags} -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes" OUR_CFLAGS="-Wall %{optflags} -Wextra -Wstrict-aliasing=2 -Wnested-externs -Wstrict-prototypes"
make %{?_smp_mflags} CFLAGS="$OUR_CFLAGS" LDFLAGS="$RPM_LD_FLAGS" IP=/sbin/ip %{make_build} CFLAGS="$OUR_CFLAGS" LDFLAGS="$RPM_LD_FLAGS" IP=/sbin/ip
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
make DESTDIR=%{buildroot} install %{make_install} DESTDIR=%{buildroot}
install -d -m 750 %{buildroot}%{_localstatedir}/run/pptp install -d -m 750 %{buildroot}%{_localstatedir}/run/pptp
install -d -m 755 %{buildroot}%{_prefix}/lib/tmpfiles.d install -d -m 755 %{buildroot}%{_prefix}/lib/tmpfiles.d
install -p -m 644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d/pptp.conf install -p -m 644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d/pptp.conf
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-)
%doc AUTHORS COPYING DEVELOPERS NEWS README TODO USING %doc AUTHORS COPYING DEVELOPERS NEWS README TODO USING
%doc ChangeLog Documentation/DESIGN.PPTP PROTOCOL-SECURITY %doc ChangeLog Documentation/DESIGN.PPTP PROTOCOL-SECURITY
%{_prefix}/lib/tmpfiles.d/pptp.conf %{_prefix}/lib/tmpfiles.d/pptp.conf
@ -60,14 +58,68 @@ rm -rf %{buildroot}
%config(noreplace) %{_sysconfdir}/ppp/options.pptp %config(noreplace) %{_sysconfdir}/ppp/options.pptp
%files setup %files setup
%defattr(-,root,root,-)
%{_sbindir}/pptpsetup %{_sbindir}/pptpsetup
%{_mandir}/man8/pptpsetup.8* %{_mandir}/man8/pptpsetup.8*
%changelog %changelog
* Wed May 6 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 1.10.0-4 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.10.0-22
- Changed run directory location from /var/run to /run - Bump release for October 2024 mass rebuild:
Resolves: rhbz#1805972 Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.10.0-21
- Bump release for June 2024 mass rebuild
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Dec 12 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 1.10.0-18
- Converted license tag to SPDX
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu May 14 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 1.10.0-10
- Fixed man page and typo in the built-in help
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Jan 11 2020 Paul Wouters <pwouters@redhat.com> - 1.10.0-8
- fixup tmpfile to use /run instead of /var/run
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 20 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 1.10.0-5
- Fixed FTBFS by adding gcc requirement
Resolves: rhbz#1605498
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-3 * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (pptp-1.10.0.tar.gz) = d2b925fb9cb5dbc4da576dce0cfae62f466576ae5b5ed7d6edeaec9be16ab6e0d17c307df43ebdc06138f1269ef61ba8910462a4629b6262c452e8287cabe41c