Browse code

Adding and fixing packages required for stemcell creation

dthaluru authored on 2015/07/01 06:50:52
Showing 26 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,82 @@
0
+Summary:	NetworkManager
1
+Name:		NetworkManager
2
+Version:	1.0.2
3
+Release:	1%{?dist}
4
+License:	LGPLv2+
5
+URL:		https://download.gnome.org/sources/NetworkManager/1.0/NetworkManager-1.0.2.tar.xz
6
+Source0:	https://download.gnome.org/sources/NetworkManager/1.0/%{name}-%{version}.tar.xz
7
+Group:		System Environment/Base
8
+Vendor:		VMware, Inc.
9
+Distribution:	Photon
10
+BuildRequires:	intltool
11
+BuildRequires:	iptables
12
+BuildRequires:	dbus
13
+BuildRequires:	dbus-glib-devel
14
+BuildRequires:	libnl-devel
15
+BuildRequires:	readline-devel
16
+BuildRequires:	ncurses-devel
17
+BuildRequires:	nss-devel
18
+BuildRequires:	libndp-devel
19
+BuildRequires:	python2
20
+BuildRequires:	python2-libs
21
+
22
+%package devel
23
+Summary:	Libraries and header files for NetworkManager
24
+Requires:	NetworkManager
25
+
26
+%description devel
27
+Headers and libraries for the NetworkManager.
28
+
29
+%description
30
+NetworkManager is a set of co-operative tools that make networking simple and straightforward. Whether Wi-Fi, wired, bond, bridge, 3G, or Bluetooth, NetworkManager allows you to quickly move from one network to another: once a network has been configured and joined, it can be detected and re-joined automatically the next time its available.
31
+
32
+%prep
33
+%setup -q
34
+%build
35
+./configure \
36
+	--prefix=%{_prefix} \
37
+	--disable-ppp \
38
+	--disable-gtk-doc \
39
+	--sysconfdir=%{_sysconfdir}
40
+ 
41
+make %{?_smp_mflags}
42
+%install
43
+make DESTDIR=%{buildroot} install
44
+cat >> %{buildroot}/etc/NetworkManager/NetworkManager.conf << "EOF"
45
+[main]
46
+plugins=keyfile
47
+EOF
48
+
49
+%post	-p /sbin/ldconfig
50
+%postun	-p /sbin/ldconfig
51
+%files 
52
+%defattr(-,root,root)
53
+%{_sysconfdir}/NetworkManager/NetworkManager.conf
54
+%{_bindir}/*
55
+%{_sbindir}/*
56
+%{_libdir}/*.so.*
57
+%{_libdir}/*.la
58
+%{_libdir}/NetworkManager/*
59
+%{_libexecdir}/*
60
+%{_libdir}/systemd/system/*
61
+%{_mandir}/man1/*
62
+%{_mandir}/man5/*
63
+%{_mandir}/man8/*
64
+%{_sysconfdir}/dbus-1/system.d/*
65
+%{_datadir}/gtk-doc/*
66
+%{_datadir}/bash-completion/*  
67
+%{_datadir}/dbus-1/*  
68
+%{_datadir}/doc/*  
69
+%{_datadir}/locale/*
70
+%{_datadir}/polkit-1/*
71
+/lib/udev/rules.d/77-nm-olpc-mesh.rules
72
+%files devel
73
+%defattr(-,root,root)
74
+%{_includedir}/NetworkManager/*.h
75
+%{_includedir}/libnm/*.h
76
+%{_includedir}/libnm-glib/*.h
77
+%{_libdir}/*.so
78
+%{_libdir}/pkgconfig/*.pc
79
+%changelog
80
+*	Tue Jun 23 2015 Divya Thaluru <dthaluru@vmware.com> 1.0.2-1
81
+-	Initial build.
0 82
new file mode 100644
... ...
@@ -0,0 +1,60 @@
0
+Summary:	The Automated Text and Program Generation Tool
1
+Name:		autogen
2
+Version:	5.18.5
3
+Release:	1%{?dist}
4
+License:        GPLv3+
5
+URL:            http://www.gnu.org/software/autogen/
6
+Source0:        ftp://ftp.gnu.org/gnu/autogen/rel%{version}/%{name}-%{version}.tar.gz
7
+Group:		System Environment/Tools
8
+Vendor:		VMware, Inc.
9
+BuildRequires:	guile-devel
10
+BuildRequires:	gc-devel
11
+BuildRequires:	which
12
+#BuildRequires:	libunistring-devel
13
+#BuildRequires:	libltdl-devel
14
+Requires:	guile
15
+Requires:	gc
16
+Distribution:	Photon
17
+%description
18
+AutoGen is a tool designed to simplify the creation and maintenance of programs that contain large amounts of repetitious text. It is especially valuable in programs that have several blocks of text that must be kept synchronized.
19
+
20
+%package devel
21
+Summary:	Development libraries and header files for autogen
22
+Requires:	autogen
23
+
24
+%description devel
25
+The package contains libraries and header files for
26
+developing applications that use autogen.
27
+
28
+%prep
29
+%setup -q
30
+%build
31
+./configure \
32
+	--prefix=%{_prefix}
33
+make %{?_smp_mflags}
34
+%install
35
+make DESTDIR=%{buildroot} install
36
+%check
37
+make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
38
+%post	-p /sbin/ldconfig
39
+%postun	-p /sbin/ldconfig
40
+%files
41
+%defattr(-,root,root)
42
+%{_bindir}/*
43
+%{_libdir}/*.so.*
44
+%{_libdir}/*.a
45
+%{_libdir}/*.la
46
+%{_libdir}/autogen/*.tlib
47
+%{_datadir}/autogen/*
48
+%{_mandir}/man1/*
49
+%{_mandir}/man3/*
50
+%{_datadir}/aclocal/*
51
+%files devel
52
+%defattr(-,root,root)
53
+%{_includedir}/autoopts/*.h
54
+%{_libdir}/*.so
55
+%{_libdir}/pkgconfig/*.pc
56
+%changelog
57
+*	Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 5.18.5-1
58
+-	Initial build. First version
59
+
0 60
new file mode 100644
... ...
@@ -0,0 +1,82 @@
0
+Summary:	Cron Daemon
1
+Name:		cronie
2
+Version:	1.5.0
3
+Release:	1%{?dist}
4
+License:	GPLv2+ and MIT and BSD and ISC
5
+URL:		https://fedorahosted.org/cronie
6
+Source0:	https://fedorahosted.org/releases/c/r/cronie/%{name}-%{version}.tar.gz
7
+Group:		System Environment/Base
8
+Vendor:		VMware, Inc.
9
+Distribution:	Photon
10
+BuildRequires:	libselinux-devel
11
+BuildRequires:	Linux-PAM
12
+Requires:	libselinux
13
+Requires:	Linux-PAM
14
+%description
15
+Cronie contains the standard UNIX daemon crond that runs specified programs at
16
+scheduled times and related tools. It is based on the original cron and
17
+has security and configuration enhancements like the ability to use pam and
18
+SELinux.
19
+%prep
20
+%setup -q
21
+%build
22
+autoreconf
23
+./configure \
24
+	--prefix=%{_prefix} \
25
+	--with-pam	\
26
+	--with-selinux \
27
+	--enable-anacron \
28
+	--enable-pie \
29
+	--enable-relro
30
+make %{?_smp_mflags}
31
+%install
32
+make DESTDIR=%{buildroot} install
33
+install -vdm700 %{buildroot}/usr/var/spool/cron
34
+install -vd %{buildroot}%{_sysconfdir}/sysconfig/
35
+install -vd %{buildroot}%{_sysconfdir}/cron.d/
36
+install -vd %{buildroot}%{_sysconfdir}/cron.hourly
37
+install -vd %{buildroot}/var/spool/anacron
38
+
39
+install -m 644 crond.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/crond
40
+install -m 644 contrib/anacrontab %{buildroot}%{_sysconfdir}/anacrontab
41
+install -c -m755 contrib/0hourly %{buildroot}%{_sysconfdir}/cron.d/0hourly
42
+install -c -m755 contrib/0anacron %{buildroot}%{_sysconfdir}/cron.hourly/0anacron
43
+install -m 644 contrib/dailyjobs %{buildroot}%{_sysconfdir}/cron.d/dailyjobs
44
+
45
+touch %{buildroot}%{_sysconfdir}/cron.deny
46
+touch %{buildroot}/var/spool/anacron/cron.daily
47
+touch %{buildroot}/var/spool/anacron/cron.weekly
48
+touch %{buildroot}/var/spool/anacron/cron.monthly
49
+
50
+install -vd %{buildroot}%{_libdir}/systemd/system/
51
+install -m 644 contrib/cronie.systemd %{buildroot}%{_libdir}/systemd/system/crond.service
52
+
53
+%check
54
+make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
55
+%post	-p /sbin/ldconfig
56
+%postun	-p /sbin/ldconfig
57
+%files
58
+%defattr(-,root,root)
59
+/usr/etc/pam.d/*
60
+%{_bindir}/*
61
+%{_sbindir}/*
62
+%{_mandir}/man1/*
63
+%{_mandir}/man5/*
64
+%{_mandir}/man8/*
65
+%dir /usr/var/spool/cron
66
+%dir %{_sysconfdir}/sysconfig/
67
+%dir %{_sysconfdir}/cron.d/
68
+%dir %{_sysconfdir}/cron.hourly
69
+%{_sysconfdir}/anacrontab
70
+%{_sysconfdir}/cron.d/*
71
+%{_sysconfdir}/cron.deny
72
+%{_sysconfdir}/cron.hourly/0anacron
73
+%{_sysconfdir}/sysconfig/crond
74
+%{_libdir}/systemd/system/crond.service
75
+/var/spool/anacron/cron.daily
76
+/var/spool/anacron/cron.monthly
77
+/var/spool/anacron/cron.weekly
78
+%changelog
79
+*	Wed Jun 17 2015 Divya Thaluru <dthaluru@vmware.com> 1.5.0-1
80
+-	Initial build. First version
81
+
0 82
new file mode 100644
... ...
@@ -0,0 +1,60 @@
0
+Summary:	Glib interfaces to D-Bus API 
1
+Name:		dbus-glib
2
+Version:	0.104
3
+Release:	1%{?dist}
4
+License: 	AFL and GPLv2+
5
+Group: 		System Environment/Libraries
6
+Source0:	http://dbus.freedesktop.org/releases/dbus-glib/%{name}-%{version}.tar.gz
7
+Vendor:		VMware, Inc.
8
+Distribution:	Photon
9
+BuildRequires:	glib-devel
10
+BuildRequires:	dbus
11
+Requires:	glib
12
+Requires:	dbus
13
+
14
+%description
15
+The D-Bus GLib package contains GLib interfaces to the D-Bus API.
16
+
17
+%package devel
18
+Summary:	Libraries and headers for the D-Bus GLib bindings
19
+Requires:	glib-devel
20
+Requires:	dbus-glib
21
+
22
+%description devel
23
+Headers and static libraries for the D-Bus GLib bindings
24
+
25
+%prep
26
+%setup -q
27
+%build
28
+./configure \
29
+	--prefix=%{_prefix} \
30
+	--sysconfdir=%{_sysconfdir} \
31
+        --disable-static \
32
+	--disable-gtk-doc
33
+ 
34
+make %{?_smp_mflags}
35
+%install
36
+make DESTDIR=%{buildroot} install
37
+%post	-p /sbin/ldconfig
38
+%postun	-p /sbin/ldconfig
39
+%files 
40
+%defattr(-,root,root)
41
+%{_sysconfdir}/bash_completion.d/*
42
+%{_bindir}/*
43
+%{_libdir}/*.so.*
44
+%{_libdir}/*.la
45
+%{_libexecdir}/*
46
+%{_mandir}/man1/*
47
+%{_datadir}/gtk-doc/*
48
+
49
+%files devel
50
+%defattr(-,root,root)
51
+%{_includedir}/dbus-1.0/dbus/*.h
52
+%{_libdir}/*.so
53
+%{_libdir}/pkgconfig/*.pc
54
+
55
+
56
+
57
+%changelog
58
+*	Tue Jun 23 2015 Divya Thaluru <dthaluru@vmware.com> 0.104-1
59
+-	Initial build.
0 60
new file mode 100644
... ...
@@ -0,0 +1,75 @@
0
+Summary:	Provide tools to manage multipath devices
1
+Name:		device-mapper-multipath
2
+Version:	0.5.0
3
+Release:	1%{?dist}
4
+License:	GPL+
5
+Group:		System Environment/Base
6
+URL:		http://christophe.varoqui.free.fr/
7
+Source0:	http://christophe.varoqui.free.fr/multipath-tools/multipath-tools-0.5.0.tar.bz2
8
+BuildRequires:	libaio-devel
9
+BuildRequires:	device-mapper-devel
10
+BuildRequires:	libselinux-devel
11
+BuildRequires:	libsepol-devel
12
+BuildRequires: 	readline-devel
13
+BuildRequires:	ncurses-devel
14
+BuildRequires: 	systemd
15
+Requires:	libaio
16
+Requires:	device-mapper
17
+Requires:	libselinux
18
+Requires:	libsepol
19
+Requires: 	readline
20
+Requires:	ncurses
21
+Requires: 	kpartx = %{version}-%{release}
22
+
23
+%description
24
+Device-mapper-multipath provides tools to manage multipath devices by
25
+instructing the device-mapper multipath kernel module what to do. 
26
+
27
+%package -n kpartx
28
+Summary:	Partition device manager for device-mapper devices
29
+
30
+%description -n kpartx
31
+kpartx manages partition creation and removal for device-mapper devices.
32
+
33
+%prep
34
+%setup -qn multipath-tools-0.5.0
35
+
36
+%build
37
+make %{?_smp_mflags}
38
+
39
+%install
40
+make install DESTDIR=%{buildroot} bindir=%{_sbindir} syslibdir=%{_libdir} libdir=%{_libdir}/multipath
41
+install -vd %{buildroot}/etc/multipath
42
+ln -sfv libmpathpersist.so.0 %{buildroot}/%{_libdir}/libmpathpersist.so
43
+rm -rf %{buildroot}/%{_initrddir}
44
+
45
+%clean
46
+rm -rf %{buildroot}
47
+
48
+%post -p /sbin/ldconfig
49
+%postun -p /sbin/ldconfig
50
+
51
+%files
52
+%defattr(-,root,root,-)
53
+/etc/udev/rules.d/*
54
+%{_sbindir}/*
55
+%{_libdir}/systemd/system/*
56
+%{_libdir}/*.so
57
+%{_libdir}/*.so.*
58
+%{_libdir}/multipath/*.so
59
+%{_includedir}/*.h
60
+%{_mandir}/man3/*
61
+%{_mandir}/man5/*
62
+%{_mandir}/man8/*
63
+%dir /etc/multipath
64
+
65
+%files -n kpartx
66
+%defattr(-,root,root,-)
67
+%{_sbindir}/kpartx
68
+/lib/udev/*
69
+%{_mandir}/man8/kpartx.8.gz
70
+
71
+%changelog
72
+*	Mon Jun 22 2015 Divya Thaluru <dthaluru@vmware.com> 0.5.0-1
73
+-	Initial build. First version
74
+
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Default file system
2 2
 Name:		filesystem
3 3
 Version:	7.5
4
-Release:	5%{?dist}
4
+Release:	7%{?dist}
5 5
 License:	GPLv3
6 6
 Group:		System Environment/Base
7 7
 Vendor:		VMware, Inc.
... ...
@@ -98,6 +98,7 @@ systemd-journal:x:23:
98 98
 input:x:24:
99 99
 mail:x:34:
100 100
 lock:x:54:
101
+dip:x:30:
101 102
 systemd-bus-proxy:x:72:
102 103
 systemd-journal-gateway:x:73:
103 104
 systemd-journal-remote:x:74:
... ...
@@ -317,10 +318,10 @@ EOF
317 317
 #
318 318
 echo "VMware Photon Linux 1.0 TP1" > %{buildroot}/etc/photon-release
319 319
 cat > %{buildroot}/etc/lsb-release <<- "EOF"
320
-DISTRIB_ID=VMware Photon
321
-DISTRIB_RELEASE=1.0 TP1
320
+DISTRIB_ID="VMware Photon"
321
+DISTRIB_RELEASE="1.0 TP1"
322 322
 DISTRIB_CODENAME=Photon
323
-DISTRIB_DESCRIPTION=VMware Photon 1.0 TP1
323
+DISTRIB_DESCRIPTION="VMware Photon 1.0 TP1"
324 324
 EOF
325 325
 
326 326
 cat > %{buildroot}/usr/lib/os-release <<- "EOF"
... ...
@@ -460,8 +461,12 @@ ln -sv ../usr/lib/os-release %{buildroot}/etc/os-release
460 460
 /usr/local/lib64
461 461
 %endif
462 462
 %changelog
463
-*   Tue Jun 30 2015 Alexey Makhalov <amakhalov@vmware.com> 7.5-5
463
+*   Tue Jun 30 2015 Alexey Makhalov <amakhalov@vmware.com> 7.5-7
464 464
 -   /etc/profile.d permission fix
465
+*   Tue Jun 23 2015 Divya Thaluru <dthaluru@vmware.com> 7.5-6
466
+-   Adding group dip
467
+*   Mon Jun 22 2015 Divya Thaluru <dthaluru@vmware.com> 7.5-5
468
+-   Fixing lsb-release file
465 469
 *   Tue Jun 16 2015 Alexey Makhalov <amakhalov@vmware.com> 7.5-4
466 470
 -   Change users group id to 100.
467 471
 -   Add audio group to users group.
... ...
@@ -469,5 +474,5 @@ ln -sv ../usr/lib/os-release %{buildroot}/etc/os-release
469 469
 -   Change the network match for dhcp.
470 470
 *   Mon May 18 2015 Touseef Liaqat <tliaqat@vmware.com> 7.5-2
471 471
 -   Update according to UsrMove.
472
-*	Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 7.5-1
473
--	Initial build. First version
472
+*   Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 7.5-1
473
+-   Initial build. First version
474 474
new file mode 100644
... ...
@@ -0,0 +1,55 @@
0
+Summary:	A garbage collector for C and C++
1
+Name:		gc
2
+Version:	7.4.2
3
+Release:	1%{?dist}
4
+License:	BSD
5
+Url:		http://www.hboehm.info/gc/
6
+Source0:	http://www.hboehm.info/gc/gc_source/%{name}-%{version}.tar.gz
7
+Source1:	http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-7.4.2.tar.gz
8
+Group:		System Environment/Base
9
+Vendor:		VMware, Inc.
10
+Distribution:	Photon
11
+%description
12
+The Boehm-Demers-Weiser conservative garbage collector can be
13
+used as a garbage collecting replacement for C malloc or C++ new.
14
+
15
+%package devel
16
+Summary:	Development libraries and header files for gc
17
+Requires:	gc
18
+
19
+%description devel
20
+The package contains libraries and header files for
21
+developing applications that use gc.
22
+
23
+%prep
24
+%setup -q
25
+%setup -q -T -D -a 1
26
+ln -sfv libatomic_ops-7.4.2 libatomic_ops
27
+%build
28
+./configure \
29
+	--prefix=%{_prefix} \
30
+	--datadir=%{_docdir} \
31
+        --enable-cplusplus
32
+make %{?_smp_mflags}
33
+%install
34
+make DESTDIR=%{buildroot} install
35
+%check
36
+make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
37
+%post	-p /sbin/ldconfig
38
+%postun	-p /sbin/ldconfig
39
+%files
40
+%defattr(-,root,root)
41
+%{_libdir}/*.so.*
42
+%{_docdir}/gc/*
43
+%{_libdir}/*.a
44
+%{_libdir}/*.la
45
+%files devel
46
+%defattr(-,root,root)
47
+%{_includedir}/*.h
48
+%{_includedir}/gc/*.h
49
+%{_libdir}/*.so
50
+%{_libdir}/pkgconfig/*.pc
51
+%changelog
52
+*	Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 7.4.2-1
53
+-	Initial build. First version
54
+
0 55
new file mode 100644
... ...
@@ -0,0 +1,65 @@
0
+Summary:	The GnuTLS Transport Layer Security Library
1
+Name:		gnutls
2
+Version:	3.4.2
3
+Release:	1%{?dist}
4
+License:        GPLv3+ and LGPLv2+
5
+URL:            http://www.gnutls.org
6
+Source0:        http://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/gnutls/v3.4/%{name}-%{version}.tar.xz
7
+Group:		System Environment/Libraries
8
+Vendor:		VMware, Inc.
9
+Distribution:	Photon
10
+BuildRequires:	nettle-devel
11
+BuildRequires:	autogen-devel
12
+BuildRequires:	libtasn1-devel
13
+BuildRequires:	ca-certificates
14
+BuildRequires:	openssl-devel
15
+Requires:	nettle
16
+Requires:	autogen
17
+Requires:	libtasn1
18
+Requires:	openssl
19
+Requires:	ca-certificates
20
+%description
21
+GnuTLS is a secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them. It provides a simple C language application programming interface (API) to access the secure communications protocols as well as APIs to parse and write X.509, PKCS #12, OpenPGP and other required structures. It is aimed to be portable and efficient with focus on security and interoperability.
22
+
23
+%package devel
24
+Summary:	Development libraries and header files for gnutls
25
+Requires:	gnutls
26
+Requires:	libtasn1-devel
27
+Requires:	nettle-devel
28
+
29
+%description devel
30
+The package contains libraries and header files for
31
+developing applications that use gnutls.
32
+
33
+%prep
34
+%setup -q
35
+%build
36
+./configure \
37
+	--prefix=%{_prefix} \
38
+	--without-p11-kit \
39
+	--enable-openssl-compatibility
40
+make %{?_smp_mflags}
41
+%install
42
+make DESTDIR=%{buildroot} install
43
+rm %{buildroot}%{_infodir}/*
44
+%check
45
+make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
46
+%post	-p /sbin/ldconfig
47
+%postun	-p /sbin/ldconfig
48
+%files
49
+%defattr(-,root,root)
50
+%{_libdir}/*.so.*
51
+%{_libdir}/*.la
52
+%{_bindir}/*
53
+%{_mandir}/man1/*
54
+%{_mandir}/man3/*
55
+%{_datadir}/locale/*
56
+%files devel
57
+%defattr(-,root,root)
58
+%{_includedir}/%{name}/*.h
59
+%{_libdir}/*.so
60
+%{_libdir}/pkgconfig/*.pc
61
+%changelog
62
+*	Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 3.4.2-1
63
+-	Initial build. First version
64
+
... ...
@@ -1,13 +1,19 @@
1
+%define debug_package %{nil}
2
+%define __os_install_post %{nil}
1 3
 Summary:	GRand Unified Bootloader
2 4
 Name:		grub
3
-Version:	2.00
5
+Version:	2.02
4 6
 Release:	1%{?dist}
5 7
 License:	GPLv3+
6 8
 URL:		http://www.gnu.org/software/grub
7 9
 Group:		Applications/System
8 10
 Vendor:		VMware, Inc.
9
-Distribution: Photon
10
-Source0:		http://ftp.gnu.org/gnu/grub/%{name}-%{version}.tar.xz
11
+Distribution: 	Photon
12
+Source0:	http://alpha.gnu.org/gnu/grub/grub-2.02~beta2.tar.gz
13
+BuildRequires:	device-mapper-devel
14
+BuildRequires:	xz-devel
15
+Requires:	xz
16
+Requires:	device-mapper
11 17
 %description
12 18
 The GRUB package contains the GRand Unified Bootloader.
13 19
 
... ...
@@ -20,8 +26,8 @@ These are the additional language files of grub.
20 20
 
21 21
 
22 22
 %prep
23
-%setup -q
24
-sed -i -e '/gets is a/d' grub-core/gnulib/stdio.in.h
23
+%setup -qn grub-2.02~beta2
24
+#sed -i -e '/gets is a/d' grub-core/gnulib/stdio.in.h
25 25
 %build
26 26
 ./configure \
27 27
 	--prefix=%{_prefix} \
... ...
@@ -29,12 +35,15 @@ sed -i -e '/gets is a/d' grub-core/gnulib/stdio.in.h
29 29
 	--sysconfdir=%{_sysconfdir} \
30 30
 	--disable-grub-emu-usb \
31 31
 	--disable-efiemu \
32
-	--disable-werror 
32
+	--disable-werror
33 33
 make %{?_smp_mflags}
34 34
 %install
35 35
 make DESTDIR=%{buildroot} install
36
+mkdir %{buildroot}%{_sysconfdir}/default
37
+touch %{buildroot}%{_sysconfdir}/default/grub
38
+mkdir %{buildroot}%{_sysconfdir}/sysconfig
39
+ln -sf %{_sysconfdir}/default/grub %{buildroot}%{_sysconfdir}/sysconfig/grub
36 40
 rm -rf %{buildroot}%{_infodir}
37
-%find_lang %{name}
38 41
 %check
39 42
 make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
40 43
 %post	-p /sbin/ldconfig
... ...
@@ -54,10 +63,15 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
54 54
 %{_bindir}/*
55 55
 %{_libdir}/grub/*
56 56
 %{_datarootdir}/%{name}/*
57
+%{_sysconfdir}/sysconfig/grub
58
+%{_sysconfdir}/default/grub
57 59
 
58
-%files lang -f %{name}.lang
60
+%files lang
59 61
 %defattr(-,root,root)
62
+/usr/share/locale/*
60 63
 
61 64
 %changelog
65
+*	Mon Jun 29 2015 Divya Thaluru <dthaluru@vmware.com> 2.02-1
66
+-	Updating grub to 2.02
62 67
 *	Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 2.00-1
63 68
 -	Initial build.	First version
64 69
new file mode 100644
... ...
@@ -0,0 +1,68 @@
0
+Summary:	GNU Ubiquitous Intelligent Language for Extensions
1
+Name:		guile
2
+Version:	2.0.11
3
+Release:	1%{?dist}
4
+License: 	LGPLv3+
5
+URL:		http://www.gnu.org/software/guile/
6
+Source0: 	ftp://ftp.gnu.org/pub/gnu/guile/%{name}-%{version}.tar.gz
7
+Group: 		Development/Languages
8
+Vendor:		VMware, Inc.
9
+Distribution:	Photon
10
+BuildRequires:	libltdl-devel
11
+BuildRequires:	libunistring-devel
12
+BuildRequires:	gc-devel
13
+BuildRequires:	libffi
14
+Requires:	libltdl
15
+Requires:	libunistring
16
+Requires:	gc
17
+Requires:	libffi
18
+
19
+%description
20
+GUILE (GNU's Ubiquitous Intelligent Language for Extension) is a library
21
+implementation of the Scheme programming language, written in C.  GUILE
22
+provides a machine-independent execution platform that can be linked in
23
+as a library during the building of extensible programs.
24
+%package devel
25
+Summary:	Development libraries and header files for guile
26
+Requires:	guile
27
+Requires:	libltdl-devel
28
+Requires:	libunistring-devel
29
+
30
+%description devel
31
+The package contains libraries and header files for
32
+developing applications that use guile.
33
+
34
+%prep
35
+%setup -q
36
+%build
37
+./configure \
38
+	--prefix=%{_prefix} \
39
+	--disable-static
40
+make %{?_smp_mflags}
41
+%install
42
+make DESTDIR=%{buildroot} install
43
+rm %{buildroot}%{_libdir}/*.scm
44
+rm %{buildroot}%{_infodir}/*
45
+%check
46
+make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
47
+%post	-p /sbin/ldconfig
48
+%postun	-p /sbin/ldconfig
49
+%files
50
+%defattr(-,root,root)
51
+%{_bindir}/*
52
+%{_libdir}/*.so.*
53
+%{_libdir}/guile/*
54
+%{_mandir}/man1/*
55
+%{_datadir}/aclocal/*.m4
56
+%{_datadir}/guile/*
57
+%{_libdir}/*.la
58
+%files devel
59
+%defattr(-,root,root)
60
+%{_includedir}/guile/2.0/*.h
61
+%{_includedir}/guile/2.0/libguile/*.h
62
+%{_libdir}/*.so
63
+%{_libdir}/pkgconfig/*.pc
64
+%changelog
65
+*	Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 2.0.11-1
66
+-	Initial build. First version
67
+
0 68
new file mode 100644
... ...
@@ -0,0 +1,49 @@
0
+Summary:	A JSON implementation in C
1
+Name:		json-c
2
+Version:	0.12
3
+Release:	1%{?dist}
4
+License:        MIT
5
+URL:            https://github.com/json-c/json-c/wiki
6
+Source0:        https://s3.amazonaws.com/json-c_releases/releases/json-c-0.12.tar.gz
7
+Group:		System Environment/Base
8
+Vendor:		VMware, Inc.
9
+Distribution:	Photon
10
+%description
11
+JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects.
12
+
13
+%package devel
14
+Summary:	Development libraries and header files for json-c
15
+Requires:	json-c
16
+
17
+%description devel
18
+The package contains libraries and header files for
19
+developing applications that use json-c.
20
+
21
+%prep
22
+%setup -q
23
+sed -i 's|-Werror ||g' Makefile.am.inc
24
+%build
25
+autoreconf -fiv
26
+./configure \
27
+	--prefix=%{_prefix}
28
+make %{?_smp_mflags}
29
+%install
30
+make DESTDIR=%{buildroot} install
31
+%check
32
+make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
33
+%post	-p /sbin/ldconfig
34
+%postun	-p /sbin/ldconfig
35
+%files
36
+%defattr(-,root,root)
37
+%{_libdir}/libjson-c.so.*
38
+%{_libdir}/*.a
39
+%{_libdir}/*.la
40
+%files devel
41
+%defattr(-,root,root)
42
+%{_includedir}/json-c/*
43
+%{_libdir}/libjson-c.so
44
+%{_libdir}/pkgconfig/json-c.pc
45
+%changelog
46
+*	Wed Jun 17 2015 Divya Thaluru <dthaluru@vmware.com> 0.12-1
47
+-	Initial build. First version
48
+
0 49
new file mode 100644
... ...
@@ -0,0 +1,48 @@
0
+Summary:	String handling essentials library
1
+Name:		libestr
2
+Version:	0.1.10
3
+Release:	1%{?dist}
4
+License:	LGPLv2+
5
+URL:		http://libestr.adiscon.com/
6
+Source0:	http://libestr.adiscon.com/files/download/%{name}-%{version}.tar.gz
7
+Group:		System Environment/Base
8
+Vendor:		VMware, Inc.
9
+Distribution:	Photon
10
+%description
11
+This package compiles the string handling essentials library
12
+used by the Rsyslog daemon.
13
+
14
+%package devel
15
+Summary:	Development libraries for string handling
16
+Requires:	libestr
17
+
18
+%description devel
19
+The package contains libraries and header files for
20
+developing applications that use libestr.
21
+
22
+%prep
23
+%setup -q
24
+%build
25
+./configure \
26
+	--prefix=%{_prefix}
27
+make %{?_smp_mflags}
28
+%install
29
+make DESTDIR=%{buildroot} install
30
+%check
31
+make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
32
+%post	-p /sbin/ldconfig
33
+%postun	-p /sbin/ldconfig
34
+%files
35
+%defattr(-,root,root)
36
+%{_libdir}/*.so.*
37
+%{_libdir}/*.a
38
+%{_libdir}/*.la
39
+%files devel
40
+%defattr(-,root,root)
41
+%{_includedir}/*
42
+%{_libdir}/*.so
43
+%{_libdir}/pkgconfig/*.pc
44
+%changelog
45
+*	Wed Jun 17 2015 Divya Thaluru <dthaluru@vmware.com> 0.1.10-1
46
+-	Initial build. First version
47
+
0 48
new file mode 100644
... ...
@@ -0,0 +1,51 @@
0
+Summary:	Crypto Libraries
1
+Name:		libgcrypt
2
+Version:	1.6.3
3
+Release:	1%{?dist}
4
+License:        GPLv2+ and LGPLv2+
5
+URL:            http://www.gnu.org/software/libgcrypt/
6
+Source0:        ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.6.3.tar.bz2
7
+Group:		System Environment/Libraries
8
+Vendor:		VMware, Inc.
9
+BuildRequires:	libgpg-error
10
+Requires:	libgpg-error
11
+Distribution:	Photon
12
+%description
13
+The libgcrypt package contains a general purpose crypto library based on the code used in GnuPG. The library provides a high level interface to cryptographic building blocks using an extendable and flexible API.
14
+
15
+%package devel
16
+Summary:	Development libraries and header files for libgcrypt
17
+Requires:	libgcrypt
18
+
19
+%description devel
20
+The package contains libraries and header files for
21
+developing applications that use libgcrypt.
22
+
23
+%prep
24
+%setup -q
25
+%build
26
+./configure \
27
+	--prefix=%{_prefix}
28
+make %{?_smp_mflags}
29
+%install
30
+make DESTDIR=%{buildroot} install
31
+rm %{buildroot}%{_infodir}/*
32
+%check
33
+make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
34
+%post	-p /sbin/ldconfig
35
+%postun	-p /sbin/ldconfig
36
+%files
37
+%defattr(-,root,root)
38
+%{_bindir}/*
39
+%{_libdir}/*.so.*
40
+%{_mandir}/man1/*
41
+%{_libdir}/*.la
42
+/usr/share/aclocal/libgcrypt.m4
43
+%files devel
44
+%defattr(-,root,root)
45
+%{_includedir}/*.h
46
+%{_libdir}/*.so
47
+%changelog
48
+*	Wed Jun 17 2015 Divya Thaluru <dthaluru@vmware.com> 1.6.3-1
49
+-	Initial build. First version
50
+
0 51
new file mode 100644
... ...
@@ -0,0 +1,57 @@
0
+Summary:	Logging Libraries
1
+Name:		liblogging
2
+Version:	1.0.5
3
+Release:	1%{?dist}
4
+License: 	BSD
5
+URL:     	http://www.liblogging.org/
6
+Source0: 	http://download.rsyslog.com/liblogging/liblogging-%{version}.tar.gz
7
+Group:		System Environment/Libraries
8
+Vendor:		VMware, Inc.
9
+Distribution:	Photon
10
+%description
11
+liblogging (the upstream project) is a collection of several components.
12
+Namely: stdlog, journalemu, rfc3195.
13
+The stdlog component of liblogging can be viewed as an enhanced version of the
14
+syslog(3) API. It retains the easy semantics, but makes the API more
15
+sophisticated "behind the scenes" with better support for multiple threads
16
+and flexibility for different log destinations (e.g. syslog and systemd
17
+journal).
18
+
19
+%package devel
20
+Summary:	Development libraries and header files for liblogging
21
+Requires:	liblogging
22
+
23
+%description devel
24
+The package contains libraries and header files for
25
+developing applications that use liblogging.
26
+
27
+%prep
28
+%setup -q
29
+%build
30
+./configure \
31
+	--prefix=%{_prefix} \
32
+	--disable-journal
33
+make %{?_smp_mflags}
34
+%install
35
+make DESTDIR=%{buildroot} install
36
+%check
37
+make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
38
+%post	-p /sbin/ldconfig
39
+%postun	-p /sbin/ldconfig
40
+%files
41
+%defattr(-,root,root)
42
+%{_bindir}/*
43
+%{_libdir}/*.so.*
44
+%{_mandir}/man1/*
45
+%{_mandir}/man3/*
46
+%{_libdir}/*.a
47
+%{_libdir}/*.la
48
+%files devel
49
+%defattr(-,root,root)
50
+%{_libdir}/*.so
51
+%{_libdir}/pkgconfig/*.pc
52
+%{_includedir}/liblogging/*.h
53
+%changelog
54
+*	Wed Jun 17 2015 Divya Thaluru <dthaluru@vmware.com> 1.0.5-1
55
+-	Initial build. First version
56
+
0 57
new file mode 100644
... ...
@@ -0,0 +1,48 @@
0
+Summary:	Library for Neighbor Discovery Protocol
1
+Name:		libndp
2
+Version:	1.5
3
+Release:	1%{?dist}
4
+License:	LGPLv2+
5
+URL:		http://www.libndp.org/
6
+Source:		http://www.libndp.org/files/%{name}-%{version}.tar.gz
7
+Group:		System Environment/Libraries
8
+
9
+%description
10
+This package contains a library which provides a wrapper
11
+for IPv6 Neighbor Discovery Protocol.  It also provides a tool
12
+named ndptool for sending and receiving NDP messages.
13
+
14
+%package devel
15
+Summary:	Libraries and header files for libndp
16
+Requires:	libndp
17
+
18
+%description devel
19
+Headers and libraries for the libndp.
20
+
21
+%prep
22
+%setup -q
23
+
24
+%build
25
+%configure --disable-static
26
+make %{?_smp_mflags}
27
+
28
+%install
29
+make DESTDIR=%{buildroot} install INSTALL="install -p"
30
+find %{buildroot}%{_libdir} -name \*.la -delete
31
+
32
+%post -p /sbin/ldconfig
33
+%postun -p /sbin/ldconfig
34
+
35
+%files
36
+%{_bindir}/*
37
+%{_libdir}/*so.*
38
+%{_mandir}/man8/ndptool.8*
39
+
40
+%files devel
41
+%{_includedir}/*
42
+%{_libdir}/*.so
43
+%{_libdir}/pkgconfig/*.pc
44
+
45
+%changelog
46
+*	Tue Jun 23 2015 Divya Thaluru <dthaluru@vmware.com> 1.5-1
47
+-	Initial build.
0 48
new file mode 100644
... ...
@@ -0,0 +1,57 @@
0
+Summary:	Netlink Protocol Library Suite
1
+Name:		libnl
2
+Version:	3.2.25
3
+Release:	1%{?dist}
4
+License: 	LGPLv2+
5
+Group: 		System Environment/Libraries
6
+URL:		http://www.infradead.org/~tgr/libnl/
7
+Source0:	http://www.infradead.org/~tgr/libnl/files/%{name}-%{version}.tar.gz
8
+Vendor:		VMware, Inc.
9
+Distribution:	Photon
10
+BuildRequires:	glib-devel
11
+BuildRequires:	dbus
12
+Requires:	glib
13
+Requires:	dbus
14
+
15
+%description
16
+The libnl suite is a collection of libraries providing APIs to netlink protocol based Linux kernel interfaces.
17
+Netlink is a IPC mechanism primarly between the kernel and user space processes. It was designed to be a more flexible successor to ioctl to provide mainly networking related kernel configuration and monitoring interfaces.
18
+
19
+%package devel
20
+Summary:	Libraries and headers for the libnl
21
+Requires:	libnl
22
+
23
+%description devel
24
+Headers and static libraries for the libnl
25
+
26
+%prep
27
+%setup -q
28
+%build
29
+./configure \
30
+	--prefix=%{_prefix} \
31
+	--sysconfdir=%{_sysconfdir} \
32
+ 
33
+make %{?_smp_mflags}
34
+%install
35
+make DESTDIR=%{buildroot} install
36
+%post	-p /sbin/ldconfig
37
+%postun	-p /sbin/ldconfig
38
+%files 
39
+%defattr(-,root,root)
40
+%{_sysconfdir}/*
41
+%{_sbindir}/*
42
+%{_libdir}/*.so.*
43
+%{_libdir}/*.la
44
+%{_libdir}/*.a
45
+%{_libdir}//libnl/*
46
+%{_mandir}/man8/*
47
+
48
+%files devel
49
+%defattr(-,root,root)
50
+%{_includedir}/libnl3/*
51
+%{_libdir}/*.so
52
+%{_libdir}/pkgconfig/*.pc
53
+
54
+%changelog
55
+*	Tue Jun 23 2015 Divya Thaluru <dthaluru@vmware.com> 3.2.25-1
56
+-	Initial build.
0 57
new file mode 100644
... ...
@@ -0,0 +1,51 @@
0
+Summary:	RELP Library
1
+Name:		librelp
2
+Version:	1.2.7
3
+Release:	1%{?dist}
4
+License:	GPLv3+
5
+URL:		http://www.librelp.com
6
+Source0:	http://download.rsyslog.com/librelp/%{name}-%{version}.tar.gz
7
+Group:		System Environment/Libraries
8
+Vendor:		VMware, Inc.
9
+Distribution:	Photon
10
+BuildRequires:	gnutls-devel
11
+Requires:	gnutls
12
+%description
13
+Librelp is an easy to use library for the RELP protocol. RELP (stands
14
+for Reliable Event Logging Protocol) is a general-purpose, extensible
15
+logging protocol.
16
+
17
+%package devel
18
+Summary:	Development libraries and header files for librelp
19
+Requires:	librelp
20
+
21
+%description devel
22
+The package contains libraries and header files for
23
+developing applications that use librelp.
24
+
25
+%prep
26
+%setup -q
27
+%build
28
+./configure \
29
+	--prefix=%{_prefix}
30
+make %{?_smp_mflags}
31
+%install
32
+make DESTDIR=%{buildroot} install
33
+%check
34
+make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
35
+%post	-p /sbin/ldconfig
36
+%postun	-p /sbin/ldconfig
37
+%files
38
+%defattr(-,root,root)
39
+%{_libdir}/*.so.*
40
+%{_libdir}/*.la
41
+%{_libdir}/*.a
42
+%files devel
43
+%defattr(-,root,root)
44
+%{_includedir}/*.h
45
+%{_libdir}/*.so
46
+%{_libdir}/pkgconfig/*.pc
47
+%changelog
48
+*	Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 1.2.7-1
49
+-	Initial build. First version
50
+
0 51
new file mode 100644
... ...
@@ -0,0 +1,53 @@
0
+Summary:	ASN.1 library
1
+Name:		libtasn1
2
+Version:	4.5
3
+Release:	1%{?dist}
4
+License:	GPLv3+ and LGPLv2+
5
+URL:		http://www.gnu.org/software/libtasn1/
6
+Source0:	http://ftp.gnu.org/gnu/libtasn1/%{name}-%{version}.tar.gz
7
+Group:		System Environment/Libraries
8
+Vendor:		VMware, Inc.
9
+Distribution:	Photon
10
+%description
11
+Libtasn1 library provides Abstract Syntax Notation One (ASN.1, as specified by the X.680 ITU-T recommendation) parsing and structures management, 
12
+and Distinguished Encoding Rules (DER, as per X.690) encoding and decoding functions.
13
+
14
+%package devel
15
+Summary:	Development libraries and header files for libtasn1
16
+Requires:	libtasn1
17
+Provides:	pkgconfig(libtasn1)
18
+
19
+%description devel
20
+The package contains libraries and header files for
21
+developing applications that use libtasn1.
22
+
23
+%prep
24
+%setup -q
25
+%build
26
+./configure \
27
+	--prefix=%{_prefix}
28
+make %{?_smp_mflags}
29
+%install
30
+make DESTDIR=%{buildroot} install
31
+rm %{buildroot}%{_infodir}/*
32
+%check
33
+make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
34
+%post	-p /sbin/ldconfig
35
+%postun	-p /sbin/ldconfig
36
+%files
37
+%defattr(-,root,root)
38
+%{_libdir}/*.so.*
39
+%{_libdir}/*.a
40
+%{_libdir}/*.la
41
+%{_bindir}/*
42
+%{_mandir}/man1/*
43
+%{_mandir}/man3/*
44
+%files devel
45
+%defattr(-,root,root)
46
+%{_includedir}/*.h
47
+%{_libdir}/*.so
48
+%{_libdir}/pkgconfig/*.pc
49
+%changelog
50
+*	Fri Jun 19 2015 Divya Thaluru <dthaluru@vmware.com> 4.5-1
51
+-	Initial build. First version
52
+
0 53
new file mode 100644
... ...
@@ -0,0 +1,49 @@
0
+Summary:	GNU Unicode string library
1
+Name:		libunistring
2
+Version:	0.9.5
3
+Release: 	1%{?dist}
4
+License:	LGPLv3+
5
+Url:		http://www.gnu.org/software/libunistring/
6
+Source0:	http://ftp.gnu.org/gnu/libunistring/%{name}-%{version}.tar.xz
7
+Group:		System Environment/Libraries
8
+Vendor:		VMware, Inc.
9
+Distribution:	Photon
10
+%description
11
+libunistring is a library that provides functions for manipulating Unicode strings and for manipulating C strings according to the Unicode standard.
12
+
13
+%package devel
14
+Summary:	Development libraries and header files for libunistring
15
+Requires:	libunistring
16
+
17
+%description devel
18
+The package contains libraries and header files for
19
+developing applications that use libunistring.
20
+
21
+%prep
22
+%setup -q
23
+%build
24
+./configure \
25
+	--prefix=%{_prefix}
26
+make %{?_smp_mflags}
27
+%install
28
+make DESTDIR=%{buildroot} install
29
+rm %{buildroot}%{_infodir}/*
30
+%check
31
+make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
32
+%post	-p /sbin/ldconfig
33
+%postun	-p /sbin/ldconfig
34
+%files
35
+%defattr(-,root,root)
36
+%{_libdir}/*.so.*
37
+%{_docdir}/%{name}/*
38
+%{_libdir}/*.a
39
+%{_libdir}/*.la
40
+%files devel
41
+%defattr(-,root,root)
42
+%{_includedir}/*.h
43
+%{_includedir}/unistring/*.h
44
+%{_libdir}/*.so
45
+%changelog
46
+*	Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 0.9.5-1
47
+-	Initial build. First version
48
+
0 49
new file mode 100644
... ...
@@ -0,0 +1,44 @@
0
+Summary:	Logrotate
1
+Name:		logrotate
2
+Version:	3.9.1
3
+Release:	1%{?dist}
4
+License:	GPL+
5
+URL:		https://fedorahosted.org/logrotate
6
+Source0:	https://fedorahosted.org/releases/l/o/logrotate/%{name}-%{version}.tar.gz
7
+Group:		System Environment/Base
8
+Vendor:		VMware, Inc.
9
+Distribution:	Photon
10
+BuildRequires:	popt-devel
11
+Requires:	popt
12
+%description
13
+The logrotate utility is designed to simplify the administration of log files on a system which generates a lot of log files. Logrotate allows for the automatic rotation compression, removal and mailing of log files. Logrotate can be set to handle a log file daily, weekly, monthly or when the log file gets to a certain size.
14
+%prep
15
+%setup -q
16
+%build
17
+./autogen.sh
18
+./configure \
19
+	--prefix=%{_prefix}
20
+make %{?_smp_mflags}
21
+%install
22
+make DESTDIR=%{buildroot} install
23
+install -vd %{buildroot}%{_sysconfdir}/logrotate.d
24
+install -p -m 644 examples/logrotate-default %{buildroot}%{_sysconfdir}/logrotate.conf
25
+install -vd %{buildroot}%{_sysconfdir}/cron.daily
26
+install -p -m 755 examples/logrotate.cron %{buildroot}%{_sysconfdir}/cron.daily/logrotate
27
+install -vd %{buildroot}%{_localstatedir}/lib/logrotate
28
+touch %{buildroot}%{_localstatedir}/lib/logrotate/logrotate.status
29
+
30
+%post	-p /sbin/ldconfig
31
+%postun	-p /sbin/ldconfig
32
+%files
33
+%defattr(-,root,root)
34
+%{_sysconfdir}/cron.daily/logrotate
35
+%{_sysconfdir}/logrotate.conf
36
+%{_sbindir}/logrotate
37
+%{_mandir}/man5/logrotate.conf.5.gz
38
+%{_mandir}/man8/logrotate.8.gz
39
+/var/lib/logrotate/logrotate.status
40
+%changelog
41
+*	Wed Jun 24 2015 Divya Thaluru <dthaluru@vmware.com> 3.9.1-1
42
+-	Initial build. First version
43
+
0 44
new file mode 100644
... ...
@@ -0,0 +1,59 @@
0
+Summary:	Low level cryptographic libraries
1
+Name:		nettle
2
+Version:	3.1.1
3
+Release:	1%{?dist}
4
+License:	LGPLv3+ or GPLv2+
5
+URL:            http://www.lysator.liu.se/~nisse/nettle/
6
+Source0: 	https://ftp.gnu.org/gnu/nettle/%{name}-%{version}.tar.gz
7
+Group: 		Development/Libraries
8
+Vendor:		VMware, Inc.
9
+Distribution:	Photon
10
+Provides:	libhogweed.so.4()(64bit)
11
+Provides:	libhogweed.so.4(HOGWEED_4)(64bit)
12
+Provides:	libnettle.so.6()(64bit)
13
+Provides:	libnettle.so.6(NETTLE_6)(64bit)
14
+
15
+%description
16
+GNettle is a cryptographic library that is designed to fit easily in more
17
+or less any context: In crypto toolkits for object-oriented languages
18
+(C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in
19
+kernel space.
20
+
21
+%package devel
22
+Summary:	Development libraries and header files for nettle
23
+Requires:	nettle
24
+Provides:	pkgconfig(hogweed)
25
+Provides:	pkgconfig(nettle)
26
+
27
+%description devel
28
+The package contains libraries and header files for
29
+developing applications that use nettle.
30
+
31
+%prep
32
+%setup -q
33
+%build
34
+./configure \
35
+	--prefix=%{_prefix} \
36
+	--enable-shared
37
+make %{?_smp_mflags}
38
+%install
39
+make DESTDIR=%{buildroot} install
40
+rm %{buildroot}%{_infodir}/*
41
+%check
42
+make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
43
+%post	-p /sbin/ldconfig
44
+%postun	-p /sbin/ldconfig
45
+%files
46
+%defattr(-,root,root)
47
+%{_libdir}/*.so.*
48
+%{_bindir}/*
49
+%{_libdir}/*.a
50
+%files devel
51
+%defattr(-,root,root)
52
+%{_includedir}/nettle/*.h
53
+%{_libdir}/*.so
54
+%{_libdir}/pkgconfig/*.pc
55
+%changelog
56
+*	Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 3.1.1-1
57
+-	Initial build. First version
58
+
0 59
new file mode 100644
... ...
@@ -0,0 +1,54 @@
0
+Summary:	Rocket-fast system for log processing
1
+Name:		rsyslog
2
+Version:	8.10.0
3
+Release:	1%{?dist}
4
+License:	GPLv3+ and ASL 2.0
5
+URL:		http://www.rsyslog.com/
6
+Source0:	http://www.rsyslog.com/files/download/rsyslog/%{name}-%{version}.tar.gz
7
+Group:		System Environment/Base
8
+Vendor:		VMware, Inc.
9
+Distribution:	Photon
10
+BuildRequires:	systemd
11
+BuildRequires:	libestr-devel
12
+BuildRequires:	json-c-devel
13
+BuildRequires:	libgcrypt-devel
14
+BuildRequires:	liblogging-devel
15
+BuildRequires:	librelp-devel
16
+Requires:	systemd
17
+Requires:	libestr
18
+Requires:	json-c
19
+Requires:	libgcrypt
20
+Requires:	liblogging
21
+Requires:	librelp
22
+%description
23
+Cronie contains the standard UNIX daemon crond that runs specified programs at
24
+scheduled times and related tools. It is based on the original cron and
25
+has security and configuration enhancements like the ability to use pam and
26
+SELinux.
27
+%prep
28
+%setup -q
29
+%build
30
+./configure \
31
+	--prefix=%{_prefix} \
32
+        --enable-relp
33
+make %{?_smp_mflags}
34
+%install
35
+make DESTDIR=%{buildroot} install
36
+install -vd %{buildroot}%{_libdir}/systemd/system/
37
+mv %{buildroot}/lib/systemd/system/rsyslog.service  %{buildroot}%{_libdir}/systemd/system/rsyslog.service
38
+%check
39
+make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
40
+%post	-p /sbin/ldconfig
41
+%postun	-p /sbin/ldconfig
42
+%files
43
+%defattr(-,root,root)
44
+%{_sbindir}/*
45
+%{_libdir}/rsyslog/*.so
46
+%{_libdir}/rsyslog/*.la
47
+%{_mandir}/man5/*
48
+%{_mandir}/man8/*
49
+%{_libdir}/systemd/system/rsyslog.service
50
+%changelog
51
+*	Wed Jun 17 2015 Divya Thaluru <dthaluru@vmware.com> 8.10.0-1
52
+-	Initial build. First version
53
+
... ...
@@ -1,14 +1,14 @@
1 1
 Summary:	Programs for handling passwords in a secure way
2 2
 Name:		shadow
3 3
 Version:	4.1.5.1
4
-Release:	3%{?dist}
4
+Release:	4%{?dist}
5 5
 URL:		http://pkg-shadow.alioth.debian.org/
6 6
 License:	BSD
7 7
 Group:		Applications/System
8 8
 Vendor:		VMware, Inc.
9 9
 Distribution:	Photon
10 10
 Source0:	http://cdn.debian.net/debian/pool/main/s/%{name}/%{name}_%{version}.orig.tar.gz
11
-Source1:	PAM-Configuration-Files.tar.gz
11
+Source1:	PAM-Configuration-Files-1.0.tar.gz
12 12
 BuildRequires: 	cracklib
13 13
 BuildRequires: 	cracklib-devel
14 14
 Requires:   	cracklib
... ...
@@ -71,7 +71,7 @@ done
71 71
 pushd PAM-Configuration-Files
72 72
 install -vm644 * %{buildroot}%{_sysconfdir}/pam.d/
73 73
 popd
74
-for PROGRAM in chfn chgpasswd chpasswd chsh groupadd groupdel \
74
+for PROGRAM in chfn chgpasswd chsh groupadd groupdel \
75 75
                groupmems groupmod newusers useradd userdel usermod
76 76
 do
77 77
     install -v -m644 %{buildroot}%{_sysconfdir}/pam.d/chage %{buildroot}%{_sysconfdir}/pam.d/${PROGRAM}
... ...
@@ -94,6 +94,8 @@ done
94 94
 %{_mandir}/*/*
