Browse code

Add Linux-PAM-devel subpackage.

Change-Id: Ie2752db4c53046c8363722cadb36278053c9245c
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1830
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: suezzelur <anishs@vmware.com>

xiaolin-vmware authored on 2016/12/20 10:45:59
Showing 12 changed files
... ...
@@ -1,16 +1,16 @@
1
-Summary:	Linux Pluggable Authentication Modules
2
-Name:		Linux-PAM
3
-Version:	1.2.1
4
-Release:	3%{?dist}
5
-License:	BSD and GPLv2+
6
-URL:		https://www.kernel.org/pub/linux/libs/pam/
7
-Group:		System Environment/Security
8
-Vendor:		VMware, Inc.
9
-Distribution:	Photon
10
-Source0:	http://linux-pam.org/library/%{name}-%{version}.tar.bz2
11
-%define sha1 Linux-PAM=3620ab5f5e02272825c426622761a19a1a2facca
12
-BuildRequires:	cracklib-devel
13
-Requires:	cracklib
1
+Summary:        Linux Pluggable Authentication Modules
2
+Name:           Linux-PAM
3
+Version:        1.2.1
4
+Release:        4%{?dist}
5
+License:        BSD and GPLv2+
6
+URL:            https://www.kernel.org/pub/linux/libs/pam/
7
+Group:          System Environment/Security
8
+Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+Source0:        http://linux-pam.org/library/%{name}-%{version}.tar.bz2
11
+%define sha1    Linux-PAM=3620ab5f5e02272825c426622761a19a1a2facca
12
+BuildRequires:  cracklib-devel
13
+Requires:       cracklib
14 14
 %description
15 15
 The Linux PAM package contains Pluggable Authentication Modules used to 
16 16
 enable the local system administrator to choose how applications authenticate users.
... ...
@@ -22,14 +22,23 @@ Requires: Linux-PAM >= 1.2.1
22 22
 %description lang
23 23
 These are the additional language files of Linux-PAM.
24 24
 
25
+%package        devel
26
+Summary:        Development files for Linux-PAM
27
+Group:          System Environment/Base
28
+Requires:       %{name} = %{version}-%{release}
29
+
30
+%description    devel
31
+The Linux-PAM-devel package contains libraries, header files and documentation
32
+for developing applications that use Linux-PAM.
33
+
25 34
 %prep
26 35
 %setup -q
27 36
 %build
28 37
 
29 38
 ./configure \
30
-	--prefix=%{_prefix} \
31
-	--bindir=%{_bindir} \
32
-	--libdir=%{_libdir} \
39
+    --prefix=%{_prefix} \
40
+    --bindir=%{_bindir} \
41
+    --libdir=%{_libdir} \
33 42
         --sysconfdir=/etc   \
34 43
         --enable-securedir=/usr/lib/security \
35 44
         --docdir=%{_docdir}/%{name}-%{version}
... ...
@@ -56,8 +65,8 @@ session  required       pam_deny.so
56 56
 EOF
57 57
 make %{?_smp_mflags} check
58 58
 
59
-%post	-p /sbin/ldconfig
60
-%postun	-p /sbin/ldconfig
59
+%post   -p /sbin/ldconfig
60
+%postun -p /sbin/ldconfig
61 61
 %clean
