mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
31ef995e37
Adds a couple of useful NetBSD and OpenBSD derivations. Some of these will be integrated into Nixpkgs later. Noncomprehensive list: - netbsd.getent - netbsd.getconf - netbsd.fts - openbsd.mg - netbsd.compat (can replace libbsd)
28 lines
690 B
Bash
28 lines
690 B
Bash
source $stdenv/setup
|
|
|
|
(echo '#!/usr/bin/env sh'; \
|
|
echo 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "$@"') > ssh
|
|
chmod +x ssh
|
|
export CVS_RSH=$PWD/ssh
|
|
|
|
# creating the export drictory and checking out there only to be able to
|
|
# move the content without the root directory into $out ...
|
|
# cvs -f -d "$url" export $tag -d "$out" "$module"
|
|
# should work (but didn't - got no response on #cvs)
|
|
# See als man Page for those options
|
|
|
|
mkdir -p export
|
|
if [ -n "$tag" ]; then
|
|
tag="-r $tag"
|
|
else
|
|
if [ -n "$date" ]; then
|
|
tag="-D $date"
|
|
else
|
|
tag="-D NOW"
|
|
fi
|
|
fi
|
|
(cd export && cvs -f -z0 -d "$cvsRoot" export $tag "$module")
|
|
mv export/* $out
|
|
|
|
stopNest
|