[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:34949] Re: pppoe パッケージを作る
- From: WATANABE Takashi <lieuML@xxxxxxxxxxx>
- Subject: [debian-users:34949] Re: pppoe パッケージを作る
- Date: Tue, 22 Oct 2002 01:46:53 +0900
- List-help: <mailto:debian-users-ctl@debian.or.jp?body=help>
- List-id: debian-users.debian.or.jp
- List-owner: <mailto:debian-users-admin@debian.or.jp>
- List-post: <mailto:debian-users@debian.or.jp>
- List-software: fml [fml 4.0.3 release (20011202/4.0.3)]
- List-unsubscribe: <mailto:debian-users-ctl@debian.or.jp?body=unsubscribe>
- X-ml-info: If you have a question, send e-mail with the body "help" (without quotes) to the address debian-users-ctl@debian.or.jp; help=<mailto:debian-users-ctl@debian.or.jp?body=help>
- X-ml-name: debian-users
- X-mlserver: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (only members can post)
- X-spam-level: **
- X-spam-status: No, hits=2.3 required=10.0 tests=IN_REP_TO,ISO2022JP_CHARSET,PLING,ISO2022JP_BODY, CASHCASHCASH,WEIRD_PORT,HTTP_CTRL_CHARS_HOST,URI_IS_POUND, SUPERLONG_LINE version=2.31
- References: <20021021.170856.730553380.lieuML@xxxxxxxxxxx> <20021021.181651.846935445.lieuML@xxxxxxxxxxx> <20021021.215707.108744634.fuyuneko@xxxxxxxxxxxx>
- Message-id: <20021022.014648.424243023.lieuML@xxxxxxxxxxx>
- X-mail-count: 34949
- X-mailer: Mew version 2.2 on XEmacs 21.4.6 (Common Lisp)
こんにちは。渡辺@woody(kernel-2.4.19)です。
喜瀬さん、どうもです。
まず、ファイルの上書きの危険について。
デフォルトの(古い)pppoe パッケージは、
============================== 区切り ==============================
$ dpkg -L pppoe
/.
/usr
/usr/sbin
/usr/sbin/pppoe
/usr/sbin/pppoe-server
/usr/sbin/pppoe-relay
/usr/sbin/pppoe-sniff
/usr/share
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/pppoe-sniff.8.gz
/usr/share/man/man8/pppoe-relay.8.gz
/usr/share/man/man8/pppoe.8.gz
/usr/share/man/man8/pppoe-server.8.gz
/usr/share/doc
/usr/share/doc/pppoe
/usr/share/doc/pppoe/KERNEL-MODE-PPPOE
/usr/share/doc/pppoe/changelog.gz
/usr/share/doc/pppoe/copyright
/usr/share/doc/pppoe/README.Debian.gz
/usr/share/doc/pppoe/changelog.Debian.gz
/etc
/etc/ppp
/etc/ppp/peers
/etc/ppp/peers/dsl-provider
/etc/ppp/ppp_on_boot.dsl
============================== 区切り ==============================
先程作ってみたカスタムパッケージは、
============================== 区切り ==============================
$ dpkg -c pppoe_3.5-0_i386.deb
drwxr-xr-x root/root 0 2002-10-21 17:56:20 ./
drwxr-xr-x root/root 0 2002-10-21 17:56:18 ./usr/
drwxr-xr-x root/root 0 2002-10-21 17:56:20 ./usr/sbin/
-rwxr-xr-x root/root 26656 2002-10-21 17:56:20 ./usr/sbin/pppoe
-rwxr-xr-x root/root 35048 2002-10-21 17:56:20 ./usr/sbin/pppoe-server
-rwxr-xr-x root/root 22248 2002-10-21 17:56:20 ./usr/sbin/pppoe-relay
-rwxr-xr-x root/root 11944 2002-10-21 17:56:20 ./usr/sbin/pppoe-sniff
drwxr-xr-x root/root 0 2002-10-21 17:56:19 ./usr/share/
drwxr-xr-x root/root 0 2002-10-21 17:56:18 ./usr/share/man/
drwxr-xr-x root/root 0 2002-10-21 17:56:20 ./usr/share/man/man8/
-rw-r--r-- root/root 1347 2002-10-21 17:56:18 ./usr/share/man/man8/pppoe-sniff.8.gz
-rw-r--r-- root/root 1778 2002-10-21 17:56:18 ./usr/share/man/man8/pppoe-relay.8.gz
-rw-r--r-- root/root 3715 2002-10-21 17:56:18 ./usr/share/man/man8/pppoe.8.gz
-rw-r--r-- root/root 2246 2002-10-21 17:56:18 ./usr/share/man/man8/pppoe-server.8.gz
drwxr-xr-x root/root 0 2002-10-21 17:56:19 ./usr/share/doc/
drwxr-xr-x root/root 0 2002-10-21 17:56:20 ./usr/share/doc/pppoe/
-rw-r--r-- root/root 2069 2002-07-08 23:38:24 ./usr/share/doc/pppoe/KERNEL-MODE-PPPOE
-rw-r--r-- root/root 3290 2002-07-08 23:38:24 ./usr/share/doc/pppoe/changelog.gz
-rw-r--r-- root/root 395 2002-10-21 17:52:24 ./usr/share/doc/pppoe/copyright
-rw-r--r-- root/root 1825 2002-10-21 17:52:24 ./usr/share/doc/pppoe/README.Debian.gz
-rw-r--r-- root/root 1532 2002-10-21 17:55:38 ./usr/share/doc/pppoe/changelog.Debian.gz
drwxr-xr-x root/root 0 2002-10-21 17:56:18 ./etc/
drwxr-xr-x root/root 0 2002-10-21 17:56:19 ./etc/ppp/
drwxr-xr-x root/root 0 2002-10-21 17:56:18 ./etc/ppp/peers/
-rw-r----- root/dip 1782 2002-10-21 17:56:18 ./etc/ppp/peers/dsl-provider
-rwxr-x--- root/dip 339 2002-10-21 17:56:19 ./etc/ppp/ppp_on_boot.dsl
============================== 区切り ==============================
と、全く同じ内容です。
最新版の rpm パッケージを alien で変換すると、
============================== 区切り ==============================
$ wget -N http://www.roaringpenguin.com/pppoe/rp-pppoe-3.5-1.i386.rpm
$ su
# alien rp-pppoe-3.5-1.i386.rpm
# exit
$ dpkg -c rp-pppoe_3.5-2_i386.deb
drwxr-xr-x root/root 0 2002-10-21 23:39:58 ./
drwxr-xr-x root/root 0 2002-10-21 23:39:52 ./etc/
drwxr-xr-x root/root 0 2002-10-21 23:39:52 ./etc/ppp/
-rw-r--r-- 500/500 938 2002-07-08 23:38:52 ./etc/ppp/firewall-masq
-rw-r--r-- 500/500 836 2002-07-08 23:38:52 ./etc/ppp/firewall-standalone
drwxr-xr-x root/root 0 2002-10-21 23:39:52 ./etc/ppp/plugins/
-rw-r--r-- 500/500 55 2002-07-08 23:38:52 ./etc/ppp/plugins/README
-rw-r--r-- 500/500 104 2002-07-08 23:38:52 ./etc/ppp/pppoe-server-options
-rw-r--r-- 500/500 4562 2002-07-08 23:38:52 ./etc/ppp/pppoe.conf
drwxr-xr-x root/root 0 2002-10-21 23:39:52 ./etc/rc.d/
drwxr-xr-x root/root 0 2002-10-21 23:39:52 ./etc/rc.d/init.d/
-rwxr-xr-x 500/500 1187 2002-07-08 23:38:52 ./etc/rc.d/init.d/adsl
drwxr-xr-x root/root 0 2002-10-21 23:39:52 ./usr/
drwxr-xr-x root/root 0 2002-10-21 23:39:52 ./usr/sbin/
-rwxr-xr-x 500/500 8942 2002-07-08 23:38:51 ./usr/sbin/adsl-connect
-rwxr-xr-x 500/500 9553 2002-07-08 23:38:51 ./usr/sbin/adsl-setup
-rwxr-xr-x 500/500 5565 2002-07-08 23:38:51 ./usr/sbin/adsl-start
-rwxr-xr-x 500/500 2155 2002-07-08 23:38:51 ./usr/sbin/adsl-status
-rwxr-xr-x 500/500 2106 2002-07-08 23:38:51 ./usr/sbin/adsl-stop
-rwxr-xr-x 500/500 25404 2002-07-08 23:38:53 ./usr/sbin/pppoe
-rwxr-xr-x 500/500 21872 2002-07-08 23:38:53 ./usr/sbin/pppoe-relay
-rwxr-xr-x 500/500 34288 2002-07-08 23:38:53 ./usr/sbin/pppoe-server
-rwxr-xr-x 500/500 11576 2002-07-08 23:38:53 ./usr/sbin/pppoe-sniff
drwxr-xr-x root/root 0 2002-10-21 23:39:52 ./usr/share/
drwxr-xr-x root/root 0 2002-10-21 23:39:52 ./usr/share/man/
drwxr-xr-x root/root 0 2002-10-21 23:39:52 ./usr/share/man/man5/
-rw-r--r-- 500/500 2431 2002-07-08 23:38:52 ./usr/share/man/man5/pppoe.conf.5.gz
drwxr-xr-x root/root 0 2002-10-21 23:39:52 ./usr/share/man/man8/
-rw-r--r-- 500/500 1113 2002-07-08 23:38:52 ./usr/share/man/man8/adsl-connect.8.gz
-rw-r--r-- 500/500 477 2002-07-08 23:38:52 ./usr/share/man/man8/adsl-setup.8.gz
-rw-r--r-- 500/500 552 2002-07-08 23:38:51 ./usr/share/man/man8/adsl-start.8.gz
-rw-r--r-- 500/500 495 2002-07-08 23:38:52 ./usr/share/man/man8/adsl-status.8.gz
-rw-r--r-- 500/500 467 2002-07-08 23:38:51 ./usr/share/man/man8/adsl-stop.8.gz
-rw-r--r-- 500/500 1791 2002-07-08 23:38:51 ./usr/share/man/man8/pppoe-relay.8.gz
-rw-r--r-- 500/500 2259 2002-07-08 23:38:51 ./usr/share/man/man8/pppoe-server.8.gz
-rw-r--r-- 500/500 1358 2002-07-08 23:38:51 ./usr/share/man/man8/pppoe-sniff.8.gz
-rw-r--r-- 500/500 3726 2002-07-08 23:38:51 ./usr/share/man/man8/pppoe.8.gz
drwxr-xr-x root/root 0 2002-10-21 23:39:55 ./usr/share/doc/
drwxr-xr-x 500/500 0 2002-10-21 23:39:57 ./usr/share/doc/rp-pppoe-3.5/
-rw-r--r-- 500/500 6829 2002-07-08 23:38:24 ./usr/share/doc/rp-pppoe-3.5/LICENSE.gz
-rw-r--r-- 500/500 2069 2002-07-08 23:38:24 ./usr/share/doc/rp-pppoe-3.5/KERNEL-MODE-PPPOE
-rw-r--r-- 500/500 1979 2002-07-08 23:38:23 ./usr/share/doc/rp-pppoe-3.5/README
-rw-r--r-- 500/500 1515 2002-07-08 23:38:23 ./usr/share/doc/rp-pppoe-3.5/SERVPOET
-rw-r--r-- 500/500 3288 2002-07-08 23:38:24 ./usr/share/doc/rp-pppoe-3.5/CHANGES.gz
-rw-r--r-- 500/500 4455 2002-07-08 23:38:24 ./usr/share/doc/rp-pppoe-3.5/HOW-TO-CONNECT.gz
drwxr-xr-x root/root 0 2002-10-21 23:39:57 ./usr/share/doc/rp-pppoe/
-rw-r--r-- root/root 1154 2002-10-21 23:39:52 ./usr/share/doc/rp-pppoe/copyright
-rw-r--r-- root/root 199 2002-10-21 23:39:52 ./usr/share/doc/rp-pppoe/changelog.Debian.gz
============================== 区切り ==============================
と大分違ってしまうため、alien はやめようと思いました。
それで、tar ソースから作成する場合の話に戻りますが、全差分
(rp-pppoe_3.3-1.1.diff.gz)の debian/* と man/* 以外の部分
を削除したもので、実験的に、パッケージを作ってみます。
============================== 区切り ==============================
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2# ls -l
total 388
-rw-r--r-- 1 root src 16806 Oct 22 01:14 rp-pppoe_3.3-1.1.diff.gz
-rw-r--r-- 1 root src 614 Oct 22 01:14 rp-pppoe_3.3-1.1.dsc
-rw-r--r-- 1 root src 171480 Oct 22 01:14 rp-pppoe_3.3.orig.tar.gz
-rw-r--r-- 1 root src 189321 Oct 22 01:14 rp-pppoe_3.5.orig.tar.gz
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2# gunzip rp-pppoe_3.3-1.1.diff.gz
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2# vi rp-pppoe_3.3-1.1.diff
============================== man/* と debian/* 以外を削除する ==============================
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2# tar zxf rp-pppoe_3.5.orig.tar.gz
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2# cd rp-pppoe-3.5/
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5# cat ../rp-pppoe_3.3-1.1.diff | patch -p1
patching file man/pppoe-server.8
Hunk #1 succeeded at 168 (offset 9 lines).
patching file man/pppoe-sniff.8
Hunk #1 succeeded at 73 (offset 1 line).
patching file man/pppoe.8
Hunk #1 succeeded at 233 (offset 1 line).
patching file man/pppoe-relay.8
Hunk #1 succeeded at 120 (offset 1 line).
patching file debian/control
patching file debian/rules
patching file debian/conffiles
patching file debian/dsl-provider
patching file debian/changelog
patching file debian/README.Debian
patching file debian/ppp_on_boot.dsl
patching file debian/pppoe.wrapper
patching file debian/copyright
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5# find -name "*.orig"
./man/pppoe-server.8.orig
./man/pppoe-sniff.8.orig
./man/pppoe.8.orig
./man/pppoe-relay.8.orig
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5# find -name "*.orig" -exec rm {} \;
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5# find -name "*.rej"
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5# debchange -v3.5-0
============================== 適宜、記述する ==============================
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5# head -n 7 debian/changelog
rp-pppoe (3.5-0) unstable; urgency=low
* New upstream release(for local)
-- WATANABE Takashi <postman@xxxxxxxxxxx> Tue, 22 Oct 2002 01:23:10 +0900
rp-pppoe (3.3-1.1) unstable; urgency=low
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5# chmod +x debian/rules
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5# dpkg-buildpackage -uc -us -rfakeroot
fakeroot debian/rules clean
make[1]: *** No rule to make target `distclean'. Stop.
make: [clean] Error 2 (ignored)
make[1]: *** No rule to make target `distclean'. Stop.
make: [clean] Error 2 (ignored)
dpkg-source -b rp-pppoe-3.5
debian/rules build
In file included from /usr/include/sys/time.h:30,
from pppoe.c:34:
/usr/include/sys/select.h:58: warning: `__NFDBITS' redefined
/usr/include/linux/posix_types.h:22: warning: this is the location of the previous definition
/usr/include/sys/select.h:60: warning: `__FDMASK' redefined
/usr/include/linux/posix_types.h:34: warning: this is the location of the previous definition
In file included from /usr/include/sys/time.h:30,
from debug.c:22:
/usr/include/sys/select.h:58: warning: `__NFDBITS' redefined
/usr/include/linux/posix_types.h:22: warning: this is the location of the previous definition
/usr/include/sys/select.h:60: warning: `__FDMASK' redefined
/usr/include/linux/posix_types.h:34: warning: this is the location of the previous definition
In file included from /usr/include/sys/time.h:30,
from discovery.c:27:
/usr/include/sys/select.h:58: warning: `__NFDBITS' redefined
/usr/include/linux/posix_types.h:22: warning: this is the location of the previous definition
/usr/include/sys/select.h:60: warning: `__FDMASK' redefined
/usr/include/linux/posix_types.h:34: warning: this is the location of the previous definition
fakeroot debian/rules binary
dpkg-genchanges
dpkg-genchanges: including full source code in upload
ime.h... yes
checking for syslog.h... yes
checking for unistd.h... yes
checking for net/if_arp.h... yes
checking for netinet/if_ether.h... yes
checking for getopt.h... yes
checking for sys/uio.h... yes
checking for sys/param.h... yes
checking for fcntl.h... (cached) yes
checking for net/bpf.h... no
checking for netpacket/packet.h... yes
checking for net/ethernet.h... yes
checking for asm/types.h... yes
checking for linux/if_packet.h... yes
checking for linux/if_ether.h... yes
checking for linux/if_pppox.h... yes
checking for sys/socket.h... yes
checking for sys/cdefs.h... yes
checking for linux/if.h... yes
checking for net/if.h... yes
checking for net/if_dl.h... no
checking for net/if_ether.h... no
checking for net/if_types.h... no
checking for netinet/if_ether.h... (cached) yes
checking for net/if_types.h... (cached) no
checking for net/if_dl.h... (cached) no
checking for working const... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for echo... /bin/echo
checking for struct sockaddr_ll... yes
checking for N_HDLC line discipline... yes
checking for 8-bit clean memcmp... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for strtol... yes
checking for a BSD compatible install... /usr/bin/install -c
checking size of unsigned short... 2
checking size of unsigned int... 4
checking size of unsigned long... 4
checking for pppd... /usr/sbin/pppd
checking for setsid... /usr/bin/setsid
checking for id... /usr/bin/id
checking for Linux 2.4.X kernel-mode PPPoE support... no
checking packing order of bit fields... reversed
updating cache ./config.cache
creating ./config.status
creating Makefile
creating libevent/Makefile
creating ../scripts/adsl-connect
creating ../scripts/adsl-start
creating ../scripts/adsl-stop
creating ../scripts/adsl-init
creating ../scripts/adsl-init-suse
creating ../scripts/adsl-init-turbolinux
creating ../scripts/adsl-setup
creating ../gui/Makefile
creating ../gui/tkpppoe
creating config.h
On this platform, the following targets will be built:
pppoe pppoe-server pppoe-sniff pppoe-relay
Type 'make' to compile the software.
/usr/bin/make -C src
make[1]: Entering directory `/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/src'
gcc -g -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o pppoe.o pppoe.c
gcc -g -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o if.o if.c
gcc -g -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o debug.o debug.c
gcc -g -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o common.o common.c
gcc -g -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o ppp.o ppp.c
gcc -g -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o discovery.o discovery.c
gcc -o pppoe pppoe.o if.o debug.o common.o ppp.o discovery.o
gcc -g -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o pppoe-server.o pppoe-server.c
gcc -g -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o md5.o md5.c
cd libevent && /usr/bin/make
make[2]: Entering directory `/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/src/libevent'
gcc -g -O2 -Wall -Wstrict-prototypes -ansi -pedantic -I.. -c -o event.o event.c
gcc -g -O2 -Wall -Wstrict-prototypes -ansi -pedantic -I.. -c -o event_tcp.o event_tcp.c
gcc -g -O2 -Wall -Wstrict-prototypes -ansi -pedantic -I.. -c -o hash.o hash.c
gcc -g -O2 -Wall -Wstrict-prototypes -ansi -pedantic -I.. -c -o event_sig.o event_sig.c
rm -f libevent.a
ar -cq libevent.a event.o event_tcp.o hash.o event_sig.o
ranlib libevent.a
make[2]: Leaving directory `/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/src/libevent'
gcc -o pppoe-server pppoe-server.o if.o debug.o common.o md5.o -Llibevent -levent
gcc -g -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o pppoe-sniff.o pppoe-sniff.c
gcc -o pppoe-sniff pppoe-sniff.o if.o common.o debug.o
gcc -g -O2 -Wall -Wstrict-prototypes -ansi -pedantic '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.5"' -c -o relay.o relay.c
gcc -o pppoe-relay relay.o if.o debug.o common.o
Type 'make install' as root to install the software.
make[1]: Leaving directory `/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/src'
touch build-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs usr/sbin usr/share
/usr/bin/make -C src install RPM_INSTALL_ROOT="`pwd`/debian/tmp"
make[1]: Entering directory `/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/src'
Type 'make install' as root to install the software.
mkdir -p /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/sbin
/usr/bin/install -c -m 755 -s pppoe /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/sbin
/usr/bin/install -c -m 755 -s pppoe-server /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/sbin
if test -x licensed-only/pppoe-server-control ; then /usr/bin/install -c -m 755 -s licensed-only/pppoe-server-control /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/sbin; fi
if test -x pppoe-relay ; then /usr/bin/install -c -m 755 -s pppoe-relay /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/sbin; fi
if test -x pppoe-sniff; then /usr/bin/install -c -m 755 -s pppoe-sniff /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/sbin; fi
/usr/bin/install -c -m 755 ../scripts/adsl-connect /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/sbin
/usr/bin/install -c -m 755 ../scripts/adsl-start /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/sbin
/usr/bin/install -c -m 755 ../scripts/adsl-status /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/sbin
/usr/bin/install -c -m 755 ../scripts/adsl-stop /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/sbin
/usr/bin/install -c -m 755 ../scripts/adsl-setup /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/sbin
mkdir -p /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../doc/CHANGES /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../doc/KERNEL-MODE-PPPOE /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../doc/HOW-TO-CONNECT /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../doc/LICENSE /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../README /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../SERVPOET /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../configs/pap-secrets /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/doc/rp-pppoe-3.5
mkdir -p /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/man/man8
for i in pppoe pppoe-server pppoe-sniff pppoe-relay ; do \
if test -f ../man/$i.8 ; then \
/usr/bin/install -c -m 644 ../man/$i.8 /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/man/man8 || exit 1; \
fi; \
done
/usr/bin/install -c -m 644 ../man/adsl-start.8 /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/man/man8
/usr/bin/install -c -m 644 ../man/adsl-stop.8 /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/man/man8
/usr/bin/install -c -m 644 ../man/adsl-status.8 /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/man/man8
/usr/bin/install -c -m 644 ../man/adsl-connect.8 /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/man/man8
/usr/bin/install -c -m 644 ../man/adsl-setup.8 /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/man/man8
mkdir -p /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/man/man5
/usr/bin/install -c -m 644 ../man/pppoe.conf.5 /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/usr/man/man5
mkdir -p /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/etc/ppp
mkdir -p /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/etc/ppp/plugins
echo "# Directory created by rp-pppoe for kernel-mode plugin" > /usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/debian/tmp/etc/ppp/plugins/README
# L2TP
Type 'adsl-setup' to configure the software.
make[1]: Leaving directory `/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5/src'
rm -rf debian/tmp/etc/ppp debian/tmp/usr/doc
rm -rf debian/tmp/usr/man/man5 # pppoe.conf manpage
rm -f debian/tmp/usr/sbin/adsl-* debian/tmp/usr/man/man8/adsl-*
dh_installdirs etc/ppp/peers
mv debian/tmp/usr/man debian/tmp/usr/share/man
install -m 0640 -o root -g dip debian/dsl-provider debian/tmp/etc/ppp/peers/dsl-provider
install -m 750 -o root -g dip debian/ppp_on_boot.dsl debian/tmp/etc/ppp
dh_installdocs doc/KERNEL-MODE-PPPOE
dh_installexamples
dh_installchangelogs doc/CHANGES
dh_link
dh_strip
dh_compress
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `pppoe' in `../pppoe_3.5-0_i386.deb'.
dpkg-buildpackage: full upload (original source is included)
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5# ls -1F ..
pppoe_3.5-0_i386.deb
rp-pppoe-3.5/
rp-pppoe_3.3-1.1.diff
rp-pppoe_3.3-1.1.dsc
rp-pppoe_3.3.orig.tar.gz
rp-pppoe_3.5-0.diff.gz
rp-pppoe_3.5-0.dsc
rp-pppoe_3.5-0_i386.changes
rp-pppoe_3.5.orig.tar.gz
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5# dpkg -c ../pppoe_3.5-0_i386.deb
drwxr-xr-x root/root 0 2002-10-22 01:26:29 ./
drwxr-xr-x root/root 0 2002-10-22 01:26:25 ./usr/
drwxr-xr-x root/root 0 2002-10-22 01:26:28 ./usr/sbin/
-rwxr-xr-x root/root 26652 2002-10-22 01:26:28 ./usr/sbin/pppoe
-rwxr-xr-x root/root 35048 2002-10-22 01:26:28 ./usr/sbin/pppoe-server
-rwxr-xr-x root/root 22248 2002-10-22 01:26:28 ./usr/sbin/pppoe-relay
-rwxr-xr-x root/root 11944 2002-10-22 01:26:28 ./usr/sbin/pppoe-sniff
drwxr-xr-x root/root 0 2002-10-22 01:26:25 ./usr/share/
drwxr-xr-x root/root 0 2002-10-22 01:26:25 ./usr/share/man/
drwxr-xr-x root/root 0 2002-10-22 01:26:29 ./usr/share/man/man8/
-rw-r--r-- root/root 1347 2002-10-22 01:26:24 ./usr/share/man/man8/pppoe-sniff.8.gz
-rw-r--r-- root/root 1778 2002-10-22 01:26:24 ./usr/share/man/man8/pppoe-relay.8.gz
-rw-r--r-- root/root 3715 2002-10-22 01:26:24 ./usr/share/man/man8/pppoe.8.gz
-rw-r--r-- root/root 2246 2002-10-22 01:26:24 ./usr/share/man/man8/pppoe-server.8.gz
drwxr-xr-x root/root 0 2002-10-22 01:26:25 ./usr/share/doc/
drwxr-xr-x root/root 0 2002-10-22 01:26:29 ./usr/share/doc/pppoe/
-rw-r--r-- root/root 2069 2002-07-08 23:38:24 ./usr/share/doc/pppoe/KERNEL-MODE-PPPOE
-rw-r--r-- root/root 3290 2002-07-08 23:38:24 ./usr/share/doc/pppoe/changelog.gz
-rw-r--r-- root/root 396 2002-10-22 01:21:13 ./usr/share/doc/pppoe/copyright
-rw-r--r-- root/root 1825 2002-10-22 01:21:13 ./usr/share/doc/pppoe/README.Debian.gz
-rw-r--r-- root/root 1536 2002-10-22 01:23:34 ./usr/share/doc/pppoe/changelog.Debian.gz
drwxr-xr-x root/root 0 2002-10-22 01:26:25 ./etc/
drwxr-xr-x root/root 0 2002-10-22 01:26:25 ./etc/ppp/
drwxr-xr-x root/root 0 2002-10-22 01:26:25 ./etc/ppp/peers/
-rw-r----- root/dip 1782 2002-10-22 01:26:25 ./etc/ppp/peers/dsl-provider
-rwxr-x--- root/dip 339 2002-10-22 01:26:25 ./etc/ppp/ppp_on_boot.dsl
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5# dpkg -L pppoe
/.
/usr
/usr/sbin
/usr/sbin/pppoe
/usr/sbin/pppoe-server
/usr/sbin/pppoe-relay
/usr/sbin/pppoe-sniff
/usr/share
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/pppoe-sniff.8.gz
/usr/share/man/man8/pppoe-relay.8.gz
/usr/share/man/man8/pppoe.8.gz
/usr/share/man/man8/pppoe-server.8.gz
/usr/share/doc
/usr/share/doc/pppoe
/usr/share/doc/pppoe/KERNEL-MODE-PPPOE
/usr/share/doc/pppoe/changelog.gz
/usr/share/doc/pppoe/copyright
/usr/share/doc/pppoe/README.Debian.gz
/usr/share/doc/pppoe/changelog.Debian.gz
/etc
/etc/ppp
/etc/ppp/peers
/etc/ppp/peers/dsl-provider
/etc/ppp/ppp_on_boot.dsl
blossom:/usr/src/pppoe/from_rp-pppoe-3.5.tar.gz-pt2/rp-pppoe-3.5#
============================== 区切り ==============================
と全く同じ内容になります。
実は、まだフレッツ ISDN で、フレッツ ADSL に変更していないの
で、実験ができない環境です。
おそらく今月中か来月にはフレッツ ADSL に変えるので、そのとき
には、まず、(古い diff の)debian/* と man/* 以外の差分を削除
したものをインストールしてみて、それでどうしてもうまく行かな
いようなら、debian/* と man/* 以外も含めた(差分全部)でトライ
してみることにします。
---
渡辺崇史(WATANABE Takashi)
lieuML@xxxxxxxxxxx