Open ukid opened 8 years ago
手动从https://gitorious.org/pdnsd/pdnsd.git处克隆下来可以解决。 makefile里面找不到,不之如何修改。
克隆下来之后,放在哪里啊? 我也遇到了这个问题,pdnsd项目好像已经被删除了,我在github上找了一份 https://github.com/SAPikachu/pdnsd 但是不知道放在哪里
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;
这里有路径
遇到同样的问题,解决方式如下: 修改文件 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
然后再重新编译即可