Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pdnsd源码获取不到 #123

Open
ukid opened this issue Jul 12, 2016 · 4 comments
Open

pdnsd源码获取不到 #123

ukid opened this issue Jul 12, 2016 · 4 comments

Comments

@ukid
Copy link

ukid commented Jul 12, 2016

mkdir -p /data/openwrt-hc5x61/openwrt-ramips/dl
echo "Checking out files from the git repository..."; mkdir -p /data/openwrt-hc5x61/openwrt-ramips/tmp/dl && cd /data/openwrt-hc5x61/openwrt-ramips/tmp/dl && rm -rf pdnsd-1.2.9a-par && [ \! -d pdnsd-1.2.9a-par ] && git clone git://gitorious.org/pdnsd/pdnsd.git pdnsd-1.2.9a-par --recursive && (cd pdnsd-1.2.9a-par && git checkout a8e46ccba7b0fa2230d6c42ab6dcd92926f6c21d && git submodule update) && echo "Packing checkout..." && rm -rf pdnsd-1.2.9a-par/.git &&      /bin/tar czf /data/openwrt-hc5x61/openwrt-ramips/tmp/dl/pdnsd-1.2.9a-par-a8e46ccba7b0fa2230d6c42ab6dcd92926f6c21d.tar.gz pdnsd-1.2.9a-par && mv /data/openwrt-hc5x61/openwrt-ramips/tmp/dl/pdnsd-1.2.9a-par-a8e46ccba7b0fa2230d6c42ab6dcd92926f6c21d.tar.gz /data/openwrt-hc5x61/openwrt-ramips/dl/ && rm -rf pdnsd-1.2.9a-par;
Checking out files from the git repository...
Cloning into 'pdnsd-1.2.9a-par'...
fatal: unable to connect to gitorious.org:
gitorious.org[0: 64.13.172.37]: errno=Connection refused
gitorious.org[1: 2a02:c0:1014::1]: errno=Network is unreachable

make[4]: *** [/data/openwrt-hc5x61/openwrt-ramips/dl/pdnsd-1.2.9a-par-a8e46ccba7b0fa2230d6c42ab6dcd92926f6c21d.tar.gz] Error 128
make[4]: Leaving directory /data/openwrt-hc5x61/openwrt-ramips/feeds/oldpackages/net/pdnsd'
make[3]: *** [package/feeds/oldpackages/pdnsd/compile] Error 2
make[3]: Leaving directory '/data/openwrt-hc5x61/openwrt-ramips'
make[2]: *** [/data/openwrt-hc5x61/openwrt-ramips/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[2]: Leaving directory '/data/openwrt-hc5x61/openwrt-ramips'
make[1]: *** [world] Error 2
make[1]: Leaving directory '/data/openwrt-hc5x61/openwrt-ramips'
make: *** [HC5X61] Error 2
@ukid
Copy link
Author

ukid commented Jul 19, 2016

手动从https://gitorious.org/pdnsd/pdnsd.git处克隆下来可以解决。
makefile里面找不到,不之如何修改。

@lRoccoon
Copy link

克隆下来之后,放在哪里啊?
我也遇到了这个问题,pdnsd项目好像已经被删除了,我在github上找了一份
https://github.com/SAPikachu/pdnsd
但是不知道放在哪里

@ukid
Copy link
Author

ukid commented Jan 12, 2017

echo "Checking out files from the git repository...";
mkdir -p /data/openwrt-hc5x61/openwrt-ramips/tmp/dl 
cd /data/openwrt-hc5x61/openwrt-ramips/tmp/dl 
rm -rf pdnsd-1.2.9a-par
[ \! -d pdnsd-1.2.9a-par ]
git clone git://gitorious.org/pdnsd/pdnsd.git pdnsd-1.2.9a-par --recursive
(cd pdnsd-1.2.9a-par && git checkout a8e46ccba7b0fa2230d6c42ab6dcd92926f6c21d && git submodule update)
echo "Packing checkout..." 
rm -rf pdnsd-1.2.9a-par/.git
/bin/tar czf /data/openwrt-hc5x61/openwrt-ramips/tmp/dl/pdnsd-1.2.9a-par-a8e46ccba7b0fa2230d6c42ab6dcd92926f6c21d.tar.gz pdnsd-1.2.9a-par
mv /data/openwrt-hc5x61/openwrt-ramips/tmp/dl/pdnsd-1.2.9a-par-a8e46ccba7b0fa2230d6c42ab6dcd92926f6c21d.tar.gz /data/openwrt-hc5x61/openwrt-ramips/dl/ 
rm -rf pdnsd-1.2.9a-par;

这里有路径

@codingbelief
Copy link

codingbelief commented Feb 28, 2017

遇到同样的问题,解决方式如下:
修改文件 openwrt-hc5x61/openwrt-ramips/feeds/oldpackages/net/pdnsd/Makefile 中

PKG_SOURCE_URL:=git://gitorious.org/pdnsd/pdnsd.git

PKG_SOURCE_URL:=http://gitorious.org/pdnsd/pdnsd.git

然后再重新编译即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants