设置环境变量
DEBEMAIL="3444542@163.com"
DEBFULLNAME="axlrose"
export DEBEMAIL DEBFULLNAME
http://wowubuntu.com/ubuntu-packaging-guide.html ubuntu打包文档
http://www.debian-administration.org/ 重要网站
http://people.debian.org/~calvin/unofficial/
epoch This is a single (generally small) unsigned integer. It may be omitted, in which case zero is assumed. If it is omitted then the upstream_version may not contain any colons. It is provided to allow mistakes in the version numbers of older versions of a package, and also a package’s previous version numbering schemes, to be left behind.
https://wiki.debian.org/Java/Sun
Download the appropriate JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html
Type in the following command:
$ make-jpkg <downloaded_jdk_file>
http://download.oracle.com/otn/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin
http://stackoverflow.com/questions/130894/how-to-build-a-debian-ubuntu-package-from-source
echo 'nullidentd hold' | dpkg --set-selections
Alternately, since you are building from source, you can use an epoch to set the version number artificially high and never be bothered again. To use an epoch, add a new entry to the debian/changelog file, and put a 99: in front of the version number. Given my nullidentd example, the first line of your updated changelog would read:
nullidentd (99:1.0-4) unstable; urgency=low
put "debian" directory from original package to your source directory
use "dch" to update version of package
use "debuild" to build the package
http://myitcorner.com/blog/?p=217
Making Debian library package with dh_make
http://wiki.ubuntu.org.cn/PackagingGuide 打包说明
http://guoshaoguang.com/blog/2013/04/03/rpm%E8%BD%AC%E6%8D%A2%E6%88%90deb/
rpm转换成deb
http://wiki.koha-community.org/wiki/Building_Debian_Packages
http://davehall.com.au/blog/dave/2010/02/06/howto-setup-private-package-repository-reprepro-nginx
http://blog.nutsfactory.net/2003/07/20/debian-configuration-management/
http://manpages.ubuntu.com/manpages/precise/man5/dput.cf.5.html
http://www.dynare.org/DynareWiki/BuildingPackages
http://www.debian-administration.org/articles/286 reprepro建仓库示例 配合dupload 重要
http://jurjenbokma.com/ApprenticesNotes/rs_creation.html 另一个上传方式 ***
http://inodes.org/2009/09/14/building-a-private-ppa-on-ubuntu/ ubuntu ppa打包
https://wiki.debian.org/HowToSetupADebianRepository 大量的方法示例
如何从源代码自动制作Deb规则&推送至Launchpad
///
https://wiki.debian.org/SettingUpSignedAptRepositoryWithReprepro
https://wikitech.wikimedia.org/wiki/Reprepro
http://www.dynare.org/DynareWiki/BuildingPackages
需要先配置 conf/incoming
Name: lucid-upload IncomingDir: /srv/upload/repo/lucid/lwp-experimental TempDir: /var/tmp/repo/lucid/lwp-experimental Allow: experimental>lucid-experimental stable>lucid Default: lucid-experimental Multiple: Yes Permit: older_version unused_files Cleanup: on_deny on_error unused_files
[kirikou-debian] fqdn = kirikou.dynare.org incoming = /srv/d_kirikou/reprepro/debian/incoming method = scp login = reprepro allow_unsigned_uploads = 1 post_upload_command = ssh %(login)s@%(fqdn)s reprepro --basedir /srv/d_kirikou/reprepro/debian processincoming default
转载于:https://blog.51cto.com/axlrose/1285374