Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/p/portsentry/portsentry_1.2-14+b1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/portsentry-1.2-14+b186lht5s4/portsentry_1.2-14_amd64.buildinfo Get source package info: portsentry=1.2-14 Source URL: http://snapshot.notset.fr/mr/package/portsentry/1.2-14/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-10 automake=1:1.15-6 autopoint=0.19.8.1-2 autotools-dev=20161112.1 base-files=9.8 base-passwd=3.5.43 bash=4.4-4 binutils=2.27.90.20170221-1 bsdmainutils=9.0.12 bsdutils=1:2.29.1-1 build-essential=12.3 bzip2=1.0.6-8.1 coreutils=8.26-3 cpp=4:6.3.0-1 cpp-6=6.3.0-8 dash=0.5.8-2.4 debconf=1.5.60 debhelper=10.2.5 debianutils=4.8.1 dh-autoreconf=13 dh-strip-nondeterminism=0.031-1 diffutils=1:3.5-3 dpkg=1.18.22 dpkg-dev=1.18.22 e2fslibs=1.43.4-2 e2fsprogs=1.43.4-2 file=1:5.29-3 findutils=4.6.0+git+20161106-2 g++=4:6.3.0-1 g++-6=6.3.0-8 gcc=4:6.3.0-1 gcc-6=6.3.0-8 gcc-6-base=6.3.0-8 gettext=0.19.8.1-2 gettext-base=0.19.8.1-2 grep=2.27-2 groff-base=1.22.3-9 gzip=1.6-5 hostname=3.18 init-system-helpers=1.47 intltool-debian=0.35.0+20060710.4 libacl1=2.2.52-3+b1 libarchive-zip-perl=1.59-1 libasan3=6.3.0-8 libatomic1=6.3.0-8 libattr1=1:2.4.47-2+b2 libaudit-common=1:2.6.7-1 libaudit1=1:2.6.7-1 libblkid1=2.29.1-1 libbsd0=0.8.3-1 libbz2-1.0=1.0.6-8.1 libc-bin=2.24-9 libc-dev-bin=2.24-9 libc6=2.24-9 libc6-dev=2.24-9 libcap-ng0=0.7.7-3+b1 libcc1-0=6.3.0-8 libcilkrts5=6.3.0-8 libcomerr2=1.43.4-2 libcroco3=0.6.11-2 libdb5.3=5.3.28-12+b1 libdebconfclient0=0.224 libdpkg-perl=1.18.22 libfdisk1=2.29.1-1 libffi6=3.2.1-6 libfile-stripnondeterminism-perl=0.031-1 libgcc-6-dev=6.3.0-8 libgcc1=1:6.3.0-8 libgcrypt20=1.7.6-1 libgdbm3=1.8.3-14 libglib2.0-0=2.50.3-1 libgmp10=2:6.1.2+dfsg-1 libgomp1=6.3.0-8 libgpg-error0=1.26-2 libicu57=57.1-5 libisl15=0.18-1 libitm1=6.3.0-8 liblsan0=6.3.0-8 liblz4-1=0.0~r131-2+b1 liblzma5=5.2.2-1.2+b1 libmagic-mgc=1:5.29-3 libmagic1=1:5.29-3 libmount1=2.29.1-1 libmpc3=1.0.3-1 libmpfr4=3.1.5-1 libmpx2=6.3.0-8 libncurses5=6.0+20161126-1 libncursesw5=6.0+20161126-1 libpam-modules=1.1.8-3.5 libpam-modules-bin=1.1.8-3.5 libpam-runtime=1.1.8-3.5 libpam0g=1.1.8-3.5 libpcre3=2:8.39-2.1 libperl5.24=5.24.1-1 libpipeline1=1.4.1-2 libquadmath0=6.3.0-8 libselinux1=2.6-3 libsemanage-common=2.6-2 libsemanage1=2.6-2 libsepol1=2.6-2 libsigsegv2=2.10-5 libsmartcols1=2.29.1-1 libss2=1.43.4-2 libstdc++-6-dev=6.3.0-8 libstdc++6=6.3.0-8 libsystemd0=232-19 libtimedate-perl=2.3000-2 libtinfo5=6.0+20161126-1 libtool=2.4.6-2 libtsan0=6.3.0-8 libubsan0=6.3.0-8 libudev1=232-18 libunistring0=0.9.6+really0.9.3-0.1 libustr-1.0-1=1.0.4-6 libuuid1=2.29.1-1 libxml2=2.9.4+dfsg1-2.2 linux-libc-dev=4.9.13-1 login=1:4.4-4 m4=1.4.18-1 make=4.1-9.1 man-db=2.7.6.1-2 mawk=1.3.3-17 mount=2.29.1-1 multiarch-support=2.24-9 ncurses-base=6.0+20161126-1 ncurses-bin=6.0+20161126-1 passwd=1:4.4-4 patch=2.7.5-1 perl=5.24.1-1 perl-base=5.24.1-1 perl-modules-5.24=5.24.1-1 po-debconf=1.0.20 sed=4.4-1 sensible-utils=0.0.9 sysvinit-utils=2.88dsf-59.9 tar=1.29b-1.1 util-linux=2.29.1-1 xz-utils=5.2.2-1.2+b1 zlib1g=1:1.2.8.dfsg-5 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20170316T153720Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20170302T092306Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d portsentry=1.2-14 && mkdir -p /build/portsentry-3I2W7U && dpkg-source --no-check -x /*.dsc /build/portsentry-3I2W7U/portsentry-1.2 && cd /build/portsentry-3I2W7U/portsentry-1.2 && { printf '%s' 'portsentry (1.2-14+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * rebuild with PIE -- amd64 Build Daemon (binet) Wed, 29 Oct 2014 12:34:30 +0100 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/portsentry-3I2W7U" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/portsentry-3I2W7U/portsentry-1.2 && env DEB_BUILD_OPTIONS="parallel=4" SOURCE_DATE_EPOCH="1414582470" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/portsentry-3I2W7U /tmp/portsentry-1.2-14+b186lht5s4 stretch /dev/null deb http://snapshot.notset.fr/archive/debian/20170302T092306Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.0X0lu4gJtg as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.0X0lu4gJtg Reading package lists... Building dependency tree... util-linux is already the newest version (2.29.1-1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 131 kB of archives. After this operation, 374 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20170302T092306Z unstable/main amd64 libfakeroot amd64 1.21-3.1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20170302T092306Z unstable/main amd64 fakeroot amd64 1.21-3.1 [85.6 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 131 kB in 0s (730 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4397 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.21-3.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.21-3.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.21-3.1_amd64.deb ... Unpacking fakeroot (1.21-3.1) ... Processing triggers for libc-bin (2.24-9) ... Setting up libfakeroot:amd64 (1.21-3.1) ... Setting up fakeroot (1.21-3.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.24-9) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20170316T153720Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20170302T092306Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.0X0lu4gJtg Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20170316T153720Z unstable InRelease [231 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20170302T092306Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20170316T153720Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20170316T153720Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20170316T153720Z unstable/main amd64 Packages [10.0 MB] Fetched 32.8 MB in 27s (1195 kB/s) Reading package lists... W: Problem unlinking the file auxfiles - Clean (21: Is a directory) I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.0X0lu4gJtg I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d portsentry=1.2-14 && mkdir -p /build/portsentry-3I2W7U && dpkg-source --no-check -x /*.dsc /build/portsentry-3I2W7U/portsentry-1.2 && cd /build/portsentry-3I2W7U/portsentry-1.2 && { printf '%s' 'portsentry (1.2-14+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * rebuild with PIE -- amd64 Build Daemon (binet) Wed, 29 Oct 2014 12:34:30 +0100 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/portsentry-3I2W7U"' exec /tmp/mmdebstrap.0X0lu4gJtg Reading package lists... NOTICE: 'portsentry' packaging is maintained in the 'Git' version control system at: git://anonscm.debian.org/collab-maint/portsentry.git Please use: git clone git://anonscm.debian.org/collab-maint/portsentry.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 86.1 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main portsentry 1.2-14 (dsc) [1850 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main portsentry 1.2-14 (tar) [48.1 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main portsentry 1.2-14 (diff) [36.2 kB] Fetched 86.1 kB in 0s (1273 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'portsentry_1.2-14.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting portsentry in /build/portsentry-3I2W7U/portsentry-1.2 dpkg-source: info: unpacking portsentry_1.2.orig.tar.gz dpkg-source: info: unpacking portsentry_1.2-14.debian.tar.xz dpkg-source: info: applying 00_fix_portsentry_config.h.patch dpkg-source: info: applying 00_fix_portsentry.c.patch dpkg-source: info: applying 00_fix_README.install.patch dpkg-source: info: applying 00_fix_Makefile.patch dpkg-source: info: applying 01_dpkg-buildflags.diff I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/portsentry-3I2W7U/portsentry-1.2 && env DEB_BUILD_OPTIONS="parallel=4" SOURCE_DATE_EPOCH="1414582470" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.0X0lu4gJtg dpkg-buildpackage: info: source package portsentry dpkg-buildpackage: info: source version 1.2-14+b1 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by amd64 Build Daemon (binet) dpkg-source --before-build portsentry-1.2 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp # Add here commands to clean up after the build process. #[ ! -f Makefile ] || /usr/bin/make -f Makefile clean touch portsentry /usr/bin/make -f Makefile clean make[1]: Entering directory '/build/portsentry-3I2W7U/portsentry-1.2' /bin/rm -f ./portsentry make[1]: Leaving directory '/build/portsentry-3I2W7U/portsentry-1.2' dh_clean build-stamp rm -f debian/debhelper-build-stamp rm -f debian/portsentry.substvars rm -f debian/portsentry.*.debhelper rm -rf debian/portsentry/ rm -rf debian/.debhelper/ rm -f debian/*.debhelper.log rm -f debian/files rm -f -- build-stamp find . \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} + \) -o \ \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \) rm -f *-stamp debian/rules build-arch dh_testdir # Add here commands to compile the package. /usr/bin/make CFLAGS="-g -O2 -fdebug-prefix-map=/build/portsentry-3I2W7U/portsentry-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" -f Makefile debian-linux make[1]: Entering directory '/build/portsentry-3I2W7U/portsentry-1.2' SYSTYPE=debian-linux Making cc -g -O2 -fdebug-prefix-map=/build/portsentry-3I2W7U/portsentry-1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -DLINUX -DDEBIAN -DSUPPORT_STEALTH -o ./portsentry ./portsentry.c \ ./portsentry_io.c ./portsentry_util.c ./portsentry.c: In function ‘PortSentryModeTCP’: ./portsentry.c:1187:8: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness [-Wpointer-sign] &length); ^ In file included from /usr/include/netinet/in.h:23:0, from /usr/include/netdb.h:27, from ./portsentry.h:30, from ./portsentry.c:20: /usr/include/x86_64-linux-gnu/sys/socket.h:243:12: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’ extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ ./portsentry.c: In function ‘PortSentryModeUDP’: ./portsentry.c:1384:39: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] (struct sockaddr *) &client, &length) < 0) ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from ./portsentry.h:30, from ./portsentry.c:20: /usr/include/x86_64-linux-gnu/bits/socket2.h:64:1: note: expected ‘socklen_t * restrict {aka unsigned int * restrict}’ but argument is of type ‘int *’ recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, ^~~~~~~~ ./portsentry.c: In function ‘PortSentryModeTCP’: ./portsentry.c:1216:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write (incomingSockfd, bannerBuffer, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ strlen (bannerBuffer)); ~~~~~~~~~~~~~~~~~~~~~~ ./portsentry_io.c: In function ‘ConfigTokenRetrieve’: ./portsentry_io.c:321:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((strstr (buffer, token) != (char) NULL) && ^ ./portsentry_io.c:321:36: warning: comparison between pointer and integer if ((strstr (buffer, token) != (char) NULL) && ^~ ./portsentry_io.c:324:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (strstr (buffer, "\"") == (char) NULL) ^ ./portsentry_io.c:324:31: warning: comparison between pointer and integer if (strstr (buffer, "\"") == (char) NULL) ^~ ./portsentry_io.c: In function ‘IsBlocked’: ./portsentry_io.c:670:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if((ipOffset = strstr(buffer, target)) != (char) NULL) ^ ./portsentry_io.c:670:41: warning: comparison between pointer and integer if((ipOffset = strstr(buffer, target)) != (char) NULL) ^~ ./portsentry_io.c: In function ‘SubstString’: ./portsentry_io.c:727:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (strstr (target, find) == (char) NULL) ^ ./portsentry_io.c:727:30: warning: comparison between pointer and integer if (strstr (target, find) == (char) NULL) ^~ ./portsentry_io.c: In function ‘DaemonSeed’: ./portsentry_io.c:84:3: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] chdir ("/"); ^~~~~~~~~~~ make[1]: Leaving directory '/build/portsentry-3I2W7U/portsentry-1.2' touch build-stamp fakeroot debian/rules binary-arch dh_testdir dh_testroot dh_prep rm -f debian/portsentry.substvars rm -f debian/portsentry.*.debhelper rm -rf debian/portsentry/ dh_installdirs install -d debian/portsentry install -d debian/portsentry/usr/sbin debian/portsentry/usr/lib/portsentry debian/portsentry/var/lib/portsentry debian/portsentry/etc/portsentry debian/portsentry/etc/default debian/portsentry/etc/ppp/ip-up.d debian/portsentry/etc/ppp/ip-down.d # Add here commands to install the package into debian/portsentry. install -p -o root -g root -m 755 -s portsentry `pwd`/debian/`dh_listpackages`/usr/sbin # install Debian specific stuff install --mode=644 /build/portsentry-3I2W7U/portsentry-1.2/debian/portsentry.ignore.static `pwd`/debian/`dh_listpackages`/etc/portsentry install --mode=644 /build/portsentry-3I2W7U/portsentry-1.2/debian/portsentry.conf.Debian `pwd`/debian/`dh_listpackages`/etc/portsentry/portsentry.conf install /build/portsentry-3I2W7U/portsentry-1.2/debian/scripts/portsentry-* `pwd`/debian/`dh_listpackages`/usr/lib/portsentry dh_testdir dh_testroot dh_installdebconf install -d debian/portsentry/DEBIAN sed s/#DEBHELPER#// < debian/config > debian/portsentry/DEBIAN/config chmod 0755 -- debian/portsentry/DEBIAN/config chown 0:0 -- debian/portsentry/DEBIAN/config po2debconf debian/templates > debian/portsentry/DEBIAN/templates (grep -a -s -v misc:Depends debian/portsentry.substvars; echo "misc:Depends=debconf (>= 0.5) | debconf-2.0") > debian/portsentry.substvars.new mv debian/portsentry.substvars.new debian/portsentry.substvars echo "# Automatically added by dh_installdebconf">> debian/portsentry.postrm.debhelper sed "" /usr/share/debhelper/autoscripts/postrm-debconf >> debian/portsentry.postrm.debhelper echo '# End automatically added section' >> debian/portsentry.postrm.debhelper dh_installdocs install -d debian/portsentry/usr/share/doc/portsentry cp --reflink=auto -a README.COMPAT debian/portsentry/usr/share/doc/portsentry cp --reflink=auto -a README.install debian/portsentry/usr/share/doc/portsentry cp --reflink=auto -a README.methods debian/portsentry/usr/share/doc/portsentry cp --reflink=auto -a README.stealth debian/portsentry/usr/share/doc/portsentry cp --reflink=auto -a CREDITS debian/portsentry/usr/share/doc/portsentry chown -R 0:0 debian/portsentry/usr/share/doc chmod -R go=rX debian/portsentry/usr/share/doc chmod -R u\+rw debian/portsentry/usr/share/doc install -p -m0644 debian/README.Debian debian/portsentry/usr/share/doc/portsentry/README.Debian install -p -m0644 debian/TODO debian/portsentry/usr/share/doc/portsentry/TODO.Debian install -p -m0644 debian/copyright debian/portsentry/usr/share/doc/portsentry/copyright dh_installexamples install -d debian/portsentry/usr/share/doc/portsentry/examples cp --reflink=auto -a ignore.csh debian/portsentry/usr/share/doc/portsentry/examples cp --reflink=auto -a debian/examples/kill_cmd debian/portsentry/usr/share/doc/portsentry/examples cp --reflink=auto -a debian/examples/scan-detect debian/portsentry/usr/share/doc/portsentry/examples dh_installppp install -p -m0755 debian/portsentry.ppp.ip-up debian/portsentry/etc/ppp/ip-up.d/portsentry install -p -m0755 debian/portsentry.ppp.ip-down debian/portsentry/etc/ppp/ip-down.d/portsentry dh_installinit -u"defaults 99" install -d debian/portsentry/etc/init.d install -p -m0755 debian/portsentry.init.d debian/portsentry/etc/init.d/portsentry echo "# Automatically added by dh_installinit">> debian/portsentry.postinst.debhelper sed "s/#SCRIPT#/portsentry/g;s/#INITPARMS#/defaults 99/g;s/#ERROR_HANDLER#/exit \$?/g" /usr/share/debhelper/autoscripts/postinst-init >> debian/portsentry.postinst.debhelper echo '# End automatically added section' >> debian/portsentry.postinst.debhelper echo "# Automatically added by dh_installinit">> debian/portsentry.prerm.debhelper sed "s/#SCRIPT#/portsentry/g;s/#INITPARMS#/defaults 99/g;s/#ERROR_HANDLER#/exit \$?/g" /usr/share/debhelper/autoscripts/prerm-init >> debian/portsentry.prerm.debhelper echo '# End automatically added section' >> debian/portsentry.prerm.debhelper echo "# Automatically added by dh_installinit"> debian/portsentry.postrm.debhelper.new sed "s/#SCRIPT#/portsentry/g;s/#INITPARMS#/defaults 99/g;s/#ERROR_HANDLER#/exit \$?/g" /usr/share/debhelper/autoscripts/postrm-init >> debian/portsentry.postrm.debhelper.new echo '# End automatically added section' >> debian/portsentry.postrm.debhelper.new cat debian/portsentry.postrm.debhelper >> debian/portsentry.postrm.debhelper.new mv debian/portsentry.postrm.debhelper.new debian/portsentry.postrm.debhelper dh_installman debian/portsentry.8 debian/portsentry.conf.5 install -d debian/portsentry/usr/share/man/man8/ install -p -m0644 debian/portsentry.8 debian/portsentry/usr/share/man/man8/portsentry.8 install -d debian/portsentry/usr/share/man/man5/ install -p -m0644 debian/portsentry.conf.5 debian/portsentry/usr/share/man/man5/portsentry.conf.5 man --recode UTF-8 ./portsentry\.8 > portsentry\.8\.new chmod 0755 -- portsentry.8.new chown 0:0 -- portsentry.8.new mv -f portsentry.8.new portsentry.8 man --recode UTF-8 ./portsentry\.conf\.5 > portsentry\.conf\.5\.new chmod 0755 -- portsentry.conf.5.new chown 0:0 -- portsentry.conf.5.new mv -f portsentry.conf.5.new portsentry.conf.5 dh_installinfo dh_installchangelogs install -p -m0644 ./CHANGES debian/portsentry/usr/share/doc/portsentry/changelog dh_link rm -f debian/portsentry/usr/share/doc/portsentry/changelog.gz ln -sf CHANGES.gz debian/portsentry/usr/share/doc/portsentry/changelog.gz dh_strip strip --remove-section=.comment --remove-section=.note debian/portsentry/usr/sbin/portsentry dh_compress cd debian/portsentry chmod a-x usr/share/doc/portsentry/CREDITS usr/share/doc/portsentry/README.install usr/share/doc/portsentry/README.methods usr/share/doc/portsentry/README.stealth usr/share/doc/portsentry/changelog usr/share/doc/portsentry/changelog.Debian usr/share/doc/portsentry/changelog.Debian.amd64 usr/share/man/man5/portsentry.conf.5 usr/share/man/man8/portsentry.8 gzip -9nf usr/share/doc/portsentry/CREDITS usr/share/doc/portsentry/README.install usr/share/doc/portsentry/README.methods usr/share/doc/portsentry/README.stealth usr/share/doc/portsentry/changelog usr/share/doc/portsentry/changelog.Debian usr/share/doc/portsentry/changelog.Debian.amd64 usr/share/man/man5/portsentry.conf.5 usr/share/man/man8/portsentry.8 cd '/build/portsentry-3I2W7U/portsentry-1.2' dh_fixperms find debian/portsentry -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0 find debian/portsentry ! -type l -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s find debian/portsentry/usr/share/doc -type f ! -regex 'debian/portsentry/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 find debian/portsentry/usr/share/doc -type d -print0 2>/dev/null | xargs -0r chmod 0755 find debian/portsentry/usr/share/man -type f -print0 2>/dev/null | xargs -0r chmod 0644 find debian/portsentry/usr/include -type f -print0 2>/dev/null | xargs -0r chmod 0644 find debian/portsentry/usr/share/applications -type f -print0 2>/dev/null | xargs -0r chmod 0644 find debian/portsentry/usr/lib/x86_64-linux-gnu/perl5/5.24 debian/portsentry/usr/share/perl5 -type f -perm -5 -name '*.pm' -print0 2>/dev/null | xargs -0r chmod a-X find debian/portsentry -perm -5 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' \) -print0 2>/dev/null | xargs -0r chmod 0644 find debian/portsentry/usr/sbin -type f -print0 2>/dev/null | xargs -0r chmod a+x find debian/portsentry/etc/init.d -type f -print0 2>/dev/null | xargs -0r chmod a+x find debian/portsentry/usr/lib -type f -name '*.ali' -print0 2>/dev/null | xargs -0r chmod uga-w dh_installdeb perl -pe 's~#DEBHELPER#~qx{cat debian/portsentry.postinst.debhelper}~eg' < debian/postinst > debian/portsentry/DEBIAN/postinst chmod 0755 -- debian/portsentry/DEBIAN/postinst chown 0:0 -- debian/portsentry/DEBIAN/postinst perl -pe 's~#DEBHELPER#~qx{cat debian/portsentry.prerm.debhelper}~eg' < debian/prerm > debian/portsentry/DEBIAN/prerm chmod 0755 -- debian/portsentry/DEBIAN/prerm chown 0:0 -- debian/portsentry/DEBIAN/prerm perl -pe 's~#DEBHELPER#~qx{cat debian/portsentry.postrm.debhelper}~eg' < debian/postrm > debian/portsentry/DEBIAN/postrm chmod 0755 -- debian/portsentry/DEBIAN/postrm chown 0:0 -- debian/portsentry/DEBIAN/postrm find debian/portsentry/etc -type f -printf '/etc/%P ' | LC_ALL=C sort >> debian/portsentry/DEBIAN/conffiles chmod 0644 -- debian/portsentry/DEBIAN/conffiles chown 0:0 -- debian/portsentry/DEBIAN/conffiles dh_shlibdeps dpkg-shlibdeps -Tdebian/portsentry.substvars debian/portsentry/usr/sbin/portsentry dh_gencontrol echo misc:Pre-Depends= >> debian/portsentry.substvars dpkg-gencontrol -pportsentry -ldebian/changelog -Tdebian/portsentry.substvars -Pdebian/portsentry chmod 0644 -- debian/portsentry/DEBIAN/control chown 0:0 -- debian/portsentry/DEBIAN/control dh_md5sums (cd debian/portsentry >/dev/null ; find . -type f ! -path "./etc/init.d/portsentry" ! -path "./etc/portsentry/portsentry.conf" ! -path "./etc/portsentry/portsentry.ignore.static" ! -path "./etc/ppp/ip-down.d/portsentry" ! -path "./etc/ppp/ip-up.d/portsentry" ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums) >/dev/null chmod 0644 -- debian/portsentry/DEBIAN/md5sums chown 0:0 -- debian/portsentry/DEBIAN/md5sums dh_builddeb dpkg-deb --build debian/portsentry .. dpkg-deb: building package 'portsentry' in '../portsentry_1.2-14+b1_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../portsentry_1.2-14+b1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build portsentry-1.2 dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/portsentry-3I2W7U /tmp/portsentry-1.2-14+b186lht5s4 I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.0X0lu4gJtg... I: success in 220.1709 seconds md5: portsentry_1.2-14+b1_amd64.deb: OK sha1: portsentry_1.2-14+b1_amd64.deb: OK sha256: portsentry_1.2-14+b1_amd64.deb: OK Checksums: OK