<86>Jan  3 08:56:39 userdel[2894880]: delete user 'rooter'
<86>Jan  3 08:56:39 userdel[2894880]: removed group 'rooter' owned by 'rooter'
<86>Jan  3 08:56:39 userdel[2894880]: removed shadow group 'rooter' owned by 'rooter'
<86>Jan  3 08:56:39 groupadd[2894890]: group added to /etc/group: name=rooter, GID=633
<86>Jan  3 08:56:39 groupadd[2894890]: group added to /etc/gshadow: name=rooter
<86>Jan  3 08:56:39 groupadd[2894890]: new group: name=rooter, GID=633
<86>Jan  3 08:56:39 useradd[2894900]: new user: name=rooter, UID=633, GID=633, home=/root, shell=/bin/bash
<86>Jan  3 08:56:39 userdel[2894920]: delete user 'builder'
<86>Jan  3 08:56:39 userdel[2894920]: removed group 'builder' owned by 'builder'
<86>Jan  3 08:56:39 userdel[2894920]: removed shadow group 'builder' owned by 'builder'
<86>Jan  3 08:56:39 groupadd[2894935]: group added to /etc/group: name=builder, GID=634
<86>Jan  3 08:56:39 groupadd[2894935]: group added to /etc/gshadow: name=builder
<86>Jan  3 08:56:39 groupadd[2894935]: new group: name=builder, GID=634
<86>Jan  3 08:56:39 useradd[2894944]: new user: name=builder, UID=634, GID=634, home=/usr/src, shell=/bin/bash
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/portsentry-1.2-alt1.qa1.nosrc.rpm
Installing portsentry-1.2-alt1.qa1.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.80757
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf portsentry_beta
+ echo 'Source #0 (portsentry-1.2.tar.bz2):'
Source #0 (portsentry-1.2.tar.bz2):
+ /bin/bzip2 -dc /usr/src/RPM/SOURCES/portsentry-1.2.tar.bz2
+ /bin/tar -xf -
+ cd portsentry_beta
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (portsentry-1.1-alt.patch):'
Patch #0 (portsentry-1.1-alt.patch):
+ /usr/bin/patch -p1
patching file ignore.csh
patching file portsentry.conf
+ echo 'Patch #1 (portsentry-1.1-fhs-alt.patch):'
Patch #1 (portsentry-1.1-fhs-alt.patch):
+ /usr/bin/patch -p1
patching file Makefile
+ echo 'Patch #2 (portsentry-1.2-alt-no_new_line.patch):'
Patch #2 (portsentry-1.2-alt-no_new_line.patch):
+ /usr/bin/patch -p1
patching file portsentry.c
+ find -type f
+ xargs /bin/grep -F -l /usr/local/psionic/portsentry/portsentry.
+ xargs /usr/bin/perl -pi -e 's,/usr/local/psionic/portsentry/portsentry.(blocked|history),/var/log/portsentry/\1,g'
+ find -type f
+ xargs /bin/grep -F -l /usr/local/psionic/portsentry
+ xargs /usr/bin/perl -pi -e s,/usr/local/psionic/portsentry,/etc/portsentry,g
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.96197
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd portsentry_beta
+ make -j8 linux
make: Entering directory '/usr/src/RPM/BUILD/portsentry_beta'
SYSTYPE=linux 
Making 
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -DLINUX -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,
                 from /usr/include/netdb.h:27,
                 from ./portsentry.h:30,
                 from ./portsentry.c:20:
/usr/include/sys/socket.h:232: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/sys/socket.h:269,
                 from /usr/include/netinet/in.h:23,
                 from /usr/include/netdb.h:27,
                 from ./portsentry.h:30,
                 from ./portsentry.c:20:
/usr/include/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: Leaving directory '/usr/src/RPM/BUILD/portsentry_beta'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.72888
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/portsentry-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/portsentry-buildroot
+ cd portsentry_beta
+ /bin/mkdir -p /usr/src/tmp/portsentry-buildroot/etc/portsentry /usr/src/tmp/portsentry-buildroot/var/log/portsentry
+ /usr/bin/make 'INSTALL=/bin/install -p' prefix=/usr/src/tmp/portsentry-buildroot/usr exec_prefix=/usr/src/tmp/portsentry-buildroot/usr bindir=/usr/src/tmp/portsentry-buildroot/usr/bin sbindir=/usr/src/tmp/portsentry-buildroot/usr/sbin sysconfdir=/usr/src/tmp/portsentry-buildroot/etc datadir=/usr/src/tmp/portsentry-buildroot/usr/share includedir=/usr/src/tmp/portsentry-buildroot/usr/include libdir=/usr/src/tmp/portsentry-buildroot/usr/lib libexecdir=/usr/src/tmp/portsentry-buildroot/usr/lib localstatedir=/usr/src/tmp/portsentry-buildroot/var/lib sharedstatedir=/usr/src/tmp/portsentry-buildroot/var/lib mandir=/usr/src/tmp/portsentry-buildroot/usr/share/man infodir=/usr/src/tmp/portsentry-buildroot/usr/share/info install
make: Entering directory '/usr/src/RPM/BUILD/portsentry_beta'
Creating psionic directory /usr/src/tmp/portsentry-buildroot/usr/sbin
Setting directory permissions
Creating portsentry directory /usr/src/tmp/portsentry-buildroot/etc/portsentry
Setting directory permissions
chmod 700 /usr/src/tmp/portsentry-buildroot/etc/portsentry
Copying files
cp ./portsentry.conf /usr/src/tmp/portsentry-buildroot/etc/portsentry
cp ./portsentry.ignore /usr/src/tmp/portsentry-buildroot/etc/portsentry
cp ./portsentry /usr/src/tmp/portsentry-buildroot/usr/sbin
Setting permissions
chmod 600 /usr/src/tmp/portsentry-buildroot/etc/portsentry/portsentry.ignore
chmod 600 /usr/src/tmp/portsentry-buildroot/etc/portsentry/portsentry.conf
chmod 700 /usr/src/tmp/portsentry-buildroot/usr/sbin/portsentry


