Sergej Pupykin pushed to branch main at Arch Linux / Packaging / Packages / 
unrealircd


Commits:
f83ce289 by Sergej Pupykin at 2024-07-18T22:48:15+03:00
unrealircd: cleanup

- - - - -


3 changed files:

- PKGBUILD
- − install.pl
- − source-date-epoch.patch


Changes:

=====================================
PKGBUILD
=====================================
@@ -17,31 +17,17 @@ validpgpkeys=('1D2D2B03A0B68ED11D68A24BA7A21B0A108FF4A9')
 source=(https://www.unrealircd.org/unrealircd4/unrealircd-$pkgver.tar.gz{,.asc}
        unrealircd.service
        unrealircd.tmpfiles.d
-       unrealircd.sysusers.d
-       install.pl
-       source-date-epoch.patch)
+       unrealircd.sysusers.d)
 sha256sums=('9787c2504ace0e0c402dfdbaa463f5306d13ef3b3af6adbb3bee5ca197bff83d'
             'SKIP'
             '5bb6016c379e6f040d8c625e3339c096ff66c4450aa024ca5b13ad3dec47c38e'
             '91b5e1d623b51ffd4734d73e35cead09be596460c41b9440406f92c9e2b4b9b1'
-            '9e595176e63b301476982b1456d6ed065c479ff913b6743417ab8a9efdda0e3a'
-            '43f07093ada8eb5c954f9e2e189610575906c690c0953fec041d4f2d31210d85'
-            '1b9b3d5560f6633d4f31a521bc0ae17094d3afa28e703b4790eaefedcc9a92a8')
-
-prepare() {
-  cd unrealircd-$pkgver
-  sed -i \
-    -e 's|$(INSTALL) -m 0700|$(INSTALL) -m 0755|g' \
-    -e 's|$(INSTALL) -m 0600|$(INSTALL) -m 0644|g' \
-    Makefile.in
-#  patch -p1 < ../source-date-epoch.patch
-}
+            '9e595176e63b301476982b1456d6ed065c479ff913b6743417ab8a9efdda0e3a')
 
 build() {
   cd unrealircd-$pkgver
   ./configure \
     --with-pidfile=/run/unrealircd/ircd.pid \
-    --with-showlistmodes \
     --enable-ssl=/usr \
     --with-bindir=/usr/bin \
     --with-datadir=/var/lib/unrealircd \
@@ -54,9 +40,7 @@ build() {
     --with-tmpdir=/tmp \
     --with-scriptdir=/usr \
     --with-nick-history=2000 \
-    --with-sendq=3000000 \
     --with-permissions=0644 \
-    --with-fd-setsize=1024 \
     --enable-dynamic-linking
   make
 }
@@ -64,8 +48,6 @@ build() {
 package() {
   cd unrealircd-$pkgver
 
-  export pkgdir
-#  make INSTALL="$srcdir"/install.pl install DESTDIR="$pkgdir"
   make install DESTDIR="$pkgdir"
   mv "$pkgdir"/usr/unrealircd "$pkgdir"/etc/unrealircd/unrealircd
   cp "$pkgdir"/etc/unrealircd/examples/example.conf 
"$pkgdir"/etc/unrealircd/unrealircd.conf


=====================================
install.pl deleted
=====================================
@@ -1,5 +0,0 @@
-#!/usr/bin/perl -w
-use Env qw(pkgdir);
-my $last = pop @ARGV;
-my $cmd = "/usr/bin/install ".(join ' ',@ARGV)." $pkgdir/$last";
-system($cmd);


=====================================
source-date-epoch.patch deleted
=====================================
@@ -1,16 +0,0 @@
-diff --git a/src/version.c.SH b/src/version.c.SH
-index 03b5b2881..9f7dcc40e 100644
---- a/src/version.c.SH
-+++ b/src/version.c.SH
-@@ -22,7 +22,10 @@ generation=`expr $generation + 1`
- export LANG=C
- export LC_TIME=C
- export LC_ALL=C
--creation=`date | \
-+SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(date +%s)}"
-+# fallback to -r seconds for BSD
-+BUILD_DATE=$(date -u -d "@$SOURCE_DATE_EPOCH" 2>/dev/null || date -u -r 
"$SOURCE_DATE_EPOCH" 2>/dev/null || date -u)
-+creation=`echo "$BUILD_DATE" | \
- awk '{if (NF == 6) \
-          { print $1 " "  $2 " " $3 " "  $6 " at " $4 " " $5 } \
- else \



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/unrealircd/-/commit/f83ce289cfc28ab376916617b50150a69271f111

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/unrealircd/-/commit/f83ce289cfc28ab376916617b50150a69271f111
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to