소스 검색

updated 7 packages

ghostscript-9.53.3-1

lua-5.4.2-1

libjpeg-turbo-2.0.6-1

libtiff-4.2.0-1

openjpeg2-2.4.0-1

proftpd-1.3.7a-1

wireshark-3.4.2-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12519 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 3 년 전
부모
커밋
17cfc0970b

+ 10 - 3
g/ghostscript/ghostscript-vl.spec

@@ -13,7 +13,7 @@
 Summary:        A PostScript(TM) interpreter and renderer.
 Summary:        A PostScript(TM) interpreter and renderer.
 Summary(ja):    日本語 PostScript(TM) インタプリタ/レンダラ/ビュア
 Summary(ja):    日本語 PostScript(TM) インタプリタ/レンダラ/ビュア
 Name:           ghostscript
 Name:           ghostscript
-Version:        9.53.0
+Version:        9.53.3
 Release:        1%{?_dist_release}
 Release:        1%{?_dist_release}
 Group:          publishing
 Group:          publishing
 Vendor:         Project Vine
 Vendor:         Project Vine
@@ -42,9 +42,10 @@ Source5:        cidfmap.ja
 Source10:       Changelog.gs7.vine
 Source10:       Changelog.gs7.vine
 
 
 # patches from upstream
 # patches from upstream
+Patch001:       ghostscript-9.53.3-drop-ft-callback-def.patch
+Patch002:       ghostscript-9.53.3-restore-opvp-device.patch
 
 
 # patches from fedora
 # patches from fedora
-Patch100:       ghostscript-9.23-100-run-dvipdf-securely.patch
 
 
 # security patches
 # security patches
 
 
@@ -153,7 +154,8 @@ A GTK-enabled version of Ghostscript, called 'gsx'.
 %setup -q -n %{name}-%{version}
 %setup -q -n %{name}-%{version}
 rm -rf cups/libs expat freetype jasper jpeg jpegxr lcms2* libpng openjpeg tiff windows zlib
 rm -rf cups/libs expat freetype jasper jpeg jpegxr lcms2* libpng openjpeg tiff windows zlib
 
 
-%patch100 -p1
+%patch001 -p1
+%patch002 -p1
 %patch1000 -p1
 %patch1000 -p1
 
 
 
 
@@ -382,6 +384,11 @@ fi
 
 
 
 
 %changelog
 %changelog
+* Tue Dec 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.53.3-1
+- new upstream release.
+- dropped Patch100.
+- imported Patch001 and 002 from rawhide.
+
 * Fri Sep 11 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.53.0-1
 * Fri Sep 11 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.53.0-1
 - new upstream release.
 - new upstream release.
 - dropped Patch000: fixed in upstream.
 - dropped Patch000: fixed in upstream.

+ 8 - 27
l/lua/lua-vl.spec

@@ -1,11 +1,11 @@
 # No tests yet for 5.3.5
 # No tests yet for 5.3.5
-%global test_version 5.4.0
+%global test_version 5.4.2
 # If you are incrementing major_version, enable bootstrapping and adjust accordingly.
 # If you are incrementing major_version, enable bootstrapping and adjust accordingly.
 # Version should be the latest prior build. If you don't do this, RPM will break and
 # Version should be the latest prior build. If you don't do this, RPM will break and
 # everything will grind to a halt.
 # everything will grind to a halt.
 %global bootstrap 1
 %global bootstrap 1
 %global bootstrap_major_version 5.3
 %global bootstrap_major_version 5.3
-%global bootstrap_version %{bootstrap_major_version}.5
+%global bootstrap_version %{bootstrap_major_version}.6
 
 
 # Place rpm-macros into proper location.
 # Place rpm-macros into proper location.
 %global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
 %global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
@@ -13,7 +13,7 @@
 Summary:        Lua is a powerful, light-weight programming language designed for extending applications.
 Summary:        Lua is a powerful, light-weight programming language designed for extending applications.
 Summary(ja):    アプリケーション拡張向けに設計された強力かつ軽量なプログラミング言語
 Summary(ja):    アプリケーション拡張向けに設計された強力かつ軽量なプログラミング言語
 Name:           lua
 Name:           lua
