Loading pkgs/by-name/yt/ytree/0001-use-prefix-and-gzip-n.diff +10 −20 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ diff -Naur ytree-2.06-old/Makefile ytree-2.06-new/Makefile -DESTDIR = /usr +PREFIX = /usr ADD_CFLAGS = -O # -DVI_KEYS ADD_CFLAGS = # -DVI_KEYS -BINDIR = $(DESTDIR)/bin -MANDIR = $(DESTDIR)/share/man/man1 Loading @@ -19,21 +19,11 @@ diff -Naur ytree-2.06-old/Makefile ytree-2.06-new/Makefile # Uncomment the lines for your system (default is linux) @@ -224,14 +224,14 @@ @@ -221,7 +221,7 @@ install: $(MAIN) if [ ! -e $(BINDIR) ]; then mkdir -p $(BINDIR); fi install $(MAIN) $(BINDIR) - gzip -9c ytree.1 > ytree.1.gz + gzip -n -9c ytree.1 > ytree.1.gz if [ -d $(MANDIR) ]; then install -m 0644 ytree.1.gz $(MANDIR)/; fi - gzip -9c ytree.1.es > ytree.1.es.gz + gzip -n -9c ytree.1.es > ytree.1.es.gz if [ -d $(MANESDIR) ]; then install -m 0644 ytree.1.es.gz $(MANESDIR)/; fi clean: rm -f core *.o *~ *.orig *.bak - + clobber: clean rm -f $(MAIN) ytree.1.es.gz ytree.1.gz if [ ! -e $(MANDIR) ]; then mkdir -p $(MANDIR); fi install -m 0644 ytree.1.gz $(MANDIR)/ pkgs/by-name/yt/ytree/package.nix +2 −2 Original line number Diff line number Diff line Loading @@ -8,11 +8,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "ytree"; version = "2.06"; version = "2.10"; src = fetchurl { url = "https://han.de/~werner/ytree-${finalAttrs.version}.tar.gz"; hash = "sha256-QRqI779ZnnytVUC7A7Zt0zyWexRwBnp+CVQcNvnvWeY="; hash = "sha256-O7u9MvVoza4+A/xzWxeD2MumBaLKYFbRuXEUPX3dUX0="; }; patches = [ Loading Loading
pkgs/by-name/yt/ytree/0001-use-prefix-and-gzip-n.diff +10 −20 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ diff -Naur ytree-2.06-old/Makefile ytree-2.06-new/Makefile -DESTDIR = /usr +PREFIX = /usr ADD_CFLAGS = -O # -DVI_KEYS ADD_CFLAGS = # -DVI_KEYS -BINDIR = $(DESTDIR)/bin -MANDIR = $(DESTDIR)/share/man/man1 Loading @@ -19,21 +19,11 @@ diff -Naur ytree-2.06-old/Makefile ytree-2.06-new/Makefile # Uncomment the lines for your system (default is linux) @@ -224,14 +224,14 @@ @@ -221,7 +221,7 @@ install: $(MAIN) if [ ! -e $(BINDIR) ]; then mkdir -p $(BINDIR); fi install $(MAIN) $(BINDIR) - gzip -9c ytree.1 > ytree.1.gz + gzip -n -9c ytree.1 > ytree.1.gz if [ -d $(MANDIR) ]; then install -m 0644 ytree.1.gz $(MANDIR)/; fi - gzip -9c ytree.1.es > ytree.1.es.gz + gzip -n -9c ytree.1.es > ytree.1.es.gz if [ -d $(MANESDIR) ]; then install -m 0644 ytree.1.es.gz $(MANESDIR)/; fi clean: rm -f core *.o *~ *.orig *.bak - + clobber: clean rm -f $(MAIN) ytree.1.es.gz ytree.1.gz if [ ! -e $(MANDIR) ]; then mkdir -p $(MANDIR); fi install -m 0644 ytree.1.gz $(MANDIR)/
pkgs/by-name/yt/ytree/package.nix +2 −2 Original line number Diff line number Diff line Loading @@ -8,11 +8,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "ytree"; version = "2.06"; version = "2.10"; src = fetchurl { url = "https://han.de/~werner/ytree-${finalAttrs.version}.tar.gz"; hash = "sha256-QRqI779ZnnytVUC7A7Zt0zyWexRwBnp+CVQcNvnvWeY="; hash = "sha256-O7u9MvVoza4+A/xzWxeD2MumBaLKYFbRuXEUPX3dUX0="; }; patches = [ Loading