]> git.pld-linux.org Git - packages/vsftpd.git/commitdiff
restart vsftpd if glibc is upgraded or downgraded auto/th/vsftpd-3.0.2-3
authorElan Ruusamäe <glen@delfi.ee>
Thu, 22 Jan 2015 21:18:56 +0000 (23:18 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 22 Jan 2015 21:18:56 +0000 (23:18 +0200)
vsftpd.spec

index 76dc55eb39d7b22909f5c51b4b63e28bb99c8168..65404d737409d5730302a1d40c38e2093aa56e82 100644 (file)
@@ -10,7 +10,7 @@ Summary(pl.UTF-8):    Bardzo Bezpieczny Demon FTP
 Summary(pt_BR.UTF-8):  vsftpd - Daemon FTP Muito Seguro
 Name:          vsftpd
 Version:       3.0.2
-Release:       2
+Release:       3
 License:       GPL v2
 Group:         Daemons
 Source0:       https://security.appspot.com/downloads/%{name}-%{version}.tar.gz
@@ -154,6 +154,12 @@ if [ "$1" = "0" ]; then
        /sbin/chkconfig --del %{name}
 fi
 
+%triggerin standalone -- glibc
+# restart vsftpd if glibc is upgraded or downgraded
+if [ "$2" != 1 ]; then
+       %service -q vsftpd restart
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc AUDIT BENCHMARKS BUGS Changelog FAQ README README.ssl REWARD SIZE SPEED TODO TUNING EXAMPLE SECURITY
This page took 0.098948 seconds and 4 git commands to generate.