-Version:        5.4.0
+Version:        5.4.2
 Release:        1%{?_dist_release}
 Release:        1%{?_dist_release}
 Group:          programming
 Group:          programming
 Vendor:         Project Vine
 Vendor:         Project Vine
@@ -43,19 +43,8 @@ Patch4:         %{name}-5.3.0-configure-compat-module.patch
 Patch5:         %{name}-5.3.0-autotoolize.patch
 Patch5:         %{name}-5.3.0-autotoolize.patch
 Patch6:		%{name}-5.3.5-luac-shared-link-fix.patch
 Patch6:		%{name}-5.3.5-luac-shared-link-fix.patch
 %endif
 %endif
-Patch7:		%{name}-5.4.0-CVE-2020-15889.patch
-Patch8:		%{name}-5.4.0-CVE-2020-15945.patch
 # https://www.lua.org/bugs.html
 # https://www.lua.org/bugs.html
-# Bug 1 is CVE-2020-15889
-Patch9:		%{name}-5.4.0-bug2.patch
-Patch10:	%{name}-5.4.0-bug3.patch
-Patch11:	%{name}-5.4.0-bug4.patch
-Patch12:	%{name}-5.4.0-bug5.patch
-Patch13:	%{name}-5.4.0-bug6.patch
-Patch14:	%{name}-5.4.0-bug7.patch
-Patch15:	%{name}-5.4.0-bug8.patch
-
-Patch1000:	CVE-2020-24342.patch
+# none
 
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildRequires:  readline-devel
 BuildRequires:  readline-devel
@@ -130,18 +119,6 @@ mv src/luaconf.h src/luaconf.h.template.in
 #%% patch2 -p1 -z .luac-shared
 #%% patch2 -p1 -z .luac-shared
 %patch3 -p1 -z .configure-linux
 %patch3 -p1 -z .configure-linux
 %patch4 -p1 -z .configure-compat-all
 %patch4 -p1 -z .configure-compat-all
-%patch7 -p1 -b .CVE-2020-15889
-%patch8 -p1 -b .CVE-2020-15945
-%patch9 -p1 -b .bug2
-%patch10 -p1 -b .bug3
-%patch11 -p1 -b .bug4
-%patch12 -p1 -b .bug5
-%patch13 -p1 -b .bug6
-%patch14 -p1 -b .bug7
-%patch15 -p1 -b .bug8
-pushd src
-%patch1000 -p1 -b .CVE-2020-24342
-popd
 
 
 # Put proper version in configure.ac, patch0 hardcodes 5.3.0
 # Put proper version in configure.ac, patch0 hardcodes 5.3.0
 sed -i 's|5.3.0|%{version}|g' configure.ac
 sed -i 's|5.3.0|%{version}|g' configure.ac
@@ -280,6 +257,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 
 
 %changelog
 %changelog
+* Sat Dec 26 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.4.2-1
+- new upstream release.
+- dropped Patch8-15 and 1000: fixed in upstream.
+
 * Fri Aug 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.4.0-1
 * Fri Aug 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.4.0-1
 - new upstream release.
 - new upstream release.
 
 

+ 7 - 4
lib/libj/libjpeg-turbo/libjpeg-turbo-vl.spec

@@ -4,15 +4,15 @@ Summary:	A MMX/SSE2/SIMD accelerated library for manipulating JPEG image files
 Summary(ja):	MMX/SSE2/SIMD でアクセラレーションされた libjpeg ライブラリ
 Summary(ja):	MMX/SSE2/SIMD でアクセラレーションされた libjpeg ライブラリ
 
 
 Name:		libjpeg-turbo
 Name:		libjpeg-turbo
-Version:	2.0.5
+Version:	2.0.6
 Release:	1%{?_dist_release}
 Release:	1%{?_dist_release}
-
 Group:		system
 Group:		system
-License:	IJG
-URL:		http://sourceforge.net/projects/libjpeg-turbo
 Vendor:		Project Vine
 Vendor:		Project Vine
 Distribution:	Vine Linux
 Distribution:	Vine Linux
 
 
