packages: libutempter/libutempter-lastlog.patch, libutempter/libutempter-ut...

qboosh qboosh at pld-linux.org
Sat Jun 23 22:06:10 CEST 2012


Author: qboosh                       Date: Sat Jun 23 20:06:10 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 1.1.6
- updated lastlog,utmp-cleanup patches

---- Files affected:
packages/libutempter:
   libutempter-lastlog.patch (1.2 -> 1.3) , libutempter-utmp-cleanup.patch (1.1 -> 1.2) , libutempter.spec (1.66 -> 1.67) 

---- Diffs:

================================================================
Index: packages/libutempter/libutempter-lastlog.patch
diff -u packages/libutempter/libutempter-lastlog.patch:1.2 packages/libutempter/libutempter-lastlog.patch:1.3
--- packages/libutempter/libutempter-lastlog.patch:1.2	Thu Sep 23 20:08:19 2010
+++ packages/libutempter/libutempter-lastlog.patch	Sat Jun 23 22:06:04 2012
@@ -1,5 +1,5 @@
---- libutempter-1.1.5/utempter.c.org	2010-09-21 14:12:11.474543375 +0200
-+++ libutempter-1.1.5/utempter.c	2010-09-21 14:13:35.669584497 +0200
+--- libutempter-1.1.6/utempter.c.orig	2010-11-04 18:14:53.000000000 +0100
++++ libutempter-1.1.6/utempter.c	2012-06-23 21:51:40.962552952 +0200
 @@ -113,20 +113,27 @@
  {
  	struct utmp ut;
@@ -8,7 +8,7 @@
 +	struct lastlog ll;
  
  #ifdef __GLIBC__
- 	int     offset;
+ 	size_t offset;
  #endif
  
  	memset(&ut, 0, sizeof(ut));
@@ -29,7 +29,7 @@
  
  #ifdef __GLIBC__
  
-@@ -156,6 +163,11 @@
+@@ -155,6 +162,11 @@
  	endutent();
  
  	(void) updwtmp(_PATH_WTMP, &ut);

================================================================
Index: packages/libutempter/libutempter-utmp-cleanup.patch
diff -u packages/libutempter/libutempter-utmp-cleanup.patch:1.1 packages/libutempter/libutempter-utmp-cleanup.patch:1.2
--- packages/libutempter/libutempter-utmp-cleanup.patch:1.1	Tue Sep 21 14:19:31 2010
+++ packages/libutempter/libutempter-utmp-cleanup.patch	Sat Jun 23 22:06:04 2012
@@ -1,5 +1,5 @@
---- libutempter-1.1.5/Makefile~	2007-02-19 13:14:08.000000000 +0100
-+++ libutempter-1.1.5/Makefile	2010-09-21 14:16:43.025917709 +0200
+--- libutempter-1.1.6/Makefile.orig	2010-11-04 18:14:53.000000000 +0100
++++ libutempter-1.1.6/Makefile	2012-06-23 21:52:49.619216737 +0200
 @@ -27,7 +27,7 @@
  STATICLIB = lib$(PROJECT).a
  MAP = lib$(PROJECT).map
@@ -9,13 +9,16 @@
  
  INSTALL = install
  libdir = /usr/lib
-@@ -70,8 +70,9 @@
+@@ -72,6 +72,7 @@
  	$(INSTALL) -p -m644 $(PROJECT).h $(DESTDIR)$(includedir)/
  	$(INSTALL) -p -m755 $(SHAREDLIB) $(DESTDIR)$(libdir)/$(SHAREDLIB).$(VERSION)
  	$(INSTALL) -p -m644 $(STATICLIB) $(DESTDIR)$(libdir)/
 +	$(INSTALL) -p -m755 utmp-cleanup $(DESTDIR)$(libexecdir)/$(PROJECT)/
  	ln -s $(SHAREDLIB).$(VERSION) $(DESTDIR)$(libdir)/$(SONAME)
  	ln -s $(SONAME) $(DESTDIR)$(libdir)/$(SHAREDLIB)
+ 	$(INSTALL) -p -m644 $(PROJECT).3 $(DESTDIR)$(man3dir)/
+@@ -81,4 +82,4 @@
+ 	done
  
  clean:
 -	$(RM) $(TARGETS) iface.o iface.os core *~

================================================================
Index: packages/libutempter/libutempter.spec
diff -u packages/libutempter/libutempter.spec:1.66 packages/libutempter/libutempter.spec:1.67
--- packages/libutempter/libutempter.spec:1.66	Mon Oct 18 20:56:12 2010
+++ packages/libutempter/libutempter.spec	Sat Jun 23 22:06:04 2012
@@ -7,12 +7,12 @@
 Summary(uk.UTF-8):	Привілейована програма для внесення змін до utmp/wtmp
 %define	utempter_compat_ver	0.5.5
 Name:		libutempter
-Version:	1.1.5
-Release:	2
-License:	LGPL
+Version:	1.1.6
+Release:	1
+License:	LGPL v2.1+
 Group:		Base
 Source0:	ftp://ftp.altlinux.org/pub/people/ldv/utempter/%{name}-%{version}.tar.bz2
-# Source0-md5:	d62a93ba9f3796a91cf03be5ef25a9a1
+# Source0-md5:	b43827806923903aba2bc7cd3a2d45b7
 Patch0:		%{name}-lastlog.patch
 Patch1:		%{name}-utmp-cleanup.patch
 BuildRequires:	rpmbuild(macros) >= 1.202
@@ -135,6 +135,7 @@
 
 %files
 %defattr(644,root,root,755)
+%doc README
 %attr(755,root,root) %{_sbindir}/utempter
 %attr(755,root,root) %{_sbindir}/utmp-cleanup
 %dir %{_libdir}/utempter
@@ -148,6 +149,8 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libutempter.so
 %{_includedir}/utempter.h
+%{_mandir}/man3/libutempter.3*
+%{_mandir}/man3/utempter*.3*
 
 %files static
 %defattr(644,root,root,755)
@@ -159,6 +162,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.67  2012/06/23 20:06:04  qboosh
+- updated to 1.1.6
+- updated lastlog,utmp-cleanup patches
+
 Revision 1.66  2010/10/18 18:56:12  qboosh
 - verbose lib files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/libutempter/libutempter-lastlog.patch?r1=1.2&r2=1.3
    http://cvs.pld-linux.org/packages/libutempter/libutempter-utmp-cleanup.patch?r1=1.1&r2=1.2
    http://cvs.pld-linux.org/packages/libutempter/libutempter.spec?r1=1.66&r2=1.67



More information about the pld-cvs-commit mailing list