From 8b9fb752b61960cf142e790c418c14d6f47e7a3e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 27 Jan 2009 14:14:42 +0000 Subject: * mingetty 1.08. svn path=/nixpkgs/trunk/; revision=13884 --- pkgs/os-specific/linux/mingetty/builder.sh | 8 -------- pkgs/os-specific/linux/mingetty/default.nix | 18 +++++++++++++----- pkgs/os-specific/linux/mingetty/makefile.patch | 20 -------------------- 3 files changed, 13 insertions(+), 33 deletions(-) delete mode 100644 pkgs/os-specific/linux/mingetty/builder.sh delete mode 100644 pkgs/os-specific/linux/mingetty/makefile.patch (limited to 'pkgs') diff --git a/pkgs/os-specific/linux/mingetty/builder.sh b/pkgs/os-specific/linux/mingetty/builder.sh deleted file mode 100644 index 2a2d5005455f..000000000000 --- a/pkgs/os-specific/linux/mingetty/builder.sh +++ /dev/null @@ -1,8 +0,0 @@ -source $stdenv/setup - -echo $out - -export DESTDIR=$out - -genericBuild - diff --git a/pkgs/os-specific/linux/mingetty/default.nix b/pkgs/os-specific/linux/mingetty/default.nix index efb8240fdde5..fc3c50e1986e 100644 --- a/pkgs/os-specific/linux/mingetty/default.nix +++ b/pkgs/os-specific/linux/mingetty/default.nix @@ -1,11 +1,19 @@ {stdenv, fetchurl}: stdenv.mkDerivation { - name = "mingetty-1.07"; - builder = ./builder.sh; + name = "mingetty-1.08"; + src = fetchurl { - url = ftp://ftp.nluug.nl/pub/os/Linux/distr/debian/pool/main/m/mingetty/mingetty_1.07.orig.tar.gz; - md5 = "491dedf1ceff0e0f5f7bb9f55bf5213e"; + url = mirror://sourceforge/mingetty/mingetty-1.08.tar.gz; + sha256 = "05yxrp44ky2kg6qknk1ih0kvwkgbn9fbz77r3vci7agslh5wjm8g"; + }; + + preInstall = '' + ensureDir $out/sbin $out/share/man/man8 + makeFlagsArray=(SBINDIR=$out/sbin MANDIR=$out/share/man/man8) + ''; + + meta = { + homepage = http://sourceforge.net/projects/mingetty; }; - patches = [./makefile.patch]; } diff --git a/pkgs/os-specific/linux/mingetty/makefile.patch b/pkgs/os-specific/linux/mingetty/makefile.patch deleted file mode 100644 index 5b8091b6ff1c..000000000000 --- a/pkgs/os-specific/linux/mingetty/makefile.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -ruN mingetty-1.07.orig/Makefile mingetty-1.07.orig.new/Makefile ---- mingetty-1.07.orig/Makefile 2003-05-24 21:21:17.000000000 +0200 -+++ mingetty-1.07.orig.new/Makefile 2005-06-23 15:43:28.000000000 +0200 -@@ -1,4 +1,4 @@ --DESTDIR= -+DESTDIR=$(out) - CC=gcc - CFLAGS=-O2 -Wall -W -pipe -D_GNU_SOURCE - MANDIR=/usr/share/man/man8 -@@ -7,8 +7,8 @@ - all: mingetty - - install: all -- install -m 0755 mingetty $(DESTDIR)$(SBINDIR) -- install -m 0644 mingetty.8 $(DESTDIR)$(MANDIR) -+ install -D -m 0755 mingetty $(DESTDIR)$(SBINDIR)/mingetty -+ install -D -m 0644 mingetty.8 $(DESTDIR)$(MANDIR)/mingetty.8 - - mingetty: mingetty.o - -- cgit 1.4.1