+License:	IJG
+URL:		http://sourceforge.net/projects/libjpeg-turbo
+
 Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Patch0:		libjpeg-turbo-cmake.patch
 Patch0:		libjpeg-turbo-cmake.patch
 Patch1:		libjpeg-turbo-CET.patch
 Patch1:		libjpeg-turbo-CET.patch
@@ -218,6 +218,9 @@ rm -rf %{buildroot}
 %endif
 %endif
 
 
 %changelog
 %changelog
+* Tue Dec 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.6-1
+- new upstream release.
+
 * Wed Sep 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.5-1
 * Wed Sep 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.5-1
 - new upstream release.
 - new upstream release.
 - dropped Patch1000: fixed in upstream.
 - dropped Patch1000: fixed in upstream.

+ 19 - 9
lib/libt/libtiff/libtiff-vl.spec

@@ -3,9 +3,9 @@
 Summary: A library of functions for manipulating TIFF format image files.
 Summary: A library of functions for manipulating TIFF format image files.
 Summary(ja): TIFF フォーマットの画像ファイルを扱うライブラリ
 Summary(ja): TIFF フォーマットの画像ファイルを扱うライブラリ
 Name: libtiff
 Name: libtiff
-Version: 4.1.0
+Version: 4.2.0
 Release: 1%{_dist_release}
 Release: 1%{_dist_release}
-Group: System Environment/Libraries
+Group: system
 Vendor: Project Vine
 Vendor: Project Vine
 Distribution: Vine Linux
 Distribution: Vine Linux
 Packager: daisuke, iwamoto
 Packager: daisuke, iwamoto
@@ -49,7 +49,7 @@ libtiff パッケージを是非インストールして下さい.
 %package devel
 %package devel
 Summary: Development tools for programs which will use the libtiff library.
 Summary: Development tools for programs which will use the libtiff library.
 Summary(ja): libtiff ライブラリを使うプログラム向け開発ツール
 Summary(ja): libtiff ライブラリを使うプログラム向け開発ツール
-Group: Development/Libraries
+Group: programming
 Requires: libtiff = %{version}
 Requires: libtiff = %{version}
 
 
 
 
@@ -75,7 +75,7 @@ TIFF 形式画像ファイルを扱うプログラムを開発する必要があ
 ## to build compat32 for x86_64 architecture support
 ## to build compat32 for x86_64 architecture support
 %package -n compat32-%{name}
 %package -n compat32-%{name}
 Summary: A library of functions for manipulating TIFF format image files.
 Summary: A library of functions for manipulating TIFF format image files.
-Group: System Environment/Libraries
+Group: system
 Requires: %{name} = %{version}
 Requires: %{name} = %{version}
 Provides: libtiff.so.4
 Provides: libtiff.so.4
 Obsoletes: compat32-libtiff4
 Obsoletes: compat32-libtiff4
@@ -90,7 +90,7 @@ format image files.
 
 
 %package -n compat32-%{name}-devel
 %package -n compat32-%{name}-devel
 Summary: Development tools for programs which will use the libtiff library.
 Summary: Development tools for programs which will use the libtiff library.
-Group: Development/Libraries
+Group: programming
 Requires: compat32-%{name} = %{version}
 Requires: compat32-%{name} = %{version}
 Requires: %{name}-devel = %{version}
 Requires: %{name}-devel = %{version}
 %description -n compat32-%{name}-devel
 %description -n compat32-%{name}-devel
@@ -101,8 +101,12 @@ using the libtiff library.
 If you need to develop programs which will manipulate TIFF format
 If you need to develop programs which will manipulate TIFF format
 image files, you should install this package.  You'll also need to
 image files, you should install this package.  You'll also need to
 install the libtiff package.
 install the libtiff package.
-
 #'
 #'
+
+
+%debug_package
+
+
 %prep
 %prep
 %setup -q -n tiff-%{version}
 %setup -q -n tiff-%{version}
 
 
@@ -118,6 +122,7 @@ automake --add-missing --copy
 autoconf
 autoconf
 autoheader
 autoheader
 
 
+
 %build
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
 export CFLAGS="%{optflags} -fno-strict-aliasing"
 %configure \
 %configure \
@@ -127,6 +132,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
 %__make %{?_smp_mflags}
 %__make %{?_smp_mflags}
 %__make clean
 %__make clean
 
 
