SOURCES: gadmintools-gproftpd-install.patch (NEW) - removed uneces...

czarny czarny at pld-linux.org
Sat Sep 8 22:02:45 CEST 2007


Author: czarny                       Date: Sat Sep  8 20:02:45 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- removed unecessery dubbles
- installing all files in the package
- creating dirs for instalation if necessery
- would help to check if I did it ok

---- Files affected:
SOURCES:
   gadmintools-gproftpd-install.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/gadmintools-gproftpd-install.patch
diff -u /dev/null SOURCES/gadmintools-gproftpd-install.patch:1.1
--- /dev/null	Sat Sep  8 22:02:45 2007
+++ SOURCES/gadmintools-gproftpd-install.patch	Sat Sep  8 22:02:40 2007
@@ -0,0 +1,42 @@
+diff -urN gproftpd-8.3.2/Makefile.am gproftpd-8.3.2.new/Makefile.am
+--- gproftpd-8.3.2/Makefile.am	2007-01-17 23:08:52.000000000 +0100
++++ gproftpd-8.3.2.new/Makefile.am	2007-09-08 21:56:24.881789582 +0200
+@@ -29,28 +29,27 @@
+ 	if test -f $(DESTDIR)/usr/local/bin/consolehelper && test ! -f $(DESTDIR)/usr/local/bin/gproftpd; then \
+ 	   ln -s $(DESTDIR)/usr/local/bin/consolehelper $(DESTDIR)/usr/local/bin/gproftpd; \
+ 	fi;
++	if test ! -d $(DESTDIR)$(sysconfdir)/pam.d; then \
++	   $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/pam.d; \
++	fi;
+ 	if test -d $(DESTDIR)$(sysconfdir)/pam.d; then \
+ 	   cp etc/pam.d/gproftpd $(DESTDIR)$(sysconfdir)/pam.d/; \
+ 	fi;
++	if test ! -d $(DESTDIR)$(sysconfdir)/security/console.apps; then \
++	   $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/security/console.apps; \
++	fi;
+ 	if test -d $(DESTDIR)$(sysconfdir)/security/console.apps; then \
+ 	   cp etc/security/console.apps/gproftpd $(DESTDIR)$(sysconfdir)/security/console.apps/; \
+ 	fi;   
++	if test ! -d $(DESTDIR)$(datadir)/applications; then \
++	   $(mkinstalldirs) $(DESTDIR)$(datadir)/applications; \
++	fi;
+ 	if test -d $(DESTDIR)$(datadir)/applications; then \
+-	   cp desktop/net-gproftpd.desktop $(DESTDIR)$(datadir)/applications/; \
++	   cp desktop/net-gproftpd.desktop $(DESTDIR)$(datadir)/applications/gproftpd.desktop; \
+ 	fi;
+ 	if test -d $(DESTDIR)$(datadir)/gnome/apps/Internet; then \
+ 	   cp desktop/net-gproftpd.desktop $(DESTDIR)$(datadir)/gnome/apps/Internet/; \
+ 	fi;
+-	if test ! -d $(DESTDIR)$(datadir)/doc/gproftpd; then \
+-	   $(mkinstalldirs) $(DESTDIR)$(datadir)/doc/gproftpd; \
+-	   cp AUTHORS $(DESTDIR)$(datadir)/doc/gproftpd/; \
+-	   cp README $(DESTDIR)$(datadir)/doc/gproftpd/; \
+-	   cp ChangeLog $(DESTDIR)$(datadir)/doc/gproftpd/; \
+-	   cp COPYING $(DESTDIR)$(datadir)/doc/gproftpd/; \
+-	fi;
+-	if test ! -d $(DESTDIR)$(sysconfdir)/gproftpd; then \
+-	   $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gproftpd; \
+-	fi;
+ 	if test ! -d $(DESTDIR)$(sysconfdir)/gproftpd; then \
+ 	   $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gproftpd; \
+ 	fi;
================================================================


More information about the pld-cvs-commit mailing list