62 62
 rm -rf %{buildroot}/*
63 63
 %files
... ...
@@ -66,23 +75,28 @@ rm -rf %{buildroot}/*
66 66
 /sbin/*
67 67
 %{_lib}/security/*
68 68
 %{_libdir}/*.so*
69
-%{_mandir}/man3/*
70 69
 %{_mandir}/man5/*
71 70
 %{_mandir}/man8/*
72 71
 %{_docdir}/%{name}-%{version}/*
73
-%{_includedir}/security/*
74 72
 
75 73
 %files lang -f Linux-PAM.lang
76 74
 %defattr(-,root,root)
77 75
 
76
+%files devel
77
+%defattr(-,root,root)
78
+%{_includedir}/*
79
+%{_mandir}/man3/*
80
+
78 81
 %changelog
79
-*	Thu May 26 2016 Divya Thaluru <dthaluru@vmware.com> 1.2.1-3
80
--	Packaging pam cracklib module
81
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.2.1-2
82
--	GA - Bump release of all rpms
83
-* 	Fri Jan 15 2016 Xiaolin Li <xiaolinl@vmware.com> 1.2.1-1
84
-- 	Updated to version 1.2.1
82
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 1.2.1-4
83
+-   Added devel subpackage.
84
+*   Thu May 26 2016 Divya Thaluru <dthaluru@vmware.com> 1.2.1-3
85
+-   Packaging pam cracklib module
86
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.2.1-2
87
+-   GA - Bump release of all rpms
88
+*   Fri Jan 15 2016 Xiaolin Li <xiaolinl@vmware.com> 1.2.1-1
89
+-   Updated to version 1.2.1
85 90
 *   Mon May 18 2015 Touseef Liaqat <tliaqat@vmware.com> 1.1.8-2
86 91
 -   Update according to UsrMove.
87
-*	Thu Oct 09 2014 Divya Thaluru <dthaluru@vmware.com> 1.1.8-1
88
--	Initial build.	First version
92
+*   Thu Oct 09 2014 Divya Thaluru <dthaluru@vmware.com> 1.1.8-1
93
+-   Initial build.  First version
... ...
@@ -1,18 +1,18 @@
1 1
 Summary:        Cron Daemon
2 2
 Name:           cronie
3 3
 Version:        1.5.0
4
-Release:        12%{?dist}
4
+Release:        13%{?dist}
5 5
 License:        GPLv2+ and MIT and BSD and ISC
6 6
 URL:            https://fedorahosted.org/cronie
7 7
 Source0:        https://fedorahosted.org/releases/c/r/cronie/%{name}-%{version}.tar.gz
8
-%define sha1 cronie=bbf154a6db7c9802664d1f0397b5e7ae9a9618e4
8
+%define sha1    cronie=bbf154a6db7c9802664d1f0397b5e7ae9a9618e4
9 9
 Source1:        run-parts.sh
10 10
 Patch0:         cronie_fix_pam_configuration.patch
11 11
 Group:          System Environment/Base
12 12
 Vendor:         VMware, Inc.
13 13
 Distribution:   Photon
14 14
 BuildRequires:  libselinux-devel
15
-BuildRequires:  Linux-PAM
15
+BuildRequires:  Linux-PAM-devel
16 16
 BuildRequires:  systemd
17 17
 Requires:       systemd
18 18
 Requires:       libselinux
... ...
@@ -29,13 +29,13 @@ sed -i "s/\/usr\/sbin\/anacron -s/\/usr\/sbin\/anacron -s -S \/var\/spool\/anacr
29 29
 %build
30 30
 autoreconf
31 31
 ./configure \
32
-	--prefix=%{_prefix} \
33
-        --sysconfdir=/etc   \
34
-	--with-pam	    \
35
-	--with-selinux      \
36
-	--enable-anacron    \
37
-	--enable-pie        \
38
-	--enable-relro
32
+    --prefix=%{_prefix} \
33
+    --sysconfdir=/etc   \
34
+    --with-pam      \
35
+    --with-selinux      \
36
+    --enable-anacron    \
37
+    --enable-pie        \
38
+    --enable-relro
39 39
 make %{?_smp_mflags}
40 40
 %install
41 41
 make DESTDIR=%{buildroot} install
... ...
@@ -106,6 +106,8 @@ make %{?_smp_mflags} check
106 106
 /var/spool/anacron/cron.monthly
107 107
 /var/spool/anacron/cron.weekly
108 108
 %changelog
109
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 1.5.0-13
110
+-   BuildRequires Linux-PAM-devel
109 111
 *   Wed Oct 05 2016 ChangLee <changlee@vmware.com> 1.5.0-12
110 112
 -   Modified %check
111 113
 *   Mon Aug 29 2016 Divya Thaluru <dthaluru@vmware.com>  1.5.0-11
... ...
@@ -1,22 +1,22 @@
1
-Summary:	Cyrus Simple Authentication Service Layer (SASL) library
2
-Name:		cyrus-sasl
3
-Version:	2.1.26
4
-Release:	10%{?dist}
5
-License:	Custom
6
-URL:		http://cyrusimap.web.cmu.edu/
7
-Group:		System Environment/Security
8
-Vendor:		VMware, Inc.
9
-Distribution: 	Photon
10
-Source0:	ftp://ftp.cyrusimap.org/cyrus-sasl/%{name}-%{version}.tar.gz
11
-%define sha1 cyrus-sasl=d6669fb91434192529bd13ee95737a8a5040241c
12
-Patch0:		http://www.linuxfromscratch.org/patches/blfs/svn/cyrus-sasl-2.1.26-fixes-3.patch
1
+Summary:        Cyrus Simple Authentication Service Layer (SASL) library
2
+Name:           cyrus-sasl
3
+Version:        2.1.26
4
+Release:        11%{?dist}
5
+License:        Custom
6
+URL:            http://cyrusimap.web.cmu.edu/
7
+Group:          System Environment/Security
8
+Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+Source0:        ftp://ftp.cyrusimap.org/cyrus-sasl/%{name}-%{version}.tar.gz
11
+%define sha1    cyrus-sasl=d6669fb91434192529bd13ee95737a8a5040241c
12
+Patch0:         http://www.linuxfromscratch.org/patches/blfs/svn/cyrus-sasl-2.1.26-fixes-3.patch
13 13
 BuildRequires:  systemd
14
-BuildRequires:	openssl-devel
14
+BuildRequires:  openssl-devel
15 15
 BuildRequires:  krb5-devel >= 1.12
16 16
 BuildRequires:  e2fsprogs-devel
17
-BuildRequires:  Linux-PAM
18
-Requires:   openssl
19
-Requires:   krb5 >= 1.12
17
+BuildRequires:  Linux-PAM-devel
18
+Requires:       openssl
19
+Requires:       krb5 >= 1.12
20 20
 Requires:       Linux-PAM
21 21
 Requires:       systemd
22 22
 %description
... ...
@@ -36,13 +36,13 @@ pushd saslauthd
36 36
 autoreconf -fi
37 37
 popd
38 38
 ./configure \
39
-	CFLAGS="%{optflags} -fPIC" \
40
-	CXXFLAGS="%{optflags}" \
41
-	--prefix=%{_prefix} \
42
-	--bindir=%{_bindir} \
43
-	--libdir=%{_libdir} \
44
-	--sysconfdir=/etc \
45
-	--with-plugindir=%{_libdir}/sasl2 \
39
+    CFLAGS="%{optflags} -fPIC" \
40
+    CXXFLAGS="%{optflags}" \
41
+    --prefix=%{_prefix} \
42
+    --bindir=%{_bindir} \
43
+    --libdir=%{_libdir} \
44
+    --sysconfdir=/etc \
45
+    --with-plugindir=%{_libdir}/sasl2 \
46 46
     --without-dblib \
47 47
     --with-saslauthd=/run/saslauthd \
48 48
     --without-authdaemond \
... ...
@@ -128,6 +128,8 @@ rm -rf %{buildroot}/*
128 128
 %{_mandir}/man8/saslauthd.8.gz
129 129
 
130 130
 %changelog
131
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 2.1.26-11
132
+-   BuildRequires Linux-PAM-devel
131 133
 *   Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 2.1.26-10
132 134
 -   Required krb5-devel.
133 135
 *   Wed Oct 05 2016 ChangLee <changlee@vmware.com> 2.1.26-9
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:        Kernel
3 3
 Name:           linux-esx
4 4
 Version:        4.9.0
5
-Release:        1%{?dist}
5
+Release:        2%{?dist}
6 6
 License:        GPLv2
7 7
 URL:            http://www.kernel.org/
8 8
 Group:          System Environment/Kernel
... ...
@@ -43,7 +43,7 @@ BuildRequires: xerces-c-devel
43 43
 BuildRequires: xml-security-c-devel
44 44
 BuildRequires: libdnet
45 45
 BuildRequires: libmspack
46
-BuildRequires: Linux-PAM
46
+BuildRequires: Linux-PAM-devel
47 47
 BuildRequires: openssl-devel
48 48
 BuildRequires: procps-ng-devel
49 49
 Requires:      filesystem kmod coreutils
... ...
@@ -180,6 +180,8 @@ ln -sf linux-%{uname_r}.cfg /boot/photon.cfg
180 180
 /usr/src/linux-headers-%{uname_r}
181 181
 
182 182
 %changelog
183
+*   Mon Dec 19 2016 Xiaolin Li <xiaolinl@vmware.com> 4.9.0-2
184
+-   BuildRequires Linux-PAM-devel
183 185
 *   Mon Dec 12 2016 Alexey Makhalov <amakhalov@vmware.com> 4.9.0-1
184 186
 -   Update to linux-4.9.0
185 187
 *   Thu Dec  8 2016 Alexey Makhalov <amakhalov@vmware.com> 4.4.35-4
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:        Kernel
3 3
 Name:           linux-sec
4 4
 Version:        4.9.0
5
-Release:        1%{?dist}
5
+Release:        2%{?dist}
6 6
 License:        GPLv2
7 7
 URL:            http://www.kernel.org/
8 8
 Group:          System Environment/Kernel
... ...
@@ -38,7 +38,7 @@ BuildRequires:  xerces-c-devel
38 38
 BuildRequires:  xml-security-c-devel
39 39
 BuildRequires:  libdnet
40 40
 BuildRequires:  libmspack
41
-BuildRequires:  Linux-PAM
41
+BuildRequires:  Linux-PAM-devel
42 42
 BuildRequires:  openssl-devel
43 43
 BuildRequires:  procps-ng-devel
44 44
 Requires:       filesystem kmod coreutils
... ...
@@ -172,6 +172,8 @@ ln -sf linux-%{uname_r}.cfg /boot/photon.cfg
172 172
 /usr/src/linux-headers-%{uname_r}
173 173
 
174 174
 %changelog
175
+*   Mon Dec 19 2016 Xiaolin Li <xiaolinl@vmware.com> 4.9.0-2
176
+-   BuildRequires Linux-PAM-devel
175 177
 *   Mon Dec 12 2016 Alexey Makhalov <amakhalov@vmware.com> 4.9.0-1
176 178
 -   Update to linux-4.9.0
177 179
 -   Add paravirt stolen time accounting feature (from linux-esx),
... ...
@@ -2,7 +2,7 @@
2 2
 Summary:        Kernel
3 3
 Name:           linux
4 4
 Version:        4.9.0
5
-Release:        1%{?dist}
5
+Release:        2%{?dist}
6 6
 License:    	GPLv2
7 7
 URL:        	http://www.kernel.org/
8 8
 Group:        	System Environment/Kernel
... ...
@@ -34,7 +34,7 @@ BuildRequires:  xerces-c-devel
34 34
 BuildRequires:  xml-security-c-devel
35 35
 BuildRequires:  libdnet
36 36
 BuildRequires:  libmspack
37
-BuildRequires:  Linux-PAM
37
+BuildRequires:  Linux-PAM-devel
38 38
 BuildRequires:  openssl-devel
39 39
 BuildRequires:  procps-ng-devel
40 40
 Requires:       filesystem kmod coreutils
... ...
@@ -219,6 +219,8 @@ ln -sf %{name}-%{uname_r}.cfg /boot/photon.cfg
219 219
 /lib/modules/%{uname_r}/kernel/arch/x86/oprofile/
220 220
 
221 221
 %changelog
222
+*   Mon Dec 19 2016 Xiaolin Li <xiaolinl@vmware.com> 4.9.0-2
223
+-   BuildRequires Linux-PAM-devel
222 224
 *   Mon Dec 12 2016 Alexey Makhalov <amakhalov@vmware.com> 4.9.0-1
223 225
 -   Update to linux-4.9.0
224 226
 -   Add paravirt stolen time accounting feature (from linux-esx),
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:        Usermode tools for VmWare virts
2 2
 Name:           open-vm-tools
3 3
 Version:        10.1.0
4
-Release:        1%{?dist}
4
+Release:        2%{?dist}
5 5
 License:        LGPLv2+
6 6
 URL:            https://github.com/vmware/open-vm-tools
7 7
 Group:          Applications/System
... ...
@@ -23,7 +23,7 @@ BuildRequires:  xerces-c-devel
23 23
 BuildRequires:  xml-security-c-devel
24 24
 BuildRequires:  libdnet
25 25
 BuildRequires:  libmspack
26
-BuildRequires:  Linux-PAM
26
+BuildRequires:  Linux-PAM-devel
27 27
 BuildRequires:  openssl-devel
28 28
 BuildRequires:  procps-ng-devel
29 29
 BuildRequires:  fuse-devel
... ...
@@ -103,20 +103,22 @@ fi
103 103
 
104 104
 
105 105
 %changelog
106
-*       Mon Nov 21 2016 Kumar Kaushik <kaushikk@vmware.com> 10.1.0-1
107
--       Updating version to 10.1.0
108
-*       Wed Oct 05 2016 Kumar Kaushik <kaushikk@vmware.com> 10.0.5-14
109
--       Adding proper entry to /etc/hosts for IPv6.
110
-*       Tue Oct 04 2016 ChangLee <changLee@vmware.com> 10.0.5-13
111
--       Modified %check
112
-*       Thu Jun 23 2016 Kumar Kaushik <kaushikk@vmware.com> 10.0.5-12
113
--       Avoiding recustomization of hostname, bug#1678537.
114
-*       Mon Jun 13 2016 Kumar Kaushik <kaushikk@vmware.com> 10.0.5-11
115
--       Adding IPv6 Support for VCHA in customization.
116
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 10.0.5-10
117
--	GA - Bump release of all rpms
118
-*	Wed May 04 2016 Anish Swaminathan <anishs@vmware.com> 10.0.5-9
119
--	Edit scriptlets.
106
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 10.1.0-2
107
+-   BuildRequires Linux-PAM-devel
108
+*   Mon Nov 21 2016 Kumar Kaushik <kaushikk@vmware.com> 10.1.0-1
109
+-   Updating version to 10.1.0
110
+*   Wed Oct 05 2016 Kumar Kaushik <kaushikk@vmware.com> 10.0.5-14
111
+-   Adding proper entry to /etc/hosts for IPv6.
112
+*   Tue Oct 04 2016 ChangLee <changLee@vmware.com> 10.0.5-13
113
+-   Modified %check
114
+*   Thu Jun 23 2016 Kumar Kaushik <kaushikk@vmware.com> 10.0.5-12
115
+-   Avoiding recustomization of hostname, bug#1678537.
116
+*   Mon Jun 13 2016 Kumar Kaushik <kaushikk@vmware.com> 10.0.5-11
117
+-   Adding IPv6 Support for VCHA in customization.
118
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 10.0.5-10
119
+-   GA - Bump release of all rpms
120
+*   Wed May 04 2016 Anish Swaminathan <anishs@vmware.com> 10.0.5-9
121
+-   Edit scriptlets.
120 122
 *       Fri Apr 29 2016 Kumar Kaushik <kaushikk@vmware.com> 10.0.5-8
121 123
 -       Combining all GOSC scripts patches and fixing bug#1648133.
122 124
 *       Tue Apr 19 2016 Kumar Kaushik <kaushikk@vmware.com> 10.0.5-7
... ...
@@ -1,26 +1,26 @@
1
-Summary:    Free version of the SSH connectivity tools
2
-Name:       openssh
3
-Version:    7.1p2
4
-Release:    9%{?dist}
5
-License:    BSD
6
-URL:        http://openssh.org
7
-Group:      System Environment/Security
8
-Vendor:     VMware, Inc.
9
-Distribution: Photon
10
-Source0:    http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{name}-%{version}.tar.gz
11
-%define sha1 openssh=9202f5a2a50c8a55ecfb830609df1e1fde97f758
12
-Source1:    http://www.linuxfromscratch.org/blfs/downloads/systemd/blfs-systemd-units-20140907.tar.bz2
13
-%define sha1 blfs-systemd-units=713afb3bbe681314650146e5ec412ef77aa1fe33
14
-Patch1:     blfs_systemd_fixes.patch
15
-Patch2:     openssh-7.1p2-skip-long-passwords.patch
16
-Patch3:     openssh-7.1p2-CVE-2016-8858.patch   
1
+Summary:        Free version of the SSH connectivity tools
2
+Name:           openssh
3
+Version:        7.1p2
4
+Release:        10%{?dist}
5
+License:        BSD
6
+URL:            http://openssh.org
7
+Group:          System Environment/Security
8
+Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+Source0:        http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{name}-%{version}.tar.gz
11
+%define sha1    openssh=9202f5a2a50c8a55ecfb830609df1e1fde97f758
12
+Source1:        http://www.linuxfromscratch.org/blfs/downloads/systemd/blfs-systemd-units-20140907.tar.bz2
13
+%define sha1    blfs-systemd-units=713afb3bbe681314650146e5ec412ef77aa1fe33
14
+Patch1:         blfs_systemd_fixes.patch
15
+Patch2:         openssh-7.1p2-skip-long-passwords.patch
16
+Patch3:         openssh-7.1p2-CVE-2016-8858.patch
17 17
 BuildRequires:  openssl-devel
18
-BuildRequires:  Linux-PAM
18
+BuildRequires:  Linux-PAM-devel
19 19
 BuildRequires:  krb5-devel
20 20
 BuildRequires:  e2fsprogs-devel
21 21
 BuildRequires:  systemd
22
-Requires:   openssh-clients = %{version}-%{release}
23
-Requires:   openssh-server = %{version}-%{release}
22
+Requires:       openssh-clients = %{version}-%{release}
23
+Requires:       openssh-server = %{version}-%{release}
24 24
 %description
25 25
 The OpenSSH package contains ssh clients and the sshd daemon. This is
26 26
 useful for encrypting authentication and subsequent traffic over a 
... ...
@@ -193,6 +193,8 @@ rm -rf %{buildroot}/*
193 193
 %{_mandir}/man8/ssh-pkcs11-helper.8.gz
194 194
 
195 195
 %changelog
196
+*   Wed Dec 14 2016 Xiaolin Li <xiaolinl@vmware.com> 7.1p2-10
197
+-   BuildRequires Linux-PAM-devel
196 198
 *   Mon Dec 12 2016 Anish Swaminathan <anishs@vmware.com> 7.1p2-9
197 199
 -   Add patch to fix CVE-2016-8858
198 200
 *   Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 7.1p2-8
... ...
@@ -1,23 +1,23 @@
1
-Summary:	Programs for handling passwords in a secure way
2
-Name:		shadow
3
-Version:	4.2.1
4
-Release:	10%{?dist}
5
-URL:		http://pkg-shadow.alioth.debian.org/
6
-License:	BSD
7
-Group:		Applications/System
8
-Vendor:		VMware, Inc.
9
-Distribution:	Photon
10
-Source0:	http://pkg-shadow.alioth.debian.org/releases/%{name}-%{version}.tar.xz
11
-%define sha1 shadow=0917cbadd4ce0c7c36670e5ecd37bbed92e6d82d
12
-Source1:	PAM-Configuration-Files-1.5.tar.gz
13
-%define sha1 PAM=08052511f985e3b3072c194ac1287e036d9299fb
14
-Patch0: chkname-allowcase.patch   
15
-BuildRequires: 	cracklib
16
-BuildRequires: 	cracklib-devel
17
-Requires:   	cracklib
18
-Requires:   	cracklib-dicts
19
-BuildRequires:	Linux-PAM
20
-Requires:	Linux-PAM
1
+Summary:        Programs for handling passwords in a secure way
2
+Name:           shadow
3
+Version:        4.2.1
4
+Release:        11%{?dist}
5
+URL:            http://pkg-shadow.alioth.debian.org/
6
+License:        BSD
7
+Group:          Applications/System
8
+Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+Source0:        http://pkg-shadow.alioth.debian.org/releases/%{name}-%{version}.tar.xz
11
+%define sha1    shadow=0917cbadd4ce0c7c36670e5ecd37bbed92e6d82d
12
+Source1:        PAM-Configuration-Files-1.5.tar.gz
13
+%define sha1    PAM=08052511f985e3b3072c194ac1287e036d9299fb
14
+Patch0:         chkname-allowcase.patch
15
+BuildRequires:  cracklib
16
+BuildRequires:  cracklib-devel
17
+Requires:       cracklib
18
+Requires:       cracklib-dicts
19
+BuildRequires:  Linux-PAM-devel
20
+Requires:       Linux-PAM
21 21
 
22 22
 %description
23 23
 The Shadow package contains programs for handling passwords
... ...
@@ -25,7 +25,7 @@ in a secure way.
25 25
 
26 26
 %package lang
27 27
 Summary: Additional language files for shadow
28
-Group:		Applications/System
28
+Group:      Applications/System
29 29
 Requires: %{name} = %{version}-%{release}
30 30
 %description lang
31 31
 These are the additional language files of shadow.
... ...
@@ -37,17 +37,17 @@ These are the additional language files of shadow.
37 37
 sed -i 's/groups$(EXEEXT) //' src/Makefile.in
38 38
 find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;
39 39
 sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \
40
-	-e 's@/var/spool/mail@/var/mail@' etc/login.defs
40
+    -e 's@/var/spool/mail@/var/mail@' etc/login.defs
41 41
 
42 42
 sed -i 's@DICTPATH.*@DICTPATH\t/usr/share/cracklib/pw_dict@' \
43 43
     etc/login.defs
44 44
 
45 45
 %build
46 46
 ./configure \
47
-	--sysconfdir=/etc \
48
-	--with-libpam \
49
-    	--with-libcrack \
50
-	--with-group-name-max-length=32
47
+    --sysconfdir=/etc \
48
+    --with-libpam \
49
+        --with-libcrack \
50
+    --with-group-name-max-length=32
51 51
 
52 52
 make %{?_smp_mflags}
53 53
 %install
... ...
@@ -138,6 +138,8 @@ make %{?_smp_mflags} check
138 138
 %defattr(-,root,root)
139 139
 
140 140
 %changelog
141
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 4.2.1-11
142
+-   BuildRequires Linux-PAM-devel
141 143
 *   Wed Nov 23 2016 Alexey Makhalov <amakhalov@vmware.com> 4.2.1-10
142 144
 -   Added -lang subpackage
143 145
 *   Mon Oct 04 2016 ChangLee <changlee@vmware.com> 4.2.1-9
... ...
@@ -1,34 +1,34 @@
1
-Summary:	Sudo
2
-Name:		sudo
3
-Version:	1.8.18p1
4
-Release:	2%{?dist}
5
-License:	ISC
6
-URL:		https://www.kernel.org/pub/linux/libs/pam/
7
-Group:		System Environment/Security
8
-Vendor:		VMware, Inc.
9
-Distribution:	Photon
10
-Source0:	http://www.sudo.ws/sudo/dist/%{name}-%{version}.tar.gz
11
-%define sha1 sudo=2df9c1f68b1101aa600ef428bccda1b4a3090ff3
12
-BuildRequires:	man-db
13
-BuildRequires:	Linux-PAM
14
-Requires:	Linux-PAM
15
-Requires:	shadow
1
+Summary:        Sudo
2
+Name:           sudo
3
+Version:        1.8.18p1
4
+Release:        3%{?dist}
5
+License:        ISC
6
+URL:            https://www.kernel.org/pub/linux/libs/pam/
7
+Group:          System Environment/Security
8
+Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+Source0:        http://www.sudo.ws/sudo/dist/%{name}-%{version}.tar.gz
11
+%define sha1    sudo=2df9c1f68b1101aa600ef428bccda1b4a3090ff3
12
+BuildRequires:  man-db
13
+BuildRequires:  Linux-PAM-devel
14
+Requires:       Linux-PAM
15
+Requires:       shadow
16 16
 %description
17 17
 The Sudo package allows a system administrator to give certain users (or groups of users) 
18
-the ability to run some (or all) commands as root or another user while logging the commands and arguments. 
18
+the ability to run some (or all) commands as root or another user while logging the commands and arguments.
19 19
 
20 20
 %prep
21 21
 %setup -q
22 22
 %build
23 23
 
24 24
 ./configure \
25
-	--prefix=%{_prefix} \
26
-	--bindir=%{_bindir} \
27
-	--libexecdir=%{_libdir} \
25
+    --prefix=%{_prefix} \
26
+    --bindir=%{_bindir} \
27
+    --libexecdir=%{_libdir} \
28 28
         --docdir=%{_docdir}/%{name}-%{version} \
29
-	--with-all-insults         \
29
+    --with-all-insults         \
30 30
         --with-env-editor          \
31
-	--with-pam                 \
31
+    --with-pam                 \
32 32
         --with-passprompt="[sudo] password for %p"
33 33
 
34 34
 make %{?_smp_mflags}
... ...
@@ -63,7 +63,7 @@ make %{?_smp_mflags} check
63 63
 if [ $1 -eq 1 ] ; then
64 64
   getent group wheel > /dev/null || groupadd wheel
65 65
 fi
66
-%postun	-p /sbin/ldconfig
66
+%postun -p /sbin/ldconfig
67 67
 %clean
68 68
 rm -rf %{buildroot}/*
69 69
 %files -f %{name}.lang
... ...
@@ -81,26 +81,28 @@ rm -rf %{buildroot}/*
81 81
 %{_docdir}/%{name}-%{version}/*
82 82
 %{_datarootdir}/locale/*
83 83
 %changelog
84
-*	Thu Oct 20 2016 Alexey Makhalov <amakhalov@vmware.com> 1.8.18p1-2
85
--	Remove --with-pam-login to use /etc/pam.d/sudo for `sudo -i`
86
--	Fix groupadd wheel warning during the %post action
87
-*	Tue Oct 18 2016 Alexey Makhalov <amakhalov@vmware.com> 1.8.18p1-1
88
--	Update to 1.8.18p1
89
-*       Mon Oct 04 2016 ChangLee <changlee@vmware.com> 1.8.15-4
90
--       Modified %check
91
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.8.15-3
92
--	GA - Bump release of all rpms
93
-*   	Wed May 4 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.8.15-2
94
--   	Fix for upgrade issues
95
-*	Wed Jan 20 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.8.15-1
96
--	Update to 1.8.15-1.
97
-*	Wed Dec 09 2015 Anish Swaminathan <anishs@vmware.com> 1.8.11p1-5
98
--	Edit post script.
99
-*	Mon Jun 22 2015 Divya Thaluru <dthaluru@vmware.com> 1.8.11p1-4
100
--	Fixing permissions on /etc/sudoers file
101
-*	Fri May 29 2015 Divya Thaluru <dthaluru@vmware.com> 1.8.11p1-3
102
--	Adding sudo configuration and PAM config file
103
-*	Wed May 27 2015 Divya Thaluru <dthaluru@vmware.com> 1.8.11p1-2
104
--	Adding PAM support
105
-*	Thu Oct 09 2014 Divya Thaluru <dthaluru@vmware.com> 1.8.11p1-1
106
--	Initial build.	First version
84
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 1.8.18p1-3
85
+-   BuildRequires Linux-PAM-devel
86
+*   Thu Oct 20 2016 Alexey Makhalov <amakhalov@vmware.com> 1.8.18p1-2
87
+-   Remove --with-pam-login to use /etc/pam.d/sudo for `sudo -i`
88
+-   Fix groupadd wheel warning during the %post action
89
+*   Tue Oct 18 2016 Alexey Makhalov <amakhalov@vmware.com> 1.8.18p1-1
90
+-   Update to 1.8.18p1
91
+*   Mon Oct 04 2016 ChangLee <changlee@vmware.com> 1.8.15-4
92
+-   Modified %check
93
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.8.15-3
94
+-   GA - Bump release of all rpms
95
+*   Wed May 4 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.8.15-2
96
+-   Fix for upgrade issues
97
+*   Wed Jan 20 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.8.15-1
98
+-   Update to 1.8.15-1.
99
+*   Wed Dec 09 2015 Anish Swaminathan <anishs@vmware.com> 1.8.11p1-5
100
+-   Edit post script.
101
+*   Mon Jun 22 2015 Divya Thaluru <dthaluru@vmware.com> 1.8.11p1-4
102
+-   Fixing permissions on /etc/sudoers file
103
+*   Fri May 29 2015 Divya Thaluru <dthaluru@vmware.com> 1.8.11p1-3
104
+-   Adding sudo configuration and PAM config file
105
+*   Wed May 27 2015 Divya Thaluru <dthaluru@vmware.com> 1.8.11p1-2
106
+-   Adding PAM support
107
+*   Thu Oct 09 2014 Divya Thaluru <dthaluru@vmware.com> 1.8.11p1-1
108
+-   Initial build.  First version
... ...
@@ -1,14 +1,14 @@
1 1
 Summary:          Systemd-232
2 2
 Name:             systemd
3 3
 Version:          232
4
-Release:          2%{?dist}
4
+Release:          3%{?dist}
5 5
 License:          LGPLv2+ and GPLv2+ and MIT
6 6
 URL:              http://www.freedesktop.org/wiki/Software/systemd/
7 7
 Group:            System Environment/Security
8 8
 Vendor:           VMware, Inc.
9 9
 Distribution:     Photon
10 10
 Source0:          %{name}-%{version}.tar.gz
11
-%define sha1 systemd=74178b96d631058236cf79f5b0cc3953382f12b5
11
+%define sha1      systemd=74178b96d631058236cf79f5b0cc3953382f12b5
12 12
 Source1:          99-vmware-hotplug.rules
13 13
 Source2:          50-security-hardening.conf
14 14
 
... ...
@@ -29,7 +29,7 @@ BuildRequires:    intltool
29 29
 BuildRequires:    gperf
30 30
 BuildRequires:    libcap-devel
31 31
 BuildRequires:    xz-devel
32
-BuildRequires:    Linux-PAM
32
+BuildRequires:    Linux-PAM-devel
33 33
 BuildRequires:    XML-Parser
34 34
 BuildRequires:    kbd
35 35
 BuildRequires:    kmod
... ...
@@ -195,7 +195,7 @@ rm -rf %{buildroot}/*
195 195
 %{_datadir}/factory/*
196 196
 %{_datadir}/dbus-1
197 197
 %{_datadir}/doc/*
198
-%{_mandir}/*
198
+%{_mandir}/man[1578]/*
199 199
 %{_datadir}/polkit-1
200 200
 %{_datadir}/systemd
201 201
 %{_datadir}/zsh/*
... ...
@@ -211,10 +211,13 @@ rm -rf %{buildroot}/*
211 211
 %{_libdir}/pkgconfig/libsystemd.pc
212 212
 %{_datadir}/pkgconfig/systemd.pc
213 213
 %{_datadir}/pkgconfig/udev.pc
214
+%{_mandir}/man3/*
214 215
 
215 216
 %files lang -f %{name}.lang
216 217
 
217 218
 %changelog
219
+*    Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 232-3
220
+-    BuildRequires Linux-PAM-devel
218 221
 *    Thu Dec 01 2016 Xiaolin Li <xiaolinl@vmware.com> 232-2
219 222
 -    disable-elfutils.
220 223
 *    Fri Nov 18 2016 Anish Swaminathan <anishs@vmware.com>  232-1
... ...
@@ -1,16 +1,16 @@
1
-Summary:	Very secure and very small FTP daemon.
2
-Name:		vsftpd
3
-Version:	3.0.3
4
-Release:	1%{?dist}
5
-License:	GPLv2 with exceptions
6
-URL:		https://security.appspot.com/vsftpd.html
7
-Group:		System Environment/Daemons
8
-Vendor:		VMware, Inc.
9
-Distribution:	Photon
10
-Source0:	https://security.appspot.com/downloads/%{name}-%{version}.tar.gz
11
-%define sha1 vsftpd=d5f5a180dbecd0fbcdc92bf0ba2fc001c962b55a
12
-BuildRequires:	libcap-devel Linux-PAM openssl-devel
13
-Requires:	libcap Linux-PAM openssl
1
+Summary:        Very secure and very small FTP daemon.
2
+Name:           vsftpd
3
+Version:        3.0.3
4
+Release:        2%{?dist}
5
+License:        GPLv2 with exceptions
6
+URL:            https://security.appspot.com/vsftpd.html
7
+Group:          System Environment/Daemons
8
+Vendor:         VMware, Inc.
9
+Distribution:   Photon
10
+Source0:        https://security.appspot.com/downloads/%{name}-%{version}.tar.gz
11
+%define sha1    vsftpd=d5f5a180dbecd0fbcdc92bf0ba2fc001c962b55a
12
+BuildRequires:  libcap-devel Linux-PAM-devel openssl-devel
13
+Requires:       libcap Linux-PAM openssl
14 14
 %description
15 15
 Very secure and very small FTP daemon.
16 16
 %prep
... ...
@@ -78,11 +78,13 @@ fi
78 78
 %{_datadir}/*
79 79
 %exclude %{_libdir}/debug
80 80
 %changelog
81
-*	Wed Nov 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.0.3-1
82
--	Upgraded to version 3.0.3, fixes CVE-2015-1419
83
-*	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.0.2-3
84
--	GA - Bump release of all rpms
85
-*   	Wed May 4 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.0.2-2
86
--   	Fix for upgrade issues
87
-*	Mon Jul 6 2015 Alexey Makhalov <amakhalov@vmware.com> 3.0.2-1
88
--	initial version
81
+*   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 3.0.3-2
82
+-   BuildRequires Linux-PAM-devel
83
+*   Wed Nov 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 3.0.3-1
84
+-   Upgraded to version 3.0.3, fixes CVE-2015-1419
85
+*   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.0.2-3
86
+-   GA - Bump release of all rpms
87
+*   Wed May 4 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.0.2-2
88
+-   Fix for upgrade issues
89
+*   Mon Jul 6 2015 Alexey Makhalov <amakhalov@vmware.com> 3.0.2-1
90
+-   initial version