[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:34938] Re: pppoe パッケージを作る



こんにちは。渡辺です。

差分ファイルを作成するための名前の変更を間違いました。
mv rp-pppoe-3.5.tar.gz rp-pppoe-3.5.orig.tar.gz
でなく
mv rp-pppoe-3.5.tar.gz rp-pppoe_3.5.orig.tar.gz
                               *
でした。

以下、始めから、やり直したものです。
---
作業ディレクトリを仮に ~/rp-pppoe とする。
============================== 区切り ==============================
jojo@mojo:~$ cd ~/rp-pppoe
jojo@mojo:~/rp-pppoe$ wget -N http://www.roaringpenguin.com/pppoe/rp-pppoe-3.5.tar.gz
jojo@mojo:~/rp-pppoe$ apt-get -d source pppoe
Reading Package Lists...
Building Dependency Tree...
Need to get 189kB of source archives.
Get:1 http://ring.asahi-net.or.jp stable/main rp-pppoe 3.3-1.1 (dsc) [614B]
Get:2 http://ring.asahi-net.or.jp stable/main rp-pppoe 3.3-1.1 (tar) [171kB]
Get:3 http://ring.asahi-net.or.jp stable/main rp-pppoe 3.3-1.1 (diff) [16.8kB]
Fetched 189kB in 30s (6292B/s)
Download complete and in download only mode
jojo@mojo:~/rp-pppoe$ mv -i rp-pppoe-3.5.tar.gz rp-pppoe_3.5.orig.tar.gz
jojo@mojo:~/rp-pppoe$ ls
rp-pppoe_3.5.orig.tar.gz
rp-pppoe_3.3-1.1.diff.gz
rp-pppoe_3.3-1.1.dsc
rp-pppoe_3.3.orig.tar.gz
jojo@mojo:~/rp-pppoe$ tar zxvf rp-pppoe_3.5.orig.tar.gz
rp-pppoe-3.5/
rp-pppoe-3.5/README
rp-pppoe-3.5/SERVPOET
rp-pppoe-3.5/go
rp-pppoe-3.5/go-gui
rp-pppoe-3.5/rp-pppoe.spec
rp-pppoe-3.5/gui/
rp-pppoe-3.5/gui/en.msg
rp-pppoe-3.5/gui/ja.msg
rp-pppoe-3.5/gui/Makefile.in
rp-pppoe-3.5/gui/tkpppoe.in
rp-pppoe-3.5/gui/wrapper.c
rp-pppoe-3.5/gui/tkpppoe.1
rp-pppoe-3.5/gui/pppoe-wrapper.1
rp-pppoe-3.5/gui/html/
rp-pppoe-3.5/gui/html/mainwin-busy.png
rp-pppoe-3.5/gui/html/mainwin-nonroot.png
rp-pppoe-3.5/gui/html/mainwin.png
rp-pppoe-3.5/gui/html/props-advanced.png
rp-pppoe-3.5/gui/html/props-basic.png
rp-pppoe-3.5/gui/html/props-nic.png
rp-pppoe-3.5/gui/html/props-options.png
rp-pppoe-3.5/gui/html/tkpppoe.html
rp-pppoe-3.5/configs/
rp-pppoe-3.5/configs/firewall-masq
rp-pppoe-3.5/configs/firewall-standalone
rp-pppoe-3.5/configs/pap-secrets
rp-pppoe-3.5/configs/pppoe-server-options
rp-pppoe-3.5/configs/pppoe.conf
rp-pppoe-3.5/doc/
rp-pppoe-3.5/doc/CHANGES
rp-pppoe-3.5/doc/KERNEL-MODE-PPPOE
rp-pppoe-3.5/doc/HOW-TO-CONNECT
rp-pppoe-3.5/doc/LICENSE
rp-pppoe-3.5/doc/PROBLEMS
rp-pppoe-3.5/man/
rp-pppoe-3.5/man/adsl-connect.8
rp-pppoe-3.5/man/adsl-setup.8
rp-pppoe-3.5/man/adsl-start.8
rp-pppoe-3.5/man/adsl-status.8
rp-pppoe-3.5/man/adsl-stop.8
rp-pppoe-3.5/man/pppoe-server.8
rp-pppoe-3.5/man/pppoe-sniff.8
rp-pppoe-3.5/man/pppoe.8
rp-pppoe-3.5/man/pppoe-relay.8
rp-pppoe-3.5/man/pppoe.conf.5
rp-pppoe-3.5/scripts/
rp-pppoe-3.5/scripts/adsl-connect.in
rp-pppoe-3.5/scripts/adsl-init-suse.in
rp-pppoe-3.5/scripts/adsl-init-turbolinux.in
rp-pppoe-3.5/scripts/adsl-init.in
rp-pppoe-3.5/scripts/adsl-setup.in
rp-pppoe-3.5/scripts/adsl-start.in
rp-pppoe-3.5/scripts/adsl-stop.in
rp-pppoe-3.5/scripts/adsl-status
rp-pppoe-3.5/src/
rp-pppoe-3.5/src/Makefile.in
rp-pppoe-3.5/src/install-sh
rp-pppoe-3.5/src/common.c
rp-pppoe-3.5/src/config.h.in
rp-pppoe-3.5/src/configure
rp-pppoe-3.5/src/configure.in
rp-pppoe-3.5/src/debug.c
rp-pppoe-3.5/src/discovery.c
rp-pppoe-3.5/src/if.c
rp-pppoe-3.5/src/md5.c
rp-pppoe-3.5/src/md5.h
rp-pppoe-3.5/src/ppp.c
rp-pppoe-3.5/src/pppoe-server.c
rp-pppoe-3.5/src/pppoe-sniff.c
rp-pppoe-3.5/src/pppoe.c
rp-pppoe-3.5/src/pppoe.h
rp-pppoe-3.5/src/pppoe-server.h
rp-pppoe-3.5/src/plugin.c
rp-pppoe-3.5/src/relay.c
rp-pppoe-3.5/src/relay.h
rp-pppoe-3.5/src/libevent/
rp-pppoe-3.5/src/libevent/Makefile.in
rp-pppoe-3.5/src/libevent/event.c
rp-pppoe-3.5/src/libevent/event.h
rp-pppoe-3.5/src/libevent/event_tcp.c
rp-pppoe-3.5/src/libevent/event_tcp.h
rp-pppoe-3.5/src/libevent/eventpriv.h
rp-pppoe-3.5/src/libevent/hash.c
rp-pppoe-3.5/src/libevent/hash.h
rp-pppoe-3.5/src/libevent/event_sig.c
rp-pppoe-3.5/src/plugin/
jojo@mojo:~/rp-pppoe$ cd rp-pppoe_3.5/
jojo@mojo:~/rp-pppoe/rp-pppoe_3.5$ zcat ../rp-pppoe_3.3-1.1.diff.gz | 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 src/Makefile.in
Hunk #1 succeeded at 79 (offset 5 lines).
patching file src/pppoe.c
Hunk #1 succeeded at 67 (offset 2 lines).
Hunk #2 FAILED at 578.
1 out of 2 hunks FAILED -- saving rejects to file src/pppoe.c.rej
patching file src/obsolete/pppoe.c.v0
patching file src/obsolete/Makefile.in.v0
patching file .pppoe.prcs_aux
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
patching file pppoe.log
jojo@mojo:~/rp-pppoe/rp-pppoe_3.5$ cat src/pppoe.c.rej
***************
*** 536,541 ****
  #endif
      }
  
      /* Set signal handlers: send PADT on TERM, HUP and INT */
      if (!conn.printACNames) {
  	signal(SIGTERM, sigPADT);
--- 578,592 ----
  #endif
      }
  