+
 %install
 %install
 rm -fr %{buildroot}
 rm -fr %{buildroot}
 %makeinstall
 %makeinstall
@@ -137,8 +143,11 @@ rm -rf %{buildroot}/usr/share/doc/tiff-%{version}
 rm -f %{buildroot}%{_libdir}/libtiff*.{a,la}
 rm -f %{buildroot}%{_libdir}/libtiff*.{a,la}
 
 
 
 
-%post -p /sbin/ldconfig
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 
+
+%post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 
 %if %{build_compat32}
 %if %{build_compat32}
@@ -146,8 +155,6 @@ rm -f %{buildroot}%{_libdir}/libtiff*.{a,la}
 %postun -n compat32-%{name} -p /sbin/ldconfig
 %postun -n compat32-%{name} -p /sbin/ldconfig
 %endif
 %endif
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
 
 
 %files
 %files
 %defattr(-,root,root)
 %defattr(-,root,root)
@@ -178,6 +185,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 
 
 %changelog
 %changelog
+* Tue Dec 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.2.0-1
+- new upstream release.
+
 * Mon Jun 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.0-1
 * Mon Jun 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.0-1
 - new upstream release.
 - new upstream release.
 - dropped Patch1001-1004: fixed in upstream.
 - dropped Patch1001-1004: fixed in upstream.

+ 15 - 12
o/openjpeg2/openjpeg2-vl.spec

@@ -6,17 +6,19 @@
 
 
 #global optional_components 1
 #global optional_components 1
 
 
-%global minor_version 2.3
+%global minor_version 2.4
 
 
 Name:           openjpeg2
 Name:           openjpeg2
-Version:        2.3.1
-Release:        2%{?_dist_release}
 Summary:        C-Library for JPEG 2000
 Summary:        C-Library for JPEG 2000
 Summary(ja):    JPEG 2000 用の C ライブラリ
 Summary(ja):    JPEG 2000 用の C ライブラリ
+Version:        2.4.0
+Release:        1%{?_dist_release}
+Group:          system
+Vendor:         Project Vine
+Distribution:   Vine Linux
 
 
 # windirent.h is MIT, the rest is BSD
 # windirent.h is MIT, the rest is BSD
 License:        BSD and MIT
 License:        BSD and MIT
-Group:          System Environment/Libraries
 URL:            http://www.openjpeg.org/
 URL:            http://www.openjpeg.org/
 %if 0%{?snap:1}
 %if 0%{?snap:1}
 # Snapshots taken from stable release branch:
 # Snapshots taken from stable release branch:
@@ -37,9 +39,6 @@ Patch0:         openjpeg2_remove-thirdparty.patch
 # opj_* to opj2_*
 # opj_* to opj2_*
 Patch1:         openjpeg2_opj2.patch
 Patch1:         openjpeg2_opj2.patch
 
 
-Vendor:         Project Vine
-Distribution:   Vine Linux
-
 BuildRequires:  cmake
 BuildRequires:  cmake
 BuildRequires:  zlib-devel
 BuildRequires:  zlib-devel
 BuildRequires:  libpng-devel
 BuildRequires:  libpng-devel
@@ -66,7 +65,7 @@ This package contains
 %package devel
 %package devel
 Summary:        Development files for OpenJPEG 2
 Summary:        Development files for OpenJPEG 2
 Summary(ja):    OpenJPEG 2 の開発用ファイル
 Summary(ja):    OpenJPEG 2 の開発用ファイル
-Group:          Development/Libraries
+Group:          programming
 Requires:       %{name}%{?_isa} = %{version}-%{release}
 Requires:       %{name}%{?_isa} = %{version}-%{release}
 # OpenJPEGTargets.cmake refers to the tools
 # OpenJPEGTargets.cmake refers to the tools
 Requires:       %{name}-tools%{?_isa} = %{version}-%{release}
 Requires:       %{name}-tools%{?_isa} = %{version}-%{release}
@@ -79,7 +78,7 @@ applications that use OpenJPEG 2.
 %package devel-docs
 %package devel-docs
 Summary:        Developer documentation for OpenJPEG 2
 Summary:        Developer documentation for OpenJPEG 2
 Summary(ja):    OpenJPEG 2 の開発用ドキュメント
 Summary(ja):    OpenJPEG 2 の開発用ドキュメント