Edit /usr/src/tmp/portsentry-buildroot/etc/portsentry/portsentry.conf and change
your settings if you haven't already. (route, etc)


WARNING: This version and above now use a new
directory structure for storing the program
and config files /usr/src/tmp/portsentry-buildroot/etc/portsentry.
Please make sure you delete the old files when
the testing of this install is complete.


make: Leaving directory '/usr/src/RPM/BUILD/portsentry_beta'
+ /bin/install -m700 -D /usr/src/RPM/SOURCES/portsentry.init /usr/src/tmp/portsentry-buildroot/etc/rc.d/init.d/portsentry
+ touch /usr/src/tmp/portsentry-buildroot/var/log/portsentry/blocked /usr/src/tmp/portsentry-buildroot/var/log/portsentry/blocked.atcp /usr/src/tmp/portsentry-buildroot/var/log/portsentry/blocked.audp /usr/src/tmp/portsentry-buildroot/var/log/portsentry/history
+ /bin/cat
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/portsentry-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/portsentry-buildroot (binconfig,pkgconfig,libtool,desktop)
Checking contents of files in /usr/src/tmp/portsentry-buildroot/ (default)
Compressing files in /usr/src/tmp/portsentry-buildroot (auto)
Verifying ELF objects in /usr/src/tmp/portsentry-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
verify-elf: WARNING: ./usr/sbin/portsentry: uses non-LFS functions: fopen
Hardlinking identical .pyc and .pyo files
Processing files: portsentry-1.2-alt1.qa1
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.72888
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd portsentry_beta
+ DOCDIR=/usr/src/tmp/portsentry-buildroot/usr/share/doc/portsentry-1.2
+ export DOCDIR
+ rm -rf /usr/src/tmp/portsentry-buildroot/usr/share/doc/portsentry-1.2
+ /bin/mkdir -p /usr/src/tmp/portsentry-buildroot/usr/share/doc/portsentry-1.2
+ cp -prL CHANGES CREDITS LICENSE README.COMPAT README.install README.methods README.stealth ignore.csh /usr/src/tmp/portsentry-buildroot/usr/share/doc/portsentry-1.2
+ chmod -R go-w /usr/src/tmp/portsentry-buildroot/usr/share/doc/portsentry-1.2
+ chmod -R a+rX /usr/src/tmp/portsentry-buildroot/usr/share/doc/portsentry-1.2
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wIwgQy
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hbU33o
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services)
find-requires: FINDPACKAGE-COMMANDS: touch
Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.w2DK9A
find-scriptlet-requires: FINDPACKAGE-COMMANDS: chmod chown touch
Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ieRf1i
Requires: /bin/sh, /etc/rc.d/init.d, /etc/rc.d/init.d(SourceIfNotEmpty), /etc/rc.d/init.d(action), /etc/rc.d/init.d(is_yes), /etc/rc.d/init.d(msg_already_running), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(passed), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib/ld-linux.so.2, coreutils, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), rtld(GNU_HASH)
Requires(interp): /bin/sh
Requires(post): /bin/sh, /usr/sbin/post_service, coreutils
Requires(preun): /bin/sh, /usr/sbin/preun_service
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vZ9Bxt
Creating portsentry-debuginfo package
Processing files: portsentry-debuginfo-1.2-alt1.qa1
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.m01XbZ
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.SnsF8W
find-requires: running scripts (debuginfo)
Requires: portsentry = 1.2-alt1.qa1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6)
Wrote: /usr/src/RPM/RPMS/i586/portsentry-1.2-alt1.qa1.i586.rpm
Wrote: /usr/src/RPM/RPMS/i586/portsentry-debuginfo-1.2-alt1.qa1.i586.rpm
6.65user 1.95system 0:13.48elapsed 63%CPU (0avgtext+0avgdata 29280maxresident)k
0inputs+0outputs (0major+255933minor)pagefaults 0swaps
8.94user 6.33system 0:19.27elapsed 79%CPU (0avgtext+0avgdata 29280maxresident)k
0inputs+0outputs (0major+432879minor)pagefaults 0swaps
--- portsentry-1.2-alt1.qa1.i586.rpm.repo	2013-04-15 13:37:30.000000000 +0000
+++ portsentry-1.2-alt1.qa1.i586.rpm.hasher	2021-01-03 08:56:55.526940785 +0000
@@ -22,3 +22,2 @@
 Requires: /bin/sh  
-Requires: /bin/sh  
 Requires: /etc/rc.d/init.d