view release on metacpan or search on metacpan
t/sandbox/usr/portage/app-shells/sash/files/sash-3.4-gentoo.diff view on Meta::CPAN
- "gid fileName ..."
- },
-
- {
- "-chmod", do_chmod, 3, INFINITE_ARGS,
- "Change the protection of some files",
- "mode fileName ..."
- },
-
- {
- "-chown", do_chown, 3, INFINITE_ARGS,
- "Change the owner id of some files",
- "uid fileName ..."
- },
-
- {
- "-cmp", do_cmp, 3, 3,
- "Compare two files for equality",
- "fileName1 fileName2"
- },
-
t/sandbox/usr/portage/app-shells/sash/files/sash-3.4-gentoo.diff view on Meta::CPAN
extern void do_unalias(int argc, const char ** argv);
extern void do_help(int argc, const char ** argv);
-extern void do_ln(int argc, const char ** argv);
-extern void do_cp(int argc, const char ** argv);
-extern void do_mv(int argc, const char ** argv);
-extern void do_rm(int argc, const char ** argv);
-extern void do_chmod(int argc, const char ** argv);
-extern void do_mkdir(int argc, const char ** argv);
-extern void do_rmdir(int argc, const char ** argv);
-extern void do_mknod(int argc, const char ** argv);
-extern void do_chown(int argc, const char ** argv);
-extern void do_chgrp(int argc, const char ** argv);
-extern void do_sum(int argc, const char ** argv);
-extern void do_sync(int argc, const char ** argv);
+extern void do_where(int argc, const char ** argv);
extern void do_printenv(int argc, const char ** argv);
-extern void do_more(int argc, const char ** argv);
-extern void do_cmp(int argc, const char ** argv);
-extern void do_touch(int argc, const char ** argv);
-extern void do_ls(int argc, const char ** argv);
-extern void do_dd(int argc, const char ** argv);
t/sandbox/usr/portage/app-shells/tcsh/files/tcsh-complete view on Meta::CPAN
complete sed c/--/"(quiet silent version help expression file)"/ \
c/-/"(n V e f -)"/ n/{-e,--expression}/x:'<script>'/ \
n/{-f,--file}/f:*.sed/ N/-{e,f,-{file,expression}}/f/ \
n/-/x:'<script>'/ N/-/f/ p/1/x:'<script>'/ p/2/f/
complete users c/--/"(help version)"/ p/1/x:'<accounting_file>'/
complete who c/--/"(heading idle count mesg message writable help \
version)"/ c/-/"(H i m q s T w u -)"/ \
p/1/x:'<accounting_file>'/ n/am/"(i)"/ n/are/"(you)"/
complete chown c/--/"(changes dereference no-dereference silent \
quiet reference recursive verbose help version)"/ \
c/-/"(c f h R v -)"/ C@[./\$~]@f@ c/*[.:]/g/ \
n/-/u/: p/1/u/: n/*/f/
complete chgrp c/--/"(changes no-dereference silent quiet reference \
recursive verbose help version)"/ \
c/-/"(c f h R v -)"/ n/-/g/ p/1/g/ n/*/f/
complete chmod c/--/"(changes silent quiet verbose reference \
recursive help version)"/ c/-/"(c f R v)"/
complete df c/--/"(all block-size human-readable si inodes \
kilobytes local megabytes no-sync portability sync \
t/sandbox/usr/portage/net-dns/bind/bind-9.2.2-r1.ebuild view on Meta::CPAN
rm -f ${D}/usr/bin/{dig,host,nslookup}
}
pkg_postinst() {
if [ ! -f '/etc/bind/rndc.key' ]; then
/usr/sbin/rndc-confgen -a -u named
fi
install -d -o named -g named ${ROOT}/var/run/named \
${ROOT}/var/bind/pri ${ROOT}/var/bind/sec
chown -R named:named ${ROOT}/var/bind
einfo "The default zone files are now installed as *.zone,"
einfo "be careful merging config files if you have modified"
einfo "/var/bind/pri/127 or /var/bind/pri/localhost"
einfo
einfo "You can edit /etc/conf.d/named to customize named settings"
einfo
einfo "The BIND ebuild now includes chroot support."
einfo "If you like to run bind in chroot AND this is a new install OR"
einfo "your bind doesn't already run in chroot, simply run:"
t/sandbox/usr/portage/net-dns/bind/bind-9.2.2-r1.ebuild view on Meta::CPAN
if [ -z "${CHROOT}" -a ! -d "/chroot/dns" ]; then
CHROOT="/chroot/dns"
elif [ -d ${CHROOT} ]; then
eerror; eerror "${CHROOT:-/chroot/dns} already exists. Quitting."; eerror; EXISTS="yes"
fi
if [ ! "$EXISTS" = yes ]; then
einfo ; einfon "Setting up the chroot directory..."
mkdir -m 700 -p ${CHROOT}
mkdir -p ${CHROOT}/{dev,etc,var/run/named}
chown -R named:named ${CHROOT}/var/run/named
cp -R /etc/bind ${CHROOT}/etc/
cp /etc/localtime ${CHROOT}/etc/localtime
chown named:named ${CHROOT}/etc/bind/rndc.key
cp -R /var/bind ${CHROOT}/var/
chown -R named:named ${CHROOT}/var/
mknod ${CHROOT}/dev/zero c 1 5
mknod ${CHROOT}/dev/random c 1 8
chmod 666 ${CHROOT}/dev/{random,zero}
chown named:named ${CHROOT}
grep -q "^#[[:blank:]]\?CHROOT" /etc/conf.d/named ; RETVAL=$?
if [ $RETVAL = 0 ]; then
sed 's/^# \?\(CHROOT.*\)$/\1/' /etc/conf.d/named > /etc/conf.d/named.orig 2>/dev/null
mv --force /etc/conf.d/named.orig /etc/conf.d/named
fi
sleep 1; echo " Done."; sleep 1
einfo
einfo "Add the following to your root .bashrc or .bash_profile: "
t/sandbox/usr/portage/net-dns/bind/bind-9.2.2-r2.ebuild view on Meta::CPAN
rm -f ${D}/usr/bin/{dig,host,nslookup}
}
pkg_postinst() {
if [ ! -f '/etc/bind/rndc.key' ]; then
/usr/sbin/rndc-confgen -a -u named
fi
install -d -o named -g named ${ROOT}/var/run/named \
${ROOT}/var/bind/pri ${ROOT}/var/bind/sec
chown -R named:named ${ROOT}/var/bind
einfo "The default zone files are now installed as *.zone,"
einfo "be careful merging config files if you have modified"
einfo "/var/bind/pri/127 or /var/bind/pri/localhost"
einfo
einfo "You can edit /etc/conf.d/named to customize named settings"
einfo
einfo "The BIND ebuild now includes chroot support."
einfo "If you like to run bind in chroot AND this is a new install OR"
einfo "your bind doesn't already run in chroot, simply run:"
t/sandbox/usr/portage/net-dns/bind/bind-9.2.2-r2.ebuild view on Meta::CPAN
if [ -z "${CHROOT}" -a ! -d "/chroot/dns" ]; then
CHROOT="/chroot/dns"
elif [ -d ${CHROOT} ]; then
eerror; eerror "${CHROOT:-/chroot/dns} already exists. Quitting."; eerror; EXISTS="yes"
fi
if [ ! "$EXISTS" = yes ]; then
einfo ; einfon "Setting up the chroot directory..."
mkdir -m 700 -p ${CHROOT}
mkdir -p ${CHROOT}/{dev,etc,var/run/named}
chown -R named:named ${CHROOT}/var/run/named
cp -R /etc/bind ${CHROOT}/etc/
cp /etc/localtime ${CHROOT}/etc/localtime
chown named:named ${CHROOT}/etc/bind/rndc.key
cp -R /var/bind ${CHROOT}/var/
chown -R named:named ${CHROOT}/var/
mknod ${CHROOT}/dev/zero c 1 5
mknod ${CHROOT}/dev/random c 1 8
chmod 666 ${CHROOT}/dev/{random,zero}
chown named:named ${CHROOT}
grep -q "^#[[:blank:]]\?CHROOT" /etc/conf.d/named ; RETVAL=$?
if [ $RETVAL = 0 ]; then
sed 's/^# \?\(CHROOT.*\)$/\1/' /etc/conf.d/named > /etc/conf.d/named.orig 2>/dev/null
mv --force /etc/conf.d/named.orig /etc/conf.d/named
fi
sleep 1; echo " Done."; sleep 1
einfo
einfo "Add the following to your root .bashrc or .bash_profile: "
t/sandbox/usr/portage/net-dns/bind/bind-9.2.2-r3.ebuild view on Meta::CPAN
rm -f ${D}/usr/bin/{dig,host,nslookup}
}
pkg_postinst() {
if [ ! -f '/etc/bind/rndc.key' ]; then
/usr/sbin/rndc-confgen -a -u named
fi
install -d -o named -g named ${ROOT}/var/run/named \
${ROOT}/var/bind/pri ${ROOT}/var/bind/sec
chown -R named:named ${ROOT}/var/bind
einfo "The default zone files are now installed as *.zone,"
einfo "be careful merging config files if you have modified"
einfo "/var/bind/pri/127 or /var/bind/pri/localhost"
einfo
einfo "You can edit /etc/conf.d/named to customize named settings"
einfo
einfo "The BIND ebuild now includes chroot support."
einfo "If you like to run bind in chroot AND this is a new install OR"
einfo "your bind doesn't already run in chroot, simply run:"
t/sandbox/usr/portage/net-dns/bind/bind-9.2.2-r3.ebuild view on Meta::CPAN
if [ -z "${CHROOT}" -a ! -d "/chroot/dns" ]; then
CHROOT="/chroot/dns"
elif [ -d ${CHROOT} ]; then
eerror; eerror "${CHROOT:-/chroot/dns} already exists. Quitting."; eerror; EXISTS="yes"
fi
if [ ! "$EXISTS" = yes ]; then
einfo ; einfon "Setting up the chroot directory..."
mkdir -m 700 -p ${CHROOT}
mkdir -p ${CHROOT}/{dev,etc,var/run/named}
chown -R named:named ${CHROOT}/var/run/named
cp -R /etc/bind ${CHROOT}/etc/
cp /etc/localtime ${CHROOT}/etc/localtime
chown named:named ${CHROOT}/etc/bind/rndc.key
cp -R /var/bind ${CHROOT}/var/
chown -R named:named ${CHROOT}/var/
mknod ${CHROOT}/dev/zero c 1 5
mknod ${CHROOT}/dev/random c 1 8
chmod 666 ${CHROOT}/dev/{random,zero}
chown named:named ${CHROOT}
grep -q "^#[[:blank:]]\?CHROOT" /etc/conf.d/named ; RETVAL=$?
if [ $RETVAL = 0 ]; then
sed 's/^# \?\(CHROOT.*\)$/\1/' /etc/conf.d/named > /etc/conf.d/named.orig 2>/dev/null
mv --force /etc/conf.d/named.orig /etc/conf.d/named
fi
sleep 1; echo " Done."; sleep 1
einfo
einfo "Add the following to your root .bashrc or .bash_profile: "
t/sandbox/usr/portage/net-dns/bind/bind-9.2.2.ebuild view on Meta::CPAN
rm -f ${D}/usr/bin/{dig,host,nslookup}
}
pkg_postinst() {
if [ ! -f '/etc/bind/rndc.key' ]; then
/usr/sbin/rndc-confgen -a -u named
fi
install -d -o named -g named ${ROOT}/var/run/named \
${ROOT}/var/bind/pri ${ROOT}/var/bind/sec
chown -R named:named ${ROOT}/var/bind
einfo
einfo "You can edit /etc/conf.d/named to customize named settings"
einfo
einfo "The BIND ebuild now includes chroot support."
einfo "If you like to run bind in chroot AND this is a new install OR"
einfo "your bind doesn't already run in chroot, simply run:"
einfo "\`ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config\`"
einfo "Before running the above command you might want to change the chroot"
einfo "dir in /etc/conf.d/named. Otherwise /chroot/dns will be used."
t/sandbox/usr/portage/net-dns/bind/bind-9.2.2.ebuild view on Meta::CPAN
if [ -z "${CHROOT}" -a ! -d "/chroot/dns" ]; then
CHROOT="/chroot/dns"
elif [ -d ${CHROOT} ]; then
eerror; eerror "${CHROOT:-/chroot/dns} already exists. Quitting."; eerror; EXISTS="yes"
fi
if [ ! "$EXISTS" = yes ]; then
einfo ; einfon "Setting up the chroot directory..."
mkdir -m 700 -p ${CHROOT}
mkdir -p ${CHROOT}/{dev,etc,var/run/named}
chown -R named:named ${CHROOT}/var/run/named
cp -R /etc/bind ${CHROOT}/etc/
cp /etc/localtime ${CHROOT}/etc/localtime
chown named:named ${CHROOT}/etc/bind/rndc.key
cp -R /var/bind ${CHROOT}/var/
chown -R named:named ${CHROOT}/var/
mknod ${CHROOT}/dev/zero c 1 5
mknod ${CHROOT}/dev/random c 1 8
chmod 666 ${CHROOT}/dev/{random,zero}
chown named:named ${CHROOT}
grep -q "^#[[:blank:]]\?CHROOT" /etc/conf.d/named ; RETVAL=$?
if [ $RETVAL = 0 ]; then
sed 's/^# \?\(CHROOT.*\)$/\1/' /etc/conf.d/named > /etc/conf.d/named.orig 2>/dev/null
mv --force /etc/conf.d/named.orig /etc/conf.d/named
fi
sleep 1; echo " Done."; sleep 1
einfo
einfo "Add the following to your root .bashrc or .bash_profile: "
t/sandbox/usr/portage/net-dns/bind/bind-9.2.2_rc1-r2.ebuild view on Meta::CPAN
rm -f ${D}/usr/bin/{dig,host,nslookup}
}
pkg_postinst() {
if [ ! -f '/etc/bind/rndc.key' ]; then
/usr/sbin/rndc-confgen -a -u named
fi
install -d -o named -g named ${ROOT}/var/run/named \
${ROOT}/var/bind/pri ${ROOT}/var/bind/sec
chown -R named:named ${ROOT}/var/bind
echo
einfo "You can edit /etc/conf.d/named to customize named settings"
echo
einfo "The BIND ebuild now includes chroot support."
einfo "If you like to run bind in chroot AND this is a new install OR"
einfo "your bind doesn't already run in chroot, simply run:"
einfo "\`ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config\`"
einfo "Before running the above command you might want to change the chroot"
einfo "dir in /etc/conf.d/named. Otherwise /chroot/dns will be used."
t/sandbox/usr/portage/net-dns/bind/bind-9.2.2_rc1-r2.ebuild view on Meta::CPAN
if [ -z "$CHROOT" -a ! -d "/chroot/dns" ]; then
CHROOT="/chroot/dns"
elif [ -d ${CHROOT} ]; then
eerror; eerror "${CHROOT:-/chroot/dns} already exists. Quitting."; eerror; EXISTS="yes"
fi
if [ ! "$EXISTS" = yes ]; then
echo ; einfon "Setting up the chroot directory..."
mkdir -m 700 -p ${CHROOT}
mkdir -p ${CHROOT}/{dev,etc,var/run/named}
chown -R named:named ${CHROOT}/var/run/named
cp -R /etc/bind ${CHROOT}/etc/
cp /etc/localtime ${CHROOT}/etc/localtime
chown named:named ${CHROOT}/etc/bind/rndc.key
cp -R /var/bind ${CHROOT}/var/
chown -R named:named ${CHROOT}/var/
mknod ${CHROOT}/dev/zero c 1 5
mknod ${CHROOT}/dev/random c 1 8
chmod 666 ${CHROOT}/dev/{random,zero}
chown named:named ${CHROOT}
grep -q "^#[[:blank:]]\?CHROOT" /etc/conf.d/named ; RETVAL=$?
if [ $RETVAL = 0 ]; then
sed 's/^# \?\(CHROOT.*\)$/\1/' /etc/conf.d/named > /etc/conf.d/named.orig 2>/dev/null
mv --force /etc/conf.d/named.orig /etc/conf.d/named
fi
sleep 1; echo " Done."; sleep 1
echo
einfo "Add the following to your root .bashrc or .bash_profile: "
t/sandbox/usr/portage/net-dns/bind/bind-9.2.3.ebuild view on Meta::CPAN
rm -f ${D}/usr/bin/{dig,host,nslookup}
}
pkg_postinst() {
if [ ! -f '/etc/bind/rndc.key' ]; then
/usr/sbin/rndc-confgen -a -u named
fi
install -d -o named -g named ${ROOT}/var/run/named \
${ROOT}/var/bind/pri ${ROOT}/var/bind/sec
chown -R named:named ${ROOT}/var/bind
einfo "The default zone files are now installed as *.zone,"
einfo "be careful merging config files if you have modified"
einfo "/var/bind/pri/127 or /var/bind/pri/localhost"
einfo
einfo "You can edit /etc/conf.d/named to customize named settings"
einfo
einfo "The BIND ebuild now includes chroot support."
einfo "If you like to run bind in chroot AND this is a new install OR"
einfo "your bind doesn't already run in chroot, simply run:"
t/sandbox/usr/portage/net-dns/bind/bind-9.2.3.ebuild view on Meta::CPAN
if [ -z "${CHROOT}" -a ! -d "/chroot/dns" ]; then
CHROOT="/chroot/dns"
elif [ -d ${CHROOT} ]; then
eerror; eerror "${CHROOT:-/chroot/dns} already exists. Quitting."; eerror; EXISTS="yes"
fi
if [ ! "$EXISTS" = yes ]; then
einfo ; einfon "Setting up the chroot directory..."
mkdir -m 700 -p ${CHROOT}
mkdir -p ${CHROOT}/{dev,etc,var/run/named}
chown -R named:named ${CHROOT}/var/run/named
cp -R /etc/bind ${CHROOT}/etc/
cp /etc/localtime ${CHROOT}/etc/localtime
chown named:named ${CHROOT}/etc/bind/rndc.key
cp -R /var/bind ${CHROOT}/var/
chown -R named:named ${CHROOT}/var/
mknod ${CHROOT}/dev/zero c 1 5
mknod ${CHROOT}/dev/random c 1 8
chmod 666 ${CHROOT}/dev/{random,zero}
chown named:named ${CHROOT}
grep -q "^#[[:blank:]]\?CHROOT" /etc/conf.d/named ; RETVAL=$?
if [ $RETVAL = 0 ]; then
sed 's/^# \?\(CHROOT.*\)$/\1/' /etc/conf.d/named > /etc/conf.d/named.orig 2>/dev/null
mv --force /etc/conf.d/named.orig /etc/conf.d/named
fi
sleep 1; echo " Done."; sleep 1
einfo
einfo "Add the following to your root .bashrc or .bash_profile: "