-Group:          Documentation
+Group:          documentation
 BuildArch:      noarch
 BuildArch:      noarch
 
 
 %description devel-docs
 %description devel-docs
@@ -90,7 +89,7 @@ applications that use OpenJPEG 2.
 %package tools
 %package tools
 Summary:        OpenJPEG 2 command line tools
 Summary:        OpenJPEG 2 command line tools
 Summary(ja):    OpenJPEG 2 のコマンドラインツール集
 Summary(ja):    OpenJPEG 2 のコマンドラインツール集
-Group:          Applications/Graphics
+Group:          graphics
 Requires:       %{name}%{?_isa} = %{version}-%{release}
 Requires:       %{name}%{?_isa} = %{version}-%{release}
 
 
 %description tools
 %description tools
@@ -220,6 +219,9 @@ OpenJPEG2 JP3D module command line tools
 %endif
 %endif
 
 
 
 
+%debug_package
+
+
 %prep
 %prep
 %setup -q -n %{upname}-%{version} %{?runcheck:-a 1}
 %setup -q -n %{upname}-%{version} %{?runcheck:-a 1}
 
 
@@ -272,8 +274,6 @@ chmod +x %{buildroot}%{_bindir}/opj2_jpip_viewer
 
 
 
 
 %post -p /sbin/ldconfig
 %post -p /sbin/ldconfig
-
-
 %postun -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 
 
 
@@ -356,6 +356,9 @@ make test -C %{_target_platform}
 
 
 
 
 %changelog
 %changelog
+* Tue Dec 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.0-1
+- new upstream release.
+
 * Mon Oct 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.1-2
 * Mon Oct 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.1-2
 - fixed files for cmake.
 - fixed files for cmake.
 
 

+ 93 - 36
p/proftpd/proftpd-vl.spec

@@ -1,20 +1,30 @@
+%bcond_with systemd
+
+%if %{with systemd}
+%define rundir		/run
+%else
+%define rundir		/var/run
+%endif
+
 %define _prefix		/usr
 %define _prefix		/usr
-%define _localstatedir	/var/run
+%define _localstatedir	%{rundir}
 %define _sysconfdir	/etc
 %define _sysconfdir	/etc
-%define _rundir		/var/run/proftpd
-%define tarballversion	1.3.6c
-%define origversion	1.3.6c
+%define _rundir		%{rundir}/proftpd
+%define tarballversion	1.3.7a
+%define origversion	1.3.7a
 
 
 Summary: ProFTPd -- Professional FTP Server.
 Summary: ProFTPd -- Professional FTP Server.
 Summary(ja): ProFTPd -- プロフェッショナル FTP サーバ
 Summary(ja): ProFTPd -- プロフェッショナル FTP サーバ
 Name: proftpd
 Name: proftpd
 Epoch: 1
 Epoch: 1
 Version: %{origversion}
 Version: %{origversion}
-Release: 1%{?_dist_release}
+Release: 1%{?_dist_release}%{?with_systemd:.systemd}
+Group: servers,internet
+Vendor: Project Vine
+Distribution: Vine Linux
+
 License: GPL
 License: GPL
-Group: System Environment/Daemons
 URL: http://www.proftpd.org/
 URL: http://www.proftpd.org/
-
 Source0: https://github.com/proftpd/proftpd/archive/v%{origversion}.tar.gz#/%{name}-%{origversion}.tar.gz
 Source0: https://github.com/proftpd/proftpd/archive/v%{origversion}.tar.gz#/%{name}-%{origversion}.tar.gz
 Source1: proftpd.vine.conf
 Source1: proftpd.vine.conf
 Source2: ftpusers.vine
 Source2: ftpusers.vine
@@ -26,10 +36,6 @@ Source5: welcome.msg
 # auth 
 # auth 
 Patch201: proftpd-1.3.1-use-system-auth-instead-of-pam_pwdb.patch
 Patch201: proftpd-1.3.1-use-system-auth-instead-of-pam_pwdb.patch
 
 
