dpkg-deb -x ../libzlog1_1.2.18-1_amd64.deb libzlog1
dpkg-gensymbols -v1.2.18 -plibzlog -Olibzlog1.symbols -elibzlog1/usr/lib/x86_64-linux-gnu/zlog/libzlog.so.1
结合 pkgkde wiki
有一些 upstream 的包使用 cmake 构建的,这时就需要对 cmake 有一个汇总。 这个页面就是将 cmake build system 打包的 tips 做一个汇总,以备不时之需。
multi arch 的 case
Maybe in 2024 we use nginx heavily to distribute some Debian packages or something like this. But unfortunately, today I found I have forgotsome configs about it. So let’s take it on here now.
/etc/nginx$ ls sites-enabled/
default file.conf repo.conf
cotent of file.conf is:
a@debian:/etc/nginx$ cat sites-enabled/file.conf
server {
listen 81;
listen [::]:81;
#server_name ;
location / {
root /home/a/files/ ;
autoindex on;
}
}
以 Debian 为根据地,围绕 Debian 打造自己的技术栈。
这是一个长期更新的清单,记录我所有 debian 打包的一些情况。
一共13个。see link
total: 14
由 BoYuan 大佬帮忙上传。
learn: examples 可以不作为单独的包提供。
linenoise, ppx-bisect, and omd for ocaml package
22
TIL:
include /usr/share/dpkg/pkg-info.mk
export DEB_VERSION_UPSTREAM
dch is a tool to generate new entry in debian/changelog.
The option to be used as unstable upload.
export DEBEMAIL=[email protected]
export DEBFULLNAME="xx"
你需要安装 dnsutils 包在 Debian 上。
dig 是用来查询 DNS 的命令。
dig Hostname
dig DomaiNameHere
dig @DNS-server-name Hostname
dig @DNS-server-name IPAddress
dig @DNS-server-name Hostname|IPAddress type
这里是一些具体的解释
dig ipv6.google.com
这个命令执行的是默认查询,通常是 A 记录查询,用于获取主机名对应的 IPv4 地址。如果主机名有对应的 IPv4 地址,dig 会返回该地址。
dig AAAA ipv6.google.com:
这个命令执行的是 AAAA 记录查询,用于获取主机名对应的 IPv6 地址。如果主机名有对应的 IPv6 地址,dig 会返回该地址。