[Glibc-bsd-commits] r1340 - in trunk/freebsd-utils: . debian

Robert Millan rmh at costa.debian.org
Sat Mar 18 11:14:14 UTC 2006


Author: rmh
Date: 2006-03-18 11:14:13 +0000 (Sat, 18 Mar 2006)
New Revision: 1340

Added:
   trunk/freebsd-utils/debian/
   trunk/freebsd-utils/debian/changelog
   trunk/freebsd-utils/debian/compat
   trunk/freebsd-utils/debian/control
   trunk/freebsd-utils/debian/copyright
   trunk/freebsd-utils/debian/patches/
   trunk/freebsd-utils/debian/postinst
   trunk/freebsd-utils/debian/rules
   trunk/freebsd-utils/fetch
Log:
Initial commit of freebsd-utils package (WIP).

Added: trunk/freebsd-utils/debian/changelog
===================================================================
--- trunk/freebsd-utils/debian/changelog	2006-03-18 09:20:26 UTC (rev 1339)
+++ trunk/freebsd-utils/debian/changelog	2006-03-18 11:14:13 UTC (rev 1340)
@@ -0,0 +1,6 @@
+freebsd-utils (5.4-0.1) unreleased; urgency=low
+
+  * Initial release.
+
+ -- Robert Millan <rmh at aybabtu.com>  Sat, 18 Mar 2006 12:08:57 +0100
+

Added: trunk/freebsd-utils/debian/compat
===================================================================
--- trunk/freebsd-utils/debian/compat	2006-03-18 09:20:26 UTC (rev 1339)
+++ trunk/freebsd-utils/debian/compat	2006-03-18 11:14:13 UTC (rev 1340)
@@ -0,0 +1 @@
+4

Added: trunk/freebsd-utils/debian/control
===================================================================
--- trunk/freebsd-utils/debian/control	2006-03-18 09:20:26 UTC (rev 1339)
+++ trunk/freebsd-utils/debian/control	2006-03-18 11:14:13 UTC (rev 1340)
@@ -0,0 +1,14 @@
+Source: freebsd-utils
+Section: base
+Priority: required
+Maintainer: GNU/kFreeBSD Maintainers <debian-bsd at lists.debian.org>
+Uploaders: Aurelien Jarno <aurel32 at debian.org>, Guillem Jover <guillem at debian.org>
+Build-Depends: cdbs, debhelper (>= 4.1.0), freebsd5-buildutils
+Standards-Version: 3.6.0
+
+Package: freebsd-utils
+Architecture: kfreebsd-i386 kfreebsd-amd64
+Essential: yes
+Depends: ufsutils, kldutils
+Description: FreeBSD utilities needed for GNU/kFreeBSD.
+ FreeBSD utilities needed for GNU/kFreeBSD.

Added: trunk/freebsd-utils/debian/copyright
===================================================================
--- trunk/freebsd-utils/debian/copyright	2006-03-18 09:20:26 UTC (rev 1339)
+++ trunk/freebsd-utils/debian/copyright	2006-03-18 11:14:13 UTC (rev 1340)
@@ -0,0 +1,26 @@
+This package was debianized by Robert Millan <rmh at aybabtu.com> on
+Sat, 18 Mar 2006 12:08:57 +0100.
+
+It was downloaded from http://www.freebsd.org/
+
+Copyright Holder: The FreeBSD project.
+
+License:
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted under the terms of the BSD License.
+
+    THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+    ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+    LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+    OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+    SUCH DAMAGE.
+
+On Debian GNU systems, the complete text of the BSD License can be 
+found in `/usr/share/common-licenses/BSD'.

Added: trunk/freebsd-utils/debian/postinst
===================================================================
--- trunk/freebsd-utils/debian/postinst	2006-03-18 09:20:26 UTC (rev 1339)
+++ trunk/freebsd-utils/debian/postinst	2006-03-18 11:14:13 UTC (rev 1340)
@@ -0,0 +1,27 @@
+#! /bin/sh
+set -e
+
+case "$1" in
+    configure)
+      if test -e /etc/network/options ; then
+        echo "Removing obsolete (and Linux-specific) /etc/network/options ..."
+        rm -f /etc/network/options
+      fi
+
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
+

Added: trunk/freebsd-utils/debian/rules
===================================================================
--- trunk/freebsd-utils/debian/rules	2006-03-18 09:20:26 UTC (rev 1339)
+++ trunk/freebsd-utils/debian/rules	2006-03-18 11:14:13 UTC (rev 1340)
@@ -0,0 +1,30 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses cdbs.  Originaly written by Robert Millan.
+# This file is public domain.
+  
+DEB_TAR_SRCDIR                  := src
+DEB_AUTO_CLEANUP_RCS            := yes
+
+# Add here any variable or target overrides you need
+
+package=freebsd-utils
+
+PATH:=/usr/lib/freebsd:$(PATH)
+DESTDIR=$(CURDIR)/debian/$(package)
+PMAKE=make DESTDIR=$(DESTDIR)
+
+dirs=dmesg mount umount swapon sysctl
+
+build/$(package):: apply-patches
+	for i in $(dirs) ; do \
+		$(PMAKE) -C $(DEB_SRCDIR)/sbin/$$i ; \
+	done
+
+binary/$(package):: common-install-prehook-arch
+	for i in $(dirs) ; do \
+		$(PMAKE) -C $(DEB_SRCDIR)/sbin/$$i install ; \
+	done
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/tarball.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk


Property changes on: trunk/freebsd-utils/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Copied: trunk/freebsd-utils/fetch (from rev 1339, trunk/freebsd6-buildutils/fetch)
===================================================================
--- trunk/freebsd6-buildutils/fetch	2006-03-18 09:20:26 UTC (rev 1339)
+++ trunk/freebsd-utils/fetch	2006-03-18 11:14:13 UTC (rev 1340)
@@ -0,0 +1,26 @@
+#!/bin/bash
+set -ex
+
+export CVSROOT=freebsdanoncvs at anoncvs.freebsd.org:/home/ncvs
+
+rm -rf src
+
+if test -e src.tar.gz ; then
+  tar -xzpf src.tar.gz
+  action="update"
+else
+  action="checkout"
+fi
+
+for i in \
+    src/sbin/dmesg \
+    src/sbin/{,u}mount \
+    src/sbin/swapon \
+    src/sbin/sysctl \
+  ; do
+  cvs ${action} -r RELENG_5_4_0_RELEASE $i
+done
+
+rm -f src.tar.gz
+tar -czpf src.tar.gz src
+rm -rf src




More information about the Glibc-bsd-commits mailing list