]> git.pld-linux.org Git - packages/libutempter.git/commitdiff
- updated
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 18 Dec 2003 22:37:29 +0000 (22:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    utempter-utmp-cleanup.patch -> 1.2

utempter-utmp-cleanup.patch

index 1d2ecb22548e6263eb9a70ad44cb5b973a0821eb..24707a3ed78f082f010f4f02ab40f4be3d08401d 100644 (file)
@@ -1,12 +1,12 @@
-diff -urN utempter-0.5.2.orig/Makefile utempter-0.5.2/Makefile
---- utempter-0.5.2.orig/Makefile       Fri May 31 19:04:39 2002
-+++ utempter-0.5.2/Makefile    Fri May 31 19:20:49 2002
-@@ -12,12 +12,12 @@
- VERSION=$(shell awk '/define version/ { print $$3 }' utempter.spec)
- CVSTAG = r$(subst .,-,$(VERSION))
+diff -urN utempter-0.5.3.org/Makefile utempter-0.5.3/Makefile
+--- utempter-0.5.3.org/Makefile        2003-12-18 23:33:32.081092612 +0100
++++ utempter-0.5.3/Makefile    2003-12-18 23:34:17.941588864 +0100
+@@ -11,12 +11,12 @@
  
--TARGETS = $(PROJECT) utmp $(SHAREDLIB)
-+TARGETS = $(PROJECT) utmp $(SHAREDLIB) utmp-cleanup
+ CFLAGS = -Wall $(RPM_OPT_FLAGS)
+-TARGETS = $(NAME) utmp $(SHAREDLIB)
++TARGETS = $(NAME) utmp $(SHAREDLIB) utmp-cleanup
  
  all:  $(TARGETS)
  
@@ -16,67 +16,17 @@ diff -urN utempter-0.5.2.orig/Makefile utempter-0.5.2/Makefile
  
  %.os : %.c
        $(CC) -c $(CFLAGS) -fPIC $< -o $@
-@@ -27,6 +27,7 @@
-       mkdir -p $(RPM_BUILD_ROOT)/usr/lib
+@@ -26,6 +26,7 @@
+       mkdir -p $(RPM_BUILD_ROOT)/$(LIBDIR)
        mkdir -p $(RPM_BUILD_ROOT)/usr/include
        install -m 4755 utempter $(RPM_BUILD_ROOT)/usr/sbin
 +      install -m 755 utmp-cleanup $(RPM_BUILD_ROOT)/usr/sbin
        install -m 644 utempter.h $(RPM_BUILD_ROOT)/usr/include
-       install -m 644 $(SHAREDLIB) $(RPM_BUILD_ROOT)/usr/lib/$(SHAREDLIB).$(VERSION)
-       ln -sf $(SHAREDLIB).$(VERSION) $(RPM_BUILD_ROOT)/usr/lib/$(SHAREDLIB)
-diff -urN utempter-0.5.2.orig/Makefile~ utempter-0.5.2/Makefile~
---- utempter-0.5.2.orig/Makefile~      Thu Jan  1 01:00:00 1970
-+++ utempter-0.5.2/Makefile~   Fri May 31 19:19:59 2002
-@@ -0,0 +1,46 @@
-+
-+# project name
-+PROJECT       = utempter
-+# major number of the .so lib
-+SOMAJOR = 0
-+
-+SHAREDLIB = lib$(PROJECT).so
-+SONAME = $(SHAREDLIB).$(SOMAJOR)
-+
-+CFLAGS = -Wall $(RPM_OPT_FLAGS)
-+
-+VERSION=$(shell awk '/define version/ { print $$3 }' utempter.spec)
-+CVSTAG = r$(subst .,-,$(VERSION))
-+
-+TARGETS = $(PROJECT) utmp $(SHAREDLIB) utmp-cleanup
-+
-+all:  $(TARGETS)
-+
-+clean:
-+      rm -f *.so utempter utmp *.os
-+
-+%.os : %.c
-+      $(CC) -c $(CFLAGS) -fPIC $< -o $@
-+
-+install:
-+      mkdir -p $(RPM_BUILD_ROOT)/usr/sbin
-+      mkdir -p $(RPM_BUILD_ROOT)/usr/lib
-+      mkdir -p $(RPM_BUILD_ROOT)/usr/include
-+      install -m 4755 utempter $(RPM_BUILD_ROOT)/usr/sbin
-+      install -m 644 utempter.h $(RPM_BUILD_ROOT)/usr/include
-+      install -m 644 $(SHAREDLIB) $(RPM_BUILD_ROOT)/usr/lib/$(SHAREDLIB).$(VERSION)
-+      ln -sf $(SHAREDLIB).$(VERSION) $(RPM_BUILD_ROOT)/usr/lib/$(SHAREDLIB)
-+
-+$(SHAREDLIB): utmpintf.os
-+      $(CC) -o $@ -shared -Wl,-soname,$(SONAME) $^ -lc
-+
-+utmpintf.o: utmpintf.c utempter.h
-+
-+archive:
-+      cvs tag -F $(CVSTAG) .
-+      @rm -rf /tmp/utempter-$(VERSION) /tmp/utempter
-+      @cd /tmp; cvs export -r$(CVSTAG) utempter
-+      @mv /tmp/utempter /tmp/utempter-$(VERSION)
-+      @dir=$$PWD; cd /tmp; tar cvzf $$dir/utempter-$(VERSION).tar.gz utempter-$(VERSION)
-+      @rm -rf /tmp/utempter-$(VERSION)
-+      @echo "The archive is in utempter-$(VERSION).tar.gz"
-diff -urN utempter-0.5.2.orig/utmp-cleanup.c utempter-0.5.2/utmp-cleanup.c
---- utempter-0.5.2.orig/utmp-cleanup.c Thu Jan  1 01:00:00 1970
-+++ utempter-0.5.2/utmp-cleanup.c      Fri May 31 19:04:46 2002
+       install -m 644 $(SHAREDLIB) $(RPM_BUILD_ROOT)/$(LIBDIR)/$(SHAREDLIB).$(VERSION)
+       ln -sf $(SHAREDLIB).$(VERSION) $(RPM_BUILD_ROOT)/$(LIBDIR)/$(SHAREDLIB)
+diff -urN utempter-0.5.3.org/utmp-cleanup.c utempter-0.5.3/utmp-cleanup.c
+--- utempter-0.5.3.org/utmp-cleanup.c  1970-01-01 01:00:00.000000000 +0100
++++ utempter-0.5.3/utmp-cleanup.c      2003-12-18 23:33:51.996966369 +0100
 @@ -0,0 +1,69 @@
 +#include <unistd.h>
 +#include <fcntl.h>
This page took 0.057486 seconds and 4 git commands to generate.