Comments (6)
I do not really understand what is patch caused this message:
"Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to ./Makefile.rej
=> Patch patch-Makefile failed to apply cleanly.
"
Can you send the result for:
% ls -la /usr/ports/sysutils/cbsd/files
This directory should not contain any patches now.
Also, with the latest update of SQLite3, the CBSD port is broken for build (but your case is different) and I recently sent update that has not yet commited in port tree: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194879
from cbsd.
I've upload ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194879 ) version of port to: http://www.olevole.ru/cbsd.tgz
You can try this as temporary solution. e.g:
cd /tmp
fetch http://www.olevole.ru/cbsd.tgz
tar xfz cbsd.tgz
cd cbsd
make clean
make && make install
from cbsd.
Hi! Thanks for looking into this. As you requested:
root@tookie:~ # ls -la /usr/ports/sysutils/cbsd/files
total 35
drwxr-xr-x 2 root wheel 6 Nov 7 20:36 .
drwxr-xr-x 4 root wheel 9 Nov 9 18:26 ..
-rw-r--r-- 1 root wheel 1569 Nov 7 20:36 cbsdd.in
-rw-r--r-- 1 root wheel 492 Nov 7 20:36 cbsdrsyncd.in
-rw-r--r-- 1 root wheel 446 Jan 16 2014 patch-Makefile
-rw-r--r-- 1 root wheel 436 Nov 7 20:36 pkg-message.in
root@tookie:/usr/ports/sysutils/cbsd # cd /usr/ports/sysutils/cbsd/files
root@tookie:/usr/ports/sysutils/cbsd/files # tail +1 *
==> cbsdd.in <==
#!/bin/sh
#
# PROVIDE: cbsdd
# REQUIRE: LOGIN FILESYSTEMS sshd
# KEYWORD: shutdown
#
# cbsdd_enable="YES"
#
. /etc/rc.subr
name=cbsdd
rcvar=cbsdd_enable
load_rc_config $name
: ${cbsdd_enable="NO"}
export workdir="${cbsd_workdir}"
export NO_CBSD_HISTORY=yes
globalconf=${cbsd_globalconf:-"${workdir}/cbsd.conf"}
if [ ! -f ${globalconf} ]; then
echo "cbsd: no such ${globalconf}";
exit 1
fi
if [ ! -f ${inventory} ]; then
echo "cbsd: no such ${inventory}";
exit 1
fi
if [ ! -f ${mdtools} ]; then
echo "cbsd: no such ${mdtools}";
exit 1
fi
if [ ! -f ${subr} ]; then
echo "cbsd: no such ${subr}";
exit 1
fi
if [ ! -f ${localcbsdconf} ]; then
echo "cbsd: no such ${localcbsdconf}";
exit 1
fi
. ${globalconf}
. ${inventory}
. ${mdtools}
. ${subr}
. ${localcbsdconf}
start_precmd=${name}_prestart
stop_precmd=${name}_prestop
stop_cmd=${name}_stop
reload_cmd=${name}_reload
extra_commands="reload"
command="${toolsdir}/cbsdd"
pidfile="/var/run/$name.pid"
command_args="&"
cbsdd_prestart() {
%%PREFIX%%/bin/cbsd task mode=flushall > /dev/null 2>&1
%%PREFIX%%/bin/cbsd sysinv mode=update
%%PREFIX%%/bin/cbsd netinv
. ${inventory}
[ -n "$nat_enable" ] && %%PREFIX%%/bin/cbsd naton
/usr/sbin/daemon -f ${rcddir}/jails-astart start
}
cbsdd_prestop()
{
${rcddir}/jails-astart stop
[ -n "${nat_enable}" ] && %%PREFIX%%/bin/cbsd natoff
}
cbsdd_stop()
{
[ -f "${pidfile}" ] && kill -9 $( cat ${pidfile} )
}
cbsdd_reload()
{
[ -f "${pidfile}" ] && kill -9 $( cat ${pidfile} ) > /dev/null 2>&1
run_rc_command "start"
exit 0
}
run_rc_command "$1"
==> cbsdrsyncd.in <==
#!/bin/sh
# PROVIDE: cbsdrsyncd
# REQUIRE: LOGIN
# KEYWORD: shutdown
# cbsdrsyncd_enable="YES"
# cbsdrsyncd_flags="<set as needed>"
#
# See rsync(1) for cbsdrsyncd_flags
#
. /etc/rc.subr
. /etc/rc.conf
name="cbsdrsyncd"
rcvar=cbsdrsyncd_enable
command="%%PREFIX%%/bin/rsync"
command_args="--daemon"
pidfile="/var/run/$name.pid"
required_files="${cbsd_workdir}/etc/rsyncd.conf"
# read configuration and set defaults
load_rc_config "$name"
: ${cbsdrsyncd_enable="NO"}
run_rc_command "$1"
==> patch-Makefile <==
--- ./Makefile.orig 2013-12-14 16:53:31.000000000 -0200
+++ ./Makefile 2013-12-14 16:53:49.000000000 -0200
@@ -3,7 +3,7 @@
all:
install:
- mkdir -p ${PREFIX}/cbsd
- cp -Rpv * ${PREFIX}/cbsd/
- cp -Rpv .ssh ${PREFIX}/cbsd/
- install man/cbsd.8 ${PREFIX}/man/man8/cbsd.8
+ mkdir -p ${DESTDIR}${PREFIX}/cbsd
+ cp -Rpv * ${DESTDIR}${PREFIX}/cbsd/
+ cp -Rpv .ssh ${DESTDIR}${PREFIX}/cbsd/
+ install man/cbsd.8 ${DESTDIR}${PREFIX}/man/man8/cbsd.8
==> pkg-message.in <==
===============================================================================
cbsd is now installed, but requires additional setup steps:
Upon initial installation, run:
env workdir="/path" %%PREFIX%%/cbsd/sudoexec/initenv
Where /path is the path to the cbsd workdir, e.g.: /usr/jails
For upgrading an existing installation, run:
cbsd initenv
===============================================================================
Why do you think installing with a package does not work?
from cbsd.
Why do you think installing with a package does not work?
I think this is due to a error that I corrected via the last PR. FreeBSD cluster not able to build ports so it was not droped to FTP, and I received a notice from pkg-fallout ;)
Anyway, I see that my recent fix already commited in the ports tree, and in the next time FreeBSD cluster must to build CBSD and package will be back.
As for the "ls " command from your system: its strange, because this file: patch-Makefile should not have been in cbsd-10.1.1_1
I recommend you update the ports tree, cbsd-10.1.1_2 should be build properly.
from cbsd.
Hey, thanks for your help. It was weird that the patch was present, because I had just installed FreeBSD and downloaded ports with svnup. Changing this setting in svnup's configuration file seemed to clear things up, and now cbsd builds cleanly:
trim_tree=1
from cbsd.
perfect!
from cbsd.
Related Issues (20)
- jexec jname='*' висит HOT 5
- Jail Rebuilding Sqlite DB Config File
- Jail kernel "broken" after version bump HOT 3
- bhyve instance fails to start if hda audio is enabled HOT 1
- User-directories missing in jail after upgrade FreeBSD 13.1 to 13.2 HOT 3
- Also No Issue, Thanks, But.... HOT 1
- Can't start VM after restart HOT 1
- CBSD 13.2.6 does not create mount-point for /usr/home HOT 1
- Been Running cbsd for about 3 years now - I see hints there is a webui in development. HOT 1
- Debugging VM that doesn't start HOT 9
- Jails with baserw=0 upgrade 13.2 -> 14.0 issue: error while logging to jail HOT 4
- Module installation inside a jail HOT 1
- "unexpected operator" when executed in folder with space HOT 1
- Semi broken jail after base upgrade HOT 4
- Страница недосягаема кода использую префикс в настройках клетки HOT 3
- cpu-topology corrupt HOT 2
- Invalid content inside state_time HOT 1
- Error Running: cbsd module mode=install clonos-database HOT 1
- Problem with importing archive img to bhyve HOT 3
- custom jail creation profile is not listed in jconstruct-tui HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cbsd.