+ #ifdef AUTO_IFUP    
+     /* Create a channel to the NET kernel. */
+     if ((skfd = sockets_open(0)) < 0) {
+ 	perror("socket");
+ 	exit(1);
+     }
+ 
+     set_flag(conn.ifName, (IFF_UP | IFF_RUNNING));
+ #endif
      /* Set signal handlers: send PADT on TERM, HUP and INT */
      if (!conn.printACNames) {
  	signal(SIGTERM, sigPADT);
jojo@mojo:~/rp-pppoe/rp-pppoe_3.5$ cat -n src/pppoe.c
============================== *ちょきちょき* ==============================
   588	#endif
   589	    }
   590	
   591	    /* Set signal handlers: send PADT on HUP; ignore TERM and INT */
   592	    if (!conn.printACNames) {
   593		signal(SIGTERM, SIG_IGN);
   594		signal(SIGINT, SIG_IGN);
   595		signal(SIGHUP, sigPADT);
   596	
============================== *ちょきちょき* ==============================
jojo@mojo:~/rp-pppoe/rp-pppoe_3.5$ vi src/pppoe.c
============================== 修正を加える ==============================
jojo@mojo:~/rp-pppoe/rp-pppoe_3.5$ cat -n src/pppoe.c
============================== *ちょきちょき* ==============================
   588	#endif
   589	    }
   590	
   591	#ifdef AUTO_IFUP
   592	    /* Create a channel to the NET kernel. */
   593	    if ((skfd = sockets_open(0)) < 0) {
   594	      perror("socket");
   595	      exit(1);
   596	    }
   597	
   598	    set_flag(conn.ifName, (IFF_UP | IFF_RUNNING));
   599	#endif
   600	    /* Set signal handlers: send PADT on HUP; ignore TERM and INT */
   601	    if (!conn.printACNames) {
   602		signal(SIGTERM, SIG_IGN);
   603		signal(SIGINT, SIG_IGN);
   604		signal(SIGHUP, sigPADT);
   605	
============================== *ちょきちょき* ==============================
jojo@mojo:~/rp-pppoe/rp-pppoe_3.5$ find -name "*.orig" -ok rm {} \;
< rm ... ./man/pppoe-server.8.orig > ? y
< rm ... ./man/pppoe-sniff.8.orig > ? y
< rm ... ./man/pppoe.8.orig > ? y
< rm ... ./man/pppoe-relay.8.orig > ? y
< rm ... ./src/Makefile.in.orig > ? y
< rm ... ./src/pppoe.c.orig > ? y
jojo@mojo:~/rp-pppoe/rp-pppoe_3.5$ find -name "*.rej" -ok rm {} \;
< rm ... ./src/pppoe.c.rej > ? y
jojo@mojo:~/rp-pppoe/rp-pppoe_3.5$ ls debian/
README.Debian
changelog
conffiles
control
copyright
dsl-provider
ppp_on_boot.dsl
pppoe.wrapper
rules
jojo@mojo:~/rp-pppoe/rp-pppoe_3.5$ debchange -v3.5-0
============================== 適当に記述する ==============================
jojo@mojo:~/rp-pppoe/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>  Mon, 21 Oct 2002 16:32:30 +0900

rp-pppoe (3.3-1.1) unstable; urgency=low
jojo@mojo:~/rp-pppoe/rp-pppoe_3.5$ chmod +x debian/rules
jojo@mojo:~/rp-pppoe/rp-pppoe_3.5$ dpkg-buildpackage -uc -us -rfakeroot
dpkg-buildpackage: source package is rp-pppoe
dpkg-buildpackage: source version is 3.5-0
dpkg-buildpackage: source maintainer is WATANABE Takashi <postman@xxxxxxxxxxx>
dpkg-buildpackage: host architecture is i386
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
rm -f pppoe.prj
/usr/bin/make -C src distclean
make[1]: Entering directory `/home/jojo/rp-pppoe/rp-pppoe-3.5/src'
make[1]: *** ターゲット `distclean' を make するルールがありません.  中止。
make[1]: Leaving directory `/home/jojo/rp-pppoe/rp-pppoe-3.5/src'
make: [clean] エラー 2 (無視されました)
/usr/bin/make -C gui distclean
make[1]: Entering directory `/home/jojo/rp-pppoe/rp-pppoe-3.5/gui'
make[1]: *** ターゲット `distclean' を make するルールがありません.  中止。
make[1]: Leaving directory `/home/jojo/rp-pppoe/rp-pppoe-3.5/gui'
make: [clean] エラー 2 (無視されました)
rm -f src/pppoe-relay
rm -f debian/substvars.debhelper
dh_clean
 dpkg-source -b rp-pppoe-3.5
dpkg-source: building rp-pppoe using existing rp-pppoe_3.5.orig.tar.gz
dpkg-source: building rp-pppoe in rp-pppoe_3.5-0.diff.gz
dpkg-source: building rp-pppoe in rp-pppoe_3.5-0.dsc
 debian/rules build
dh_testdir
test -f src/Makefile || (cd src && ./configure)
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for sys/dlpi.h... no
checking for sys/ioctl.h... yes
checking for sys/time.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

*** Oops.  I cannot figure out what version of pppd you have.
*** All I got back was '許可がありません'
*** I will keep going, but it may not work.

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 `/home/jojo/rp-pppoe/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 -DAUTO_IFUP '-DVERSION="3.5"' -c -o pppoe.o pppoe.c
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
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
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
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
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
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 `/home/jojo/rp-pppoe/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 `/home/jojo/rp-pppoe/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 `/home/jojo/rp-pppoe/rp-pppoe-3.5/src'
touch build-stamp
 fakeroot debian/rules binary
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 `/home/jojo/rp-pppoe/rp-pppoe-3.5/src'

Type 'make install' as root to install the software.
mkdir -p /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/sbin
/usr/bin/install -c -m 755 -s pppoe /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/sbin
/usr/bin/install -c -m 755 -s pppoe-server /home/jojo/rp-pppoe/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 /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/sbin; fi
if test -x pppoe-relay ; then /usr/bin/install -c -m 755 -s pppoe-relay /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/sbin; fi
if test -x pppoe-sniff; then /usr/bin/install -c -m 755 -s pppoe-sniff /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/sbin; fi
/usr/bin/install -c -m 755 ../scripts/adsl-connect /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/sbin
/usr/bin/install -c -m 755 ../scripts/adsl-start /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/sbin
/usr/bin/install -c -m 755 ../scripts/adsl-status /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/sbin
/usr/bin/install -c -m 755 ../scripts/adsl-stop /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/sbin
/usr/bin/install -c -m 755 ../scripts/adsl-setup /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/sbin
mkdir -p /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../doc/CHANGES /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../doc/KERNEL-MODE-PPPOE /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../doc/HOW-TO-CONNECT /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../doc/LICENSE /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../README /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../SERVPOET /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/doc/rp-pppoe-3.5
/usr/bin/install -c -m 644 ../configs/pap-secrets /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/doc/rp-pppoe-3.5
mkdir -p /home/jojo/rp-pppoe/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 /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/man/man8 || exit 1; \
	fi; \
done
/usr/bin/install -c -m 644 ../man/adsl-start.8 /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/man/man8
/usr/bin/install -c -m 644 ../man/adsl-stop.8 /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/man/man8
/usr/bin/install -c -m 644 ../man/adsl-status.8 /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/man/man8
/usr/bin/install -c -m 644 ../man/adsl-connect.8 /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/man/man8
/usr/bin/install -c -m 644 ../man/adsl-setup.8 /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/man/man8
mkdir -p /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/man/man5
/usr/bin/install -c -m 644 ../man/pppoe.conf.5 /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/usr/man/man5
mkdir -p /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/etc/ppp
mkdir -p /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/etc/ppp/plugins
echo "# Directory created by rp-pppoe for kernel-mode plugin" > /home/jojo/rp-pppoe/rp-pppoe-3.5/debian/tmp/etc/ppp/plugins/README
# L2TP

Type 'adsl-setup' to configure the software.
make[1]: Leaving directory `/home/jojo/rp-pppoe/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: ../pppoe_3.5-0_i386.deb にパッケージ `pppoe' を構築しています
 dpkg-genchanges
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: full upload (original source is included)
jojo@mojo:~/rp-pppoe/rp-pppoe_3.5$ ls -F ..
pppoe_3.5-0_i386.deb
rp-pppoe-3.5/
rp-pppoe_3.3-1.1.diff.gz
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
============================== 区切り ==============================
これであとは、
# dpkg -i pppoe_3.5-0_i386.deb
を実行しちゃっても危険はないでしょうか?

---
渡辺崇史(WATANABE Takashi)
lieuML@xxxxxxxxxxx