找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 16641|回复: 23

找回15.05中消失的pptpd lrzsz pdnsd包

[复制链接]
本帖最后由 Cye3s 于 2015-11-7 16:11 编辑

因为15.05官方源中少了pdnsd来配合ss,所以我一直还是用14.07,而且网上也没人编译(pptpd有,不过应该是master源码编译,15.05正式版安装可能会报内核版本不同)
总不能一直等吧,求人不如求自己
为了顺利升级到15.05,自己研究了下吧
在15.05源码目录 cp feeds.conf.default feeds.conf   反注释里面的oldpackage那一行,再make  menuconfig,按/可以搜索包名和位置,把要的包打上M标记

lrzsz编译出来了
lrzsz_0.12.20-2_ar71xx.ipk

pdnsd编译失败,make V=s可以看到因为这步出错:
git clone git://gitorious.org/pdnsd/pdnsd.git pdnsd-1.2.9a-par --recursive
那就到gitorious.org上看看,发现这个站出问题了:
Gitorious.org is migrating all the repositories to Internet Archive.
The repositories will soon be available for read-only access, with original clone URLs preserved.

只能改源
vi package/feeds/oldpackages/pdnsd/Makefile

PKG_SOURCE_URL:=git://gitorious.org/pdnsd/pdnsd.git
改成
PKG_SOURCE_URL:=git@github.com:loftor-git/pdnsd.git
好了,也出来了
pdnsd_1.2.9a-par-a8e46ccba7b0fa2230d6c42ab6dcd92926f6c21d_ar71xx.ipk


而pptpd, 按 / 搜索都找不到, 上网找了下
这里有提到
https://github.com/openwrt/packages/issues/1477
15.05分支里的确是被移除掉了
https://github.com/openwrt/packages/tree/for-15.05/net
在master分支里就有
https://github.com/openwrt/packages/tree/master/net/pptpd

看来得自己放进去,到源码外面的目录
  1. git clone git@github.com:openwrt/packages.git
复制代码

然后把net/pptpd 文件夹cp到源码的feeds/packages/net/下
./scripts/feeds update -a
./scripts/feeds install pptpd
make menuconfig看看,果然有了


再编译下,又出来了pptpd_1.4.0-2_ar71xx.ipk

因为我是用这个办法来编译15.05正式版的包:https://www.right.com.cn/forum/thread-177894-1-1.html
因此安装时应该不会报内核版本问题,可能吧,哈哈,不过,因为目前就一个路由,刷机的话会断网,家里人会有意见,所以我还没进行15.05刷机并安装测试

安装包依赖啥的(不知道官方源有没编译出来),我是直接下载官方15.05的Image Builder
修改repositories.conf
加入
  1. src/gz my_chaos_calmer_base file://15.05源码所在目录/bin/ar71xx/packages/base
  2. src/gz my_chaos_calmer_luci file://15.05源码所在目录/bin/ar71xx/packages/luci
  3. src/gz my_chaos_calmer_oldpackages file://15.05源码所在目录/bin/ar71xx/packages/oldpackages
  4. src/gz my_chaos_calmer_packages file://15.05源码所在目录/bin/ar71xx/packages/packages
  5. src/gz my_chaos_calmer_routing file://15.05源码所在目录/bin/ar71xx/packages/routing
  6. src/gz my_chaos_calmer_telephony file://15.05源码所在目录/bin/ar71xx/packages/telephony
  7. src/gz my_chaos_calmer_management file://15.05源码所在目录/bin/ar71xx/packages/management
复制代码
这样就能打包刚才编译出来的ipk到rom文件里,并能自动解决依赖问题,或者你自己建个http服务,把 15.05源码所在目录/bin/架构/packages这个目录弄到http上
再去路由的/etc/opkg.conf增加你自己的http服务,也应该能直接opkg install ptppd了

其它14.07有,15.05没有的包应该也能按上面几种处理方式编译出来,你们自己折腾去吧-。-

至于我编译出ar71xx的几个包,我打了个包放百度云上了,依赖包和默认生成的包也在,有需要的自己拿吧
http://pan.baidu.com/s/1qWsxHRe
其它架构类似,你们自己折腾



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
顶一下,收藏了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

Very Good!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

pptpd 我是直接用14.07的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

求一个arp tools~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
pptpd外网拨不通,是防火墙的问题吗,
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
pdnsd有luci吗,找不到源码

点评

我也是找不到luci,找不到  详情 回复 发表于 2016-11-26 17:36
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

trunk里一直没找到pdnsd,看了楼主的帖子终于知道了,收藏。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
再放一个最近的编译包过程
hplip,一个朋友打算弄网络扫描,需要这个版本是3.10以上,而openwrt的在oldpackage里,版本是3.9.12
这个开源包的官网已经是3.15.9
http://hplipopensource.com/hplip-web/index.html

15.05要先打开oldpackage注释,14.04就不用这步,然后
./scripts/feeds update -a
./scripts/feeds install hplip