-# iconv patch (CharsetLocal/CharsetRemote)
-# Patch300: http://www.hakusan.tsg.ne.jp/tjkawa/software/misc/proftpd-iconv/pack/proftpd-1.3.0-iconv.patch.gz
-Patch300: proftpd-1.3.6b-iconv.patch
-
 # fix build on recent kernel headers
 # fix build on recent kernel headers
 # Patch400: proftpd-1.3.1-umode.patch
 # Patch400: proftpd-1.3.1-umode.patch
 
 
@@ -44,9 +50,6 @@ Requires: pam > 0.59
 Obsoletes: wu-ftpd, anonftp
 Obsoletes: wu-ftpd, anonftp
 Provides: ftpserver
 Provides: ftpserver
 
 
-Vendor: Project Vine
-Distribution: Vine Linux
-
 %description
 %description
 ProFTPd is an enhanced FTP server with a focus toward simplicity,
 ProFTPd is an enhanced FTP server with a focus toward simplicity,
 security, and ease of configuration.  It features a very Apache-like
 security, and ease of configuration.  It features a very Apache-like
@@ -63,7 +66,7 @@ anonymous FTP, パーミッションベースのディレクトリ可視性の
 
 
 %package utils
 %package utils
 Summary: ProFTPD - Additional utilities
 Summary: ProFTPD - Additional utilities
-Group:	 	 System Environment/Daemons
+Group:	 	 admin-tools
 Requires:	 %{name} = %{epoch}:%{version}-%{release}
 Requires:	 %{name} = %{epoch}:%{version}-%{release}
 
 
 %description utils
 %description utils
@@ -77,6 +80,10 @@ ProFTPD server:
 * ftptop: show the current status of FTP sessions
 * ftptop: show the current status of FTP sessions
 * ftpwho: show the current process information for each FTP session
 * ftpwho: show the current process information for each FTP session
 
 
+
+%debug_package
+
+
 %prep
 %prep
 %setup -q -n %{name}-%{tarballversion}
 %setup -q -n %{name}-%{tarballversion}
 find . -type d -name CVS | xargs -r rm -frv
 find . -type d -name CVS | xargs -r rm -frv
@@ -87,27 +94,30 @@ find . -type d -name CVS | xargs -r rm -frv
 # use system-auth instead of pam_pwdb
 # use system-auth instead of pam_pwdb
 %patch201 -p1
 %patch201 -p1
 
 
-# iconv patch (CharsetLocal/CharsetRemote)
-%patch300 -p1
-
 # fix build on recent kernel headers
 # fix build on recent kernel headers
 # %patch400 -p0
 # %patch400 -p0
 
 
 # security fixes
 # security fixes
 
 
+
 %build
 %build
 # Disable stripping in order to get useful debuginfo packages
 # Disable stripping in order to get useful debuginfo packages
 %{__perl} -pi -e 's|"-s"|""|g' configure
 %{__perl} -pi -e 's|"-s"|""|g' configure
 
 
 %configure \
 %configure \
     --libexecdir="%{_libexecdir}/proftpd" \
     --libexecdir="%{_libexecdir}/proftpd" \
-    --localstatedir="%{_var}/run/proftpd" \
+    --localstatedir="%{rundir}/proftpd" \
+    --disable-strip \
     --enable-ctrls \
     --enable-ctrls \
     --enable-facl \
     --enable-facl \
     --enable-dso \
     --enable-dso \
     --enable-nls \
     --enable-nls \
     --enable-ipv6 \
     --enable-ipv6 \
-    --with-modules=mod_readme:mod_auth_pam:mod_tls:mod_codeconv:mod_df:\
+    --enable-openssl \
+    --disable-pcre \
+    --disable-redis \
+    --enable-shadow \
+    --with-modules=mod_readme:mod_auth_pam:mod_tls:\
 mod_ban:mod_dynmasq:mod_load:mod_ratio:mod_rewrite \
 mod_ban:mod_dynmasq:mod_load:mod_ratio:mod_rewrite \
     --with-shared=mod_ldap:mod_quotatab:mod_quotatab_file:mod_quotatab_ldap
     --with-shared=mod_ldap:mod_quotatab:mod_quotatab_file:mod_quotatab_ldap
 
 
