SOURCES: rottlog-DESTDIR.patch (NEW), rottlog-bashism.patch (NEW) ...
glen
glen at pld-linux.org
Mon Apr 14 15:06:47 CEST 2008
Author: glen Date: Mon Apr 14 13:06:47 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- new
---- Files affected:
SOURCES:
rottlog-DESTDIR.patch (NONE -> 1.1) (NEW), rottlog-bashism.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/rottlog-DESTDIR.patch
diff -u /dev/null SOURCES/rottlog-DESTDIR.patch:1.1
--- /dev/null Mon Apr 14 15:06:47 2008
+++ SOURCES/rottlog-DESTDIR.patch Mon Apr 14 15:06:42 2008
@@ -0,0 +1,33 @@
+--- rottlog-0.70beta3/Makefile.am~ 2005-05-09 23:30:06.000000000 +0300
++++ rottlog-0.70beta3/Makefile.am 2008-04-14 15:54:59.243102632 +0300
+@@ -71,18 +71,18 @@
+
+
+ install-data-local:
+- mkdir -m $(ETC_MODE) -p $(ROTT_ETCDIR)
+- mkdir -p $(ROTT_STATDIR)
+- $(install_sh_DATA) $(srcdir)/rc/sample_rc $(ROTT_ETCDIR)
+- $(install_sh_DATA) $(srcdir)/rc/sample_custom $(ROTT_ETCDIR)
+- $(install_sh_DATA) $(srcdir)/rc/sample_monthly $(ROTT_ETCDIR)
+- $(install_sh_DATA) $(srcdir)/rc/sample_rc_logrotate $(ROTT_ETCDIR)
++ mkdir -m $(ETC_MODE) -p $(DESTDIR)$(ROTT_ETCDIR)
++ mkdir -p $(DESTDIR)$(ROTT_STATDIR)
++ $(install_sh_DATA) $(srcdir)/rc/sample_rc $(DESTDIR)$(ROTT_ETCDIR)
++ $(install_sh_DATA) $(srcdir)/rc/sample_custom $(DESTDIR)$(ROTT_ETCDIR)
++ $(install_sh_DATA) $(srcdir)/rc/sample_monthly $(DESTDIR)$(ROTT_ETCDIR)
++ $(install_sh_DATA) $(srcdir)/rc/sample_rc_logrotate $(DESTDIR)$(ROTT_ETCDIR)
+
+ install-exec-hook:
+- $(INSTALL_SCRIPT) $(srcdir)/src/rottlog $(bindir)/rottlog
+- $(INSTALL_SCRIPT) $(srcdir)/src/virottrc $(bindir)/virottrc
+- $(LN_S) -f $(bindir)/virottrc $(bindir)/virottmonth
+- $(LN_S) -f $(bindir)/virottrc $(bindir)/virottday
+- $(LN_S) -f $(bindir)/virottrc $(bindir)/virottweek
+- $(LN_S) -f $(bindir)/virottrc $(bindir)/virottcustom
++ $(INSTALL_SCRIPT) $(srcdir)/src/rottlog $(DESTDIR)$(bindir)/rottlog
++ $(INSTALL_SCRIPT) $(srcdir)/src/virottrc $(DESTDIR)$(bindir)/virottrc
++ $(LN_S) -f $(bindir)/virottrc $(DESTDIR)$(bindir)/virottmonth
++ $(LN_S) -f $(bindir)/virottrc $(DESTDIR)$(bindir)/virottday
++ $(LN_S) -f $(bindir)/virottrc $(DESTDIR)$(bindir)/virottweek
++ $(LN_S) -f $(bindir)/virottrc $(DESTDIR)$(bindir)/virottcustom
+
================================================================
Index: SOURCES/rottlog-bashism.patch
diff -u /dev/null SOURCES/rottlog-bashism.patch:1.1
--- /dev/null Mon Apr 14 15:06:47 2008
+++ SOURCES/rottlog-bashism.patch Mon Apr 14 15:06:42 2008
@@ -0,0 +1,17 @@
+--- rottlog-0.70beta3/configure.ac~ 2005-05-09 23:30:06.000000000 +0300
++++ rottlog-0.70beta3/configure.ac 2008-04-14 15:47:59.238951107 +0300
+@@ -174,10 +174,10 @@
+ fi
+
+ AC_MSG_NOTICE([Escaping variables due to sed weakness...])
+-esc_ETCDIR="${ROTT_ETCDIR//\//\\/}"
+-esc_STATDIR="${ROTT_STATDIR//\//\\/}"
+-esc_TMPDIR="${BASE_TMP_DIR//\//\\/}"
+-esc_LOCKFILE="${LOCKFILE//\//\\/}"
++esc_ETCDIR=$(echo "${ROTT_ETCDIR}" | sed -e 's,/,\\/,g')
++esc_STATDIR=$(echo "${ROTT_STATDIR}" | sed -e 's,/,\\/,g')
++esc_TMPDIR=$(echo "${BASE_TMP_DIR}" | sed -e 's,/,\\/,g')
++esc_LOCKFILE=$(echo "${LOCKFILE}" | sed -e 's,/,\\/,g')
+ AC_SUBST(esc_ETCDIR,[$esc_ETCDIR])
+ AC_SUBST(esc_STATDIR,[$esc_STATDIR])
+ AC_SUBST(esc_TMPDIR,[$esc_TMPDIR])
================================================================
More information about the pld-cvs-commit
mailing list