From: Martin Mares Date: Fri, 8 Jan 1999 13:51:52 +0000 (+0000) Subject: Debianized... X-Git-Tag: v1.12~25 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=9086b2c0ece77e5493d4a31dcabe911a6011aab9;p=ywho.git Debianized... --- diff --git a/Makefile b/Makefile index 1cffb0e..d3f0f6b 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,7 @@ CFLAGS=-O2 -m486 -fomit-frame-pointer -Wall -Wno-parentheses -malign-loops=0 -malign-jumps=0 -malign-functions=2 LDFLAGS=-s +ROOT=/ all: ywho nwhod nwho @@ -22,7 +23,8 @@ clean: install: strip ywho - install -s -m 755 ywho nwho /usr/bin - ln -sf nwho /usr/bin/nuptime - install -s -m 755 nwhod /usr/sbin - install -d -m 755 /var/spool/nwho + mkdir -p $(ROOT)/usr/bin $(ROOT)/usr/sbin + install -s -m 755 ywho nwho $(ROOT)/usr/bin + ln -sf nwho $(ROOT)/usr/bin/nuptime + install -s -m 755 nwhod $(ROOT)/usr/sbin + install -d -m 755 $(ROOT)/var/spool/nwho diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..c7395d7 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,9 @@ +ywho (1.0) unstable; urgency=low + + * First released version. + + -- Martin Mares Sun, 8 Jan 1999 14:44:21 +0100 + +Local variables: + mode: debian-changelog + End: diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..729541d --- /dev/null +++ b/debian/control @@ -0,0 +1,14 @@ +Source: ywho +Section: ucw +Priority: optional +Maintainer: Martin Mares +Standards-Version: 2.1.0.0 + +Package: ywho +Architecture: any +Depends: ${shlibs:Depends} +Description: Extended who + This is Yet Another Who Replacement utility with neat display of + all logged in users together with important system status information + like average load, current date and time, free memory and so on. + Also includes nwho/nwhod, a replacement for rwho/rwhod. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..dd04f64 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,17 @@ +YWho -- who/rwho/rwhod replacement +Copyright (c) 1996--1999 Martin Mares + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program in the file /usr/doc/copyright/GPL. If not, +write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, +MA 02139, USA. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..7d14701 --- /dev/null +++ b/debian/rules @@ -0,0 +1,52 @@ +#!/usr/bin/make -f +# Rules for building of ywho Debian/UCW Package +# (c) 1999 Martin Mares + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + $(MAKE) clean + dh_clean + +binary-indep: build + +binary-arch: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs etc sbin + + $(MAKE) ROOT=`pwd`/debian/tmp install + +# dh_installdocs +# dh_installexamples +# dh_installmenu +# dh_installinit +# dh_installcron +# dh_installmanpages + dh_undocumented nwho.1 nwhod.8 ywho.1 + dh_installchangelogs + dh_strip +# dh_compress + dh_fixperms +# dh_suidregister + dh_installdeb + dh_shlibdeps + dh_gencontrol +# dh_makeshlibs + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +.PHONY: build clean binary-indep binary-arch binary