95 95
 %{_sysconfdir}/pam.d/*
96 96
 %changelog
97
+*	Mon Jun 29 2015 Divya Thaluru <dthaluru@vmware.com> 4.1.5.1-4
98
+-	Fixed PAM Configuration file for chpasswd
97 99
 *	Tue Jun 16 2015 Alexey Makhalov <amakhalov@vmware.com> 4.1.5.1-3
98 100
 -	Use group id 100(users) by default
99 101
 *	Wed May 27 2015 Divya Thaluru <dthaluru@vmware.com> 4.1.5.1-2
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	Sudo
2 2
 Name:		sudo
3 3
 Version:	1.8.11p1
4
-Release:	3%{?dist}
4
+Release:	4%{?dist}
5 5
 License:	ISC
6 6
 URL:		https://www.kernel.org/pub/linux/libs/pam/
7 7
 Group:		System Environment/Security
... ...
@@ -62,7 +62,9 @@ groupadd wheel
62 62
 rm -rf %{buildroot}/*
63 63
 %files -f %{name}.lang
64 64
 %defattr(-,root,root)
65
-%{_sysconfdir}/*
65
+%attr(0440,root,root) %config(noreplace) %{_sysconfdir}/sudoers
66
+%attr(0750,root,root) %dir %{_sysconfdir}/sudoers.d/
67
+%config(noreplace) %{_sysconfdir}/pam.d/sudo
66 68
 %{_bindir}/*
67 69
 %{_includedir}/*
68 70
 %{_libdir}/sudo/*.so
... ...
@@ -73,6 +75,8 @@ rm -rf %{buildroot}/*
73 73
 %{_docdir}/%{name}-%{version}/*
74 74
 %{_datarootdir}/locale/*
75 75
 %changelog
76
+*	Mon Jun 22 2015 Divya Thaluru <dthaluru@vmware.com> 1.8.11p1-4
77
+-	Fixing permissions on /etc/sudoers file
76 78
 *	Fri May 29 2015 Divya Thaluru <dthaluru@vmware.com> 1.8.11p1-3
77 79
 -	Adding sudo configuration and PAM config file
78 80
 *	Wed May 27 2015 Divya Thaluru <dthaluru@vmware.com> 1.8.11p1-2
... ...
@@ -1,14 +1,14 @@
1 1
 Summary:	Systemd-216
2 2
 Name:		systemd
3 3
 Version:	216
4
-Release:	5%{?dist}
4
+Release:	6%{?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:	http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
11
-Patch0:     systemd-216-compat-1.patch
11
+Patch0:     	systemd-216-compat-1.patch
12 12
 Requires:	Linux-PAM
13 13
 Requires:	libcap
14 14
 Requires:	xz
... ...
@@ -54,7 +54,8 @@ sed -i "s:blkid/::" $(grep -rl "blkid/blkid.h")
54 54
             --with-dbuspolicydir=/etc/dbus-1/system.d               \
55 55
             --with-dbusinterfacedir=%{_prefix}/share/dbus-1/interfaces    \
56 56
             --with-dbussessionservicedir=%{_prefix}/share/dbus-1/services \
57
-            --with-dbussystemservicedir=%{_prefix}/share/dbus-1/system-services
57
+            --with-dbussystemservicedir=%{_prefix}/share/dbus-1/system-services \
58
+	    --enable-compat-libs
58 59
 
59 60
 make %{?_smp_mflags}
60 61
 %install
... ...
@@ -89,8 +90,10 @@ rm -rf %{buildroot}/*
89 89
 
90 90
 
91 91
 %changelog
92
-*   Thu Jun 25 2015 Sharath George <sharathg@vmware.com> 216-5
93
--   Remove debug files.
92
+*   	Thu Jun 25 2015 Sharath George <sharathg@vmware.com> 216-6
93
+-   	Remove debug files.
94
+*	Tue Jun 23 2015 Divya Thaluru <dthaluru@vmware.com> 216-5
95
+-	Building compat libs 
94 96
 *	Mon Jun 1 2015 Alexey Makhalov <amakhalov@vmware.com> 216-4
95 97
 -	gudev support
96 98
 *	Wed May 27 2015 Divya Thaluru <dthaluru@vmware.com> 216-3
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:	RPM installer/updater
2 2
 Name:		yum
3 3
 Version:	3.4.3
4
-Release:	1%{?dist}
4
+Release:	2%{?dist}
5 5
 License:	GPLv2+
6 6
 Group:		System Environment/Base
7 7
 Source0:	%{name}-%{version}.tar.gz
... ...
@@ -14,6 +14,8 @@ BuildRequires:	gettext
14 14
 BuildRequires:	intltool
15 15
 BuildRequires:	pycurl
16 16
 BuildRequires:	urlgrabber
17
+Requires:	python2
18
+Requires:	python2-libs
17 19
 Requires:	urlgrabber
18 20
 Requires:	yum-metadata-parser >= 1.1.0
19 21
 Requires:	pycurl
... ...
@@ -189,3 +191,7 @@ touch $RPM_BUILD_ROOT/var/lib/yum/uuid
189 189
 %exclude %{_datadir}/yum-cli/yumupd.py*
190 190
 %exclude %{_sbindir}/yum-updatesd
191 191
 %exclude %{_mandir}/man*/yum-updatesd*
192
+
193
+%changelog
194
+*	Mon Jun 22 2015 Divya Thaluru <dthaluru@vmware.com> 3.4.3-2
195
+-	Adding python and python-libs as run time dependent packages