@@ -119,7 +129,7 @@ mod_ban:mod_dynmasq:mod_load:mod_ratio:mod_rewrite \
 %install
 %install
 %{__rm} -rf %{buildroot}
 %{__rm} -rf %{buildroot}
 %{__make} install DESTDIR=%{buildroot} \
 %{__make} install DESTDIR=%{buildroot} \
-    rundir="%{_var}/run/proftpd" \
+    rundir="%{rundir}/proftpd" \
     INSTALL_USER=`id -un` \
     INSTALL_USER=`id -un` \
     INSTALL_GROUP=`id -gn`
     INSTALL_GROUP=`id -gn`
 
 
@@ -131,16 +141,28 @@ mkdir -p %{buildroot}%{_sysconfdir}/pam.d
 mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
 mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
 %{__install} -m 644 contrib/dist/rpm/proftpd.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/proftpd
 %{__install} -m 644 contrib/dist/rpm/proftpd.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/proftpd
 
 
-# init.d
-%{__install} -D -p -m 0755 %{SOURCE3} \
-    %{buildroot}%{_sysconfdir}/rc.d/init.d/proftpd
-
 %{__install} -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/proftpd.conf
 %{__install} -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/proftpd.conf
 %{__install} -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/ftpusers
 %{__install} -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/ftpusers
 %{__install} -D -p -m 0644 %{SOURCE5} %{buildroot}/%{_var}/ftp/welcome.msg
 %{__install} -D -p -m 0644 %{SOURCE5} %{buildroot}/%{_var}/ftp/welcome.msg
 
 
 touch %{buildroot}%{_sysconfdir}/ftpusers
 touch %{buildroot}%{_sysconfdir}/ftpusers
 
 
+%if %{with systemd}
+install -D -p -m 644 contrib/dist/rpm/proftpd.service \
+        %{buildroot}%{_unitdir}/proftpd.service
+install -D -p -m 644 contrib/dist/systemd/proftpd.socket \
+        %{buildroot}%{_unitdir}/proftpd.socket
+install -D -p -m 644 contrib/dist/systemd/proftpd@.service \
+        %{buildroot}%{_unitdir}/proftpd@.service
+install -d -m 755 %{buildroot}%{_tmpfilesdir}
+install -p -m 644 contrib/dist/rpm/proftpd-tmpfs.conf \
+        %{buildroot}%{_tmpfilesdir}/proftpd.conf
+%else
+# init.d
+%{__install} -D -p -m 0755 %{SOURCE3} \
+    %{buildroot}%{_sysconfdir}/rc.d/init.d/proftpd
+%endif
+
 rm contrib/README.* || :
 rm contrib/README.* || :
 # eliminate executable bit in %doc
 # eliminate executable bit in %doc
 find doc/ sample-configurations/ -type f -perm +111 | xargs -r chmod -x
 find doc/ sample-configurations/ -type f -perm +111 | xargs -r chmod -x