修改[源码目录]feeds/oldpackages/utils/hplip/Makefile
  1. #
  2. # Copyright (C) 2006-2011 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #

  7. include $(TOPDIR)/rules.mk

  8. PKG_NAME:=hplip
  9. PKG_VERSION:=3.15.9
  10. PKG_RELEASE:=4

  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/hplip
  13. PKG_MD5SUM:=8188653d1e65ae1c4850da78319007ee

  14. PKG_BUILD_DEPENDS := python
  15. PKG_FIXUP:=autoreconf

  16. include $(INCLUDE_DIR)/package.mk

  17. define Package/hplip
  18.   SECTION:=utils
  19.   CATEGORY:=Utilities
  20.   TITLE:=HP Linux Imaging and Printing
  21.   URL:=http://sourceforge.net/projects/hplip/
  22.   DEPENDS+=+libjpeg +libtiff +libusb-compat +cups +sane-libs
  23. endef

  24. define Package/hplip/description
  25.         HPLIP is an HP developed solution for printing, scanning, and faxing with HP inkjet and laser based printers in Linux.
  26. endef

  27. CONFIGURE_ARGS += \
  28.         --disable-gui-build \
  29.         --disable-network-build \
  30.         --disable-fax-build \
  31.         --disable-pp-build \
  32.         --disable-doc-build \
  33.         --disable-foomatic-xml-install \
  34.         --disable-dbus-build

  35. define Build/Configure
  36.         $(call Build/Configure/Default,\
  37.                 $(CONFIGURE_ARGS),\
  38.                 ac_cv_lib_cups_cupsDoFileRequest=yes \
  39.                 LIBS="-lz -ljpeg -lusb -lcups -lpng -ltiff" \
  40.         )
  41. endef

  42. define Package/hplip/install
  43.         $(INSTALL_DIR) $(1)/usr/lib
  44.         $(CP) $(PKG_BUILD_DIR)/.libs/libhpip.so* $(1)/usr/lib/
  45.         $(CP) $(PKG_BUILD_DIR)/.libs/libhpmud.so* $(1)/usr/lib/
  46.         $(CP) $(PKG_BUILD_DIR)/.libs/libhpipp.so* $(1)/usr/lib/

  47.         $(INSTALL_DIR) $(1)/usr/lib/cups/backend
  48.         $(INSTALL_BIN) $(PKG_BUILD_DIR)/.libs/hp $(1)/usr/lib/cups/backend

  49.         $(INSTALL_DIR) $(1)/usr/lib/sane
  50.         $(CP) $(PKG_BUILD_DIR)/.libs/libsane-hpaio.so* $(1)/usr/lib/sane

  51.         $(INSTALL_DIR) $(1)/etc/hp
  52.         $(CP) $(PKG_BUILD_DIR)/hplip.conf $(1)/etc/hp/hplip.conf

  53.         $(INSTALL_DIR) $(1)/usr/share/hplip/data/models/
  54.         $(CP) $(PKG_BUILD_DIR)/data/models/models.dat $(1)/usr/share/hplip/data/models/

  55.         $(INSTALL_DIR) $(1)/etc/hotplug.d/usb/
  56.         $(INSTALL_BIN) ./files/20-hplip $(1)/etc/hotplug.d/usb/

  57.         $(INSTALL_DIR) $(1)/etc/sane.d/dll.d/
  58.         $(INSTALL_DATA) ./files/hplib.conf $(1)/etc/sane.d/dll.d/hplib
  59. endef

  60. define Package/hplip/conffiles
  61. /etc/hp/hplip.conf
  62. endef

  63. $(eval $(call BuildPackage,hplip))
复制代码
主要是更新版本
再加上这行
$(CP) $(PKG_BUILD_DIR)/.libs/libhpipp.so* $(1)/usr/lib/
新版加了这个so依赖,不加会报依赖不满足

安装编译中要用的lib
sudo apt-get install libusb-1.0-0-dev libusb-dev

在make menuconfig中选中hplip包为M然后就可以make了放上在14.07源码下编译出来的 ar71xx ipk

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

这里面没有ppp-mod-pptp

点评

官方源里就有啊 http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/base/ppp-mod-pptp_2.4.7-6_ar71xx.ipk  详情 回复 发表于 2015-11-14 11:30
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

pdnsd有没有LUCI

点评

这个可能是,但是是两年前的,还是自己改配置吧 https://github.com/sancome/openwrt-plus/tree/master/feeds/luci/applications/luci-pdnsd  详情 回复 发表于 2015-11-14 11:34
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层

点评

呃~昨天发现了。。  发表于 2015-11-14 12:06
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层

这个可能是,但是是两年前的,还是自己改配置吧
https://github.com/sancome/openw ... ications/luci-pdnsd
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

顶一下,收藏了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

xiaomi mini 需要的lrzsz在这里找到了,供大家参考
http://downloads.openwrt.org.cn/ ... t7620_old/packages/
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 22:28

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表