@@ -153,32 +175,56 @@ rm -f %{buildroot}%{_libexecdir}/proftpd/*.{la,a}
 rm -rf %{buildroot}%{_includedir}/proftpd
 rm -rf %{buildroot}%{_includedir}/proftpd
 rm -rf %{buildroot}%{_libdir}/pkgconfig
 rm -rf %{buildroot}%{_libdir}/pkgconfig
 
 
+# Find translations
+%find_lang proftpd
+
+
+%clean
+rm -rf %{buildroot}
+
+
 %preun
 %preun
+%if %{with systemd}
+if [ $1 -eq 0 ]; then
+	systemctl --no-reload disable proftpd.service &>/dev/null || :
+	systemctl stop proftpd.service &>/dev/null || :
+fi
+%else
+if [ $1 = 0 -o -x /bin/systemctl ] ; then
+	/sbin/service proftpd stop &>/dev/null || :
+	/sbin/chkconfig --del proftpd || :
+fi
+%endif
 if [ -d %{_rundir} ] ; then
 if [ -d %{_rundir} ] ; then
 	rm -rf %{_rundir}/*
 	rm -rf %{_rundir}/*
 fi
 fi
 
 
-if [ $1 = 0 ] ; then
-	/sbin/chkconfig --del proftpd
-fi
-
 %postun
 %postun
+%if %{with systemd}
+systemctl daemon-reload &>/dev/null || :
+if [ $1 -ge 1 ]; then
+	systemctl try-restart proftpd.service &>/dev/null || :
+fi
+%else
 if [ $1 -ge 1 ]; then
 if [ $1 -ge 1 ]; then
     /sbin/service proftpd condrestart
     /sbin/service proftpd condrestart
 fi
 fi
+%endif
 
 
 %post
 %post
+%if %{with systemd}
+systemctl daemon-reload &>/dev/null || :
+systemctl preset proftpd.service &>/dev/null || :
+%else
 /sbin/chkconfig --add proftpd
 /sbin/chkconfig --add proftpd
+%endif
 
 
 
 
-%clean
-rm -rf %{buildroot}
-
-%files
+%files -f proftpd.lang
 %defattr(-,root,root)
 %defattr(-,root,root)
 %license COPYING
 %license COPYING
 %doc CREDITS INSTALL NEWS
 %doc CREDITS INSTALL NEWS
-%doc README.{md,LDAP,PAM,modules}
+%doc README.{md,LDAP,modules}
 %doc doc/*
 %doc doc/*
 %doc contrib/README contrib/xferstats.holger-preiss
 %doc contrib/README contrib/xferstats.holger-preiss
 %doc sample-configurations/
 %doc sample-configurations/
@@ -194,10 +240,16 @@ rm -rf %{buildroot}
 %{_var}/ftp/welcome.msg
 %{_var}/ftp/welcome.msg
 %dir %{_libexecdir}/proftpd/
 %dir %{_libexecdir}/proftpd/
 %{_libexecdir}/proftpd/mod_*
 %{_libexecdir}/proftpd/mod_*
-%{_localedir}/*
-%dir %{_rundir}
 %dir %{_var}/ftp
 %dir %{_var}/ftp
+%if %{with systemd}
+%{_unitdir}/proftpd.service
+%{_unitdir}/proftpd.socket
+%{_unitdir}/proftpd@.service
+%{_tmpfilesdir}/proftpd.conf
+%else
 %config %{_sysconfdir}/rc.d/init.d/proftpd
 %config %{_sysconfdir}/rc.d/init.d/proftpd
+%dir %{_rundir}
+%endif
 %config(noreplace) %{_sysconfdir}/pam.d/ftp
 %config(noreplace) %{_sysconfdir}/pam.d/ftp
 %config(noreplace) %{_sysconfdir}/proftpd.conf
 %config(noreplace) %{_sysconfdir}/proftpd.conf
 %config(noreplace) %{_sysconfdir}/ftpusers
 %config(noreplace) %{_sysconfdir}/ftpusers
@@ -220,6 +272,11 @@ rm -rf %{buildroot}
 
 
 
 
 %changelog
 %changelog
+* Thu Dec 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.7a-1
+- new upstream release.
+- added systemd support (disabled as default).
+- dropped Patch300.
+
 * Sat Feb 22 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.6c-1
 * Sat Feb 22 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.6c-1
 - new upstream release.
 - new upstream release.
 
 

+ 4 - 1
w/wireshark/wireshark-vl.spec

@@ -7,7 +7,7 @@
 Summary: 	Network traffic analyzer
 Summary: 	Network traffic analyzer
 Summary(ja):    ネットワークトラフィック解析プログラム
 Summary(ja):    ネットワークトラフィック解析プログラム
 Name: 		wireshark
 Name: 		wireshark
-Version:	3.4.1
+Version:	3.4.2
 Release: 	1%{_dist_release}
 Release: 	1%{_dist_release}
 Group: 		network,admin-tools
 Group: 		network,admin-tools
 Vendor:		Project Vine
 Vendor:		Project Vine
@@ -307,6 +307,9 @@ getent group usbmon >/dev/null || groupadd -r usbmon
 
 
 
 
 %changelog
 %changelog
+* Thu Dec 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.2-1
+- new upstream release.
+
 * Thu Dec 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.1-1
 * Thu Dec 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.1-1
 - new upstream release.
 - new upstream release.
 - updated Patch6.
 - updated Patch6.